确认gitea新版本不再使用codemirror

This commit is contained in:
lutinglt
2025-07-06 11:48:09 +08:00
parent a6efed8f03
commit aa023116ae
6 changed files with 24 additions and 91 deletions

View File

@@ -121,6 +121,11 @@ export type GithubColor = {
bgColor: string;
};
};
underlineNav: {
borderColor: {
active: string;
};
};
contribution: {
default: {
bgColor: {
@@ -358,6 +363,11 @@ export function defineGithubTheme(githubColor: GithubColor): Theme {
small: `0px 0px 0px 1px ${themeVars.color.light.border}, 0px 6px 12px -3px ${themeVars.color.shadow.self}, 0px 6px 18px 0px ${themeVars.color.shadow.self};`,
},
},
underlineNav: {
borderColor: {
active: githubColor.underlineNav.borderColor.active,
},
},
contribution: {
default: {
bgColor: {

View File

@@ -175,6 +175,14 @@ export const github = {
small: null,
},
},
underlineNav: {
borderColor: {
/** 下划线导航栏的边框颜色
* @clone `clone` 按钮组的按钮下划线颜色
*/
active: null,
},
},
/** 热力图 */
contribution: {
default: {