-
Notifications
You must be signed in to change notification settings - Fork 58
/
tokens.config.ts
51 lines (50 loc) · 1.01 KB
/
tokens.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
import theme from '@nuxt-themes/tokens/config'
import { defineTheme } from 'pinceau'
export default defineTheme({
alpine: {
$schema: {
title: 'All the configurable tokens from Alpine.',
tags: [
'@studio-icon carbon:blog'
]
},
body: {
backgroundColor: {
initial: '{color.white}',
dark: '{color.black}'
},
color: {
initial: '{color.gray.800}',
dark: '{color.gray.200}'
}
},
backdrop: {
backgroundColor: {
initial: '#f4f4f5b3', // TODO: rgba({color.gray.100}, 0.7)
dark: '#18181bb3' // TODO: rgba({color.gray.900}, 0.7)
}
},
readableLine: '68ch'
},
elements: {
container: {
maxWidth: '64rem',
padding: {
mobile: '{space.6}',
xs: '{space.8}',
sm: '{space.12}',
md: '{space.16}'
}
}
},
color: {
white: '#FFFFFF',
// @ts-ignore
primary: theme.color.lightblue
},
prose: {
p: {
fontSize: '18px'
},
}
})