Catppuccin latte (#12)

* Added Catppuccin Latte light-mode theme

* Adjusted link color to be more standard
This commit is contained in:
G2 2024-07-03 01:29:02 -05:00 committed by GitHub
parent c7e1d768b2
commit ae7ab53ab1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,33 @@
:root {
/* body background */
--bg-1: #dce0e8;
/* background of the content */
--bg-2: #e6e9ef;
/* input suggestions background */
--bg-3: #eff1f5;
/* mostly borders */
--bg-4: #9ca0b0;
/* main text color */
--fg-1: #4c4f69;
/* search result description */
--fg-2: #4c4f69;
--fg-3: #5c5f77;
/* focus outline */
--accent: #7287fd;
--link: #1e66f5;
--link-visited: #8839ef;
/* green, success */
--positive: #40a02b;
/* red, error */
--negative: #e64553;
--syntax-string: #40a02b;
--syntax-special: #dc8a78;
--syntax-constant: #ea76cb;
--syntax-comment: #5c5f77;
--syntax-func: #7287fd;
}

View File

@ -74,6 +74,7 @@ pub async fn run(config: Config) {
"script.js",
"robots.txt",
"themes/catppuccin-mocha.css",
"themes/catppuccin-latte.css",
"themes/nord-bluish.css",
"themes/discord.css"
];

View File

@ -32,6 +32,7 @@ pub async fn get(
select name="stylesheet-url" selected=(config.ui.stylesheet_url) {
{ (theme_option("", "Ayu Dark")) }
{ (theme_option("/themes/catppuccin-mocha.css", "Catppuccin Mocha")) }
{ (theme_option("/themes/catppuccin-latte.css", "Catppuccin Latte")) }
{ (theme_option("/themes/nord-bluish.css", "Nord Bluish")) }
{ (theme_option("/themes/discord.css", "Discord")) }
}