| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335 |
- @import 'tailwindcss';
-
- @import 'tw-animate-css';
-
- @source '../views';
- @source '../../vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php';
-
- @custom-variant dark (&:is(.dark *));
-
- @theme {
- --font-sans:
- 'Instrument Sans', ui-sans-serif, system-ui, sans-serif,
- 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
- 'Noto Color Emoji';
-
- --radius-lg: var(--radius);
- --radius-md: calc(var(--radius) - 2px);
- --radius-sm: calc(var(--radius) - 4px);
-
- --color-background: var(--background);
- --color-foreground: var(--foreground);
-
- --color-card: var(--card);
- --color-card-foreground: var(--card-foreground);
-
- --color-popover: var(--popover);
- --color-popover-foreground: var(--popover-foreground);
-
- --color-primary: var(--primary);
- --color-primary-foreground: var(--primary-foreground);
-
- --color-secondary: var(--secondary);
- --color-secondary-foreground: var(--secondary-foreground);
-
- --color-muted: var(--muted);
- --color-muted-foreground: var(--muted-foreground);
-
- --color-accent: var(--accent);
- --color-accent-foreground: var(--accent-foreground);
-
- --color-destructive: var(--destructive);
- --color-destructive-foreground: var(--destructive-foreground);
-
- --color-border: var(--border);
- --color-input: var(--input);
- --color-ring: var(--ring);
-
- --color-chart-1: var(--chart-1);
- --color-chart-2: var(--chart-2);
- --color-chart-3: var(--chart-3);
- --color-chart-4: var(--chart-4);
- --color-chart-5: var(--chart-5);
-
- --color-sidebar: var(--sidebar);
- --color-sidebar-foreground: var(--sidebar-foreground);
- --color-sidebar-primary: var(--sidebar-primary);
- --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
- --color-sidebar-accent: var(--sidebar-accent);
- --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
- --color-sidebar-border: var(--sidebar-border);
- --color-sidebar-ring: var(--sidebar-ring);
- }
-
- :root {
- --background: oklch(1 0 0);
- --foreground: oklch(0.145 0 0);
- --card: oklch(1 0 0);
- --card-foreground: oklch(0.145 0 0);
- --popover: oklch(1 0 0);
- --popover-foreground: oklch(0.145 0 0);
- --primary: oklch(0.205 0 0);
- --primary-foreground: oklch(0.985 0 0);
- --secondary: oklch(0.97 0 0);
- --secondary-foreground: oklch(0.205 0 0);
- --muted: oklch(0.97 0 0);
- --muted-foreground: oklch(0.556 0 0);
- --accent: oklch(0.97 0 0);
- --accent-foreground: oklch(0.205 0 0);
- --destructive: oklch(0.577 0.245 27.325);
- --destructive-foreground: oklch(0.577 0.245 27.325);
- --border: oklch(0.922 0 0);
- --input: oklch(0.922 0 0);
- --ring: oklch(0.87 0 0);
- --chart-1: oklch(0.646 0.222 41.116);
- --chart-2: oklch(0.6 0.118 184.704);
- --chart-3: oklch(0.398 0.07 227.392);
- --chart-4: oklch(0.828 0.189 84.429);
- --chart-5: oklch(0.769 0.188 70.08);
- --radius: 0.625rem;
- --sidebar: oklch(0.985 0 0);
- --sidebar-foreground: oklch(0.145 0 0);
- --sidebar-primary: oklch(0.205 0 0);
- --sidebar-primary-foreground: oklch(0.985 0 0);
- --sidebar-accent: oklch(0.97 0 0);
- --sidebar-accent-foreground: oklch(0.205 0 0);
- --sidebar-border: oklch(0.922 0 0);
- --sidebar-ring: oklch(0.87 0 0);
- }
-
- .dark {
- --background: oklch(0.145 0 0);
- --foreground: oklch(0.985 0 0);
- --card: oklch(0.145 0 0);
- --card-foreground: oklch(0.985 0 0);
- --popover: oklch(0.145 0 0);
- --popover-foreground: oklch(0.985 0 0);
- --primary: oklch(0.985 0 0);
- --primary-foreground: oklch(0.205 0 0);
- --secondary: oklch(0.269 0 0);
- --secondary-foreground: oklch(0.985 0 0);
- --muted: oklch(0.269 0 0);
- --muted-foreground: oklch(0.708 0 0);
- --accent: oklch(0.269 0 0);
- --accent-foreground: oklch(0.985 0 0);
- --destructive: oklch(0.396 0.141 25.723);
- --destructive-foreground: oklch(0.637 0.237 25.331);
- --border: oklch(0.269 0 0);
- --input: oklch(0.269 0 0);
- --ring: oklch(0.439 0 0);
- --chart-1: oklch(0.488 0.243 264.376);
- --chart-2: oklch(0.696 0.17 162.48);
- --chart-3: oklch(0.769 0.188 70.08);
- --chart-4: oklch(0.627 0.265 303.9);
- --chart-5: oklch(0.645 0.246 16.439);
- --sidebar: oklch(0.205 0 0);
- --sidebar-foreground: oklch(0.985 0 0);
- --sidebar-primary: oklch(0.985 0 0);
- --sidebar-primary-foreground: oklch(0.985 0 0);
- --sidebar-accent: oklch(0.269 0 0);
- --sidebar-accent-foreground: oklch(0.985 0 0);
- --sidebar-border: oklch(0.269 0 0);
- --sidebar-ring: oklch(0.439 0 0);
- }
-
- @layer base {
- * {
- @apply border-border outline-ring/50;
- }
-
- body {
- @apply bg-background text-foreground;
- }
- }
-
- /*
- * Storefront. Colours, fonts and corner radius come from the store plan as
- * --sf-* variables (see resources/js/storefront/theme.ts), so a storefront
- * never picks up the dashboard's light or dark theme.
- */
- /*
- * Starting values. Each store's own colours and fonts are set on the same element by
- * theme.ts (as an inline style), which always wins over these. They are here so the
- * variables are never empty, and so code editors can see that they exist.
- */
- .sf-root {
- --sf-bg: #ffffff;
- --sf-surface: #f5f5f4;
- --sf-fg: #1c1917;
- --sf-muted: #57534e;
- --sf-primary: #1c1917;
- --sf-primary-fg: #ffffff;
- --sf-accent: #a8a29e;
- --sf-border: #e7e5e4;
- --sf-radius: 0.5rem;
- --sf-radius-card: 0.75rem;
- --sf-font-heading: ui-sans-serif, system-ui, sans-serif;
- --sf-font-body: ui-sans-serif, system-ui, sans-serif;
-
- background-color: var(--sf-bg);
- color: var(--sf-fg);
- font-family: var(--sf-font-body), sans-serif;
- scroll-behavior: smooth;
- }
-
- .sf-heading {
- font-family: var(--sf-font-heading), sans-serif;
- letter-spacing: -0.015em;
- }
-
- /* Clicking a menu link glides to that section instead of jumping. */
- @media (prefers-reduced-motion: no-preference) {
- html:has(.sf-root) {
- scroll-behavior: smooth;
- }
- }
-
- /* A soft fade for content that swaps in place, such as announcement bar messages. */
- @media (prefers-reduced-motion: no-preference) {
- .sf-fade-in {
- animation: sf-fade-in 0.4s ease-out;
- }
- }
-
- @keyframes sf-fade-in {
- from {
- opacity: 0;
- transform: translateY(2px);
- }
- }
-
- /* On phones, the product page's add-to-cart bar sits at the bottom; the WhatsApp button moves above it. */
- @media (max-width: 767px) {
- .sf-sticky-cart .sf-whatsapp {
- bottom: 5.5rem;
- }
- }
-
- /*
- * Store styles (theme.style in the store plan). The storefront root carries data-buttons, data-cards,
- * data-spacing, data-headings, data-backgrounds and data-motion; components only carry the classes
- * sf-btn-primary, sf-btn-outline, sf-card, sf-section and sf-band. "Normal" values change nothing, so
- * stores without a style look as they always did.
- */
-
- /* Buttons: outline */
- .sf-root[data-buttons='outline'] .sf-btn-primary {
- background-color: transparent;
- color: var(--sf-primary);
- box-shadow: inset 0 0 0 1.5px var(--sf-primary);
- }
-
- .sf-root[data-buttons='outline'] .sf-btn-primary:hover:not(:disabled) {
- background-color: var(--sf-primary);
- color: var(--sf-primary-fg);
- opacity: 1;
- }
-
- /* On a full-width photo an outline button would vanish, so it stays solid there. */
- .sf-root[data-buttons='outline'] .sf-on-photo .sf-btn-primary {
- background-color: var(--sf-primary);
- color: var(--sf-primary-fg);
- box-shadow: none;
- }
-
- /* Buttons: shadow (a solid offset shadow that presses in when clicked) */
- .sf-root[data-buttons='shadow'] :is(.sf-btn-primary, .sf-btn-outline) {
- border: 2px solid var(--sf-fg);
- box-shadow: 3px 3px 0 var(--sf-fg);
- transition:
- transform 0.15s ease,
- box-shadow 0.15s ease;
- }
-
- .sf-root[data-buttons='shadow']
- :is(.sf-btn-primary, .sf-btn-outline):hover:not(:disabled) {
- opacity: 1;
- transform: translate(-1px, -1px);
- box-shadow: 4px 4px 0 var(--sf-fg);
- }
-
- .sf-root[data-buttons='shadow']
- :is(.sf-btn-primary, .sf-btn-outline):active:not(:disabled) {
- transform: translate(2px, 2px);
- box-shadow: 1px 1px 0 var(--sf-fg);
- }
-
- /* Cards and photos */
- .sf-root[data-cards='shadow'] .sf-card {
- border-color: transparent;
- box-shadow:
- 0 1px 2px rgb(0 0 0 / 0.04),
- 0 10px 28px -10px rgb(0 0 0 / 0.16);
- }
-
- .sf-root[data-cards='plain'] .sf-card {
- border-color: transparent;
- box-shadow: none;
- }
-
- .sf-root[data-cards='hard'] .sf-card {
- border: 2px solid var(--sf-fg);
- box-shadow: 4px 4px 0 var(--sf-fg);
- }
-
- /* Spacing between sections */
- .sf-root[data-spacing='compact'] .sf-section {
- padding-block: 2.5rem;
- }
-
- .sf-root[data-spacing='airy'] .sf-section {
- padding-block: 5.5rem;
- }
-
- @media (min-width: 768px) {
- .sf-root[data-spacing='compact'] .sf-section {
- padding-block: 3.5rem;
- }
-
- .sf-root[data-spacing='airy'] .sf-section {
- padding-block: 8rem;
- }
- }
-
- /* Headings */
- .sf-root[data-headings='uppercase'] .sf-heading {
- text-transform: uppercase;
- letter-spacing: 0.06em;
- font-weight: 500;
- }
-
- .sf-root[data-headings='heavy'] .sf-heading {
- font-weight: 800;
- letter-spacing: -0.03em;
- }
-
- /* Backgrounds: every other section on a soft band */
- .sf-root[data-backgrounds='alternate'] .sf-band-alt {
- background-color: var(--sf-surface);
- }
-
- /* Motion: sections below the first screen fade up as they come into view (see reveal.tsx). */
- @media (prefers-reduced-motion: no-preference) {
- .sf-root[data-motion='gentle'] .sf-band.sf-reveal {
- opacity: 0;
- transform: translateY(28px);
- transition:
- opacity 0.7s ease,
- transform 0.7s ease;
- }
-
- .sf-root[data-motion='gentle'] .sf-band.sf-reveal.sf-revealed {
- opacity: 1;
- transform: none;
- }
-
- .sf-root[data-motion='gentle'] .sf-card {
- transition:
- transform 0.3s ease,
- box-shadow 0.3s ease;
- }
-
- .sf-root[data-motion='gentle'] a:hover .sf-card {
- transform: translateY(-3px);
- }
- }
|