mirror of
https://github.com/lutinglt/gitea-github-theme.git
synced 2025-10-27 05:31:04 +00:00
重构基本框架
This commit is contained in:
23
styles/test.tsx
Normal file
23
styles/test.tsx
Normal file
@@ -0,0 +1,23 @@
|
||||
import { css } from "@linaria/core";
|
||||
import { themeVars } from "src/theme";
|
||||
|
||||
export const setting_global = css`
|
||||
:global() {
|
||||
.user-main-content,
|
||||
.repo-setting-content,
|
||||
.user-setting-content,
|
||||
.org-setting-content,
|
||||
.admin-setting-content {
|
||||
.ui.right {
|
||||
.ui.primary.button.tiny {
|
||||
color: #fff;
|
||||
background-color: #238636;
|
||||
&:hover {
|
||||
background-color: #29903b;
|
||||
border-color: ${themeVars.color.primary.light[1]};
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
Reference in New Issue
Block a user