Skip to content

Commit

Permalink
update styles for light mode
Browse files Browse the repository at this point in the history
  • Loading branch information
kyhyco committed Aug 6, 2024
1 parent fd9ed11 commit 73aac4d
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 16 deletions.
26 changes: 14 additions & 12 deletions site/docs/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,18 @@
}
}

.vocs_CodeGroup,
.vocs_Tabs_list,
.vocs_Tabs_content,
.vocs_CodeBlock,
.vocs_CodeTitle,
.vocs_Pre_wrapper,
.vocs_Heading::before,
.vocs_Code {
background-color: #1F2937 !important;
border-color: #1F2937 !important;
.dark {
.vocs_CodeGroup,
.vocs_Tabs_list,
.vocs_Tabs_content,
.vocs_CodeBlock,
.vocs_CodeTitle,
.vocs_Pre_wrapper,
.vocs_Heading::before,
.vocs_Code {
background-color: #1F2937 !important;
border-color: #1F2937 !important;
}
}

.vocs_Tabs_trigger {
Expand Down Expand Up @@ -122,7 +124,7 @@
padding: 60px 0px 0px 0px;
}

.dark .vocs_Content:has(#blobs) {
.vocs_Content:has(#blobs) {
padding: 60px 0px 0px 0px;
background-color: #030713;
}
Expand All @@ -131,7 +133,7 @@
display: none;
}

.dark .css-main-container {
.css-main-container {
background-color: #111827;
}

Expand Down
16 changes: 12 additions & 4 deletions site/vocs.config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,20 @@ export default defineConfig({
],
theme: {
accentColor: '#73F7FF',
colorScheme: 'dark',
variables: {
color: {
background: '#151A26',
backgroundDark: '#0F131E',
textAccent: 'white',
background: {
dark: '#151A26',
light: 'white',
},
backgroundDark: {
dark: '#0F131E',
light: '#F3F4F6',
},
textAccent: {
dark: 'white',
light: '#030712',
},
},
},
},
Expand Down

0 comments on commit 73aac4d

Please sign in to comment.