-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtailwind.config.mjs
50 lines (49 loc) · 1.56 KB
/
tailwind.config.mjs
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
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],
emphasized: ['Sriracha', ...defaultTheme.fontFamily.sans]
},
colors: {
brand: {
"primary": "#F57D20",
"secondary": "#023452",
},
light: {
// Basic
"background": colors.white,
"surface": "#f8f9fa",
// Text
"on-background": colors.gray["900"],
"on-surface": colors.slate["700"],
"on-primary": "#F57D20"
},
dark: {
// Basics
"background": "#121212",
"surface": "#202020",
// Text
"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'),
],
}