-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.js
64 lines (64 loc) · 2.56 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"app/*.{html,md}",
"app/_layouts/**/*.html",
"app/_includes/**/*.{html,md}",
"app/_landing_pages/**/*.yaml",
"app/_gateway_entities/**",
"app/_how-tos/**/*.md",
"app/_plugins/**/*.rb",
"app/_assets/javascripts/**",
"app/gateway/**"
],
darkMode: 'selector',
safelist: [
{
pattern: /grid-cols-[1-6]/,
variants: ["md", "lg"],
},
"self-start",
"self-center",
"self-end",
],
theme: {
extend: {
colors:{
brand: 'rgb(var(--color-brand), <alpha-value>)',
'brand-saturated': 'rgb(var(--color-brand-saturated), <alpha-value>)',
'semantic-red-primary': 'rgb(var(--color-semantic-red-primary), <alpha-value>)',
'semantic-red-secondary': 'rgb(var(--color-semantic-red-secondary), <alpha-value>)',
'semantic-yellow-primary': 'rgb(var(--color-semantic-yellow-primary), <alpha-value>)',
'semantic-yellow-secondary': 'rgb(var(--color-semantic-yellow-secondary), <alpha-value>)',
'semantic-blue-primary': 'rgb(var(--color-semantic-blue-primary), <alpha-value>)',
'semantic-blue-secondary': 'rgb(var(--color-semantic-blue-secondary), <alpha-value>)',
'semantic-green-primary': 'rgb(var(--color-semantic-green-primary), <alpha-value>)',
'semantic-green-secondary': 'rgb(var(--color-semantic-green-secondary), <alpha-value>)',
'semantic-grey-primary': 'rgb(var(--color-semantic-grey-primary), <alpha-value>)',
'semantic-grey-secondary': 'rgb(var(--color-semantic-grey-secondary), <alpha-value>)',
},
textColor: {
primary: 'rgb(var(--color-text-primary), <alpha-value>)',
secondary: 'rgb(var(--color-text-secondary), <alpha-value>)',
terciary: 'rgb(var(--color-text-terciary), <alpha-value>)',
},
borderColor: {
primary: 'rgb(var(--color-border-primary), <alpha-value>)',
},
backgroundColor: {
primary: 'rgb(var(--color-bg-primary), <alpha-value>)',
secondary: 'rgb(var(--color-bg-secondary), <alpha-value>)',
'code-block': 'rgb(var(--color-bg-code-block), <alpha-value>)',
'code-block-header': 'rgb(var(--color-bg-code-block-header), <alpha-value>)',
'hover-component': 'rgb(var(--color-bg-hover-component), <alpha-value>)',
},
boxShadow: {
primary: '0 4px 12px 0 rgb(var(--color-shadow-primary))',
'hover-card': '0 4px 20px 0 rgb(var(--color-shadow-hover-cardp))'
}
},
},
plugins: [
require('@tailwindcss/typography'),
],
};