-
Notifications
You must be signed in to change notification settings - Fork 99
/
tailwind.config.js
32 lines (32 loc) · 948 Bytes
/
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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{html,css,js}', './node_modules/flowbite/**/*.js'],
darkMode: 'class',
theme: {
fontSize: {
xs: '0.55rem',
sm: '0.8rem',
base: '1rem',
xl: '1.25rem',
'2xl': '1.563rem',
'3xl': '1.953rem',
'4xl': '2.441rem',
'5xl': '3.052rem',
},
extend: {},
},
plugins: [require('flowbite/plugin')],
corePlugins: {
fontFamily: false, // Disable default fontFamily to use custom @font-face
},
styles: {
'@font-face': [
{
fontFamily: 'Roboto', // Specify a name for your custom font
src: ['./src/Roboto/Roboto-Regular.ttf'], // Adjust the path and font format
fontWeight: 'normal',
fontStyle: 'normal',
},
],
},
}