-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathtailwind.config.ts
53 lines (50 loc) · 1.38 KB
/
tailwind.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
52
53
import type { Config } from 'tailwindcss';
import defaultTheme from 'tailwindcss/defaultTheme';
import { themeVariables } from './src/frontend/src/lib/styles/tailwind/theme-variables';
export default {
content: ['./src/**/*.{html,js,svelte,ts}'],
theme: {
fontFamily: {
sans: ['CircularXX', 'sans-serif', ...defaultTheme.fontFamily.sans]
},
screens: {
...defaultTheme.screens,
...themeVariables.screens
},
colors: {
// base colors, can be left in
inherit: 'inherit',
transparent: 'transparent',
current: 'currentColor',
black: 'rgb(0, 0, 0)',
white: 'rgb(255 255 255)',
// keeping off-white since there's currently no matching color var in figma even though its used
'off-white': '#fcfaf6',
// custom hero gradient colors
...themeVariables.gradient
},
extend: {
backgroundColor: themeVariables.background,
gradientColorStops: themeVariables.background,
borderColor: themeVariables.border,
ringColor: themeVariables.border,
textColor: themeVariables.foreground,
backgroundImage: {
'trump-token-hero-image':
'url(/images/trump-token-hero-image.webp), linear-gradient(to bottom, #232bcc, #000797)'
},
backgroundSize: {
'size-200': '200% 200%'
},
backgroundPosition: {
'pos-0': '0% 0%',
'pos-100': '100% 100%'
},
width: {
sm: '576px',
md: '768px'
}
}
},
plugins: []
} satisfies Config;