LibreChat/packages/client/tailwind.preset.cjs
Danny Avila c3a429ddcd
🎨 feat: Add Versioned Theme Foundation (#14709)
* 🎨 feat: Add Versioned Theme Foundation

* 🧩 fix: Keep Theme-Aware Chip Actions Consistent

* 🎛️ fix: Preserve Default Theme Geometry

* 🪪 fix: Keep Theme Identity in Sync

* 🧭 docs: Define Theme Styling Policy

* 🧹 chore: Sort Theme Imports

* 🧵 fix: Preserve Theme Compatibility Contracts

* 🛡️ fix: Harden Theme Compatibility Boundaries

* 🧵 fix: Publish Theme Appearance Preset

* 🐳 fix: Include Theme Preset in Docker Build

* 🪢 fix: Preserve Legacy Theme Compatibility

* 🧭 fix: Harden Theme Lifecycle Boundaries

* 🧱 fix: Align Theme Appearance Defaults

* 🧬 fix: Record Persisted Theme Provenance

* 🧭 fix: Preserve Theme Transition State

* 🧷 fix: Preserve Legacy Theme Contracts
2026-08-10 13:41:03 -04:00

32 lines
1.1 KiB
JavaScript

/** @type {import('tailwindcss').Config} */
module.exports = {
theme: {
extend: {
fontFamily: {
'theme-ui': ['var(--theme-font-family, Inter, sans-serif)'],
},
height: {
'theme-control': 'var(--theme-control-height, 2.25rem)',
},
spacing: {
'theme-compact': 'var(--theme-space-compact, 0.375rem)',
'theme-normal': 'var(--theme-space-normal, 0.75rem)',
'theme-control': 'var(--theme-control-height, 2.25rem)',
},
borderRadius: {
'theme-control': 'var(--theme-control-radius, 0.75rem)',
'theme-control-round': 'var(--theme-round-control-radius, 9999px)',
'theme-surface': 'var(--theme-surface-radius, 1rem)',
'theme-surface-lg': 'var(--theme-large-surface-radius, 1.5rem)',
},
boxShadow: {
'theme-surface':
'var(--theme-elevation-surface, 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1))',
},
transitionDuration: {
'theme-fast': 'var(--theme-motion-fast, 150ms)',
'theme-normal': 'var(--theme-motion-normal, 200ms)',
},
},
},
};