-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtailwind.config.js
More file actions
42 lines (41 loc) · 1.11 KB
/
Copy pathtailwind.config.js
File metadata and controls
42 lines (41 loc) · 1.11 KB
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
const colors = require('tailwindcss/colors')
/** @type {import('tailwindcss').Config} */
module.exports = {
corePlugins: {
preflight: false
},
content: ['./src/**/*.{html,js}',
'./index.html',],
theme: {
extend: {},
colors: {
primary: '#6750A4',
onPrimary: colors.white,
secondary: colors.purple[200],
onSecondary: colors.white,
tertiary: colors.purple[100],
background: colors.white,
onBackground: colors.black,
onBackgroundVariant: colors.gray[500],
onBackgroundVariant2: colors.gray[400],
success: '#046C4E',
onSuccess: colors.white,
successContainer: '#DEF7EC',
error: '#C81E1E',
onError: colors.white,
errorContainer: '#FDE8E8',
scrim: 'rgba(0,0,0,0.4)',
onScrim: colors.white,
outline: '#71717A',
red: '#DA5B65',
blue: '#504F9C',
yellow: '#DFCD5E',
green: '#5CB94E',
grey: colors.gray[400],
error: '#B3261E',
black: colors.black,
white: colors.white
},
},
plugins: [],
}