-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
45 lines (43 loc) · 1.02 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
/** @type {import('tailwindcss').Config} */
function withOpacityValue(variable) {
return ({ opacityValue }) => {
if (opacityValue === undefined) {
return `hsl(var(${variable}))`
}
return `hsl(var(${variable}) / ${opacityValue})`
}
}
export default {
content: [
"./vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php",
"./storage/framework/views/*.php",
"./resources/views/**/*.blade.php",
],
plugins: [
require("@tailwindcss/typography"),
require("@tailwindcss/container-queries"),
require("daisyui"),
],
theme: {
extend: {
colors: {
primary: withOpacityValue('--primary'),
mono: "#2d3441",
},
fontFamily: {
montserrat: ["Montserrat", "system-ui", "Arial"]
}
},
},
daisyui: {
themes: [
{
dark: {
...require('daisyui/src/theming/themes')['[data-theme=dark]'],
'primary': 'hsl(0 100% 40%)',
'--primary': '0 100% 40%',
},
},
],
},
}