Skip to content

Commit

Permalink
Merge branch 'main' into feat/support-logo-img
Browse files Browse the repository at this point in the history
  • Loading branch information
bdrtsky committed Mar 31, 2023
2 parents adade82 + 1e99aa0 commit 8c5f188
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
11 changes: 3 additions & 8 deletions assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,10 @@ body {
overflow-y: scroll;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
background: $dt('color.white');
color: $dt('color.gray.800');
font-family: $dt('font.sans');
background-color: $dt('docus.body.backgroundColor');
color: $dt('docus.body.color');
font-family: $dt('docus.body.fontFamily');
min-width: $dt('size.xs');

@dark {
background: $dt('color.black');
color: $dt('color.gray.200');
}
}

.docus-scrollbars {
Expand Down
13 changes: 12 additions & 1 deletion tokens.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,18 @@ export default defineTheme({
'@studioIcon material-symbols:docs'
]
},
header: {
body: {
backgroundColor: {
initial: '{color.white}',
dark: '{color.black}'
},
color: {
initial: '{color.gray.800}',
dark: '{color.gray.200}'
},
fontFamily: '{font.sans}',
},
header: {
height: '64px',
logo: {
height: {
Expand Down

0 comments on commit 8c5f188

Please sign in to comment.