tailwind.config.css 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. @import 'tailwindcss';
  2. /* JS plugins. Tailwind v4 supports `@plugin` for both v3-style JS plugins and
  3. * v4-native packages. */
  4. @plugin "@tailwindcss/typography";
  5. @plugin "@tailwindcss/forms";
  6. @import 'tw-animate-css';
  7. /* Per-theme overrides for semantic --background-/--foreground-/--brand-*
  8. * tokens. Radix/scale/brand --color-* values are inlined directly in
  9. * colors.css below. */
  10. @import '../ui/build/css/source/global.css';
  11. @import '../ui/build/css/themes/dark.css';
  12. @import '../ui/build/css/themes/light.css';
  13. /* Reset Tailwind's built-in color tokens before re-defining our own, so e.g.
  14. * --color-amber-* doesn't ship a default Tailwind value alongside the Radix
  15. * one. */
  16. @import './unset-tw-colors.css';
  17. /* Theme tokens + utilities + variants + base layer. colors.css declares the
  18. * Radix/scale/brand --color-* CSS variables with per-theme values; theme.css
  19. * consumes them from @theme inline so Tailwind generates the utilities. */
  20. @import './css/colors.css';
  21. @import './css/theme.css';
  22. @import './css/animations.css';
  23. @import './css/utilities.css';
  24. @import './tailwind-plugins/hit-area.css';
  25. @import './css/variants.css';
  26. @import './css/base.css';
  27. /*
  28. * Typography prose / prose-toc / prose-docs overrides live in a focused JS
  29. * config because @tailwindcss/typography reads its theme.typography options
  30. * from the JS config — not from CSS @theme tokens. See:
  31. * https://github.com/tailwindlabs/tailwindcss-typography#customizing-the-css
  32. */
  33. @config './typography.config.js';