Skip to content

Commit 2dd033d

Browse files
authored
Add support for KColorScheme using Adwaita-like color schemes (#132)
1 parent dff87c2 commit 2dd033d

7 files changed

+559
-0
lines changed

src/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
add_subdirectory(color-schemes)
12
add_subdirectory(common)
23

34
if (NOT DISABLE_DECORATION_SUPPORT)

src/color-schemes/Adwaita.colors

+120
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
[ColorEffects:Disabled]
2+
Color=56,56,56
3+
ColorAmount=0
4+
ColorEffect=0
5+
ContrastAmount=0.65
6+
ContrastEffect=1
7+
IntensityAmount=0.1
8+
IntensityEffect=2
9+
10+
[ColorEffects:Inactive]
11+
ChangeSelectionColor=true
12+
Color=112,111,110
13+
ColorAmount=0.025
14+
ColorEffect=2
15+
ContrastAmount=0.1
16+
ContrastEffect=2
17+
Enable=false
18+
IntensityAmount=0
19+
IntensityEffect=0
20+
21+
[Colors:Button]
22+
BackgroundAlternate=241,239,238
23+
BackgroundNormal=241,239,238
24+
DecorationFocus=61,174,233
25+
DecorationHover=147,206,233
26+
ForegroundActive=61,174,233
27+
ForegroundInactive=127,140,141
28+
ForegroundLink=41,128,185
29+
ForegroundNegative=218,68,83
30+
ForegroundNeutral=198,92,0
31+
ForegroundNormal=55,61,63
32+
ForegroundPositive=39,174,96
33+
ForegroundVisited=127,140,141
34+
35+
[Colors:Complementary]
36+
BackgroundAlternate=59,64,69
37+
BackgroundNormal=49,54,59
38+
DecorationFocus=30,146,255
39+
DecorationHover=61,174,230
40+
ForegroundActive=147,206,233
41+
ForegroundInactive=175,176,179
42+
ForegroundLink=61,174,230
43+
ForegroundNegative=231,76,60
44+
ForegroundNeutral=253,188,75
45+
ForegroundNormal=239,240,241
46+
ForegroundPositive=46,204,113
47+
ForegroundVisited=61,174,230
48+
49+
[Colors:Selection]
50+
BackgroundAlternate=53,132,228
51+
BackgroundNormal=53,132,228
52+
DecorationFocus=61,174,233
53+
DecorationHover=147,206,233
54+
ForegroundActive=252,252,252
55+
ForegroundInactive=239,240,241
56+
ForegroundLink=253,188,75
57+
ForegroundNegative=176,55,69
58+
ForegroundNeutral=246,116,0
59+
ForegroundNormal=252,253,255
60+
ForegroundPositive=23,104,57
61+
ForegroundVisited=189,195,199
62+
63+
[Colors:Tooltip]
64+
BackgroundAlternate=0,0,0
65+
BackgroundNormal=0,0,0
66+
DecorationFocus=61,174,233
67+
DecorationHover=147,206,233
68+
ForegroundActive=61,174,233
69+
ForegroundInactive=189,195,199
70+
ForegroundLink=41,128,185
71+
ForegroundNegative=218,68,83
72+
ForegroundNeutral=246,116,0
73+
ForegroundNormal=255,255,255
74+
ForegroundPositive=39,174,96
75+
ForegroundVisited=127,140,141
76+
77+
[Colors:View]
78+
BackgroundAlternate=255,255,255
79+
BackgroundNormal=255,255,255
80+
DecorationFocus=61,174,233
81+
DecorationHover=147,206,233
82+
ForegroundActive=61,174,233
83+
ForegroundInactive=25,25,25
84+
ForegroundLink=41,128,185
85+
ForegroundNegative=218,68,83
86+
ForegroundNeutral=246,116,0
87+
ForegroundNormal=25,25,25
88+
ForegroundPositive=39,174,96
89+
ForegroundVisited=127,140,141
90+
91+
[Colors:Window]
92+
BackgroundAlternate=246,245,244
93+
BackgroundNormal=246,245,244
94+
DecorationFocus=61,174,233
95+
DecorationHover=147,206,233
96+
ForegroundActive=61,174,233
97+
ForegroundInactive=127,140,141
98+
ForegroundLink=41,128,185
99+
ForegroundNegative=218,68,83
100+
ForegroundNeutral=246,116,0
101+
ForegroundNormal=54,59,61
102+
ForegroundPositive=39,174,96
103+
ForegroundVisited=127,140,141
104+
105+
[General]
106+
ColorScheme=BreezeClassic
107+
Name=Adwaita
108+
TitlebarIsAccentColored=true
109+
shadeSortColumn=true
110+
111+
[KDE]
112+
contrast=4
113+
114+
[WM]
115+
activeBackground=222,219,215
116+
activeBlend=252,252,252
117+
activeForeground=54,59,61
118+
inactiveBackground=239,240,241
119+
inactiveBlend=75,71,67
120+
inactiveForeground=189,195,199

src/color-schemes/AdwaitaDark.colors

+147
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,147 @@
1+
[ColorEffects:Disabled]
2+
Color=56,56,56
3+
ColorAmount=0
4+
ColorEffect=0
5+
ContrastAmount=0.65
6+
ContrastEffect=1
7+
IntensityAmount=0.1
8+
IntensityEffect=2
9+
10+
[ColorEffects:Inactive]
11+
ChangeSelectionColor=true
12+
Color=112,111,110
13+
ColorAmount=0.025
14+
ColorEffect=2
15+
ContrastAmount=0.1
16+
ContrastEffect=2
17+
Enable=false
18+
IntensityAmount=0
19+
IntensityEffect=0
20+
21+
[Colors:Button]
22+
BackgroundAlternate=52,52,52
23+
BackgroundNormal=52,52,52
24+
DecorationFocus=61,174,233
25+
DecorationHover=61,174,233
26+
ForegroundActive=61,174,233
27+
ForegroundInactive=161,169,177
28+
ForegroundLink=29,153,243
29+
ForegroundNegative=218,68,83
30+
ForegroundNeutral=246,116,0
31+
ForegroundNormal=238,238,236
32+
ForegroundPositive=39,174,96
33+
ForegroundVisited=155,89,182
34+
35+
[Colors:Complementary]
36+
BackgroundAlternate=30,87,116
37+
BackgroundNormal=42,46,50
38+
DecorationFocus=61,174,233
39+
DecorationHover=61,174,233
40+
ForegroundActive=61,174,233
41+
ForegroundInactive=161,169,177
42+
ForegroundLink=29,153,243
43+
ForegroundNegative=218,68,83
44+
ForegroundNeutral=246,116,0
45+
ForegroundNormal=252,252,252
46+
ForegroundPositive=39,174,96
47+
ForegroundVisited=155,89,182
48+
49+
[Colors:Header]
50+
BackgroundAlternate=49,54,59
51+
BackgroundNormal=49,54,59
52+
DecorationFocus=61,174,233
53+
DecorationHover=61,174,233
54+
ForegroundActive=61,174,233
55+
ForegroundInactive=161,169,177
56+
ForegroundLink=29,153,243
57+
ForegroundNegative=218,68,83
58+
ForegroundNeutral=246,116,0
59+
ForegroundNormal=252,252,252
60+
ForegroundPositive=39,174,96
61+
ForegroundVisited=155,89,182
62+
63+
[Colors:Header][Inactive]
64+
BackgroundAlternate=49,54,59
65+
BackgroundNormal=42,46,50
66+
DecorationFocus=61,174,233
67+
DecorationHover=61,174,233
68+
ForegroundActive=61,174,233
69+
ForegroundInactive=161,169,177
70+
ForegroundLink=29,153,243
71+
ForegroundNegative=218,68,83
72+
ForegroundNeutral=246,116,0
73+
ForegroundNormal=252,252,252
74+
ForegroundPositive=39,174,96
75+
ForegroundVisited=155,89,182
76+
77+
[Colors:Selection]
78+
BackgroundAlternate=21,83,158
79+
BackgroundNormal=21,83,158
80+
DecorationFocus=61,174,233
81+
DecorationHover=61,174,233
82+
ForegroundActive=252,252,252
83+
ForegroundInactive=161,169,177
84+
ForegroundLink=253,188,75
85+
ForegroundNegative=176,55,69
86+
ForegroundNeutral=198,92,0
87+
ForegroundNormal=252,253,254
88+
ForegroundPositive=23,104,57
89+
ForegroundVisited=155,89,182
90+
91+
[Colors:Tooltip]
92+
BackgroundAlternate=255,255,255
93+
BackgroundNormal=255,255,255
94+
DecorationFocus=61,174,233
95+
DecorationHover=61,174,233
96+
ForegroundActive=61,174,233
97+
ForegroundInactive=161,169,177
98+
ForegroundLink=29,153,243
99+
ForegroundNegative=218,68,83
100+
ForegroundNeutral=246,116,0
101+
ForegroundNormal=0,0,0
102+
ForegroundPositive=39,174,96
103+
ForegroundVisited=155,89,182
104+
105+
[Colors:View]
106+
BackgroundAlternate=45,45,45
107+
BackgroundNormal=45,45,45
108+
DecorationFocus=61,174,233
109+
DecorationHover=61,174,233
110+
ForegroundActive=61,174,233
111+
ForegroundInactive=161,169,177
112+
ForegroundLink=29,153,243
113+
ForegroundNegative=218,68,83
114+
ForegroundNeutral=246,116,0
115+
ForegroundNormal=255,255,255
116+
ForegroundPositive=39,174,96
117+
ForegroundVisited=155,89,182
118+
119+
[Colors:Window]
120+
BackgroundAlternate=53,53,53
121+
BackgroundNormal=53,53,53
122+
DecorationFocus=61,174,233
123+
DecorationHover=61,174,233
124+
ForegroundActive=61,174,233
125+
ForegroundInactive=161,169,177
126+
ForegroundLink=29,153,243
127+
ForegroundNegative=218,68,83
128+
ForegroundNeutral=246,116,0
129+
ForegroundNormal=225,225,223
130+
ForegroundPositive=39,174,96
131+
ForegroundVisited=155,89,182
132+
133+
[General]
134+
ColorScheme=BreezeDark
135+
Name=AdwaitaDark
136+
shadeSortColumn=true
137+
138+
[KDE]
139+
contrast=4
140+
141+
[WM]
142+
activeBackground=41,41,41
143+
activeBlend=252,252,252
144+
activeForeground=225,225,223
145+
inactiveBackground=42,46,50
146+
inactiveBlend=161,169,177
147+
inactiveForeground=161,169,177
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
[ColorEffects:Disabled]
2+
Color=56,56,56
3+
ColorAmount=0
4+
ColorEffect=0
5+
ContrastAmount=0.65
6+
ContrastEffect=1
7+
IntensityAmount=0.1
8+
IntensityEffect=2
9+
10+
[ColorEffects:Inactive]
11+
ChangeSelectionColor=true
12+
Color=112,111,110
13+
ColorAmount=0.025
14+
ColorEffect=2
15+
ContrastAmount=0.1
16+
ContrastEffect=2
17+
Enable=false
18+
IntensityAmount=0
19+
IntensityEffect=0
20+
21+
[Colors:Button]
22+
BackgroundAlternate=248,246,245
23+
BackgroundNormal=248,246,245
24+
DecorationFocus=61,174,233
25+
DecorationHover=147,206,233
26+
ForegroundActive=61,174,233
27+
ForegroundInactive=127,140,141
28+
ForegroundLink=41,128,185
29+
ForegroundNegative=218,68,83
30+
ForegroundNeutral=198,92,0
31+
ForegroundNormal=47,52,54
32+
ForegroundPositive=39,174,96
33+
ForegroundVisited=127,140,141
34+
35+
[Colors:Complementary]
36+
BackgroundAlternate=59,64,69
37+
BackgroundNormal=49,54,59
38+
DecorationFocus=30,146,255
39+
DecorationHover=61,174,230
40+
ForegroundActive=147,206,233
41+
ForegroundInactive=175,176,179
42+
ForegroundLink=61,174,230
43+
ForegroundNegative=231,76,60
44+
ForegroundNeutral=253,188,75
45+
ForegroundNormal=239,240,241
46+
ForegroundPositive=46,204,113
47+
ForegroundVisited=61,174,230
48+
49+
[Colors:Selection]
50+
BackgroundAlternate=53,132,228
51+
BackgroundNormal=53,132,228
52+
DecorationFocus=61,174,233
53+
DecorationHover=147,206,233
54+
ForegroundActive=252,252,252
55+
ForegroundInactive=239,240,241
56+
ForegroundLink=253,188,75
57+
ForegroundNegative=176,55,69
58+
ForegroundNeutral=246,116,0
59+
ForegroundNormal=252,253,255
60+
ForegroundPositive=23,104,57
61+
ForegroundVisited=189,195,199
62+
63+
[Colors:Tooltip]
64+
BackgroundAlternate=0,0,0
65+
BackgroundNormal=0,0,0
66+
DecorationFocus=61,174,233
67+
DecorationHover=147,206,233
68+
ForegroundActive=61,174,233
69+
ForegroundInactive=189,195,199
70+
ForegroundLink=41,128,185
71+
ForegroundNegative=218,68,83
72+
ForegroundNeutral=246,116,0
73+
ForegroundNormal=255,255,255
74+
ForegroundPositive=39,174,96
75+
ForegroundVisited=127,140,141
76+
77+
[Colors:View]
78+
BackgroundAlternate=255,255,255
79+
BackgroundNormal=255,255,255
80+
DecorationFocus=61,174,233
81+
DecorationHover=147,206,233
82+
ForegroundActive=61,174,233
83+
ForegroundInactive=25,25,25
84+
ForegroundLink=41,128,185
85+
ForegroundNegative=218,68,83
86+
ForegroundNeutral=246,116,0
87+
ForegroundNormal=3,3,3
88+
ForegroundPositive=39,174,96
89+
ForegroundVisited=127,140,141
90+
91+
[Colors:Window]
92+
BackgroundAlternate=253,253,252
93+
BackgroundNormal=253,253,252
94+
DecorationFocus=61,174,233
95+
DecorationHover=147,206,233
96+
ForegroundActive=61,174,233
97+
ForegroundInactive=127,140,141
98+
ForegroundLink=41,128,185
99+
ForegroundNegative=218,68,83
100+
ForegroundNeutral=246,116,0
101+
ForegroundNormal=42,47,49
102+
ForegroundPositive=39,174,96
103+
ForegroundVisited=127,140,141
104+
105+
[General]
106+
ColorScheme=BreezeClassic
107+
Name=AdwaitaHighcontrast
108+
TitlebarIsAccentColored=true
109+
shadeSortColumn=true
110+
111+
[KDE]
112+
contrast=4
113+
114+
[WM]
115+
activeBackground=228,226,223
116+
activeBlend=252,252,252
117+
activeForeground=42,47,49
118+
inactiveBackground=239,240,241
119+
inactiveBlend=75,71,67
120+
inactiveForeground=189,195,199

0 commit comments

Comments
 (0)