mirror of
https://github.com/lutinglt/gitea-github-theme.git
synced 2025-10-26 21:20:31 +00:00
垃圾 ai
This commit is contained in:
@@ -39,9 +39,7 @@ const dark_emoji = `
|
|||||||
export function createTheme(theme: Theme): void {
|
export function createTheme(theme: Theme): void {
|
||||||
const isDarkTheme = stringToBoolean(theme.isDarkTheme, "isDarkTheme");
|
const isDarkTheme = stringToBoolean(theme.isDarkTheme, "isDarkTheme");
|
||||||
if (isDarkTheme) {
|
if (isDarkTheme) {
|
||||||
globalStyle(`${dark_emoji}`, {
|
globalStyle(dark_emoji, { filter: "invert(100%) hue-rotate(180deg)" });
|
||||||
filter: "invert(100%) hue-rotate(180deg)",
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
createGlobalTheme(":root", themeVars, theme);
|
createGlobalTheme(":root", themeVars, theme);
|
||||||
createGlobalTheme(":root", otherThemeVars, {
|
createGlobalTheme(":root", otherThemeVars, {
|
||||||
|
|||||||
Reference in New Issue
Block a user