button 样式迁移

This commit is contained in:
lutinglt
2025-07-02 23:02:42 +08:00
parent 0c22591727
commit 3015ce8696
12 changed files with 568 additions and 372 deletions

View File

@@ -0,0 +1,25 @@
import { css, themeVars } from "src/types/vars";
export const button = css`
.issue-content-left .field.footer {
// 关闭工单按钮
.ui.red.basic.button#status-button {
color: ${themeVars.github.fgColor.done};
background-color: ${themeVars.color.button};
border-color: ${themeVars.color.light.border};
&:hover {
background-color: ${themeVars.color.hover.self};
}
}
// 重新开启按钮
.ui.basic.primary.button#status-button {
color: ${themeVars.github.fgColor.success};
background-color: ${themeVars.color.button};
border-color: ${themeVars.color.light.border};
&:hover {
background-color: ${themeVars.color.hover.self};
}
}
}
`;