You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

tailwind.config.js 1.2KB

пре 1 година
12345678910111213141516171819202122232425262728293031
  1. import { defineConfig } from 'windicss/helpers'
  2. export default defineConfig({
  3. preflight: false,
  4. darkMode: 'class',
  5. shortcuts: {
  6. 'color-transition': 'transition-colors duration-200 ease-in-out delay-0',
  7. 'btn-icon': "dark:bg-[rgb(41,49,79)] dark:text-[rgb(124,77,255)] w-[34px] text-[16px] h-[34px] flex items-center justify-center bg-[rgb(237,231,246)] text-[rgb(94,53,177)] rounded-[8px] color-transition select-none cursor-pointer hover:(bg-[rgb(94,53,177)] text-[rgb(237,231,246)])",
  8. 'bg-primary': 'dark:bg-bgPrimaryColor-dark light:bg-bgPrimaryColor-light bg-bgPrimaryColor-light',
  9. 'bg-container': 'dark:bg-bgContainerColor-dark light:bg-bgContainerColor-light bg-bgContainerColor-light',
  10. 'text-primary': 'dark:text-textPrimaryColor-dark light:text-textPrimaryColor-light text-textPrimaryColor-light',
  11. },
  12. theme: {
  13. extend: {
  14. colors: {
  15. bgPrimaryColor: {
  16. dark: 'rgb(17, 25, 54)',
  17. light: '#ffffff',
  18. },
  19. bgContainerColor: {
  20. dark: 'rgb(26, 34, 63)',
  21. light: 'rgb(238, 242, 246)',
  22. },
  23. textPrimaryColor: {
  24. dark: '#ffffff',
  25. light: '#121926',
  26. }
  27. },
  28. },
  29. },
  30. })