Replies: 2 comments
-
Only some colors are taken directly from material you, the rest are taken from either the top ranked colors, primary or secondary tones. "special": {
"background": "surface",
"foreground": "surface + tones_Secondary[90] blended by .98",
"cursor": "onSurface"
} The rest come from the top ranked colors ( But what I run instead most of the time is a Code that generates the color scheme starts here, a blending to ensure contrast is applied too The resultant colors dictionary is generated here There are some keys like self._wal_dark_scheme = {
"wallpaper": wallpaper_data,
"alpha": "100",
"special": {
"background": pywal_colors_dark[0],
"backgroundIntense": blendColors(
tones_neutral[8], colors_dark["primary"], 0.0
),
"backgroundFaint": blendColors(
tones_neutral[8], colors_dark["primary"], 0.35
),
# Normal, ansi 39
"foreground": blendColors(
pywal_colors_dark[0], tones_secondary[90], 0.98
),
# bold, ansi 39
"foregroundIntense": tones_secondary[90],
# faint, ansi 39
"foregroundFaint": blendColors(
pywal_colors_dark[0], tones_secondary[90], 0.88
),
"cursor": colors_dark["onSurface"],
},
"colors": {
"color0": pywal_colors_dark[0],
"color1": pywal_colors_dark[1],
"color2": pywal_colors_dark[2],
"color3": pywal_colors_dark[3],
"color4": pywal_colors_dark[4],
"color5": pywal_colors_dark[5],
"color6": pywal_colors_dark[6],
"color7": pywal_colors_dark[7],
"color8": pywal_colors_dark_intense[0],
"color9": pywal_colors_dark_intense[1],
"color10": pywal_colors_dark_intense[2],
"color11": pywal_colors_dark_intense[3],
"color12": pywal_colors_dark_intense[4],
"color13": pywal_colors_dark_intense[5],
"color14": pywal_colors_dark_intense[6],
"color15": pywal_colors_dark_intense[7],
"color16": pywal_colors_dark_faint[0],
"color17": pywal_colors_dark_faint[1],
"color18": pywal_colors_dark_faint[2],
"color19": pywal_colors_dark_faint[3],
"color20": pywal_colors_dark_faint[4],
"color21": pywal_colors_dark_faint[5],
"color22": pywal_colors_dark_faint[6],
"color23": pywal_colors_dark_faint[7],
},
} It's a mess but is what worked for me. |
Beta Was this translation helpful? Give feedback.
-
I'm fully understand!! |
Beta Was this translation helpful? Give feedback.
-
hi
I am developing a non kde desktop environment to use material you
So one thing I was wondering, could you tell me the name of the color you use in wal?
Example:
background = Surface
foreground = OnSurface
color0 = Surface...
I couldn't read and understand the code so I hope you can help me
Beta Was this translation helpful? Give feedback.
All reactions