mirror of
https://github.com/lutinglt/gitea-github-theme.git
synced 2025-12-24 15:38:27 +00:00
头像和动态样式 & Issue 样式修复
This commit is contained in:
@@ -7,6 +7,7 @@ import { type ThemeColor } from "./color";
|
||||
|
||||
export type GithubColor = {
|
||||
isDarkTheme: boolean;
|
||||
avatar: { bgColor: string; borderColor: string };
|
||||
display: {
|
||||
blue: { fgColor: string };
|
||||
brown: { fgColor: string };
|
||||
@@ -221,6 +222,10 @@ export function github2ThemeColor(githubColor: GithubColor): ThemeColor {
|
||||
};
|
||||
|
||||
const github: Github = {
|
||||
avatar: {
|
||||
bgColor: githubColor.avatar.bgColor,
|
||||
borderColor: githubColor.avatar.borderColor,
|
||||
},
|
||||
fgColor: {
|
||||
accent: githubColor.fgColor.accent,
|
||||
success: githubColor.fgColor.success,
|
||||
|
||||
Reference in New Issue
Block a user