-
Notifications
You must be signed in to change notification settings - Fork 26
/
tailwind.config.js
85 lines (84 loc) · 2.41 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
const {fontFamily} = require('tailwindcss/defaultTheme');
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{js,ts,jsx,tsx}'],
theme: {
extend: {
backdropBlur: {
md: '10px',
},
keyframes: {
shine: {
'0%': { transform: 'translateX(-100%)' },
'100%': { transform: 'translateX(100%)' },
},
},
animation: {
shine: 'shine 2s infinite linear',
},
fontFamily: {
roboto: ["Roboto", ...fontFamily.sans],
poppins: ['Poppins', ...fontFamily.sans],
sans: ['Space Grotesk', ...fontFamily.sans],
inter: ['Inter', 'sans-serif'],
playfair: ['Playfair Display', 'serif'],
gsans: ['var(--font-geist-sans)', 'sans-serif'],
gmono: ['var(--font-geist-mono)', 'monospace'],
kaisei: ['Kaisei Opti', 'sans-serif'], // Add Kaisei Opti font
},
colors: {
red: {
100: '#FF0420'
},
blue: {
200: '#1976D2',
},
dark: {
25: '#FDFDFD',
50: '#FAFAFA',
100: '#ECEFF1',
200: '#B0BEC5',
300: '#90A4AE',
400: '#607D8B',
500: '#546E7A',
600: '#263238',
700: '#212121',
},
bluegrey: {
300: '#455A64',
},
},
boxShadow: {
100: `box-shadow: 0px 2px 1px 0px #00000033`,
200: `0px 2px 1px rgba(0, 0, 0, 0.2)`,
300: `0px 1px 1px rgba(0, 0, 0, 0.2), 0px 2px 2px rgba(0, 0, 0, 0.14), 0px 1px 5px rgba(0, 0, 0, 0.12)`,
},
},
fontSize: {
sm: ['12px', {lineHeight: '20px', letterSpacing: '0.4px'}],
ph: ['13px', {lineHeight: '16px', letterSpacing: '0px'}],
md: ['14px', {lineHeight: '20px', letterSpacing: '0em'}],
lg: ['15px', {lineHeight: '28px', letterSpacing: '0.15px'}],
base: ['16px', {lineHeight: '24px', letterSpacing: '0.5px'}],
xl: ['20px', {lineHeight: '28px', letterSpacing: '0em'}],
'2xl': ['18px', {lineHeight: '18px', letterSpacing: '0em'}],
'3xl': ['34px', {lineHeight: '40px', letterSpacing: '0.25px'}],
},
container: {
center: true,
padding: '1rem',
},
screens: {
sm: '500px',
md: '768px',
lg: '992px',
xl: '1264px',
},
},
plugins: [
require('flowbite/plugin')
],
letterSpacing: {
tightest: '-0.02em', // -2% letter spacing
},
};