-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.mjs
56 lines (55 loc) · 1.45 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
51
52
53
54
55
56
/** @type {import('tailwindcss').Config} */
export default {
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
darkMode: 'selector', // or 'media' or 'class'
theme: {
extend: {
backgroundImage: {
'primary-gradient':
'linear-gradient(90deg, rgba(255, 185, 56, 0.1), #ffb938 100%)',
'primary-gradient-thin':
'linear-gradient(90deg, rgb(0,0,0,0.1), rgba(255, 185, 56, 0.3))',
},
fontFamily: {
sans: ['Rubik', 'sans-serif'],
['sans-bold']: ['Rubik-Bold', 'sans-serif'],
},
boxShadow: {
one: '0px 0px 4px rgba(0, 0, 0, 0.5)',
},
text: {
// TODO: add typography tokens
base: '14px',
scale: 1.2,
},
},
fontWeight: {
light: 300,
normal: 400,
medium: 500,
bold: 700,
},
colors: {
primary: '#ffb938',
['primary-thin']: 'rgba(255, 185, 56, 0.1)',
background: '#131314',
foreground: '#222224',
success: '#44af69',
'success-thin': 'rgba(34, 197, 94, 0.1)',
error: '#ef6461',
'error-thin': ' rgba(239, 68, 68, 0.1)',
warning: '#ffb938',
link: '#6c97b5',
white: '#fafafa',
black: 'black',
['light-grey']: '#A3A3AD',
grey: '#7d7d85',
'metallic-grey': '#18191a',
['dark-grey']: '#38393b',
},
},
plugins: [
require('tailwindcss-animate'),
require('tailwind-scrollbar')({ nocompatible: true }),
],
};