-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
61 lines (59 loc) · 2.22 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
const twColors = require('tailwindcss/colors');
const twTheme = require('tailwindcss/defaultTheme');
const plugin = require('tailwindcss/plugin');
/** @type {import('tailwindcss').Config } */
module.exports = {
content: ['./index.html', './src/**/*.{js,jsx,ts,tsx}'],
//darkMode: false, // or 'media' or 'class'
theme: {
extend: {
colors: {
darkframe: 'rgb(75, 85, 99)', //border-gray-600
primary: twColors.slate,
"app": { //https://tailwind.simeongriggs.dev/app/AB9DDE
"50": "#F8F7FC",
"100": "#F2F0FA",
"200": "#E2DDF3",
"300": "#D5CDEE",
"400": "#C1B7E7",
"500": "#AB9DDE",
"600": "#9A89D7",
"700": "#8976D1",
"800": "#735BC8",
"900": "#543BAF"
},
// "app": { //https://tailwind.simeongriggs.dev/app/8664FF - this is better w/ pure colors wo/ gray
// "50": "#F7F5FF",
// "100": "#EFEBFF",
// "200": "#DBD1FF",
// "300": "#C7B8FF",
// "400": "#AB94FF",
// "500": "#8664FF",
// "600": "#7752FF",
// "700": "#6338FF",
// "800": "#4714FF",
// "900": "#2800B8"
// },
},
},
},
variants: {
extend: {},
},
plugins: [
plugin(function ({ addComponents, theme }) {
const colorClasses = {
'.color-vars': {
'--purple-200': theme('colors.purple.200'),
'--purple-300': theme('colors.purple.300'),
'--purple-900': theme('colors.purple.900'),
},
};
addComponents(colorClasses);
}),
require('./tailwind/tailwind-plugin-svg-lines'),
require('./tailwind/tailwind-plugin-colors-bridge')({ prefix: '--tm-', groupName: 'primary' }),
require('./tailwind/tailwnid-plugin-debug-styles'),
require('./tailwind/tailwind-plugin-debug-screens'),
],
};