catppuccin.user.less
· 1.9 KiB · Text
Raw
/* ==UserStyle==
@name Radarr Catppuccin
@namespace github.com/catppuccin/userstyles/styles/radarr
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/radarr
@version 2000.01.01
@description Soothing pastel theme for Radarr
@author Catppuccin
@license MIT
@preprocessor less
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
@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"]
==/UserStyle== */
@import "https://userstyles.catppuccin.com/lib/lib.less";
@-moz-document regexp("https?://.*radarr(?!\\.video).*") {
:root {
@media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor);
}
@media (prefers-color-scheme: dark) {
#catppuccin(@darkFlavor);
}
}
#catppuccin(@flavor) {
#lib.palette();
#lib.defaults();
body {
--successColor: @green;
--dangerColor: @red;
--warningColor: @peach;
--queueColor: @mauve;
--primaryColor: @sapphire;
--borderColor: @crust;
--inputBackgroundColor: @mantle;
--textColor: @text;
--sidebarColor: @text;
--toolbarColor: @text;
--toolbarLabelColor: @text;
}
[class^="PageContent"] {
background-color: @base;
}
[class^="PageHeader"], [class^="PageSidebar"] {
background-color: @crust;
}
[class^="PageToolbar"], [class^="MovieIndexPoster-title"], [class^="MovieCreditPoster-title"], [class*="Table"], [class^="Card"], [class^="AddNewMovie-searchIconContainer"] {
background-color: @mantle;
}
[class^="MovieDetails"] {
color: @text;
}
}
}
| 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 | } |