Skip to content

Commit bd270ee

Browse files
authored
feat(homepage): darker background with brighter items and other misc. changes (catppuccin#915)
* changed search bar border, hover color, api error box color, and default @-moz-document domain fixed sel * change search bar icon * change search bar border * change theme to have dark background with bright items to better match original theme
1 parent 925c960 commit bd270ee

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

styles/homepage/catppuccin.user.css

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
@name homepage Catppuccin
33
@namespace github.com/catppuccin/userstyles/styles/homepage
44
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/homepage
5-
@version 0.0.3
5+
@version 0.0.4
66
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/homepage/catppuccin.user.css
77
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Ahomepage
88
@description Soothing pastel theme for homepage
@@ -15,7 +15,7 @@
1515
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
1616
==/UserStyle== */
1717

18-
@-moz-document domain("homepage.example.com") {
18+
@-moz-document domain("homepage.example.com"), regexp("https?://homepage\\..*") {
1919
@media (prefers-color-scheme: light) {
2020
:root {
2121
#catppuccin(@lightFlavor, @accentColor);
@@ -73,11 +73,11 @@
7373

7474
:is(.dark .dark\:bg-theme-800) {
7575
--tw-bg-opacity: 1;
76-
background-color: @base; //background Color
76+
background-color: @mantle; //background Color
7777
}
7878

7979
.dark {
80-
--bg-color: @base;
80+
--bg-color: @mantle;
8181
--scrollbar-thumb: @accent-color; //ScrollBar
8282
--scrollbar-track: @mantle; //Scrollbar base
8383
}
@@ -94,10 +94,10 @@
9494
}
9595
.border-theme-300 {
9696
--tw-border-opacity: 1;
97-
border-color: @accent-color !important; //Search bar Border (important is needed so top separator doesn't override)
97+
border-color: @surface0 !important; //Search bar Border (important is needed so top separator doesn't override)
9898
}
9999
:is(.dark .dark\:bg-white\/10) {
100-
background-color: @crust //Search bar background
100+
background-color: @base //Search bar background
101101
;
102102
}
103103
:is(.dark .dark\:focus\:ring-white\/50:focus) {
@@ -113,7 +113,7 @@
113113
// Services Level Features
114114

115115
:is(.dark .dark\:bg-white\/5) {
116-
background-color: @mantle; //Box Background
116+
background-color: @base; //Box Background
117117
}
118118
:is(.dark .dark\:shadow-theme-900\/20) {
119119
--tw-shadow-color: @mantle; //Box Shadows
@@ -147,7 +147,7 @@
147147

148148
.bg-rose-900\/80 {
149149
--tw-border-opacity: 1;
150-
background-color: @accent-color; // api error box color
150+
background-color: @red; // api error box color
151151
}
152152
//
153153

@@ -156,17 +156,17 @@
156156
color: @text; // update and version text
157157
}
158158

159+
.text-white {
160+
color: @subtext1; // search bar icon
161+
}
162+
159163
:is(.dark .dark\:border-theme-200\/50) {
160164
--tw-border-opacity: 1;
161165
border-color: @surface2; // top separator
162166
}
163167

164168
:is(.dark .dark\:hover\:text-theme-300:hover) {
165169
--tw-text-opacity: 1;
166-
color: darken(
167-
@accent-color,
168-
10%
169-
); //Section Names + Container Description Hover Color
170170
}
171171
:is(.dark .dark\:text-theme-200) {
172172
--tw-text-opacity: 1;

0 commit comments

Comments
 (0)