Skip to content

Commit 0aece59

Browse files
KacperFKorbanpikinier20
authored andcommitted
Dark dark theme
1 parent ea871c2 commit 0aece59

File tree

3 files changed

+21
-16
lines changed

3 files changed

+21
-16
lines changed

scaladoc/resources/dotty_res/styles/colors.css

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414
--grey600: hsl(193, 14%, 52%);
1515
--grey700: hsl(193, 14%, 42%);
1616
--grey800: hsl(193, 12%, 28%);
17+
--grey850: hsl(193, 12%, 22%);
1718
--grey900: hsl(193, 12%, 16%);
19+
--grey930: hsl(193, 11%, 14%);
1820

1921
/* Blue */
2022
--blue100: hsl(200, 64%, 92%);
@@ -73,6 +75,7 @@
7375
--leftbar-current-fg: var(--blue500);
7476
--leftbar-hover-bg: var(--blue100);
7577
--leftbar-hover-fg: var(--grey900);
78+
--leftbar-border: var(--grey200);
7679

7780
--footer-bg: var(--white);
7881
--footer-fg: var(--grey700);
@@ -90,43 +93,44 @@
9093
:root.theme-dark {
9194
color-scheme: dark;
9295

93-
--border-light: var(--blue800);
94-
--border-medium: var(--blue700);
96+
--border-light: var(--grey800);
97+
--border-medium: var(--grey700);
9598

96-
--body-bg: var(--blue900);
99+
--body-bg: var(--grey930);
97100
--body-fg: var(--grey300);
98-
--title-fg: var(--blue200);
101+
--title-fg: var(--grey200);
99102

100103
--active-bg: var(--blue500);
101104
--active-bg-shadow: var(--blue400);
102105
--active-fg: var(--grey300);
103106

104-
--inactive-bg: var(--grey800);
105-
--inactive-bg-shadow: var(--grey600);
106-
--inactive-fg: var(--grey600);
107+
--inactive-bg: var(--grey700);
108+
--inactive-bg-shadow: var(--grey500);
109+
--inactive-fg: var(--grey500);
107110

108-
--code-bg: var(--blue800);
111+
--code-bg: var(--grey850);
109112
--code-fg: var(--grey400);
110113
--symbol-fg: var(--grey300);
111-
--documentable-bg: var(--blue800);
114+
--documentable-bg: var(--grey850);
112115

113116
--link-fg: var(--blue400);
114117
--link-hover-fg: var(--blue300);
115118
--link-sig-fg: var(--blue400);
116119

117-
--leftbar-bg: var(--black);
120+
--leftbar-bg: var(--grey930);
118121
--leftbar-fg: var(--grey300);
119-
--leftbar-current-bg: var(--blue700);
122+
--leftbar-current-bg: var(--grey700);
120123
--leftbar-current-fg: var(--white);
121-
--leftbar-hover-bg: var(--blue800);
124+
--leftbar-hover-bg: var(--grey800);
122125
--leftbar-hover-fg: var(--grey300);
126+
--leftbar-border: var(--grey800);
123127

124-
--footer-bg: var(--blue900);
128+
--footer-bg: var(--grey930);
125129
--footer-fg: var(--grey400);
126130

127131
--icon-color: var(--grey600);
128-
--selected-fg: var(--blue800);
129-
--selected-bg: var(--blue200);
132+
--selected-fg: var(--grey800);
133+
--selected-bg: var(--grey200);
130134

131135
--tab-selected: var(--white);
132136
--tab-default: var(--grey300);

scaladoc/resources/dotty_res/styles/filter-bar.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.documentableFilter {
22
padding: 24px 24px 24px 12px;
3-
background-color: var(--code-bg);
3+
background-color: var(--documentable-bg);
44
}
55

66
.documentableFilter.active .filterToggleButton svg {

scaladoc/resources/dotty_res/styles/scalastyle.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ body, button, input {
3838
display: flex;
3939
flex-direction: column;
4040
z-index: 5;
41+
border-right: solid var(--leftbar-border);
4142
}
4243
main {
4344
min-height: calc(100vh - var(--footer-height) - 24px);

0 commit comments

Comments
 (0)