Skip to content

Commit 70acffa

Browse files
authored
fix: light theme priority (#402)
1 parent d6e79ab commit 70acffa

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

src/catppuccin-latte.theme.scss

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,6 @@
1212
@use "@catppuccin/palette/scss/latte" as *;
1313
@use "@catppuccin/highlightjs/sass/theme";
1414

15-
.visual-refresh.theme-dark,
16-
.visual-refresh .theme-dark {
17-
@import "@catppuccin/palette/scss/frappe";
18-
$brand: $blue;
19-
20-
@import "components/tweaks/dark";
21-
@import "theme";
22-
}
23-
2415
.visual-refresh.theme-light,
2516
.visual-refresh .theme-light {
2617
$brand: $blue;
@@ -30,3 +21,12 @@
3021

3122
@include theme.highlights("latte");
3223
}
24+
25+
.visual-refresh.theme-dark,
26+
.visual-refresh .theme-dark {
27+
@import "@catppuccin/palette/scss/frappe";
28+
$brand: $blue;
29+
30+
@import "components/tweaks/dark";
31+
@import "theme";
32+
}

src/components/tweaks/_light.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
& {
22
// flip (Discord light mode uses in places where contrast is good)
33
--white: #{$crust} !important;
4+
--white-400: #{$crust} !important;
45
--white-500: #{$crust} !important;
56
--white-600: #{$surface1} !important;
67
--white-700: #{$surface2} !important;

0 commit comments

Comments
 (0)