-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.cjs
97 lines (91 loc) · 2.01 KB
/
tailwind.config.cjs
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
86
87
88
89
90
91
92
93
94
95
96
97
const defaultTheme = require('tailwindcss/defaultTheme')
const primary = {
'50': '#edfaff',
'100': '#d7f1ff',
'200': '#b9e8ff',
'300': '#88dcff',
'400': '#50c7ff',
'500': '#28a9ff',
'600': '#0586ff',
'700': '#0a73eb',
'800': '#0f5cbe',
'900': '#134f95',
'950': '#11315a',
}
primary.DEFAULT = primary['600']
const secondary = {
'50': '#fcf5ff',
'100': '#f7e7ff',
'200': '#f0d3ff',
'300': '#e4b0ff',
'400': '#d47eff',
'500': '#be3dff',
'600': '#b22af3',
'700': '#9c1ad6',
'800': '#831aaf',
'900': '#6b178c',
'950': '#4c0269',
}
secondary.DEFAULT = secondary['600']
const accent = '#4f46e5'
/** @type {import('tailwindcss').Config} */
const config = {
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
theme: {
extend: {
animation: {
'fade-in': 'fade-in 1s ease-in',
},
colors: {
primary,
secondary,
accent,
base: {
content: '#ffffff',
},
gray: {
950: '#0a0e16',
},
},
screens: {
'mobile-xs': { max: '369px' },
'mobile': { max: '767px' },
},
},
fontFamily: {
title: ['"Plus Jakarta Sans"', "Geist", ...defaultTheme.fontFamily.sans],
sans: ["Geist", ...defaultTheme.fontFamily.sans],
mono: [
'"Geist Mono"', 'Menlo', 'Monaco', 'Lucida Console', 'Liberation Mono',
'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', 'monospace',
],
},
keyframes: {
'fade-in': {
'0%': { opacity: 0 },
'100%': { opacity: 1 },
},
},
},
plugins: [
require('@tailwindcss/typography'),
require('daisyui'),
],
}
config.daisyui = {
themes: [{
ddar: {
primary: primary.DEFAULT,
'primary-content': '#ffffff',
secondary: secondary.DEFAULT,
accent,
neutral: '#4c4c5b',
error: '#ee3434',
'base-content': '#ffffff',
'.btn': {
'text-transform': 'initial',
},
},
}],
}
module.exports = config