Compare commits

...

2 Commits

Author SHA1 Message Date
鲁汀
f9eef1bf09 Update theme-github.css
热力图更像 GitHub 的样式
2024-12-12 16:06:20 +08:00
鲁汀
bb3b4a939d 微调绿色 2024-12-12 01:40:51 +08:00

View File

@@ -442,13 +442,17 @@ button,
color: var(--color-console-fg); color: var(--color-console-fg);
} }
.text.green {
color: #3fb950 !important;
}
.ui.ui.ui.green.label { .ui.ui.ui.green.label {
background: var(--color-body); background: var(--color-body);
border-color: var(--color-green); border-color: #3fb950;
border-width: 1px; border-width: 1px;
border-style: solid; border-style: solid;
border-radius: 25px; border-radius: 25px;
color: var(--color-green); color: #3fb950;
} }
.ui.ui.ui.orange.label { .ui.ui.ui.orange.label {
@@ -532,9 +536,7 @@ a.muted:hover,
.repository #repo-files-table .sha.label.isSigned.isVerified, .repository #repo-files-table .sha.label.isSigned.isVerified,
.repository #rev-list .sha.label.isSigned.isVerified, .repository #rev-list .sha.label.isSigned.isVerified,
.repository .timeline-item.commits-list .singular-commit .sha.label.isSigned.isVerified { .repository .timeline-item.commits-list .singular-commit .sha.label.isSigned.isVerified {
border: 1.5px solid #21ba45 !important; border: 1px solid #3fb950 !important;
background: transparent;
border-radius: 6px;
} }
.header-wrapper .ui.tabular.menu .item:hover, .header-wrapper .ui.tabular.menu .item:hover,
@@ -654,20 +656,61 @@ a.muted:hover,
} }
.vch__day__square, .vch__day__square,
.vch__legend__wrapper rect {
rx: 2px;
ry: 2px;
width: 9px;
height: 9px;
outline: 1px solid rgba(255, 255, 255, 0.05);
border-radius: 0.5px;
outline-offset: -1px;
}
.vch__legend__wrapper rect { .vch__legend__wrapper rect {
rx: 3px; rx: 3px;
ry: 3px; ry: 3px;
} }
.vch__day__square[style="fill: var(--color-secondary-alpha-60);"],
.vch__legend__wrapper rect[style="fill: var(--color-secondary-alpha-60);"] {
outline: 1px solid rgba(27, 31, 35, 0.06);
background: var(--color-secondary-alpha-60);
}
.vch__day__square[style="fill: var(--color-primary-light-4);"],
.vch__legend__wrapper rect[style="fill: var(--color-primary-light-4);"] {
background: var(--color-primary-light-4);
}
.vch__day__square[style="fill: var(--color-primary-light-2);"],
.vch__legend__wrapper rect[style="fill: var(--color-primary-light-2);"] {
background: var(--color-primary-light-2);
}
.vch__day__square[style="fill: var(--color-primary);"],
.vch__legend__wrapper rect[style="fill: var(--color-primary);"] {
background: var(--color-primary);
}
.vch__day__square[style="fill: var(--color-primary-dark-2);"],
.vch__legend__wrapper rect[style="fill: var(--color-primary-dark-2);"] {
background: var(--color-primary-dark-2);
}
.vch__day__square[style="fill: var(--color-primary-dark-4);"],
.vch__legend__wrapper rect[style="fill: var(--color-primary-dark-4);"] {
background: var(--color-primary-dark-4);
}
:root { :root {
--is-dark-theme: true; --is-dark-theme: true;
--border-radius: 6px; --border-radius: 6px;
--color-primary: rgba(57, 211, 83, 0.6); --color-primary: rgba(57, 211, 83, 0.6);
--color-primary-contrast: #fff; --color-primary-contrast: #fff;
--color-primary-dark-1: rgba(57, 211, 83, 0.7); --color-primary-dark-1: rgba(68, 255, 97, 0.7);
--color-primary-dark-2: rgba(57, 211, 83, 0.8); --color-primary-dark-2: rgba(57, 211, 83, 1);
--color-primary-dark-3: rgba(57, 211, 83, 0.9); --color-primary-dark-3: rgba(68, 255, 97, 0.9);
--color-primary-dark-4: rgba(57, 211, 83, 1); --color-primary-dark-4: rgba(68, 255, 97, 1);
--color-primary-dark-5: #cfddc1; --color-primary-dark-5: #cfddc1;
--color-primary-dark-6: #e7eee0; --color-primary-dark-6: #e7eee0;
--color-primary-dark-7: #f8faf6; --color-primary-dark-7: #f8faf6;
@@ -720,7 +763,7 @@ a.muted:hover,
--color-orange: #f17a2b; --color-orange: #f17a2b;
--color-yellow: #f3c640; --color-yellow: #f3c640;
--color-olive: #c8df36; --color-olive: #c8df36;
--color-green: #3bc75b; --color-green: #39d353;
--color-teal: #69d4cf; --color-teal: #69d4cf;
--color-blue: #4493f8; --color-blue: #4493f8;
--color-violet: #754ad3; --color-violet: #754ad3;