Last active 6 hours ago

Based on this PR: https://github.com/catppuccin/userstyles/pull/2141

kody's Avatar kody revised this gist 6 hours ago. Go to revision

No changes

kody's Avatar kody revised this gist 6 hours ago. Go to revision

No changes

kody's Avatar kody revised this gist 6 hours ago. Go to revision

1 file changed, 3 insertions, 2 deletions

catppuccin.user.less

@@ -1,5 +1,5 @@
1 1 /* ==UserStyle==
2 - @name Radarr Catppuccin
2 + @name Radarr/Sonarr Catppuccin
3 3 @namespace github.com/catppuccin/userstyles/styles/radarr
4 4 @homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/radarr
5 5 @version 2000.01.01
@@ -15,7 +15,8 @@
15 15
16 16 @import "https://userstyles.catppuccin.com/lib/lib.less";
17 17
18 - @-moz-document regexp("https?://.*radarr(?!\\.video).*") {
18 +
19 + @-moz-document regexp("https?://.*radarr(?!\\.video).*"), regexp("https?://.*sonarr(?!\\.video).*") {
19 20 :root {
20 21 @media (prefers-color-scheme: light) {
21 22 #catppuccin(@lightFlavor);

kody's Avatar kody revised this gist 6 hours ago. Go to revision

No changes

kody's Avatar kody revised this gist 6 hours ago. Go to revision

1 file changed, 63 insertions

catppuccin.user.less(file created)

@@ -0,0 +1,63 @@
1 + /* ==UserStyle==
2 + @name Radarr Catppuccin
3 + @namespace github.com/catppuccin/userstyles/styles/radarr
4 + @homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/radarr
5 + @version 2000.01.01
6 + @description Soothing pastel theme for Radarr
7 + @author Catppuccin
8 + @license MIT
9 +
10 + @preprocessor less
11 + @var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
12 + @var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
13 + @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"]
14 + ==/UserStyle== */
15 +
16 + @import "https://userstyles.catppuccin.com/lib/lib.less";
17 +
18 + @-moz-document regexp("https?://.*radarr(?!\\.video).*") {
19 + :root {
20 + @media (prefers-color-scheme: light) {
21 + #catppuccin(@lightFlavor);
22 + }
23 + @media (prefers-color-scheme: dark) {
24 + #catppuccin(@darkFlavor);
25 + }
26 + }
27 +
28 +
29 + #catppuccin(@flavor) {
30 + #lib.palette();
31 + #lib.defaults();
32 +
33 + body {
34 + --successColor: @green;
35 + --dangerColor: @red;
36 + --warningColor: @peach;
37 + --queueColor: @mauve;
38 + --primaryColor: @sapphire;
39 + --borderColor: @crust;
40 + --inputBackgroundColor: @mantle;
41 + --textColor: @text;
42 + --sidebarColor: @text;
43 + --toolbarColor: @text;
44 + --toolbarLabelColor: @text;
45 + }
46 +
47 + [class^="PageContent"] {
48 + background-color: @base;
49 + }
50 +
51 + [class^="PageHeader"], [class^="PageSidebar"] {
52 + background-color: @crust;
53 + }
54 +
55 + [class^="PageToolbar"], [class^="MovieIndexPoster-title"], [class^="MovieCreditPoster-title"], [class*="Table"], [class^="Card"], [class^="AddNewMovie-searchIconContainer"] {
56 + background-color: @mantle;
57 + }
58 +
59 + [class^="MovieDetails"] {
60 + color: @text;
61 + }
62 + }
63 + }
Newer Older