imarkoff / Marble-shell-theme

Shell theme for GNOME DE
GNU General Public License v3.0
287 stars 7 forks source link

Adjusting text brightness #15

Closed in4matix closed 9 months ago

in4matix commented 9 months ago

Hey, Just wondering if there might be a way to tone down the brightness of text while the theme is installed, or would I have to re-install?

imarkoff commented 9 months ago

You can edit css in ~/.themes/Marble-...-... but it will take too much time.

However, you can change text color in colors.json here: https://github.com/imarkoff/Marble-shell-theme/blob/70694411b8b576490fd936d6cc0720a605264361/colors.json#L305-L349

and reinstall the theme.

s - saturation l - lightness a - transparency (alpha)

Sorry for replying after a week. Maybe I'll add the ability to change text color using the script later.

in4matix commented 9 months ago

Okay... I'm not really sure what values to change to make the text less bright white to something that is a bit easier on the eyes. Basically I want to go from this: Screenshot from 2024-02-04 23-05-00 To this (The "No Notifications" color) like a light grey... Screenshot from 2024-02-04 23-05-39

imarkoff commented 9 months ago

I gotchu. Update both the light and dark sections of the TEXT-PRIMARY-COLOR value with the new a value of 0.38.

It should go from this

        "TEXT-PRIMARY-COLOR" : {
            "_comment" : "Used as primary color in text",

            "light" : {
                "s" : 71,
                "l" : 10,
                "a" : 0.87
            },

            "dark" : {
                "s" : 65,
                "l" : 95,
                "a" : 1
            }
        },

to this

        "TEXT-PRIMARY-COLOR" : {
            "_comment" : "Used as primary color in text",

            "light" : {
                "s" : 71,
                "l" : 10,
                "a" : 0.38
            },

            "dark" : {
                "s" : 65,
                "l" : 95,
                "a" : 0.38
            }
        },
in4matix commented 9 months ago

0.58 is the magical value for me. Thank you! You rock dude. Love you brother. P.s. Do you accept donations? If so, please send link.

imarkoff commented 9 months ago

You're welcome. Thanks a lot but I don't accept donations at this time.