Skip to content

Commit f741513

Browse files
silverwindlunny
authored andcommitted
adjust secondary bg
1 parent fc6aa72 commit f741513

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

web_src/less/_base.less

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,8 @@
9999
--color-markdown-code-block: #00000008;
100100
--color-button: #ffffff;
101101
--color-code-bg: #ffffff;
102-
--color-shadow: #00000024;
102+
--color-markdown-code-block: #00000010;
103+
--color-secondary-bg: #f4f4f4;
103104
}
104105

105106
:root:lang(ja) {
@@ -1691,6 +1692,11 @@ a.ui.basic.label:hover {
16911692
border-color: var(--color-secondary);
16921693
}
16931694

1695+
.ui.secondary.segment {
1696+
background: var(--color-secondary-bg);
1697+
color: var(--color-text-light);
1698+
}
1699+
16941700
.ui.attached.header {
16951701
position: relative;
16961702
background: var(--color-box-header);

web_src/less/themes/theme-arc-green.less

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@
9595
--color-button: #353846;
9696
--color-code-bg: #2a2e3a;
9797
--color-shadow: #00000060;
98+
--color-secondary-bg: #313442;
9899
}
99100

100101
/* LineTableTD */
@@ -827,11 +828,6 @@ td.blob-hunk {
827828
color: #dbdbdb;
828829
}
829830

830-
.ui.secondary.segment {
831-
background-color: rgba(0, 0, 0, .3);
832-
color: #dbdbdb;
833-
}
834-
835831
.ui.attached.info.message,
836832
.ui.info.message {
837833
box-shadow: 0 0 0 1px #4b5e71 inset, 0 0 0 0 transparent;

0 commit comments

Comments
 (0)