mirror of
https://github.com/lutinglt/gitea-github-theme.git
synced 2025-10-31 17:11:12 +00:00
34 lines
722 B
TypeScript
34 lines
722 B
TypeScript
import { css, themeVars } from "src/types/vars";
|
|
|
|
// 一些列表头, 比如工单的搜索标签里程碑栏
|
|
export const listHeader = css`
|
|
.list-header {
|
|
align-items: center;
|
|
align-content: center;
|
|
}
|
|
`;
|
|
|
|
export const svg = css`
|
|
// 已标星的图标
|
|
.octicon-star-fill {
|
|
color: ${themeVars.github.button.star.iconColor} !important;
|
|
}
|
|
// VSCode 图标
|
|
.gitea-vscode {
|
|
color: #007acc !important;
|
|
}
|
|
// VSCodium 图标
|
|
.gitea-vscodium {
|
|
color: #429cf0 !important;
|
|
}
|
|
`;
|
|
|
|
export const avatar = css`
|
|
img.ui.avatar,
|
|
.ui.avatar img,
|
|
.ui.avatar svg {
|
|
background-color: ${themeVars.github.avatar.bgColor};
|
|
box-shadow: 0 0 0 1px ${themeVars.github.avatar.borderColor};
|
|
}
|
|
`;
|