/
tokens.config.ts
35 lines (34 loc) · 925 Bytes
/
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
import { defineTheme } from 'pinceau'
import colors from 'tailwindcss/colors'
// See Typography config on https://github.com/nuxt-themes/typography/blob/main/tokens.config.ts
export default defineTheme({
color: {
primary: colors.emerald,
secondary: colors.gray,
},
typography: {
color: {
secondary: colors.gray
}
},
prose: {
img: {
margin: '{typography.verticalMargin.base} 3',
borderRadius: '{typography.radii.3xs}'
},
code: {
block: {
backgroundColor: {
initial: colors.gray['50'],
dark: colors.gray['900']
}
},
inline: {
backgroundColor: {
initial: colors.gray['100'],
dark: colors.gray['900']
}
}
}
}
})