mirror of
https://github.com/status-im/status-web.git
synced 2026-08-30 22:01:15 +00:00
146 lines
3.0 KiB
TypeScript
146 lines
3.0 KiB
TypeScript
import type { Config } from 'tailwindcss'
|
|
import { fontFamily } from 'tailwindcss/defaultTheme'
|
|
|
|
export default {
|
|
future: {
|
|
hoverOnlyWhenSupported: true,
|
|
},
|
|
|
|
content: ['./src/**/*.{js,ts,jsx,tsx,mdx}'],
|
|
|
|
theme: {
|
|
screens: {
|
|
sm: '640px',
|
|
md: '768px',
|
|
lg: '1024px',
|
|
xl: '1280px',
|
|
'2xl': '1512px',
|
|
},
|
|
|
|
fontFamily: {
|
|
inter: ['var(--font-inter)', 'Inter', 'sans-serif'],
|
|
},
|
|
|
|
fontWeight: {
|
|
200: '200',
|
|
300: '300',
|
|
400: '400',
|
|
500: '500',
|
|
600: '600',
|
|
700: '700',
|
|
},
|
|
|
|
fontSize: {
|
|
64: [
|
|
'4rem',
|
|
{
|
|
lineHeight: '4.25rem',
|
|
letterSpacing: '-0.08rem',
|
|
},
|
|
],
|
|
56: [
|
|
'3.5rem',
|
|
{
|
|
lineHeight: '3.75rem',
|
|
letterSpacing: '-0.07rem',
|
|
},
|
|
],
|
|
40: [
|
|
'2.5rem',
|
|
|
|
{
|
|
lineHeight: '2.75rem',
|
|
letterSpacing: '-0.08rem',
|
|
},
|
|
],
|
|
27: [
|
|
'1.6875rem',
|
|
{
|
|
lineHeight: '2rem',
|
|
letterSpacing: '-0.0354375rem',
|
|
},
|
|
],
|
|
19: [
|
|
'1.1875rem',
|
|
{
|
|
lineHeight: '1.75rem',
|
|
letterSpacing: '-0.019rem',
|
|
},
|
|
],
|
|
15: [
|
|
'0.9375rem',
|
|
{
|
|
lineHeight: '1.359375rem',
|
|
letterSpacing: '-0.0084375rem',
|
|
},
|
|
],
|
|
13: [
|
|
'0.8125rem',
|
|
{
|
|
lineHeight: '1.1375rem',
|
|
letterSpacing: '-0.0024375rem',
|
|
},
|
|
],
|
|
},
|
|
|
|
colors: {
|
|
orange: 'rgba(255, 125, 70, 1)',
|
|
purple: 'rgba(113, 64, 253, 1)',
|
|
'purple-dark': 'rgba(90, 51, 202, 1)',
|
|
'purple-transparent': 'rgba(113, 64, 253, 0.3)',
|
|
sky: 'rgba(25, 146, 215, 1)',
|
|
sea: 'rgba(61, 150, 165, 1)',
|
|
yellow: 'rgba(246, 176, 60, 1)',
|
|
neutral: {
|
|
'10': 'rgba(240, 242, 245, 1)',
|
|
'20': 'rgba(231, 234, 238, 1)',
|
|
'30': 'rgba(220, 224, 229, 1)',
|
|
'40': 'rgba(161, 171, 189, 1)',
|
|
'50': 'rgba(100, 112, 132, 1)',
|
|
'80/5': 'rgba(27, 39, 61, 0.05)',
|
|
'80/10': 'rgba(27, 39, 61, 0.10)',
|
|
'80/60': 'rgba(27, 39, 61, 0.60)',
|
|
'100': 'rgba(9, 16, 28, 1)',
|
|
},
|
|
dark: {
|
|
100: 'rgba(1, 1, 1, 1)',
|
|
60: 'rgba(1, 1, 1, 0.6)',
|
|
8: 'rgba(1, 1, 1, 0.08)',
|
|
},
|
|
white: {
|
|
100: 'rgba(255, 255, 255, 1)',
|
|
90: 'rgba(255, 255, 255, 0.9)',
|
|
80: 'rgba(255, 255, 255, 0.8)',
|
|
40: 'rgba(255, 255, 255, 0.4)',
|
|
20: 'rgba(255, 255, 255, 0.2)',
|
|
10: 'rgba(255, 255, 255, 0.10)',
|
|
5: 'rgba(255, 255, 255, 0.05)',
|
|
},
|
|
},
|
|
|
|
borderRadius: {
|
|
0: '0px',
|
|
6: '6px',
|
|
8: '8px',
|
|
10: '10px',
|
|
12: '12px',
|
|
16: '16px',
|
|
20: '20px',
|
|
24: '24px',
|
|
28: '28px',
|
|
32: '32px',
|
|
full: '9999px',
|
|
},
|
|
|
|
boxShadow: {
|
|
1: '0px 2px 20px rgba(9, 16, 28, 0.04)',
|
|
2: '0px 4px 20px rgba(9, 16, 28, 0.08)',
|
|
3: '0px 8px 30px rgba(9, 16, 28, 0.12);',
|
|
},
|
|
|
|
opacity: {},
|
|
},
|
|
|
|
plugins: [],
|
|
} satisfies Config
|