Skip to content

Commit a003f39

Browse files
committed
add tailwind config file
1 parent 380f237 commit a003f39

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

storybook/tailwind.config.js

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
import defaultTheme from 'tailwindcss/defaultTheme'
2+
3+
/** @type {import('tailwindcss').Config} */
4+
module.exports = {
5+
content: [
6+
"./stories/**/*.{js,ts,jsx,tsx,mdx}",
7+
"./docs/**/*.{js,ts,jsx,tsx,mdx}",
8+
"./components/**/*.{js,ts,jsx,tsx}",
9+
"./app/**/*.{js,ts,jsx,tsx}",
10+
"./src/**/*.{js,ts,jsx,tsx}",
11+
"./vocs.config.{js,ts,jsx,tsx}",
12+
"./sidebar.{js,ts}"
13+
],
14+
darkMode: 'class',
15+
theme: {
16+
screens: {
17+
'home-hero': '1220px',
18+
'overview-hero': '1360px',
19+
...defaultTheme.screens,
20+
},
21+
extend: {
22+
fontFamily: {
23+
sans: ['CoinbaseSans', ...defaultTheme.fontFamily.sans],
24+
mono: ['CoinbaseMono', ...defaultTheme.fontFamily.mono],
25+
},
26+
fontWeight: {
27+
normal: '400',
28+
medium: '500',
29+
semibold: '600',
30+
bold: '700',
31+
},
32+
},
33+
},
34+
plugins: [],
35+
}

0 commit comments

Comments
 (0)