windi.config.ts 637 B

1234567891011121314151617181920212223242526272829
  1. // @ts-check - enable TS check for js file
  2. import { defineConfig } from 'windicss/helpers';
  3. import colors from 'windicss/colors';
  4. import { baseConfig } from 'windicss/config';
  5. export default defineConfig({
  6. darkMode: 'class', // or 'media'
  7. theme: {
  8. extend: {
  9. screens: {
  10. sm: '640px',
  11. md: '768px',
  12. lg: '1024px',
  13. xl: '1280px',
  14. '2xl': '1536px',
  15. },
  16. colors: {
  17. gray: colors.gray,
  18. blue: colors.sky,
  19. red: colors.rose,
  20. pink: colors.fuchsia,
  21. },
  22. },
  23. cursor: {
  24. ...baseConfig.theme.cursor,
  25. 'zoom-in': 'zoom-in',
  26. },
  27. },
  28. });