forked from tokens-studio/figma-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
61 lines (61 loc) · 2.08 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
module.exports = {
content: ['./app/src/**/*.html', './src/app/**/*.tsx', './src/app/**/*.jsx'],
important: true,
theme: {
extend: {
colors: {
gray: {
// TODO: get rid of these as we want to remove tailwind
100: 'var(--figma-color-bg-tertiary, #f5f5f5)',
200: 'var(--figma-color-border, #eeeeee)',
300: 'var(--figma-color-border, #eeeeee)',
400: 'var(--figma-color-text-secondary, #9e9e9e)',
500: 'var(--figma-color-text-secondary, #9e9e9e)',
600: 'var(--figma-color-text-secondary, #9e9e9e)',
700: 'var(--figma-color-text-secondary, #9e9e9e)',
},
modal: 'var(--figma-color-bg, #fff)',
input: 'var(--figma-color-bg-secondary, #f5f5f5)',
brand: 'var(--figma-color-bg-brand, #0070f3)',
'icon-brand': 'var(--figma-color-icon-brand, #0070f3)',
foreground: {
DEFAULT: 'var(--figma-color-text, #ffffff)',
muted: 'var(--figma-color-text-secondary, #9e9e9e)',
},
background: {
DEFAULT: 'var(--figma-color-bg, #ffffff)',
subtle: 'var(--figma-color-bg-secondary, #f5f5f5)',
hover: 'var(--figma-color-bg-hover, #f5f5f5)',
},
border: {
menu: 'var(--figma-color-border-menu, #eeeeee)',
muted: 'var(--figma-color-border, #e0e0e0)',
},
primary: {
100: 'var(--figma-color-bg-brand-tertiary, #E1F3FF)',
400: 'var(--figma-color-bg-brand, #3CB1FF)',
500: 'var(--figma-color-bg-brand, #18A0FB)',
},
},
fontSize: {
xxs: '0.7rem',
},
fontFamily: {
body: ['Inter', 'sans-serif'],
mono: ['JetBrainsMono', 'monospace'],
},
zIndex: {
1: '1',
},
boxShadow: (theme) => ({
focus: `0 0 0 2px var(--figma-color-border-selected)`,
'focus-subtle': `0 0 0 2px var(--figma-color-border-selected)`,
'focusMuted': `0 0 0 2px var(--figma-color-border-selected)`,
border: '0 0 0 1px',
}),
},
},
corePlugins: {
preflight: false,
},
};