-
Notifications
You must be signed in to change notification settings - Fork 59
/
Copy pathtailwind.config.js
63 lines (55 loc) · 1.42 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
const withTW = require("@bsf/force-ui/withTW");
// figma colr
module.exports = withTW({
content: ["./src/**/*.{js, jsx}"],
theme: {
extend: {
colors: {
"button-primary": "#2563EB",
"button-primary-hover": "#1D4ED8",
"brand-primary-600": "#9333EA",
"brand-800": "#6B21A8",
"brand-50": "#EFF6FF",
"border-interactive": "#2563EB",
"border-subtle": "#E5E7EB",
focus: "#9333EA",
"focus-border": "#D8B4FE",
"toggle-on": "#6B21A8",
"toggle-on-border": "#C084FC",
"toggle-on-hover": "#A855F7",
"background-primary": "#FFFFFF",
"background-secondary": "#F3F4F6",
"field-border": "#E5E7EB",
"field-label": "#111827",
"field-primary-background": "#F9FAFB",
"field-secondary-background": "#FFFFFF",
"icon-primary": "#111827",
"icon-secondary": "#4B5563",
"background-gray": "#F9FAFB",
},
fontSize: {
xxs: "0.6875rem", // 11px
},
lineHeight: {
2.6: "0.6875rem", // 11px
9.5: "2.375rem", // 38px
},
boxShadow: {
"content-wrapper":
"0px 1px 1px 0px #0000000F, 0px 1px 2px 0px #0000001A",
"container-item": "0px 1.5px 1px 0px rgba(0, 0, 0, 0.05)", // Custom shadow
},
spacing: {
"slide-over-container": "566px",
},
fontFamily: {
figtree: ["Figtree", "sans-serif"],
},
},
},
plugins: [],
corePlugins: {
preflight: false,
},
important: ":is(#hfe-settings-app, [data-floating-ui-portal])",
});