11/** @type {import('tailwindcss').Config } */
2-
3- /* eslint-disable import/no-unresolved */
4- /* eslint-disable global-require */
5- /* eslint-disable import/no-extraneous-dependencies */
6- // const { fontFamily } = require('tailwindcss/defaultTheme')
7- const defaultTheme = require ( 'tailwindcss/defaultTheme' ) ;
8-
9- module . exports = {
2+ export default {
103 content : [
114 './index.html' ,
125 './src/**/*.{js,ts,jsx,tsx,css,md,mdx,html,json,scss}' ,
136 ] ,
147 theme : {
15- fontSize : {
16- xs : '12px' ,
17- sm : '14px' ,
18- base : '16px' ,
19- lg : '18px' ,
20- xl : '20px' ,
21- '2xl' : '24px' ,
22- '3xl' : '30px' ,
23- '4xl' : '36px' ,
24- '5xl' : '48px' ,
25- '6xl' : '60px' ,
26- '7xl' : '72px' ,
27- '8xl' : '96px' ,
28- '9xl' : '128px' ,
29- } ,
30- spacing : {
31- px : '1px' ,
32- 0 : '0' ,
33- 0.5 : '2px' ,
34- 1 : '4px' ,
35- 1.5 : '6px' ,
36- 2 : '8px' ,
37- 2.5 : '10px' ,
38- 3 : '12px' ,
39- 3.5 : '14px' ,
40- 4 : '16px' ,
41- 5 : '20px' ,
42- 6 : '24px' ,
43- 7 : '28px' ,
44- 8 : '32px' ,
45- 9 : '36px' ,
46- 10 : '40px' ,
47- 11 : '44px' ,
48- 12 : '48px' ,
49- 14 : '56px' ,
50- 16 : '64px' ,
51- 20 : '80px' ,
52- 24 : '96px' ,
53- 28 : '112px' ,
54- 32 : '128px' ,
55- 36 : '144px' ,
56- 40 : '160px' ,
57- 44 : '176px' ,
58- 48 : '192px' ,
59- 52 : '208px' ,
60- 56 : '224px' ,
61- 60 : '240px' ,
62- 64 : '256px' ,
63- 72 : '288px' ,
64- 80 : '320px' ,
65- 96 : '384px' ,
66- } ,
67- extend : {
68- aspectRatio : {
69- '4/5' : '4 / 5' ,
70- '580/93' : '580 / 93' ,
71- } ,
72- fontFamily : {
73- // Merge with default theme without Duplicates (Because Duplicate with "Helvetica Neue" in defaults)
74- sans : [
75- ...new Set (
76- [
77- '"Helvetica Neue"' ,
78- 'Helvetica' ,
79- '"Hiragino Kaku Gothic ProN"' ,
80- '"Yu Gothic"' ,
81- ] . concat ( defaultTheme . fontFamily . sans ) ,
82- ) ,
83- ] ,
84- // serif: [
85- // 'garamond-premier-pro',
86- // '"Times New Roman"',
87- // '"YuMincho"',
88- // '"Hiragino Mincho ProN"',
89- // '"Yu Mincho"',
90- // '"MS PMincho"',
91- // 'serif',
92- // ...defaultTheme.fontFamily.serif,
93- // ],
94-
95- // Merge with default theme without Duplicates
96- serif : [
97- ...new Set (
98- [
99- 'garamond-premier-pro' ,
100- '"Times New Roman"' ,
101- '"YuMincho"' ,
102- '"Hiragino Mincho ProN"' ,
103- '"Yu Mincho"' ,
104- '"MS PMincho"' ,
105- ] . concat ( defaultTheme . fontFamily . serif ) ,
106- ) ,
107- ] ,
108- } ,
109- colors : {
110- facebook : '#1877f2' ,
111- twitter : '#1da1f2' ,
112- instagram : '#dc3b89' ,
113- youtube : '#ff3434' ,
114- } ,
115- maxWidth : {
116- 'screen-2xl' : '1440px' ,
117- 'screen-3xl' : '1536px' ,
118- } ,
119- height : {
120- screen : [ '100vh' , '100dvh' ] ,
121- 'screen/2' : [ '50vh' , '50dvh' ] ,
122- 'screen/3' : [ 'calc(100vh / 3)' , 'calc(100dvh / 3)' ] ,
123- 'screen/4' : [ 'calc(100vh / 4)' , 'calc(100dvh / 4)' ] ,
124- 'screen/5' : [ 'calc(100vh / 5)' , 'calc(100dvh / 5)' ] ,
125- 'screen-inner' : [ 'var(--inner-height)' , '100dvh' ] , // To support 'inner-vh'
126- article : 'var(--article-height, auto)' ,
127- } ,
128- minHeight : {
129- screen : [ '100vh' , '100dvh' ] ,
130- } ,
131- maxHeight : {
132- screen : [ '100vh' , '100dvh' ] ,
133- } ,
134- textIndent : {
135- 'negative-99999' : '-99999px' ,
136- } ,
137- } ,
8+ extend : { } ,
1389 } ,
139- plugins : [
140- // require('@tailwindcss/typography'),
141- require ( '@tailwindcss/forms' ) ,
142- ] ,
143- } ;
10+ plugins : [ ] ,
11+ }
0 commit comments