styles.css 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. @import url('https://fonts.googleapis.com/css2?family=Geist+Mono:wght@100..900&family=Geist:wght@100..900&display=swap');
  2. @import 'tailwindcss';
  3. @import 'tw-animate-css';
  4. @custom-variant dark (&:is(.dark *));
  5. /* @source rules from extensions will be added here by the dashboardTailwindSourcePlugin */
  6. /*
  7. * Important: This is not an actual import. We are pre-processing this CSS file
  8. * to inject the theme variables into the CSS. This import will be replaced
  9. * with the actual theme variables by the Vite plugin.
  10. */
  11. @import 'virtual:admin-theme';
  12. @theme inline {
  13. --color-background: var(--background);
  14. --color-foreground: var(--foreground);
  15. --color-card: var(--card);
  16. --color-card-foreground: var(--card-foreground);
  17. --color-popover: var(--popover);
  18. --color-popover-foreground: var(--popover-foreground);
  19. --color-primary: var(--primary);
  20. --color-primary-foreground: var(--primary-foreground);
  21. --color-secondary: var(--secondary);
  22. --color-secondary-foreground: var(--secondary-foreground);
  23. --color-muted: var(--muted);
  24. --color-muted-foreground: var(--muted-foreground);
  25. --color-accent: var(--accent);
  26. --color-accent-foreground: var(--accent-foreground);
  27. --color-destructive: var(--destructive);
  28. --color-destructive-foreground: var(--destructive-foreground);
  29. --color-success: var(--success);
  30. --color-success-foreground: var(--success-foreground);
  31. --color-dev-mode: var(--dev-mode);
  32. --color-dev-mode-foreground: var(--dev-mode-foreground);
  33. --color-border: var(--border);
  34. --color-input: var(--input);
  35. --color-ring: var(--ring);
  36. --color-chart-1: var(--chart-1);
  37. --color-chart-2: var(--chart-2);
  38. --color-chart-3: var(--chart-3);
  39. --color-chart-4: var(--chart-4);
  40. --color-chart-5: var(--chart-5);
  41. --radius-sm: calc(var(--radius) - 4px);
  42. --radius-md: calc(var(--radius) - 2px);
  43. --radius-lg: var(--radius);
  44. --radius-xl: calc(var(--radius) + 4px);
  45. --color-sidebar-ring: var(--sidebar-ring);
  46. --color-sidebar-border: var(--sidebar-border);
  47. --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
  48. --color-sidebar-accent: var(--sidebar-accent);
  49. --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
  50. --color-sidebar-primary: var(--sidebar-primary);
  51. --color-sidebar-foreground: var(--sidebar-foreground);
  52. --color-sidebar: var(--sidebar);
  53. --color-brand: var(--brand);
  54. --color-brand-lighter: var(--brand-lighter);
  55. --color-brand-darker: var(--brand-darker);
  56. --font-sans: var(--font-sans);
  57. --font-mono: var(--font-mono);
  58. --color-vendure-brand: #17c1ff;
  59. }
  60. @layer base {
  61. * {
  62. @apply border-border outline-ring/50;
  63. }
  64. body {
  65. @apply bg-background text-foreground;
  66. }
  67. }
  68. @utility col-main {
  69. grid-column: span 3 / span 3;
  70. }
  71. @utility col-side {
  72. grid-column: span 2 / span 2;
  73. }
  74. @layer utilities {
  75. @keyframes rotate {
  76. 0% {
  77. transform: rotate(0deg);
  78. }
  79. 100% {
  80. transform: rotate(360deg);
  81. }
  82. }
  83. .animate-rotate {
  84. animation: rotate 0.5s linear;
  85. }
  86. }
  87. /* Overrides for the react-grid-layout library */
  88. .react-grid-item {
  89. transition: none !important;
  90. }