亮色主题适配

This commit is contained in:
lutinglt
2025-08-07 18:26:21 +08:00
parent 0a6770c28e
commit 065d7893d8
8 changed files with 19 additions and 28 deletions

View File

@@ -29,11 +29,11 @@ export const diff = css`
}
/* 展开/收缩按钮 */
.code-expander-button {
height: 24px !important;
line-height: 24px;
height: 28px !important;
&:hover {
background: ${themeVars.github.bgColor.accent.emphasis};
color: ${themeVars.color.white}
}
}
/* 行号居中 */

View File

@@ -42,19 +42,19 @@ export const babel = css`
border-radius: 25px !important;
&.green {
color: ${themeVars.color.text.self} !important;
color: ${themeVars.color.white} !important;
background-color: ${themeVars.github.bgColor.success.emphasis} !important;
border-color: ${themeVars.github.bgColor.success.emphasis} !important;
}
&.red {
color: ${themeVars.color.text.self} !important;
color: ${themeVars.color.white} !important;
background-color: ${themeVars.github.bgColor.done.emphasis} !important;
border-color: ${themeVars.github.bgColor.done.emphasis} !important;
}
&.purple {
color: ${themeVars.color.text.self} !important;
color: ${themeVars.color.white} !important;
background-color: ${themeVars.github.bgColor.done.emphasis} !important;
border-color: ${themeVars.github.bgColor.done.emphasis} !important;
}

View File

@@ -80,12 +80,13 @@ export const repoTopic = css`
#repo-topics .ui.label.repo-topic {
border-radius: 25px;
font-size: 12px;
font-weight: 500;
padding: 5px 10px;
background-color: ${themeVars.github.bgColor.accent.muted};
color: ${themeVars.github.fgColor.accent};
&:hover {
background-color: ${themeVars.github.bgColor.accent.emphasis};
color: ${themeVars.color.text.self};
color: ${themeVars.color.white};
}
}
`;