-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.cjs
executable file
·68 lines (65 loc) · 2.31 KB
/
tailwind.config.cjs
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
/** @type {import('tailwindcss').Config} */
//@stratox/tailwind
export default {
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
"./packages/StratoxComponents/src/*.js"
//"./node_modules/@stratox/component/src/*.js"
],
theme: {
extend: {
colors: {
'bg': {
'primary': "#1E40AF",
'secondary': "#E2E8F0",
'light': "#F9F9F9",
'approve': '#17A355',
'error': '#D32E32',
},
'text': {
'primary': "#0F172B",
'secondary': "#47566C",
'link': '#1E40AF',
'approve': '#17A355',
'error': '#D32E32',
},
'border': {
'primary': "#CDD5E0",
'secondary': "#70A3F3",
'light': "#E3E8EF",
'approve': '#4CA054',
'error': '#8D2822'
},
}
}
},
plugins: [
require('./packages/StratoxTailwind/src/index.js').config({
fontFamily: ['Open Sans', 'Helvetica', 'Arial', 'sans-serif'],
fontFace: [
{
'font-family': '"Open Sans"',
'src': 'url("/src/assets/opensans-bold-webfont.woff2") format("woff2")',
'font-weight': 'bold',
'font-style': 'normal',
'font-display': 'swap'
},
{
'font-family': '"Open Sans"',
'src': 'url("/src/assets/opensans-italic-webfont.woff2") format("woff2")',
'font-weight': 'normal',
'font-style': 'italic',
'font-display': 'swap'
},
{
'font-family': '"Open Sans"',
'src': 'url("/src/assets/opensans-regular-webfont.woff2") format("woff2")',
'font-weight': 'normal',
'font-style': 'normal',
'font-display': 'swap'
}
],
}, require('tailwindcss/plugin'))
],
}