Skip to content

Commit adb5177

Browse files
authored
fix: avoid extra url-prefix when possible (catppuccin#354)
1 parent 5ddffb6 commit adb5177

3 files changed

Lines changed: 5 additions & 11 deletions

File tree

styles/gmail/catppuccin.user.css

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
@var select flavor "Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
1313
@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"]
1414
==/UserStyle== */
15-
@-moz-document url-prefix("https://mail.google.com")
16-
{
15+
@-moz-document domain("mail.google.com") {
1716
:root {
1817
#catppuccin(@flavor, @accentColor);
1918
}
@@ -204,11 +203,8 @@
204203
.yO {
205204
background: @mantle !important;
206205
&:hover {
207-
box-shadow:
208-
inset 1px 0 0 @surface0,
209-
inset -1px 0 0 @surface0,
210-
0 0 4px 0 @base,
211-
0 0 6px 2px @base !important;
206+
box-shadow: inset 1px 0 0 @surface0, inset -1px 0 0 @surface0,
207+
0 0 4px 0 @base, 0 0 6px 2px @base !important;
212208
}
213209
}
214210
/* quick text */

styles/hacker-news/catppuccin.user.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
@var select flavor "Flavor" ["latte:Latte", "frappe:Frappe", "macchiato:Macchiato", "mocha:Mocha*"]
1313
==/UserStyle== */
1414

15-
@-moz-document url-prefix("https://news.ycombinator.com")
16-
{
15+
@-moz-document domain("news.ycombinator.com") {
1716
/* prettier-ignore */
1817
@catppuccin: {
1918
@latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };

styles/skiff/catppuccin.user.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
@var select flavor "Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
1313
@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"]
1414
==/UserStyle== */
15-
@-moz-document url-prefix("https://app.skiff.com")
16-
{
15+
@-moz-document domain("app.skiff.com") {
1716
:root {
1817
#catppuccin(@flavor, @accentColor);
1918
}

0 commit comments

Comments
 (0)