forked from SUSE/project-portal
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
32 lines (31 loc) · 855 Bytes
/
tailwind.config.js
File metadata and controls
32 lines (31 loc) · 855 Bytes
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
// eslint-disable-next-line @typescript-eslint/no-var-requires
const defaultTheme = require('tailwindcss/defaultTheme')
module.exports = {
mode: 'jit',
purge: ['./public/**/*.html', './pages/**/*.{js,jsx,ts,tsx}', './components/**/*.{js,jsx,ts,tsx}'],
darkMode: 'class', // or 'media' or 'class'
theme: {
extend: {
colors: {
// Configure your color palette here
primary: '#FF7C3F',
'secondary-dark': '#0C322C',
'secondary-light': '#30BA78',
'secondary-lighter': '#AFEACD',
'suse-blue': '#2251F5',
'suse-gray': '#f7f7f7',
},
},
fontFamily: {
sans: ['Poppins', ...defaultTheme.fontFamily.sans],
},
},
variants: {
extend: {},
},
plugins: [],
options: {
// not working?
safelist: ['bg-purple-500', 'bg-yellow-500', `bg-gray-500`],
},
}