Skip to content

Commit 62ae8c4

Browse files
authored
Fix Latte palette is built partially (#1340)
1 parent 4429bef commit 62ae8c4

File tree

4 files changed

+40
-0
lines changed

4 files changed

+40
-0
lines changed

src/gtk-3.0/_palette.scss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,12 @@ $BLACK_500: #333;
7777
$BLACK_700: #1a1a1a;
7878
$BLACK_900: #000;
7979

80+
$LATTE_100: #efdfc4;
81+
$LATTE_300: #e7c591;
82+
$LATTE_500: #cfa25e;
83+
$LATTE_700: #b6802e;
84+
$LATTE_900: #804b00;
85+
8086
// Exported
8187
@define-color STRAWBERRY_100 #{$STRAWBERRY_100};
8288
@define-color STRAWBERRY_300 #{$STRAWBERRY_300};
@@ -149,3 +155,9 @@ $BLACK_900: #000;
149155
@define-color BLACK_500 #{$BLACK_500};
150156
@define-color BLACK_700 #{$BLACK_700};
151157
@define-color BLACK_900 #{"" + $BLACK_900};
158+
159+
@define-color LATTE_100 #{$LATTE_100};
160+
@define-color LATTE_300 #{$LATTE_300};
161+
@define-color LATTE_500 #{$LATTE_500};
162+
@define-color LATTE_700 #{$LATTE_700};
163+
@define-color LATTE_900 #{$LATTE_900};

src/gtk-3.0/_typography.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,14 @@ label.h4,
121121
}
122122
}
123123

124+
&.latte {
125+
@if $color-scheme == "light" {
126+
color: mix($LATTE_300, $LATTE_500, $weight: 75%);
127+
} @else if $color-scheme == "dark" {
128+
color: $LATTE_100;
129+
}
130+
}
131+
124132
&:backdrop {
125133
color: $fg-color;
126134
opacity: 0.6;

src/gtk-4.0/_palette.scss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,12 @@ $BLACK_500: #333;
7171
$BLACK_700: #1a1a1a;
7272
$BLACK_900: #000;
7373

74+
$LATTE_100: #efdfc4;
75+
$LATTE_300: #e7c591;
76+
$LATTE_500: #cfa25e;
77+
$LATTE_700: #b6802e;
78+
$LATTE_900: #804b00;
79+
7480
// Exported
7581
@define-color STRAWBERRY_100 #{$STRAWBERRY_100};
7682
@define-color STRAWBERRY_300 #{$STRAWBERRY_300};
@@ -143,3 +149,9 @@ $BLACK_900: #000;
143149
@define-color BLACK_500 #{$BLACK_500};
144150
@define-color BLACK_700 #{$BLACK_700};
145151
@define-color BLACK_900 #{"" + $BLACK_900};
152+
153+
@define-color LATTE_100 #{$LATTE_100};
154+
@define-color LATTE_300 #{$LATTE_300};
155+
@define-color LATTE_500 #{$LATTE_500};
156+
@define-color LATTE_700 #{$LATTE_700};
157+
@define-color LATTE_900 #{$LATTE_900};

src/gtk-4.0/_typography.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,14 @@
9797
}
9898
}
9999

100+
&.latte {
101+
@if $color-scheme == "light" {
102+
color: mix($LATTE_300, $LATTE_500, $weight: 75%);
103+
} @else if $color-scheme == "dark" {
104+
color: $LATTE_100;
105+
}
106+
}
107+
100108
&:backdrop {
101109
color: $fg-color;
102110
opacity: 0.6;

0 commit comments

Comments
 (0)