inkle / inky

An editor for ink: inkle's narrative scripting language
http://www.inklestudios.com/ink
2.42k stars 296 forks source link

Feature Request - Colour changes #372

Open olivermarshall2 opened 3 years ago

olivermarshall2 commented 3 years ago

I think there's a feature request for a settings option with various general options, but I'd like to set the colours.

I'm not the youngest of chickens, and the comment colour (light grey) is kinda hard to read against the white background. Being able to set the colours, or perhaps even create themes, would be awesome. Many of us spend much of our spare time curled around Inky so anything to make it more pleasant would be great.

Olly

joningold commented 3 years ago

The latest version of inky has three or four themes built into it. In the View menu, I think?

olivermarshall2 commented 3 years ago

Seems to have two, light and dark. However neither change the comment colour specifically, though it's a bit clearer on the dark background.

A way to create a theme file would work as well, that way we could just edit an XML or something to change colours to suit our own needs.

lunarcloud commented 2 years ago

The latest source code has 4 themes, but 2 of them don't seem to do anything (the release just has the 2 working ones). but yes, @olivermarshall2 , the colors are defined via CSS - not sure how simple it'd be to hook up external sheets. You'd need a dialog box to manage (both add and remove) custom styles.

olivermarshall2 commented 2 years ago

Interesting. Thanks. It doesn't even need a dialogue. If there was was just a menu item that took you to the css folder location, that would be enough.

Do you know where the css files are stored? Might do some tests.

lunarcloud commented 2 years ago

Well the theme css files are all in https://github.com/inkle/inky/tree/master/app/renderer You'll have to dig around the code to see how it ends up in the list and switched to.