mirror of
https://github.com/lutinglt/gitea-github-theme.git
synced 2025-10-27 05:31:04 +00:00
github 主题
This commit is contained in:
@@ -16,6 +16,12 @@ function stringToBoolean(str: string, name: string): boolean {
|
||||
export function createTheme(theme: Theme): void {
|
||||
createGlobalTheme(":root", themeVars, theme);
|
||||
createGlobalTheme(":root", otherThemeVars, {
|
||||
git: "#f05133",
|
||||
light: {
|
||||
mimicEnabled: theme.isDarkTheme
|
||||
? "rgba(0, 0, 0, calc(40 / 255 * 222 / 255 / var(--opacity-disabled)))"
|
||||
: "rgba(0, 0, 0, calc(6 / 255 * 222 / 255 / var(--opacity-disabled)))",
|
||||
},
|
||||
border: {
|
||||
radius: "6px",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user