add catppuccin macchiato theme (by mudkip)
This commit is contained in:
parent
ee1572fab0
commit
1ce204bf4e
@ -32,6 +32,11 @@
|
|||||||
--syntax-func: #ffb454;
|
--syntax-func: #ffb454;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
::selection {
|
||||||
|
background-color: var(--accent);
|
||||||
|
color: var(--bg-3);
|
||||||
|
}
|
||||||
|
|
||||||
html {
|
html {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
21
src/web/assets/themes/catppuccin-macchiato.css
Normal file
21
src/web/assets/themes/catppuccin-macchiato.css
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
:root {
|
||||||
|
--bg-1: #24273a; /* background */
|
||||||
|
--bg-2: #1e2030; /* mantle */
|
||||||
|
--bg-3: #181926; /* crust */
|
||||||
|
--bg-4: #363a4e; /* surface 0 */
|
||||||
|
--fg-1: #cad3f5; /* text */
|
||||||
|
--fg-2: #b8c0e0; /* subtext 1 */
|
||||||
|
--fg-2: #a5adcb; /* subtext 0 */
|
||||||
|
--accent: #c6a0f6; /* mauve */
|
||||||
|
--positive: #a6da95; /* green */
|
||||||
|
--negative: #ed8796; /* red */
|
||||||
|
|
||||||
|
--syntax-string: #a6da95; /* green (string) */
|
||||||
|
--syntax-special: #c69ff5; /* mauve (keyword) */
|
||||||
|
--syntax-constant: #f5a97f; /* peach (constant/number) */
|
||||||
|
--syntax-comment: #929ab7; /* overlay 2 (comment) */
|
||||||
|
--syntax-func: #8aadf3; /* blue (method/function) */
|
||||||
|
|
||||||
|
--link: var(--accent);
|
||||||
|
--link-visited: var(--link);
|
||||||
|
}
|
@ -75,6 +75,7 @@ pub async fn run(config: Config) {
|
|||||||
"robots.txt",
|
"robots.txt",
|
||||||
"scripts/colorpicker.js",
|
"scripts/colorpicker.js",
|
||||||
"themes/catppuccin-mocha.css",
|
"themes/catppuccin-mocha.css",
|
||||||
|
"themes/catppuccin-macchiato.css",
|
||||||
"themes/catppuccin-latte.css",
|
"themes/catppuccin-latte.css",
|
||||||
"themes/nord-bluish.css",
|
"themes/nord-bluish.css",
|
||||||
"themes/discord.css"
|
"themes/discord.css"
|
||||||
|
@ -34,6 +34,7 @@ pub async fn get(Extension(config): Extension<Config>) -> impl IntoResponse {
|
|||||||
select name="stylesheet-url" selected=(config.ui.stylesheet_url) {
|
select name="stylesheet-url" selected=(config.ui.stylesheet_url) {
|
||||||
{ (theme_option("", "Ayu Dark")) }
|
{ (theme_option("", "Ayu Dark")) }
|
||||||
{ (theme_option("/themes/catppuccin-mocha.css", "Catppuccin Mocha")) }
|
{ (theme_option("/themes/catppuccin-mocha.css", "Catppuccin Mocha")) }
|
||||||
|
{ (theme_option("/themes/catppuccin-macchiato.css", "Catppuccin Macchiato")) }
|
||||||
{ (theme_option("/themes/catppuccin-latte.css", "Catppuccin Latte")) }
|
{ (theme_option("/themes/catppuccin-latte.css", "Catppuccin Latte")) }
|
||||||
{ (theme_option("/themes/nord-bluish.css", "Nord Bluish")) }
|
{ (theme_option("/themes/nord-bluish.css", "Nord Bluish")) }
|
||||||
{ (theme_option("/themes/discord.css", "Discord")) }
|
{ (theme_option("/themes/discord.css", "Discord")) }
|
||||||
|
Loading…
Reference in New Issue
Block a user