The International Simutrans Forum

PakSets and Customization => General Resources and Tools => Menu, Skins and Others => Topic started by: Roboron on January 13, 2022, 07:36:53 PM

Title: Purple Night Theme
Post by: Roboron on January 13, 2022, 07:36:53 PM
I'm proud to announce a new theme for Simutrans: Purple Night Theme. It's a dark theme with a modern, easy on the eyes, purple touch.

Download version 1.0 Release Candidate 3

=> https://github.com/Varkalandar/simutrans/releases/download/theme-purple_night-v10rc3/purple_night-theme-RC3.zip

Unpack the purple_night-theme-RC3.zip in simutrans/themes and restart Simutrans to refresh the themes list. On the next start you get two new theme entries "Purple Night" and "Purple Night (large size)".

(https://user-images.githubusercontent.com/62077919/149392254-0a69991b-9fe9-43ea-b449-5cfdd4c64674.png)

Changes since RC1:

    Default window title bar color adjusted
    Default window title text color adjusted
    Player window colors had to be changed to improve status bar readability. Sadly window tittle bars and the color of the player label in the status bar are linked.
    Text color for colored buttons adjusted for better readability
    Color for text in lists and edit fields as well as highlighted text brightened a bit
    Colors for money values brightened for better readability
    Status bar colors adjusted for better contrast

Known problems:

    Icons for passengers, mail and electricity depend on the pak set and cannot be changed with a theme.

Note: The author of this theme is Hansjörg Malthaner (Hajo) and not me. I only published it in the forum by its request.
Title: Re: Purple Night Theme
Post by: Andarix on January 13, 2022, 08:43:24 PM
Quote from: Roboron on January 13, 2022, 07:36:53 PM
...
Known problems:

    Icons for passengers, mail and electricity depend on the pak set and cannot be changed with a theme.

....

That is not right. You can also use these icons in the theme. These overwrite those contained in the pakset.

In the current pak64.german 0.123.0.0.1 there is not only the normal theme but also one for 4K screens which uses significantly larger symbols.

(https://forum.simutrans.com/index.php?action=dlattach;topic=21322.0;attach=30052;image)
Title: Re: Purple Night Theme
Post by: Roboron on January 13, 2022, 08:56:16 PM
Quote from: Andarix on January 13, 2022, 08:43:24 PMThat is not right. You can also use these icons in the theme. These overwrite those contained in the package.

Thank you very much for your clarification, I'll let Hajo know.
Title: Re: Purple Night Theme
Post by: Ranran on January 13, 2022, 10:06:17 PM
As I posted before, I think some measures are needed to improve the appearance of dark themes.
https://forum.simutrans.com/index.php/topic,20813.0.html
In extended, some parameters may have already been added.
Title: Re: Purple Night Theme
Post by: Yona-TYT on January 14, 2022, 12:34:07 AM
I am very happy to see contributions from the legendary hajo again. :D
Title: Re: Purple Night Theme
Post by: Yona-TYT on January 14, 2022, 12:44:14 AM
Quote from: Ranran on January 13, 2022, 10:06:17 PM
As I posted before, I think some measures are needed to improve the appearance of dark themes.
https://forum.simutrans.com/index.php/topic,20813.0.html (https://forum.simutrans.com/index.php/topic,20813.0.html)
In extended, some parameters may have already been added.
On light theme buttons for example, clicking a dark shadow gives it that click effect (like a dark highlight), but on dark themes this effect is not noticeable at all.

Is there a new parameter to change that to a light color? .
Edit.
Quote from: Ranran on February 28, 2021, 12:55:51 PM
The following is a greedy request.
(5) Can you set the color of the white frame that appears when you press the button, or make it a different style?

Title: Re: Purple Night Theme
Post by: _Hajo_ on January 15, 2022, 01:39:06 PM
Quote from: Andarix on January 13, 2022, 08:43:24 PM
That is not right. You can also use these icons in the theme. These overwrite those contained in the pakset.

Thank you. I did not know that themes can override images from pak sets. I'll try this.

Quote from: Yona-TYT on January 14, 2022, 12:44:14 AM
On light theme buttons for example, clicking a dark shadow gives it that click effect (like a dark highlight), but on dark themes this effect is not noticeable at all.

Buttons can have a normal, pressed and diabled image. I can try to give a pressed button a different look (at the moment they are just turning more dark). If that is what you mean?

Quote from: Yona-TYT on January 14, 2022, 12:44:14 AM
Is there a new parameter to change that to a light color? .

I think the coloor of the focus frame for UI elements can be changed. I'll check this.

Quote from: Yona-TYT on January 14, 2022, 12:34:07 AM
I am very happy to see contributions from the legendary hajo again. :D

Thank you!

Also thanks to everybody for the feedback. I'll try and see to incorporate the suggestions. This is an release candidate, so the main purpose was just this, to see if I have overlooked or misunderstood somet settings.
Title: Re: Purple Night Theme
Post by: Yona-TYT on January 25, 2022, 04:39:18 AM
You must change the color of the character bar to be preset.
gui_color_edit_beam = #ffffff
There are two color parameters for the load bar, so you can add more consistent colors.
gui_color_loadingbar_inner = #D6ECF7
gui_color_loadingbar_progress = #76b9e6
Title: Re: Purple Night Theme
Post by: _Hajo_ on January 25, 2022, 07:37:03 PM
I have tried ...

Changes since RC3:

- Cursor color is now visible on black edit field background
- All "white" text colors were brightened by about 3%
- Default window title color is less saturated now
- Loading bar colors were adjusted to window background (but I hardly can test this, loading is fast)

Download:

==> https://github.com/Varkalandar/simutrans/releases/download/theme-purple_night-v10rc4/purple_night-theme-RC4.zip

(https://user-images.githubusercontent.com/62077919/151046305-4556f3b0-d184-4352-963c-5a5d622945a2.png)

Title: Re: Purple Night Theme
Post by: Yona-TYT on January 25, 2022, 07:43:52 PM
Quote- Loading bar colors were adjusted to window background (but I hardly can test this, loading is fast)





My pc that an old coffee maker takes longer and it shows a lot.  ;D
Title: Re: Purple Night Theme
Post by: Roboron on January 25, 2022, 07:48:46 PM
You just need to open a big enough pakset :D
Title: Re: Purple Night Theme
Post by: _Hajo_ on January 25, 2022, 08:02:20 PM
Ah, thanks! Yes, this is about what I had in mind. Lacks some tuning, but a start was made.
Title: Re: Purple Night Theme
Post by: Ranran on January 25, 2022, 11:30:54 PM
I think Standard also allowed Andarix to display symbols for station evaluation (smile, angry, no route), but maybe I'm remembering wrong?
Title: Re: Purple Night Theme
Post by: Roboron on January 25, 2022, 11:44:28 PM
Yest, they are in standard. Prissi just added them to pak128 today https://github.com/simutrans/pak128/commit/f131c23fc65b242893b68106d17afe9f3ec576ca
Title: Re: Purple Night Theme
Post by: _Hajo_ on January 26, 2022, 01:37:26 PM
I still feel a bit uncertain here. Usually a theme pak only defines the buttons and UI gadgets. These symbols, as well as the power, workers and such are not really part of a theme, they usually come with a pak set.

I was told a theme can ovverride the symbols loaded with the pak set, but is this really the way to do it, or is this just a trick to achieve the desired effect?
Title: Re: Purple Night Theme
Post by: Yona-TYT on March 13, 2022, 09:34:56 AM
Contrast error in the text "list of unmaintained paksets".

(https://github.com/Yona-TYT/imgs/raw/main/Captura%20de%20pantalla%20de%202022-03-13%2005-21-06.png)