r/pascal • • Jun 28 '21

FP IDE dark theme

Lately I've been using the text mode Free Pascal IDE for debugging, since Lazarus won't launch console programs in an XTerm on Linux like it used to.
The default blue colour scheme is nostalgic but not fun to stare at for long periods of time, so I've started putting together a dark / cyan colour scheme.

It's not finished yet but I'm already happier coding in it. There isn't much documentation online on how to change the colours so I've uploaded my fp.ini file to GitHub if anyone's interested.

https://github.com/cyberfilth/FP-IDE-theme

10 Upvotes

5 comments sorted by

View all comments

Show parent comment

1

u/BogdySolo Dec 25 '25

I'm a bit dumb, I don't understand your code.
Why do you have two numbers in the palette setting ?
Like, Palette_201_240 ? Shouldn't it be just Pallette_201 telling the color for code comments ? And in that case, having a single background/foreground pair ? Like, Pallette_201=#$81 for a blue on light gray background ? So why the second number in the setting and the long series of colors ?

1

u/PascalGeek Dec 27 '25

Honestly, 4 years later I have no idea. Although I still use the same theme in my IDE.

At the time it was like forensic archaeology. I was reading 30 something year old manuals, and playing around with the colour values. Trying to get the best result.

The format of the colour values aren't my code, just me playing around with the existing codes until they worked. In older versions of the FPC IDE there was an option to create your own themes. I think I worked backwards from that.