mirror of
https://github.com/lutinglt/gitea-github-theme.git
synced 2025-10-26 21:20:31 +00:00
部分 label 迁移
This commit is contained in:
@@ -45,11 +45,15 @@ export type GithubColor = {
|
||||
muted: string;
|
||||
};
|
||||
success: {
|
||||
emphasis: string;
|
||||
muted: string;
|
||||
};
|
||||
danger: {
|
||||
muted: string;
|
||||
};
|
||||
done: {
|
||||
emphasis: string;
|
||||
};
|
||||
default: string;
|
||||
inset: string;
|
||||
muted: string;
|
||||
@@ -262,6 +266,12 @@ export function defineGithubTheme(githubColor: GithubColor): Theme {
|
||||
accent: {
|
||||
emphasis: githubColor.bgColor.accent.emphasis,
|
||||
},
|
||||
success: {
|
||||
emphasis: githubColor.bgColor.success.emphasis,
|
||||
},
|
||||
done: {
|
||||
emphasis: githubColor.bgColor.done.emphasis,
|
||||
},
|
||||
},
|
||||
borderColor: {
|
||||
accent: {
|
||||
|
||||
@@ -32,6 +32,18 @@ export const github = {
|
||||
*/
|
||||
emphasis: null,
|
||||
},
|
||||
success: {
|
||||
/** 成功的背景颜色
|
||||
* @issue `babel` 重新开启图标背景颜色
|
||||
*/
|
||||
emphasis: null,
|
||||
},
|
||||
done: {
|
||||
/** 完成的背景颜色
|
||||
* @issue `babel` 工单已关闭图标背景颜色
|
||||
*/
|
||||
emphasis: null
|
||||
}
|
||||
},
|
||||
borderColor: {
|
||||
accent: {
|
||||
|
||||
Reference in New Issue
Block a user