www_ourverse_new/tailwind.config.js
2024-09-11 19:11:45 +02:00

60 lines
2.2 KiB
JavaScript

const headlessuiPlugin = require('@headlessui/tailwindcss')
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{js,jsx,ts,tsx}'],
theme: {
fontSize: {
xs: ['0.75rem', { lineHeight: '1rem' }],
sm: ['0.875rem', { lineHeight: '1.5rem' }],
base: ['1rem', { lineHeight: '1.5rem' }],
lg: ['1.125rem', { lineHeight: '2rem' }],
xl: ['1.25rem', { lineHeight: '2rem' }],
'2xl': ['1.5rem', { lineHeight: '2.5rem' }],
'3xl': ['2rem', { lineHeight: '2.5rem' }],
'4xl': ['2.5rem', { lineHeight: '3rem' }],
'5xl': ['3rem', { lineHeight: '3.5rem' }],
'6xl': ['4rem', { lineHeight: '1' }],
'7xl': ['5rem', { lineHeight: '1' }],
'8xl': ['6rem', { lineHeight: '1' }],
'9xl': ['8rem', { lineHeight: '1' }],
},
extend: {
fontFamily: {
ethnocentric: ['ethnocentric', 'sans-serif'], // Add the Ethnocentric font
},
borderRadius: {
'4xl': '2rem',
'5xl': '2.5rem',
},
fontFamily: {
sans: 'var(--font-inter)',
display: 'var(--font-dm-sans)',
},
maxWidth: {
'2xl': '40rem',
},
colors: {
purple: {
50: '#efedff', // Lightest tone, close to a very light lavender
100: '#f2f0fe', // Slightly darker, still a light purple
200: '#c0bcdc', // Light purple from your SVG
300: '#a8a3cf', // Slightly darker, similar to #b99bcc
400: '#9089c2', // Transition tone between light and medium purples
500: '#766fa6', // Given hex: medium purple, from your SVG
600: '#675d91', // Darker purple, interpolated between medium and dark
700: '#564a7e', // Dark purple, close to #6d5299 in the original list
800: '#443b62', // Darker purple, taken from the SVG for strong contrast
900: '#302b4b', // Deepest purple, very close to #4b3d89, used for maximum contrast
950: '#221f38', // Darkest shade, more subdued for very low-light situations
},
},
},
},
plugins: [headlessuiPlugin],
plugins: [
// ...
require('@tailwindcss/aspect-ratio'),
],
}