-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
42 lines (42 loc) · 1.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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./src/components/**/*.{js,ts,jsx,tsx}',
'./src/app/**/*.{js,ts,jsx,tsx}',
],
theme: {
extend: {
colors: {
'primary': '#027148', // Primary green
'primary-warning': '#FDE68A', // Primary but warning (low on stock)
'primary-error': '#FCA5A5', // Primary but error (no stock)
'primary-focus': '#388e3c', // A darker green for hover or focus
'primary-content': '#ffffff', // Text color on primary
'secondary': '#B7E1B7',
'secondary-content': '#ffffff',
'tertiary': '#A3E4D7', // Tertiary color
'light-grey': '#E0E0E0', // Light grey color
'regular-text': '#000000',
},
},
},
daisyui: {
themes: [
{
mytheme: {
'primary': '#027148', // Primary green
'primary-warning': '#FDE68A', // Primary but warning (low on stock)
'primary-error': '#FCA5A5', // Primary but error (no stock)
'primary-focus': '#388e3c', // A darker green for hover or focus
'primary-content': '#ffffff', // Text color on primary
'secondary': '#B7E1B7',
'secondary-content': '#ffffff',
'tertiary': '#A3E4D7', // Tertiary color
'light-grey': '#E0E0E0', // Light grey color
'regular-text': '#000000',
},
},
],
},
plugins: [require('daisyui')],
};