Optimize the avatar background color of catppuccin theme.

This commit is contained in:
lutinglt committed 2026-05-25 10:45:37 +08:00
1 parent 0c0a9a26be
commit 102648e4b4
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -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
+1 -1
View File
@@ -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,