/** @type {import('tailwindcss').Config} */ module.exports = { content: ['./src/**/*.{astro,html,js,jsx,md,mdx,ts,tsx,vue}'], darkMode: 'class', theme: { extend: { screens: { xs: '320px', md: '768px', xl: '1280px', '3xl': '1800px', }, colors: { accent: '#e60510', marked: '#E6F028', shibui: { 50: '#f3f3f1', 100: '#e6e6e3', 150: '#dad9d5', 200: '#cdccc7', 250: '#c0bfb9', 300: '#b3b2ab', 350: '#a7a59e', 400: '#9a9891', 450: '#8d8b84', 500: '#807e77', 550: '#74716a', 600: '#67645e', 650: '#5a5751', 700: '#4e4b45', 750: '#413e3a', 800: '#34322e', 850: '#272522', 900: '#1b1917', 950: '#0e0d0c', }, code: { 1: '#1e2229', 2: '#abb2bf', }, }, gridTemplateColumns: { 2: 'repeat(2, minmax(0, 1fr))', 6: 'repeat(6, minmax(0, 1fr))', 8: 'repeat(8, minmax(0, 1fr))', 10: 'repeat(10, minmax(0, 1fr))', 14: 'repeat(14, minmax(0, 1fr))', 16: 'repeat(16, minmax(0, 1fr))', 18: 'repeat(18, minmax(0, 1fr))', }, columns: { 13: '13', 14: '14', 15: '15', 16: '16', 17: '17', 18: '18', }, gridColumn: { 'span-13': 'span 13 / span 13', 'span-14': 'span 14 / span 14', 'span-15': 'span 15 / span 15', 'span-16': 'span 16 / span 16', 'span-17': 'span 17 / span 17', 'span-18': 'span 18 / span 18', }, gridColumnStart: { 14: '14', 15: '15', 16: '16', 17: '17', 18: '18', }, gridColumnEnd: { 14: '14', 15: '15', 16: '16', 17: '17', 18: '18', 19: '19', }, borderRadius: { 1: '2px', 2: '5px', 4: '8px', 25: '25px', 50: '50%', }, borderWidth: { 1: '1px', 2: '2px', 10: '0.1em', 15: '0.15em', }, spacing: { 1: '0.335rem', 2: 'clamp(0.335rem, 0.41875vw, 0.402rem)', 3: 'clamp(0.402rem, 0.5375vw, 0.482rem)', 4: 'clamp(0.482rem, 0.644375vw, 0.579rem)', 5: 'clamp(0.579rem, 0.780625vw, 0.694rem)', 6: 'clamp(0.694rem, 0.935vw, 0.833rem)', 7: 'clamp(0.833rem, 1.1025vw, 1rem)', 8: 'clamp(1rem, 1.425vw, 1.2rem)', 9: 'clamp(1.2rem, 1.785vw, 1.44rem)', 10: 'clamp(1.44rem, 2.2125vw, 1.728rem)', 11: 'clamp(1.728rem, 2.765vw, 2.074rem)', 12: 'clamp(2.074rem, 3.55vw, 2.488rem)', 13: 'clamp(2.488rem, 4.15vw, 2.986rem)', 14: 'clamp(2.986rem, 5.04875vw, 3.583rem)', 15: 'clamp(3.583rem, 6.0875vw, 4.3rem)', 16: 'clamp(4.3rem, 7.25vw, 5.16rem)', 17: 'clamp(5.16rem, 9.05vw, 6.192rem)', 18: 'clamp(6.192rem, 11.375vw, 7.43rem)', 19: 'clamp(7.43rem, 14.0625vw, 8.916rem)', 20: 'clamp(8.916rem, 17.85vw, 10.699rem)', column: '6.9375vw', layout: 'clamp(1.5rem, 6.9375vw, 4.5rem)', gap: 'clamp(1.5rem, 3.46875vw, 3rem)', halfgap: 'calc(clamp(1.5rem, 6.9375vw, 6rem) / 2)', icon: '24px', 'icon-small': '20px', clickarea: '40px', }, fontFamily: { sans: ['SecuelaVariable', 'Arial', 'sans-serif'], mono: ['Fira Code', 'Operator', 'Hasklig', 'Monoid', 'monospace'], }, fontSize: { 1: ['0.65em', { lineHeight: '' }], 2: ['clamp(0.65rem, 0.8125vw, 0.8125rem)', { lineHeight: '1.625' }], 3: ['clamp(1rem, 1.25vw, 1.25rem)', { lineHeight: '1.625' }], 4: ['clamp(1.25rem, 1.5625vw, 1.5625rem)', { lineHeight: '1' }], 5: ['clamp(1.5rem, 1.875vw, 1.875rem)', { lineHeight: '1' }], 6: ['clamp(2.25rem, 2.8125vw, 2.8125rem)', { lineHeight: '1' }], 7: ['clamp(3.3rem, 4.125vw, 4.125rem)', { lineHeight: '1' }], 8: ['clamp(4.5rem, 5.625vw, 5.625rem)', { lineHeight: '1' }], 9: ['clamp(5.5rem, 6.875vw, 6.875rem)', { lineHeight: '1' }], code: ['clamp(0.75rem, 0.9375vw, 0.9375rem)', { lineHeight: '1.625' }], }, boxShadow: { subtle: '0 0 50px rgb(0 0 0 / 0.2)', img: '0 2px 3px rgb(0 0 0 / 0.05)', beveled: '0 1px 0 rgb(0 0 0 / 0.2), inset 0 0 0 2px #ffffff', darkInset: 'inset 0 0 0 1px rgb(0 0 0 / 0.2)', book: '0 0.1em 0.5em rgba(0, 0, 0, 0.5)', 'book-before': '0.1em 0 rgba(0, 0, 0, 0.1), 2px 0 0px rgba(255, 255, 255, 0.1)', 'book-after': '0 0 2em rgba(0, 0, 0, 0.8)', }, listStyleType: { none: 'none', decimal: 'decimal', square: 'square', }, dropShadow: { subtle: '0 0 50px rgb(0 0 0 / 0.2)', }, }, }, plugins: [ require('tailwindcss-logical'), require('tailwindcss-opentype'), 'prettier-plugin-tailwindcss', ], };