-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathtailwind.config.ts
63 lines (60 loc) · 1.58 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
54
55
56
57
58
59
60
61
62
63
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: {
// default viewports
sm: '640px',
md: '768px',
lg: '1024px',
xl: '1280px',
'2xl': '1536px',
// custom viewports
'1.5md': '896px',
'1.5lg': '1152px',
'1.5xl': '1408px',
'2.5xl': '1728px',
'h-md': { raw: '(max-height: 1090px)' }
},
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 theres 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;