diff --git a/src/components/ui/BackendCard.tsx b/src/components/ui/BackendCard.tsx index 07ecb6d..7e7e18e 100644 --- a/src/components/ui/BackendCard.tsx +++ b/src/components/ui/BackendCard.tsx @@ -14,10 +14,10 @@ export function BackendCard({ name, description, selected = false, onClick, ...r onClick={onClick} data-selected={selected} className={[ - 'flex flex-col items-start gap-1 rounded-lg border-2 p-4 text-left transition-colors', + 'flex flex-col items-start gap-1 rounded-xl border-2 p-4 text-left transition-all', selected - ? 'border-primary bg-primary/10' - : 'border-outline bg-surface-container hover:border-primary hover:bg-surface', + ? 'border-primary bg-primary/10 shadow-md' + : 'border-outline bg-surface-container shadow hover:border-primary hover:bg-surface hover:shadow-md', ].join(' ')} {...rest} > diff --git a/src/components/wizard/BackendSelectionStep.tsx b/src/components/wizard/BackendSelectionStep.tsx index 0d99da3..e835317 100644 --- a/src/components/wizard/BackendSelectionStep.tsx +++ b/src/components/wizard/BackendSelectionStep.tsx @@ -6,6 +6,7 @@ import { useWizard } from '../../store/context'; import type { BackendType } from '../../store/types'; import { BACKEND_REGISTRY } from '../../schemas/registry'; import { BackendCard } from '../ui/BackendCard'; +import { MD3_BTN_FILLED } from '../../styles/md3-buttons'; const remoteNameSchema = z.object({ name: z @@ -71,6 +72,11 @@ export function BackendSelectionStep() { /> ))} +
+
{content}
diff --git a/src/components/wizard/RemoteConfigStep.tsx b/src/components/wizard/RemoteConfigStep.tsx
index 0c865cd..5b64a5c 100644
--- a/src/components/wizard/RemoteConfigStep.tsx
+++ b/src/components/wizard/RemoteConfigStep.tsx
@@ -11,6 +11,7 @@ import { FieldRenderer } from '../ui/FieldRenderer';
import { AzureAuthToggle } from './AzureAuthToggle';
import { SftpAuthToggle } from './SftpAuthToggle';
import type { FieldError } from 'react-hook-form';
+import { MD3_BTN_FILLED, MD3_BTN_OUTLINED } from '../../styles/md3-buttons';
export function RemoteConfigStep() {
const { state, dispatch } = useWizard();
@@ -110,13 +111,13 @@ export function RemoteConfigStep() {
diff --git a/src/components/wizard/ReviewStep.tsx b/src/components/wizard/ReviewStep.tsx
index 670bd79..70ac134 100644
--- a/src/components/wizard/ReviewStep.tsx
+++ b/src/components/wizard/ReviewStep.tsx
@@ -3,6 +3,7 @@
// Covers CONF-02, CONF-03, DOWN-01–DOWN-06, SECU-01, SECU-02.
import { useMemo, useState } from 'react';
import { useWizard } from '../../store/context';
+import { MD3_BTN_FILLED, MD3_BTN_OUTLINED } from '../../styles/md3-buttons';
import {
buildRcloneConf,
buildIntuneInstall,
@@ -128,7 +129,7 @@ export function ReviewStep() {
@@ -139,7 +140,7 @@ export function ReviewStep() {
type="button"
disabled={!acknowledged}
onClick={handleDownloadZip}
- className="w-full py-2 px-4 bg-primary text-on-primary rounded font-medium disabled:opacity-40 disabled:cursor-not-allowed hover:bg-primary"
+ className={`w-full mt-4 ${MD3_BTN_FILLED}`}
>
Download All (ZIP)