mirror of
https://github.com/lutinglt/gitea-github-theme.git
synced 2025-10-27 13:40:31 +00:00
dashboard 和 label 迁移
This commit is contained in:
@@ -65,7 +65,16 @@ export type GithubColor = {
|
||||
accent: {
|
||||
emphasis: string;
|
||||
};
|
||||
attention: {
|
||||
emphasis: string;
|
||||
};
|
||||
default: string;
|
||||
success: {
|
||||
emphasis: string;
|
||||
};
|
||||
done: {
|
||||
emphasis: string;
|
||||
};
|
||||
muted: string;
|
||||
translucent: string;
|
||||
};
|
||||
@@ -277,6 +286,15 @@ export function defineGithubTheme(githubColor: GithubColor): Theme {
|
||||
accent: {
|
||||
emphasis: githubColor.borderColor.accent.emphasis,
|
||||
},
|
||||
attention: {
|
||||
emphasis: githubColor.borderColor.attention.emphasis,
|
||||
},
|
||||
success: {
|
||||
emphasis: githubColor.borderColor.success.emphasis,
|
||||
},
|
||||
done: {
|
||||
emphasis: githubColor.borderColor.done.emphasis,
|
||||
},
|
||||
},
|
||||
button: {
|
||||
default: {
|
||||
|
||||
@@ -15,6 +15,7 @@ export const github = {
|
||||
muted: null,
|
||||
/** 成功的文本颜色
|
||||
* @issue `button` 重新开启按钮文本颜色
|
||||
* @label `label` 绿色标签的文本颜色
|
||||
*/
|
||||
success: null,
|
||||
/** 完成的文本颜色
|
||||
@@ -42,8 +43,8 @@ export const github = {
|
||||
/** 完成的背景颜色
|
||||
* @issue `babel` 工单已关闭图标背景颜色
|
||||
*/
|
||||
emphasis: null
|
||||
}
|
||||
emphasis: null,
|
||||
},
|
||||
},
|
||||
borderColor: {
|
||||
accent: {
|
||||
@@ -52,6 +53,24 @@ export const github = {
|
||||
*/
|
||||
emphasis: null,
|
||||
},
|
||||
attention: {
|
||||
/** 注意的边框颜色
|
||||
* @label `label` 黄色/橙色标签的边框色
|
||||
*/
|
||||
emphasis: null,
|
||||
},
|
||||
success: {
|
||||
/** 成功的边框颜色
|
||||
* @label `label` 绿色标签的边框色
|
||||
*/
|
||||
emphasis: null,
|
||||
},
|
||||
done: {
|
||||
/** 完成的边框颜色
|
||||
* @label `label` 红色/紫色标签的边框色
|
||||
*/
|
||||
emphasis: null,
|
||||
},
|
||||
},
|
||||
button: {
|
||||
/** 普通按钮 */
|
||||
|
||||
Reference in New Issue
Block a user