mirror of
https://github.com/lutinglt/gitea-github-theme.git
synced 2026-10-28 09:44:55 +00:00
Optimize the avatar background color of catppuccin theme.
This commit is contained in:
2 files changed
+2
-1
No files matched your search
@@ -2,6 +2,7 @@
|
||||
|
||||
- Optimize catppuccin theme with regular label colors.
|
||||
- Fine tune the border color of catppuccin theme.
|
||||
- Optimize the avatar background color of catppuccin theme.
|
||||
|
||||
#### More GitHub-like style
|
||||
|
||||
|
||||
@@ -155,7 +155,7 @@ export function catppuccin2ThemeColor(flavor: CatppuccinFlavor): ThemeColor {
|
||||
};
|
||||
// 颜色映射参考: https://github.com/catppuccin/userstyles/blob/main/styles/github/catppuccin.user.less
|
||||
const github: GitHub = {
|
||||
avatar: { bgColor: rgba(flavor.colors.text.hex, 0.26), borderColor: flavor.colors.surface0.hex },
|
||||
avatar: { bgColor: rgba(flavor.colors.surface1.hex, 0.26), borderColor: flavor.colors.surface0.hex },
|
||||
fgColor: {
|
||||
accent: accentColor,
|
||||
success: flavor.colors.green.hex,
|
||||
|
||||
Reference in new issue
Block a user