Skip to content

Commit b4f4761

Browse files
author
elizabethtrykin
committed
update styles
1 parent 99ec83a commit b4f4761

File tree

2 files changed

+38
-7
lines changed

2 files changed

+38
-7
lines changed

fern/assets/styles.css

Lines changed: 34 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,20 +162,51 @@
162162
/* HEADER */
163163
.fern-theme-default.fern-container .fern-header,
164164
.fern-theme-default.fern-container .fern-header-tabs {
165-
background-color: light-dark(#fffaea, #0e0e13);
165+
background-color: light-dark(#fff, #0e0e13);
166166
}
167167

168168
/* CARD STYLES */
169169
.fern-card {
170170
border-color: light-dark(#d9d3c2, #27272a);
171-
background-color: light-dark(#fffaea, #0e0e13);
171+
background-color: light-dark(#fff, #0e0e13);
172172
}
173173

174174
/* SIDEBAR */
175175
.fern-theme-default.fern-container .fern-sidebar-container {
176-
background-color: light-dark(#fffaea, #0e0e13);
176+
background-color: light-dark(#fff, #0e0e13);
177+
border-right: 1px solid #e0e0e0;
177178
}
178179

179180
html.dark button[data-highlighted] .fern-api-property-meta {
180181
color: var(--accent-contrast) !important;
182+
}
183+
184+
.light .fern-theme-default.fern-container {
185+
background-color: #fff !important;
186+
}
187+
188+
.fern-theme-default.fern-container,
189+
.fern-theme-default.fern-container > * {
190+
margin: 0 !important;
191+
padding: 0 !important;
192+
max-width: 100vw !important;
193+
width: 100vw !important;
194+
box-sizing: border-box !important;
195+
}
196+
197+
#fern-header,
198+
.fern-header-container,
199+
.fern-header,
200+
.fern-header-content {
201+
padding: 0 36px 0 8px !important;
202+
margin: 0 0px !important;
203+
max-width: 100vw !important;
204+
width: 100vw !important;
205+
box-sizing: border-box !important;
206+
}
207+
208+
.fern-header-tabs,
209+
.fern-header-tabs-list {
210+
margin: 0px !important;
211+
padding: 0px !important;
181212
}

fern/docs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ logo:
2020
height: 22
2121
colors:
2222
accentPrimary:
23-
light: "#62F6B5"
24-
dark: "#62F6B5"
23+
light: "#12A594"
24+
dark: "#12A594"
2525
background:
26-
light: "#FFFAEA"
26+
light: "#FFFFFF"
2727
dark: "#0E0E13"
2828
header-background:
29-
light: "#FFFAEA"
29+
light: "#FFFFFF"
3030
dark: "#0E0E13"
3131
experimental:
3232
mdx-components:

0 commit comments

Comments
 (0)