Skip to content

Commit 76e17a5

Browse files
authored
fix: backdrop tokens (#107)
1 parent 97bf2bf commit 76e17a5

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

components/AppHeader.vue

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ css({
6262
'.overlay': {
6363
position: 'absolute',
6464
top: 'calc(var(--header-padding) + var(--logo-height) + {space.2})',
65-
backgroundColor: '{alpine.backdrop.backgroundColor.light}',
65+
backgroundColor: '{alpine.backdrop.backgroundColor}',
6666
border: '1px solid {color.gray.200}',
6767
borderRadius: '{radii.md}',
6868
padding: '{space.6}',
@@ -93,8 +93,7 @@ css({
9393
display: 'none'
9494
},
9595
'@dark': {
96-
backgroundColor: '{alpine.backdrop.backgroundColor.dark}',
97-
border: '1px solid {color.gray.800}',
96+
borderColor: '{color.gray.800}',
9897
}
9998
},
10099
'.logo': {

tokens.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export default defineTheme({
1111
},
1212
backdrop: {
1313
backgroundColor: {
14-
light: '#f4f4f5b3', // TODO: rgba({color.gray.100}, 0.7)
14+
initial: '#f4f4f5b3', // TODO: rgba({color.gray.100}, 0.7)
1515
dark: '#18181bb3' // TODO: rgba({color.gray.900}, 0.7)
1616
}
1717
},

0 commit comments

Comments
 (0)