mirror of
https://github.com/lutinglt/gitea-github-theme.git
synced 2025-12-25 16:08:00 +00:00
Supplement the PR operation panel status style in PR
This commit is contained in:
@@ -42,10 +42,10 @@ export type GithubColor = {
|
||||
};
|
||||
bgColor: {
|
||||
accent: { emphasis: string; muted: string };
|
||||
attention: { muted: string };
|
||||
attention: { emphasis: string; muted: string };
|
||||
emphasis: string;
|
||||
success: { emphasis: string; muted: string };
|
||||
danger: { muted: string };
|
||||
danger: { emphasis: string; muted: string };
|
||||
done: { emphasis: string };
|
||||
default: string;
|
||||
inset: string;
|
||||
@@ -240,6 +240,12 @@ export function github2ThemeColor(githubColor: GithubColor): ThemeColor {
|
||||
success: {
|
||||
emphasis: githubColor.bgColor.success.emphasis,
|
||||
},
|
||||
attention: {
|
||||
emphasis: githubColor.bgColor.attention.emphasis,
|
||||
},
|
||||
danger: {
|
||||
emphasis: githubColor.bgColor.danger.emphasis,
|
||||
},
|
||||
done: {
|
||||
emphasis: githubColor.bgColor.done.emphasis,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user