inky icon indicating copy to clipboard operation
inky copied to clipboard

Feature Request - Colour changes

Open olivermarshall2 opened this issue 3 years ago • 5 comments

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

olivermarshall2 avatar Oct 12 '21 17:10 olivermarshall2

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

joningold avatar Oct 12 '21 18:10 joningold

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.

olivermarshall2 avatar Oct 14 '21 05:10 olivermarshall2

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.

lunarcloud avatar Jan 12 '22 13:01 lunarcloud

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.

olivermarshall2 avatar Jan 12 '22 14:01 olivermarshall2

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.

lunarcloud avatar Jan 12 '22 15:01 lunarcloud