-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathtailwind.config.cjs
52 lines (50 loc) · 1.28 KB
/
tailwind.config.cjs
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
/** @type {import('tailwindcss').Config} */
const defaultTheme = require('tailwindcss/defaultTheme');
const colors = require('tailwindcss/colors');
const screens = defaultTheme.screens;
/**
* A guide to configuring and customizing your Tailwind installation
* https://tailwindcss.com/docs/configuration
* https://tailwindcss.com/docs/customizing-colors#default-color-palette
*/
module.exports = {
content: ['./src/**/*.{html,js,jsx,ts,tsx}', './src/*.{html,js,jsx,ts,tsx}'],
theme: {
screens: {
xs: { max: '640px' },
xso: { max: '640px' },
smo: { min: '640px', max: '767px' },
mdo: { min: '768px', max: '1023px' },
lgo: { min: '1024px', max: '1279px' },
xlo: { min: '1280px', max: '1535px' },
'2xlo': { min: '1536px' },
...screens,
},
fontWeight: {
hairline: 100,
thin: 200,
light: 300,
normal: 400,
medium: 500,
semibold: 600,
bold: 700,
extrabold: 800,
black: 900,
h1: 700,
},
container: {
center: true,
},
colors: {
...colors, // colors from tailwindcss/colors => for real websites define your own colors and remove this line
tahiti: {
// https://tailwindcss.com/docs/customizing-colors#using-custom-colors
light: '#67e8f9',
DEFAULT: '#06b6d4',
dark: '#0e7490',
},
},
extend: {},
},
plugins: [],
};