diff --git a/proto/src/app/(frontend)/globals.css b/proto/src/app/(frontend)/globals.css index 9d80d81..6226d39 100755 --- a/proto/src/app/(frontend)/globals.css +++ b/proto/src/app/(frontend)/globals.css @@ -1,5 +1,19 @@ @import "tailwindcss"; +/* Tailwind `dark:` follows the site theme: the explicit toggle + (data-theme="dark") or, with no choice stored, the system preference — + the same rule as the design tokens below. */ +@custom-variant dark { + &:where([data-theme="dark"], [data-theme="dark"] *) { + @slot; + } + @media (prefers-color-scheme: dark) { + &:where(:root:not([data-theme]), :root:not([data-theme]) *) { + @slot; + } + } +} + /* ======================================== mozdIT Bt. Design System ======================================== */ diff --git a/proto/src/components/views/HostingPlansView.tsx b/proto/src/components/views/HostingPlansView.tsx index fc67d2c..1ba809c 100644 --- a/proto/src/components/views/HostingPlansView.tsx +++ b/proto/src/components/views/HostingPlansView.tsx @@ -44,10 +44,10 @@ export default function HostingPlansView({ content, plans, locale }: HostingPlan return (
{content.hero.subtitle}
+{content.hero.subtitle}
{plan.audience}
-{plan.shortDescription}
+{plan.audience}
+{plan.shortDescription}
- {formatHuf(plan.netAmount, locale)}{' '} - {labels.plusVat} {period} + {formatHuf(plan.netAmount, locale)}{' '} + {labels.plusVat} {period}
-+
{labels.grossPrice} {formatHuf(grossAmount(plan.netAmount, vatRate), locale)} {period}
-{labels.priceNote}
+{labels.priceNote}