|
2 | 2 | @name homepage Catppuccin |
3 | 3 | @namespace github.com/catppuccin/userstyles/styles/homepage |
4 | 4 | @homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/homepage |
5 | | -@version 0.0.3 |
| 5 | +@version 0.0.4 |
6 | 6 | @updateURL https://github.com/catppuccin/userstyles/raw/main/styles/homepage/catppuccin.user.css |
7 | 7 | @supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Ahomepage |
8 | 8 | @description Soothing pastel theme for homepage |
|
15 | 15 | @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"] |
16 | 16 | ==/UserStyle== */ |
17 | 17 |
|
18 | | -@-moz-document domain("homepage.example.com") { |
| 18 | +@-moz-document domain("homepage.example.com"), regexp("https?://homepage\\..*") { |
19 | 19 | @media (prefers-color-scheme: light) { |
20 | 20 | :root { |
21 | 21 | #catppuccin(@lightFlavor, @accentColor); |
|
73 | 73 |
|
74 | 74 | :is(.dark .dark\:bg-theme-800) { |
75 | 75 | --tw-bg-opacity: 1; |
76 | | - background-color: @base; //background Color |
| 76 | + background-color: @mantle; //background Color |
77 | 77 | } |
78 | 78 |
|
79 | 79 | .dark { |
80 | | - --bg-color: @base; |
| 80 | + --bg-color: @mantle; |
81 | 81 | --scrollbar-thumb: @accent-color; //ScrollBar |
82 | 82 | --scrollbar-track: @mantle; //Scrollbar base |
83 | 83 | } |
|
94 | 94 | } |
95 | 95 | .border-theme-300 { |
96 | 96 | --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) |
98 | 98 | } |
99 | 99 | :is(.dark .dark\:bg-white\/10) { |
100 | | - background-color: @crust //Search bar background |
| 100 | + background-color: @base //Search bar background |
101 | 101 | ; |
102 | 102 | } |
103 | 103 | :is(.dark .dark\:focus\:ring-white\/50:focus) { |
|
113 | 113 | // Services Level Features |
114 | 114 |
|
115 | 115 | :is(.dark .dark\:bg-white\/5) { |
116 | | - background-color: @mantle; //Box Background |
| 116 | + background-color: @base; //Box Background |
117 | 117 | } |
118 | 118 | :is(.dark .dark\:shadow-theme-900\/20) { |
119 | 119 | --tw-shadow-color: @mantle; //Box Shadows |
|
147 | 147 |
|
148 | 148 | .bg-rose-900\/80 { |
149 | 149 | --tw-border-opacity: 1; |
150 | | - background-color: @accent-color; // api error box color |
| 150 | + background-color: @red; // api error box color |
151 | 151 | } |
152 | 152 | // |
153 | 153 |
|
|
156 | 156 | color: @text; // update and version text |
157 | 157 | } |
158 | 158 |
|
| 159 | + .text-white { |
| 160 | + color: @subtext1; // search bar icon |
| 161 | + } |
| 162 | + |
159 | 163 | :is(.dark .dark\:border-theme-200\/50) { |
160 | 164 | --tw-border-opacity: 1; |
161 | 165 | border-color: @surface2; // top separator |
162 | 166 | } |
163 | 167 |
|
164 | 168 | :is(.dark .dark\:hover\:text-theme-300:hover) { |
165 | 169 | --tw-text-opacity: 1; |
166 | | - color: darken( |
167 | | - @accent-color, |
168 | | - 10% |
169 | | - ); //Section Names + Container Description Hover Color |
170 | 170 | } |
171 | 171 | :is(.dark .dark\:text-theme-200) { |
172 | 172 | --tw-text-opacity: 1; |
|
0 commit comments