forked from heddendorp/tumi-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
72 lines (70 loc) · 1.75 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
const { guessProductionMode } = require('@ngneat/tailwind');
process.env.TAILWIND_MODE = guessProductionMode() ? 'build' : 'watch';
module.exports = {
prefix: '',
mode: 'jit',
content: [
'./apps/**/*.{html,ts,css,scss,sass,less,styl}',
'./libs/**/*.{html,ts,css,scss,sass,less,styl}',
],
darkMode: 'class', // or 'media' or 'class'
theme: {
extend: {
colors: {
primary: {
default: '#0053db',
on: '#ffffff',
container: '#dae1ff',
onContainer: '#00164d',
},
secondary: {
default: '#585e71',
on: '#ffffff',
container: '#dde1f9',
onContainer: '#161b2c',
defaultDark: '#c1c6dd',
onDark: '#2b3042',
containerDark: '#414659',
onContainerDark: '#dde1f9',
},
tertiary: {
default: '#745471',
on: '#ffffff',
container: '#ffd7f8',
onContainer: '#2b122b',
defaultDark: '#e2bbdc',
onDark: '#422740',
containerDark: '#5a3d57',
onContainerDark: '#ffd7f8',
},
error: {
default: '#ba1b1b',
on: '#ffffff',
container: '#ffdad4',
onContainer: '#410001',
},
background: {
default: '#fefbff',
on: '#1b1b1f',
},
surface: {
default: '#fefbff',
on: '#1b1b1f',
},
variant: {
default: '#e1e1ec',
on: '#44464e',
},
outline: { default: '#75767f', dark: '#8f909a' },
},
},
},
variants: {
extend: {},
},
plugins: [
require('@tailwindcss/aspect-ratio'),
require('@tailwindcss/line-clamp'),
require('@tailwindcss/typography'),
],
};