feat: support gitea v1.20

Closes #9
main
winston 2023-08-22 13:55:00 +02:00
parent b00c20e7a7
commit fdd8b85780
No known key found for this signature in database
GPG Key ID: 3786770EDBC2B481
2 changed files with 5 additions and 2 deletions

View File

@ -58,7 +58,7 @@ THEMES = catppuccin-latte-rosewater,catppuccin-latte-flamingo,catppuccin-latte-p
5. Select the theme in Gitea > Account > Settings > Appearance. 5. Select the theme in Gitea > Account > Settings > Appearance.
> **Note**\ > **Note**\
> Gitea >1.18 is required for this theme. > Gitea >1.20 is required for this theme.
## 💝 Thanks to ## 💝 Thanks to

View File

@ -173,6 +173,8 @@ $lvl3: if($isDark, $base, $crust);
--color-input-toggle-background: #{$surface0}; --color-input-toggle-background: #{$surface0};
--color-input-border: #{$surface1}; --color-input-border: #{$surface1};
--color-input-border-hover: #{$surface2}; --color-input-border-hover: #{$surface2};
--color-nav-bg: #{$lvl2};
--color-nav-hover-bg: #{$surface0};
--color-navbar: #{$lvl2}; --color-navbar: #{$lvl2};
--color-navbar-transparent: #{color.change($lvl1, $alpha: 0)}; --color-navbar-transparent: #{color.change($lvl1, $alpha: 0)};
--color-light: #{color.change($surface2, $alpha: 0.3)}; --color-light: #{color.change($surface2, $alpha: 0.3)};
@ -204,7 +206,8 @@ $lvl3: if($isDark, $base, $crust);
--color-caret: var(--color-text); --color-caret: var(--color-text);
--color-reaction-bg: #{color.change($text, $alpha: 0.07)}; --color-reaction-bg: #{color.change($text, $alpha: 0.07)};
--color-reaction-active-bg: var(--color-primary-alpha-40); --color-reaction-active-bg: var(--color-primary-alpha-40);
--color-header-bar: #{$lvl2}; --color-header-wrapper: #{$lvl2};
--color-header-wrapper-transparent: #{color.change($lvl2, $alpha: 0)};
--color-label-active-bg: #{$surface2}; --color-label-active-bg: #{$surface2};
--color-accent: var(--color-primary-light-1); --color-accent: var(--color-primary-light-1);
--color-small-accent: var(--color-primary-light-5); --color-small-accent: var(--color-primary-light-5);