Skip to content

Commit

Permalink
fix: sync with elements tokens (#746)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdrtsky committed Jan 2, 2023
1 parent 545c2f2 commit 4d54ee5
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions components/app/AppHeader.vue
Expand Up @@ -18,7 +18,7 @@ const hasDialog = computed(() => navigation.value?.length > 1)
</div>

<div class="section right">
<AppSearch v-if="hasDocSearch"/>
<AppSearch v-if="hasDocSearch" />
<ThemeSelect />
<div class="social-icons">
<AppSocialIcons />
Expand Down Expand Up @@ -53,13 +53,13 @@ css({
},
header: {
backdropFilter: '{backdrop.filter}',
backdropFilter: '{elements.backdrop.filter}',
position: 'sticky',
top: 0,
zIndex: 10,
width: '100%',
borderBottom: '1px solid {color.gray.100}',
backgroundColor: '{backdrop.background}',
backgroundColor: '{elements.backdrop.background}',
height: '{docus.header.height}',
'@dark': {
Expand Down
2 changes: 1 addition & 1 deletion components/app/AppHeaderDialog.vue
Expand Up @@ -72,7 +72,7 @@ css({
alignItems: 'flex-start',
overflowY: 'auto',
backgroundColor: 'rgba(255, 255, 255, 0.5)',
backdropFilter: '{backdrop.filter}',
backdropFilter: '{elements.backdrop.filter}',
'@dark': {
backgroundColor: 'rgba(0, 0, 0, 0.5)'
},
Expand Down
4 changes: 2 additions & 2 deletions components/docs/DocsAsideTree.vue
Expand Up @@ -118,9 +118,9 @@ css({
'.docs-aside-tree': {
li: {
'&.bordered': {
borderLeft: '1px solid {borders.primary.default}',
borderLeft: '1px solid {elements.border.primary.default}',
'&:hover': {
borderColor: '{borders.primary.hover}'
borderColor: '{elements.border.primary.hover}'
},
'&.active': {
borderColor: '{color.primary.400}',
Expand Down
6 changes: 3 additions & 3 deletions components/docs/DocsPageContent.vue
Expand Up @@ -175,7 +175,7 @@ css({
marginTop: 0,
marginBottom: '{space.8}',
paddingBottom: '{space.8}',
borderBottom: '1px solid {borders.primary.default}',
borderBottom: '1px solid {elements.border.primary.default}',
color: '{color.gray.500}',
'@sm': {
fontSize: '{text.lg.fontSize}',
Expand Down Expand Up @@ -216,8 +216,8 @@ css({
},
'.toc-wrapper': {
width: '100%',
backdropFilter: '{backdrop.filter}',
backgroundColor: '{backdrop.background}',
backdropFilter: '{elements.backdrop.filter}',
backgroundColor: '{elements.backdrop.background}',
px: '{space.4}',
'@sm': {
px: '{space.6}',
Expand Down
2 changes: 1 addition & 1 deletion components/docs/DocsPrevNext.vue
Expand Up @@ -68,7 +68,7 @@ css({
position: 'relative',
minWidth: '0px',
padding: '{space.3}',
border: '1px solid {borders.primary.default}',
border: '1px solid {elements.border.primary.default}',
borderRadius: '{radii.lg}',
'&:hover': {
borderColor: '{color.primary.100}',
Expand Down

1 comment on commit 4d54ee5

@vercel
Copy link

@vercel vercel bot commented on 4d54ee5 Jan 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.