uno.config.ts 619 B

12345678910111213141516171819
  1. import { defineConfig, presetWind3 } from 'unocss'
  2. export default defineConfig({
  3. presets: [presetWind3()],
  4. shortcuts: {
  5. 'bg-page': 'bg-[var(--bg-page)]',
  6. 'bg-base': 'bg-[var(--bg-base)]',
  7. 'bg-container': 'bg-[var(--bg-container)]',
  8. 'bg-overlay': 'bg-[var(--bg-overlay)]',
  9. 'text-primary': 'text-[var(--text-primary)]',
  10. 'text-secondary': 'text-[var(--text-secondary)]',
  11. 'text-tertiary': 'text-[var(--text-tertiary)]',
  12. 'text-strong': 'text-[var(--text-strong)]',
  13. 'border-light': 'border-[var(--border-light)]',
  14. 'border-base': 'border-[var(--border-base)]',
  15. },
  16. rules: []
  17. })