-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.js
46 lines (44 loc) · 1.15 KB
/
tailwind.config.js
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
/** @type {import('tailwindcss').Config} */
import frequencyConfig from '@frequency-chain/style-guide/tailwind.config';
import debugScreens from 'tailwindcss-debug-screens';
import { MAX_PAGE_WIDTH } from './src/lib/consts';
export default {
content: ['./src/**/*.{html,js,svelte,ts}', './node_modules/@frequency-chain/style-guide/**/*.{html,js,svelte,ts}'],
theme: {
debugScreens: {
ignore: ['vertical', 'horizontal'],
},
extend: {
fontFamily: {
title: ['Newake', 'sans-serif'],
sans: ['Poppins', 'sans-serif'],
},
fontSize: {
f60: '60px',
},
colors: {
darkIndigo: '#445BC3',
tealBright: '#00B6AF',
grayBorder: '#C8CDD0',
},
width: {
page: `${MAX_PAGE_WIDTH}px`,
full: '100%',
},
maxWidth: {
page: `${MAX_PAGE_WIDTH}px`,
full: '100%',
},
minWidth: {
page: `${MAX_PAGE_WIDTH}px`,
full: '100%',
},
spacing: {
f56: '56px',
},
},
},
safelist: ['after:bg-navy', 'after:bg-cream', 'invalid:border-red'],
plugins: [debugScreens],
presets: [frequencyConfig],
};