AI store generator for ecommerce, Malaysia first. Laravel 13 + React + TypeScript.
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

app.css 6.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. @import 'tailwindcss';
  2. @import 'tw-animate-css';
  3. @source '../views';
  4. @source '../../vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php';
  5. @custom-variant dark (&:is(.dark *));
  6. @theme {
  7. --font-sans:
  8. 'Instrument Sans', ui-sans-serif, system-ui, sans-serif,
  9. 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
  10. 'Noto Color Emoji';
  11. --radius-lg: var(--radius);
  12. --radius-md: calc(var(--radius) - 2px);
  13. --radius-sm: calc(var(--radius) - 4px);
  14. --color-background: var(--background);
  15. --color-foreground: var(--foreground);
  16. --color-card: var(--card);
  17. --color-card-foreground: var(--card-foreground);
  18. --color-popover: var(--popover);
  19. --color-popover-foreground: var(--popover-foreground);
  20. --color-primary: var(--primary);
  21. --color-primary-foreground: var(--primary-foreground);
  22. --color-secondary: var(--secondary);
  23. --color-secondary-foreground: var(--secondary-foreground);
  24. --color-muted: var(--muted);
  25. --color-muted-foreground: var(--muted-foreground);
  26. --color-accent: var(--accent);
  27. --color-accent-foreground: var(--accent-foreground);
  28. --color-destructive: var(--destructive);
  29. --color-destructive-foreground: var(--destructive-foreground);
  30. --color-border: var(--border);
  31. --color-input: var(--input);
  32. --color-ring: var(--ring);
  33. --color-chart-1: var(--chart-1);
  34. --color-chart-2: var(--chart-2);
  35. --color-chart-3: var(--chart-3);
  36. --color-chart-4: var(--chart-4);
  37. --color-chart-5: var(--chart-5);
  38. --color-sidebar: var(--sidebar);
  39. --color-sidebar-foreground: var(--sidebar-foreground);
  40. --color-sidebar-primary: var(--sidebar-primary);
  41. --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
  42. --color-sidebar-accent: var(--sidebar-accent);
  43. --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
  44. --color-sidebar-border: var(--sidebar-border);
  45. --color-sidebar-ring: var(--sidebar-ring);
  46. }
  47. :root {
  48. --background: oklch(1 0 0);
  49. --foreground: oklch(0.145 0 0);
  50. --card: oklch(1 0 0);
  51. --card-foreground: oklch(0.145 0 0);
  52. --popover: oklch(1 0 0);
  53. --popover-foreground: oklch(0.145 0 0);
  54. --primary: oklch(0.205 0 0);
  55. --primary-foreground: oklch(0.985 0 0);
  56. --secondary: oklch(0.97 0 0);
  57. --secondary-foreground: oklch(0.205 0 0);
  58. --muted: oklch(0.97 0 0);
  59. --muted-foreground: oklch(0.556 0 0);
  60. --accent: oklch(0.97 0 0);
  61. --accent-foreground: oklch(0.205 0 0);
  62. --destructive: oklch(0.577 0.245 27.325);
  63. --destructive-foreground: oklch(0.577 0.245 27.325);
  64. --border: oklch(0.922 0 0);
  65. --input: oklch(0.922 0 0);
  66. --ring: oklch(0.87 0 0);
  67. --chart-1: oklch(0.646 0.222 41.116);
  68. --chart-2: oklch(0.6 0.118 184.704);
  69. --chart-3: oklch(0.398 0.07 227.392);
  70. --chart-4: oklch(0.828 0.189 84.429);
  71. --chart-5: oklch(0.769 0.188 70.08);
  72. --radius: 0.625rem;
  73. --sidebar: oklch(0.985 0 0);
  74. --sidebar-foreground: oklch(0.145 0 0);
  75. --sidebar-primary: oklch(0.205 0 0);
  76. --sidebar-primary-foreground: oklch(0.985 0 0);
  77. --sidebar-accent: oklch(0.97 0 0);
  78. --sidebar-accent-foreground: oklch(0.205 0 0);
  79. --sidebar-border: oklch(0.922 0 0);
  80. --sidebar-ring: oklch(0.87 0 0);
  81. }
  82. .dark {
  83. --background: oklch(0.145 0 0);
  84. --foreground: oklch(0.985 0 0);
  85. --card: oklch(0.145 0 0);
  86. --card-foreground: oklch(0.985 0 0);
  87. --popover: oklch(0.145 0 0);
  88. --popover-foreground: oklch(0.985 0 0);
  89. --primary: oklch(0.985 0 0);
  90. --primary-foreground: oklch(0.205 0 0);
  91. --secondary: oklch(0.269 0 0);
  92. --secondary-foreground: oklch(0.985 0 0);
  93. --muted: oklch(0.269 0 0);
  94. --muted-foreground: oklch(0.708 0 0);
  95. --accent: oklch(0.269 0 0);
  96. --accent-foreground: oklch(0.985 0 0);
  97. --destructive: oklch(0.396 0.141 25.723);
  98. --destructive-foreground: oklch(0.637 0.237 25.331);
  99. --border: oklch(0.269 0 0);
  100. --input: oklch(0.269 0 0);
  101. --ring: oklch(0.439 0 0);
  102. --chart-1: oklch(0.488 0.243 264.376);
  103. --chart-2: oklch(0.696 0.17 162.48);
  104. --chart-3: oklch(0.769 0.188 70.08);
  105. --chart-4: oklch(0.627 0.265 303.9);
  106. --chart-5: oklch(0.645 0.246 16.439);
  107. --sidebar: oklch(0.205 0 0);
  108. --sidebar-foreground: oklch(0.985 0 0);
  109. --sidebar-primary: oklch(0.985 0 0);
  110. --sidebar-primary-foreground: oklch(0.985 0 0);
  111. --sidebar-accent: oklch(0.269 0 0);
  112. --sidebar-accent-foreground: oklch(0.985 0 0);
  113. --sidebar-border: oklch(0.269 0 0);
  114. --sidebar-ring: oklch(0.439 0 0);
  115. }
  116. @layer base {
  117. * {
  118. @apply border-border outline-ring/50;
  119. }
  120. body {
  121. @apply bg-background text-foreground;
  122. }
  123. }
  124. /*
  125. * Storefront. Colours, fonts and corner radius come from the store plan as
  126. * --sf-* variables (see resources/js/storefront/theme.ts), so a storefront
  127. * never picks up the dashboard's light or dark theme.
  128. */
  129. /*
  130. * Starting values. Each store's own colours and fonts are set on the same element by
  131. * theme.ts (as an inline style), which always wins over these. They are here so the
  132. * variables are never empty, and so code editors can see that they exist.
  133. */
  134. .sf-root {
  135. --sf-bg: #ffffff;
  136. --sf-surface: #f5f5f4;
  137. --sf-fg: #1c1917;
  138. --sf-muted: #57534e;
  139. --sf-primary: #1c1917;
  140. --sf-primary-fg: #ffffff;
  141. --sf-accent: #a8a29e;
  142. --sf-border: #e7e5e4;
  143. --sf-radius: 0.5rem;
  144. --sf-radius-card: 0.75rem;
  145. --sf-font-heading: ui-sans-serif, system-ui, sans-serif;
  146. --sf-font-body: ui-sans-serif, system-ui, sans-serif;
  147. background-color: var(--sf-bg);
  148. color: var(--sf-fg);
  149. font-family: var(--sf-font-body), sans-serif;
  150. scroll-behavior: smooth;
  151. }
  152. .sf-heading {
  153. font-family: var(--sf-font-heading), sans-serif;
  154. letter-spacing: -0.015em;
  155. }
  156. /* Clicking a menu link glides to that section instead of jumping. */
  157. @media (prefers-reduced-motion: no-preference) {
  158. html:has(.sf-root) {
  159. scroll-behavior: smooth;
  160. }
  161. }
  162. /* A soft fade for content that swaps in place, such as announcement bar messages. */
  163. @media (prefers-reduced-motion: no-preference) {
  164. .sf-fade-in {
  165. animation: sf-fade-in 0.4s ease-out;
  166. }
  167. }
  168. @keyframes sf-fade-in {
  169. from {
  170. opacity: 0;
  171. transform: translateY(2px);
  172. }
  173. }