Topic: Dark theme
atomikaya Topic Opener |
Posted at: 2022-12-23, 00:41
Hi, I'm almost done building a simple dark theme for Widelands (very loosely) based on kaputtnik's minimalistic theme + gtk4 palette. I can send pics if anyone is interested. I wondered if there was any way to get rid of the heavy outset borders on the buttons? I have seen mentions in the source code of a "flat" button design but I don't know if this is something that can be set from a theme add-on. Thanks! Top Quote |
atomikaya Topic Opener |
Posted at: 2022-12-23, 08:19
In the same line of questions, some of the UI is stored outside of the theme (like the slider and scrollbar arrows). Any chance I might manage to override these buttons with my add-on? Btw I'm sorry if these are questions more suited to the graphics forum, I just thought this was more about add-on access to things but I can move the topic if necessary. Edited: 2022-12-23, 08:19
Top Quote |
Nordfriese |
Posted at: 2022-12-23, 10:39
Hi atomikaya and welcome to the forums Changing the graphics that are stored outside the theme directory is not currently possible, but allowing theme add-ons to replace these graphics as well is on my to-do-list for release 1.2. So in the next version this will most likely be possible. Which style to use for a particular button (flat, raised, permpressed, monochrome, etc) and how these effects are achieved is hardcoded in the game. This can unfortunately not be changed by add-ons. I also intend to look into allowing you some more freedom there but I can't promise anything. Top Quote |
atomikaya Topic Opener |
Posted at: 2022-12-23, 11:53
Hi, thanks for the info. I guess I'm done then, I'm gonna look into publishing the add-on. Some screenshots: Edited: 2022-12-23, 11:56
Top Quote |
atomikaya Topic Opener |
Posted at: 2022-12-23, 12:11
Ok, it should be available under Simple Dark Theme. Hope I didn't break stuff! Thanks Top Quote |
atomikaya Topic Opener |
Posted at: 2023-01-12, 15:36
A quick update as I had missed a color bug which made the clock and general in-game announcements unreadable. I uploaded again with and bumped the version to 1.1, hope it was the right way to do this. Thanks! Top Quote |