mirror of
https://github.com/lutinglt/gitea-github-theme.git
synced 2025-10-27 05:31:04 +00:00
release 迁移
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
// tslint:disable:ordered-imports
|
||||
// 组件导入有顺序, 禁止插件优化
|
||||
import "./radius"; // 圆角, 此样式为基础样式, 确保在其他样式之前导入
|
||||
import "./text"; // 文本或 SVG 的基本颜色
|
||||
import "./button"; // 按钮
|
||||
import "./chroma"; // 代码高亮
|
||||
import "./dropdown"; // 下拉框
|
||||
@@ -9,5 +10,4 @@ import "./input"; // 输入框
|
||||
import "./label"; // 标签
|
||||
import "./menu"; // 菜单
|
||||
import "./modal"; // 弹窗
|
||||
import "./svg"; // svg 图标
|
||||
import "./tippy"; // 提示框
|
||||
|
||||
@@ -20,5 +20,8 @@ export const modal = css`
|
||||
background-color: ${themeVars.color.menu};
|
||||
border-top: 1.5px solid ${themeVars.color.light.border};
|
||||
}
|
||||
.actions > .ui.button {
|
||||
padding: 8px 12px;
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
import { css, themeVars } from "src/types/vars";
|
||||
|
||||
// 关闭工单按钮设置为紫色
|
||||
export const issueClosed = css`
|
||||
.text.red .svg,
|
||||
.text.red.svg {
|
||||
&.octicon-issue-closed {
|
||||
color: ${themeVars.github.fgColor.done} !important;
|
||||
}
|
||||
}
|
||||
`;
|
||||
19
styles/public/text.tsx
Normal file
19
styles/public/text.tsx
Normal file
@@ -0,0 +1,19 @@
|
||||
import { css, themeVars } from "src/types/vars";
|
||||
|
||||
export const red = css`
|
||||
.text.red .svg,
|
||||
.text.red.svg {
|
||||
// 关闭工单按钮设置为紫色
|
||||
&.octicon-issue-closed {
|
||||
color: ${themeVars.github.fgColor.done} !important;
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
export const grey = css`
|
||||
// 默认颜色是 --color-text-light, 主题下此颜色是亮白色, 修改为灰色
|
||||
// release 页面下一些描述信息的文本颜色
|
||||
.text.grey {
|
||||
color: ${themeVars.github.fgColor.muted} !important;
|
||||
}
|
||||
`;
|
||||
Reference in New Issue
Block a user