-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.js
60 lines (59 loc) · 2.57 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
const { addDynamicIconSelectors } = require('@iconify/tailwind');
/** @type {import('tailwindcss').Config} */
export default {
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
theme: {
fontFamily: {
sans: ['"Lato"', '-apple-system', 'sans-serif'],
},
colors: {
// Make sure these guidelines are followed when adding new colors: https://tailwindcss.com/docs/customizing-colors#using-css-variables
// Color variables should be added to tailwind.css.
brand: {
400: 'rgb(var(--brand-400) / <alpha-value>)',
300: 'rgb(var(--brand-300) / <alpha-value>)',
200: 'rgb(var(--brand-200) / <alpha-value>)',
100: 'rgb(var(--brand-100) / <alpha-value>)',
},
grey: {
0: 'rgb(var(--grey-0) / <alpha-value>)',
100: 'rgb(var(--grey-100) / <alpha-value>)',
200: 'rgb(var(--grey-200) / <alpha-value>)',
300: 'rgb(var(--grey-300) / <alpha-value>)',
400: 'rgb(var(--grey-400) / <alpha-value>)',
500: 'rgb(var(--grey-500) / <alpha-value>)',
600: 'rgb(var(--grey-600) / <alpha-value>)',
700: 'rgb(var(--grey-700) / <alpha-value>)',
},
warning: {
400: 'rgb(var(--warning-400) / <alpha-value>)',
300: 'rgb(var(--warning-300) / <alpha-value>)',
200: 'rgb(var(--warning-200) / <alpha-value>)',
100: 'rgb(var(--warning-100) / <alpha-value>)',
},
error: {
400: 'rgb(var(--error-400) / <alpha-value>)',
300: 'rgb(var(--error-300) / <alpha-value>)',
200: 'rgb(var(--error-200) / <alpha-value>)',
100: 'rgb(var(--error-100) / <alpha-value>)',
},
blue: {
400: 'rgb(var(--blue-400) / <alpha-value>)',
300: 'rgb(var(--blue-300) / <alpha-value>)',
200: 'rgb(var(--blue-200) / <alpha-value>)',
100: 'rgb(var(--blue-100) / <alpha-value>)',
},
purple: {
400: 'rgb(var(--purple-400) / <alpha-value>)',
300: 'rgb(var(--purple-300) / <alpha-value>)',
200: 'rgb(var(--purple-200) / <alpha-value>)',
100: 'rgb(var(--purple-100) / <alpha-value>)',
}
},
},
plugins: [
require('@tailwindcss/typography'),
addDynamicIconSelectors(),
],
darkMode: 'class',
};