Add gitea color theme.

This commit is contained in:
lutinglt committed 2026-05-17 13:44:37 +08:00
1 parent ee64e89442
commit 3242a65db2
21 files changed
+922 -35

No files matched your search

+4
View File
@@ -115,6 +115,10 @@ export const actions = css`
}
}
}
/* 分页按钮, GitHub Gitea 修正, 不影响其他配色 */
.center.page.buttons {
background: ${themeVars.color.body};
}
}
}
}
+3 -3
View File
@@ -26,7 +26,7 @@ export const dashboard = css`
/* 仪表板切换控制用户按钮 */
.ui.dropdown .menu.context-user-switch .scrolling.menu {
animation: none; /* 去掉嵌套菜单导致的多余动画 */
box-shadow: 0px 0px 0px 1px ${themeVars.color.light.border} !important;
box-shadow: 0px 0px 0px 1px ${themeVars.color.secondary.self} !important;
}
}
/* 首页仪表板, 避免选中管理员后台的维护管理面板 */
@@ -72,7 +72,7 @@ export const dashboard = css`
background: ${themeVars.github.controlKnob.bgColor.rest};
border-radius: 12px;
box-shadow:
0px 0px 0px 1px ${themeVars.color.light.border},
0px 0px 0px 1px ${themeVars.color.secondary.self},
${themeVars.github.shadow.resting.small};
transition: transform 200ms cubic-bezier(0.33, 1, 0.68, 1);
z-index: 1;
@@ -99,7 +99,7 @@ export const dashboard = css`
background-color: ${themeVars.color.menu};
border: unset !important;
box-shadow:
0px 0px 0px 1px ${themeVars.color.light.border},
0px 0px 0px 1px ${themeVars.color.secondary.self},
${themeVars.github.shadow.resting.small};
&.repos-search {
border-top-left-radius: 12px;
@@ -38,6 +38,7 @@ export const issueSidebar = css`
gap: 24px;
/* 侧边栏 */
.issue-content-right {
background-color: ${themeVars.color.body};
border: 0;
font-size: 12px;
padding: 0;
+3 -3
View File
@@ -34,19 +34,19 @@ export const smallCompactMenu = css`
.page-content.repository.labels .issue-navbar {
.ui.compact.small.menu.small-menu-items {
background: ${themeVars.github.controlTrack.bgColor.rest} !important;
border: 1px solid ${themeVars.color.light.border};
border: 1px solid ${themeVars.color.secondary.self};
font-size: 14px;
gap: 4px;
height: 32px;
min-height: 32px !important;
> .item {
background: unset !important;
border: 1px solid ${themeVars.github.controlTrack.bgColor.rest};
border: 1px solid #0000;
border-radius: ${otherThemeVars.border.radius};
padding: 6px 12px !important;
&.active {
background: ${themeVars.github.controlKnob.bgColor.rest} !important;
border-color: ${themeVars.color.light.border};
border-color: ${themeVars.color.secondary.self};
font-weight: 600;
margin-top: -1px;
margin-bottom: -1px;
+3 -3
View File
@@ -27,10 +27,10 @@ export const commitSignBadge = css`
margin: unset;
height: 26px;
margin: 0 4px;
&:hover {
background-color: unset !important;
}
&.commit-is-signed {
&:hover {
background-color: unset !important;
}
span.ui.label.commit-sign-badge.commit-is-signed {
margin: unset;
}