-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathtailwind.config.mjs
More file actions
49 lines (48 loc) · 1.55 KB
/
tailwind.config.mjs
File metadata and controls
49 lines (48 loc) · 1.55 KB
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
const defaultTheme = require('tailwindcss/defaultTheme')
const colors = require('tailwindcss/colors')
/** @type {import('tailwindcss').Config} */
export default {
darkMode: 'selector',
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
theme: {
extend: {
fontFamily: {
sans: ['Space Grotesk', ...defaultTheme.fontFamily.sans],
},
colors: {
accent: 'rgb(var(--color-accent) / <alpha-value>)',
brand: {
"primary": "#023452",
"secondary": "#f47d20",
"secondary-text": "#d97016",
"grey": "#4d4848",
"green": "#bebf32",
},
light: {
"background": colors.white,
"surface": "#f8f9fa",
"on-background": "#4d4848",
"on-surface": "#4d4848",
"on-primary": "#f47d20",
},
dark: {
"background": "#121212",
"surface": "#202020",
"on-background": colors.slate["100"],
"on-surface": colors.slate["200"],
"on-primary": colors.white,
},
},
invert: {
25: '.25',
50: '.5',
75: '.75',
85: '.85',
95: '.95',
},
},
},
plugins: [
require('@tailwindcss/forms'),
],
}