-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.cjs
55 lines (53 loc) · 1.33 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
/* eslint-disable @typescript-eslint/no-unsafe-call */
/* eslint-disable @typescript-eslint/no-require-imports */
/* eslint-disable prefer-named-capture-group */
/* eslint-disable require-unicode-regexp */
/** @type {import('tailwindcss').Config} */
const config = {
content: [
'./.vitepress/theme/**/*.{ts,vue}',
'./pages/**/*.md',
'./components/**/*.vue',
'node_modules/flowbite-vue/**/*.{js,jsx,ts,tsx}',
'node_modules/flowbite/**/*.{js,jsx,ts,tsx}',
],
darkMode: 'class',
plugins: [
require('@tailwindcss/typography'),
require('flowbite/plugin'),
],
safelist: [
{
pattern: /(accent|primary)-\d/,
},
],
theme: {
extend: {
colors: { // http://vis4.net/palettes/#/21|d|000000,ff7c27,ffffff|ffffff,005fb4,000000|0|0
accent: {
100: '#ffe5d4',
200: '#ffcba9',
300: '#ffb07e',
400: '#ff9652',
500: '#ff7c27',
600: '#cc631f',
700: '#994a18',
800: '#663210',
900: '#331908',
},
primary: {
100: '#ccdff0',
200: '#99bfe1',
300: '#669fd2',
400: '#337fc3',
500: '#005fb4',
600: '#004c90',
700: '#00396c',
800: '#002648',
900: '#001324',
},
},
},
},
}
module.exports = config