-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtailwind.config.js
41 lines (41 loc) · 1.71 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
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: 'class',
content: [
'./app/**/*.{js,ts,jsx,tsx,mdx}',
'./components/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
// Force Tailwind to be desktop-first
// Need to manually set max-w-screen- properties
screens: {
'2xl': {'max': '1535px'}, // < 1536px
'xl': {'max': '1279px'}, // < 1280px
'lg': {'max': '1023px'}, // < 1024px
'md': {'max': '767px'}, // < 768px
'sm': {'max': '639px'}, // < 640px
'xs': {'max': '479px'}, // < 480px (custom)
},
extend: {
colors: {
'theme': 'rgb(var(--theme) / <alpha-value>)',
'background': 'rgb(var(--background) / <alpha-value>)',
'background-secondary': 'rgb(var(--background-secondary) / <alpha-value>)',
'foreground': 'rgb(var(--foreground) / <alpha-value>)',
'btn-background': 'rgb(var(--btn-background) / <alpha-value>)',
'btn-background-hover': 'rgb(var(--btn-background-hover) / <alpha-value>)',
'border': 'rgb(var(--border) / <alpha-value>)',
'outline-border': 'rgb(var(--outline-border) / <alpha-value>)',
'text-primary': 'rgb(var(--text-primary) / <alpha-value>)',
'text-secondary': 'rgb(var(--text-secondary) / <alpha-value>)',
'selection': 'rgb(var(--selection) / <alpha-value>)',
'error': 'rgb(var(--error) / <alpha-value>)',
'skeleton-background': 'rgb(var(--skeleton-background) / <alpha-value>)',
'skeleton-content': 'rgb(var(--skeleton-content) / <alpha-value>)',
'platinum': 'rgb(var(--platinum) / <alpha-value>)',
'gold': 'rgb(var(--gold) / <alpha-value>)',
'silver': 'rgb(var(--silver) / <alpha-value>)',
},
},
},
}