generated from cfpb/open-source-project-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.js
44 lines (43 loc) · 1.17 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
const defaultConfig = require('tailwindcss/defaultConfig');
const formsPlugin = require('@tailwindcss/forms');
/** @type {import('tailwindcss/types').Config} */
const config = {
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
theme: {
extend: {
colors: {
warningColor: '#ff9e1b',
errorColor: '#D14124',
successColor: '#20AA3F',
disabledColor: '#E7E8E9',
cfpbBorderColor: '#919395',
black: '#101820',
gray20: '#D2D3D5',
grayDark: '#43484E',
grayDarker: '#293037',
pacific: '#0072CE', // TODO: Integrate DS color vars
pacificDark: '#0050b4',
navy: '#254b87',
teal: '#257675',
navy: '#254B87',
},
fontFamily: {
inter: ['Inter', ...defaultConfig.theme.fontFamily.sans],
},
// See `vars-breakpoints.js` of the `design-system` repo
screens: {
bpXS: '0px',
bpSM: '601px',
bpMED: '901px',
bpLG: '1021px',
bpXL: '1201px',
},
},
},
experimental: { optimizeUniversalDefaults: true },
plugins: [formsPlugin],
corePlugins: {
preflight: false,
},
};
module.exports = config;