-
Notifications
You must be signed in to change notification settings - Fork 1k
/
tailwind.config.js
43 lines (43 loc) · 1.48 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
/** @type {import('tailwindcss').Config} */
module.exports = {
important: "#fbjs",
darkMode: "class",
corePlugins: {
preflight: false,
},
content: ["./src/**/*.{tsx,ts,jsx,js}"],
theme: {
extend: {
colors: {
brand: "var(--fb-brand-color)",
"on-brand": "var(--fb-brand-text-color)",
border: "var(--fb-border-color)",
"border-highlight": "var(--fb-border-color-highlight)",
focus: "var(--fb-focus-color)",
heading: "var(--fb-heading-color)",
subheading: "var(--fb-subheading-color)",
"info-text": "var(--fb-info-text-color)",
signature: "var(--fb-signature-text-color)",
"survey-bg": "var(--fb-survey-background-color)",
"accent-bg": "var(--fb-accent-background-color)",
"accent-selected-bg": "var(--fb-accent-background-color-selected)",
placeholder: "var(--fb-placeholder-color)",
shadow: "var(--fb-shadow-color)",
"rating-fill": "var(--fb-rating-fill)",
"rating-focus": "var(--fb-rating-hover)",
"rating-selected": "var(--fb-rating-selected)",
"back-button-border": "var(--fb-back-btn-border)",
"submit-button-border": "var(--fb-submit-btn-border)",
"close-button": "var(--fb-close-btn-color)",
"close-button-focus": "var(--fb-close-btn-hover-color)",
},
borderRadius: {
fbBorderRadius: "var(--fb-border-radius)",
},
zIndex: {
999999: "999999",
},
},
},
plugins: [],
};