diff --git a/.vscode/settings.json b/.vscode/settings.json index a0f7c59d7..5aee58a06 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -11,5 +11,8 @@ "tailwindCSS.experimental.classRegex": [ ["cva\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"], ["cx\\(([^)]*)\\)", "(?:'|\"|`)([^']*)(?:'|\"|`)"] - ] + ], + "files.associations": { + "*.css": "tailwindcss" + } } diff --git a/src/app.css b/src/app.css index 326d15975..29ce0137b 100644 --- a/src/app.css +++ b/src/app.css @@ -10,28 +10,14 @@ *, html, body { - box-sizing: border-box; + @apply box-border; } body { - @apply surface-background; - font-family: theme('fontFamily.primary'); - position: relative; - overscroll-behavior: none; - } - - h1, - h2, - h3, - h4, - h5, - h6, - titles, - labels { - font-family: theme('fontFamily.secondary'); + @apply body-normal surface-background relative overscroll-none; } input[type='search']::-webkit-search-cancel-button { - display: none; + @apply hidden; } } diff --git a/src/lib/components/batch-operations/header.svelte b/src/lib/components/batch-operations/header.svelte index 49762abbf..2b7434177 100644 --- a/src/lib/components/batch-operations/header.svelte +++ b/src/lib/components/batch-operations/header.svelte @@ -32,17 +32,17 @@
-
-

+
+

{translate('batch.describe-page-title')}

{operation.state}
-

+

{operation.jobId} -

+

{#if operation.state === 'Running'}
-

+

{translate('common.codec-server')}

diff --git a/src/lib/components/lines-and-dots/input-and-results-payload.svelte b/src/lib/components/lines-and-dots/input-and-results-payload.svelte index 78d530afc..168284995 100644 --- a/src/lib/components/lines-and-dots/input-and-results-payload.svelte +++ b/src/lib/components/lines-and-dots/input-and-results-payload.svelte @@ -23,7 +23,7 @@
-

+

{title}

{#if content} diff --git a/src/lib/components/lines-and-dots/workflow-details.svelte b/src/lib/components/lines-and-dots/workflow-details.svelte index b5f50e457..a78d7c750 100644 --- a/src/lib/components/lines-and-dots/workflow-details.svelte +++ b/src/lib/components/lines-and-dots/workflow-details.svelte @@ -23,7 +23,7 @@
-

Summary

+

Summary

diff --git a/src/lib/components/schedule/schedule-day-of-month-view.svelte b/src/lib/components/schedule/schedule-day-of-month-view.svelte index cc564a7b6..96b9757e6 100644 --- a/src/lib/components/schedule/schedule-day-of-month-view.svelte +++ b/src/lib/components/schedule/schedule-day-of-month-view.svelte @@ -12,7 +12,7 @@
-

+

{translate('schedules.recurring-dates-heading')}

{translate('schedules.recurring-dates-description')}

diff --git a/src/lib/components/schedule/schedule-day-of-week-view.svelte b/src/lib/components/schedule/schedule-day-of-week-view.svelte index 7a0c88459..13771447c 100644 --- a/src/lib/components/schedule/schedule-day-of-week-view.svelte +++ b/src/lib/components/schedule/schedule-day-of-week-view.svelte @@ -10,7 +10,7 @@
-

+

{translate('schedules.recurring-days-heading')}

{translate('schedules.recurring-days-description')}

diff --git a/src/lib/components/schedule/schedule-form-view.svelte b/src/lib/components/schedule/schedule-form-view.svelte index e73d79941..731ff6591 100644 --- a/src/lib/components/schedule/schedule-form-view.svelte +++ b/src/lib/components/schedule/schedule-form-view.svelte @@ -142,7 +142,7 @@ {backTitle} -

{title}

+

{title}

diff --git a/src/lib/components/schedule/schedule-notes.svelte b/src/lib/components/schedule/schedule-notes.svelte index 730a62492..c60b8d49b 100644 --- a/src/lib/components/schedule/schedule-notes.svelte +++ b/src/lib/components/schedule/schedule-notes.svelte @@ -5,6 +5,6 @@
-

{translate('common.notes')}

+

{translate('common.notes')}

{notes}

diff --git a/src/lib/components/schedule/schedule-recent-runs.svelte b/src/lib/components/schedule/schedule-recent-runs.svelte index f57fc0885..0ecf1068f 100644 --- a/src/lib/components/schedule/schedule-recent-runs.svelte +++ b/src/lib/components/schedule/schedule-recent-runs.svelte @@ -35,7 +35,7 @@
-

{translate('schedules.recent-runs')}

+

{translate('schedules.recent-runs')}

-

{translate('schedules.upcoming-runs')}

+

{translate('schedules.upcoming-runs')}

{#each futureRuns.slice(0, 5) as run}

diff --git a/src/lib/components/schedule/schedules-calendar-view.svelte b/src/lib/components/schedule/schedules-calendar-view.svelte index 1d0ce307b..82ef5b47f 100644 --- a/src/lib/components/schedule/schedules-calendar-view.svelte +++ b/src/lib/components/schedule/schedules-calendar-view.svelte @@ -45,7 +45,7 @@ -

{translate('schedules.schedule-spec')}

+

{translate('schedules.schedule-spec')}

{#if schedule}
-

+

{translate('schedules.cron-view-title')}

{translate('schedules.cron-view-description')}

diff --git a/src/lib/components/schedule/schedules-interval-view.svelte b/src/lib/components/schedule/schedules-interval-view.svelte index eb12802c7..3d117c6ff 100644 --- a/src/lib/components/schedule/schedules-interval-view.svelte +++ b/src/lib/components/schedule/schedules-interval-view.svelte @@ -35,7 +35,7 @@
-

+

{translate('schedules.interval-view-heading')}

@@ -94,7 +94,7 @@ error={error(second)} />

-

+

{translate('schedules.offset-heading')}

diff --git a/src/lib/components/schedule/schedules-time-view.svelte b/src/lib/components/schedule/schedules-time-view.svelte index 6a4d05d18..abc2148e5 100644 --- a/src/lib/components/schedule/schedules-time-view.svelte +++ b/src/lib/components/schedule/schedules-time-view.svelte @@ -8,7 +8,7 @@

-

+

{translate('schedules.time-view-heading')}

diff --git a/src/lib/components/worker-compatibility.svelte b/src/lib/components/worker-compatibility.svelte index 9d3278b1e..86271e0df 100644 --- a/src/lib/components/worker-compatibility.svelte +++ b/src/lib/components/worker-compatibility.svelte @@ -33,7 +33,7 @@ $: defaultVersion = getCurrentCompatibilityDefaultVersion(compatibility); -

+

{translate('workers.version-sets')}

@@ -77,7 +77,7 @@ {/each}
-

+

{translate('workers.workers')} {workers?.pollers?.length || 0}

diff --git a/src/lib/components/worker-rules.svelte b/src/lib/components/worker-rules.svelte index ec9136351..6cca06239 100644 --- a/src/lib/components/worker-rules.svelte +++ b/src/lib/components/worker-rules.svelte @@ -32,7 +32,7 @@ }; -

+

{translate('workers.assignment-rules')}

@@ -81,7 +81,7 @@ {/if}
-

+

{translate('workers.redirect-rules')}

diff --git a/src/lib/components/worker-table.svelte b/src/lib/components/worker-table.svelte index b9877eb3a..c4f7cdf34 100644 --- a/src/lib/components/worker-table.svelte +++ b/src/lib/components/worker-table.svelte @@ -14,7 +14,7 @@ export let workers: GetPollersResponse; -

+

{translate('workers.workers')} {workers?.pollers?.length || 0}

diff --git a/src/lib/components/workflow-status.svelte b/src/lib/components/workflow-status.svelte index f7e017979..7020656fe 100644 --- a/src/lib/components/workflow-status.svelte +++ b/src/lib/components/workflow-status.svelte @@ -42,9 +42,7 @@ }; const workflowStatus = cva( - [ - 'flex items-center rounded-sm px-1 py-0.5 font-secondary whitespace-nowrap text-black', - ], + ['flex items-center rounded-sm px-1 py-0.5 whitespace-nowrap text-black'], { variants: { status: { diff --git a/src/lib/components/workflow/client-actions/signal-confirmation-modal.svelte b/src/lib/components/workflow/client-actions/signal-confirmation-modal.svelte index 5d732ae08..74d5eecda 100644 --- a/src/lib/components/workflow/client-actions/signal-confirmation-modal.svelte +++ b/src/lib/components/workflow/client-actions/signal-confirmation-modal.svelte @@ -79,10 +79,10 @@ bind:value={name} />
- {translate('workflows.signal-payload-input-label')} - + {translate('workflows.signal-payload-input-label-hint')}
-

+

{title} {#if showParsedContentCount} {payloads.length} diff --git a/src/lib/components/workflow/pending-activities.svelte b/src/lib/components/workflow/pending-activities.svelte index efa8675ee..cfaa316cf 100644 --- a/src/lib/components/workflow/pending-activities.svelte +++ b/src/lib/components/workflow/pending-activities.svelte @@ -55,7 +55,7 @@ {#each pendingActivities as { id, ...pendingActivity } (id)} {@const failed = pendingActivity.attempt > 1}
-

+

{pendingActivity.activityId}

diff --git a/src/lib/components/workflow/workflow-summary.svelte b/src/lib/components/workflow/workflow-summary.svelte index f25ddad39..223738437 100644 --- a/src/lib/components/workflow/workflow-summary.svelte +++ b/src/lib/components/workflow/workflow-summary.svelte @@ -33,7 +33,7 @@ >
-

{translate('common.execution-details')}

+

{translate('common.execution-details')}

-

{translate('common.task-queue')}

+

{translate('common.task-queue')}

-

+

{translate('workflows.start-and-close-time')} -

+

{:else} -

+

{#if query} {translate('workflows.workflow-query-empty-state-title')} {:else} diff --git a/src/lib/components/workflow/workflows-summary-configurable-table/table-header-cell.svelte b/src/lib/components/workflow/workflows-summary-configurable-table/table-header-cell.svelte index ac75eafc4..e1c9fbaea 100644 --- a/src/lib/components/workflow/workflows-summary-configurable-table/table-header-cell.svelte +++ b/src/lib/components/workflow/workflows-summary-configurable-table/table-header-cell.svelte @@ -15,6 +15,6 @@ diff --git a/src/lib/components/workflow/workflows-summary-configurable-table/table-header-row.svelte b/src/lib/components/workflow/workflows-summary-configurable-table/table-header-row.svelte index 93f2d9dc3..dff5fb2ff 100644 --- a/src/lib/components/workflow/workflows-summary-configurable-table/table-header-row.svelte +++ b/src/lib/components/workflow/workflows-summary-configurable-table/table-header-row.svelte @@ -65,7 +65,7 @@ } .batch-actions-table-cell { - @apply overflow-visible whitespace-nowrap px-2 text-left font-secondary text-sm font-medium; + @apply overflow-visible whitespace-nowrap px-2 text-left text-sm font-medium; } .configuration-button-table-cell { diff --git a/src/lib/holocene/accordion.svelte b/src/lib/holocene/accordion.svelte index 5c41b19f0..997c35f29 100644 --- a/src/lib/holocene/accordion.svelte +++ b/src/lib/holocene/accordion.svelte @@ -54,11 +54,11 @@ on:click={toggleAccordion} >
-

+

{#if icon}{/if} {title} -

+

-

+

{#if error} {error} {/if} diff --git a/src/lib/holocene/alert.svelte b/src/lib/holocene/alert.svelte index a3616a573..a705ccf4d 100644 --- a/src/lib/holocene/alert.svelte +++ b/src/lib/holocene/alert.svelte @@ -64,7 +64,7 @@ diff --git a/src/lib/holocene/combobox/combobox.svelte b/src/lib/holocene/combobox/combobox.svelte index b3667854b..1be650d9e 100644 --- a/src/lib/holocene/combobox/combobox.svelte +++ b/src/lib/holocene/combobox/combobox.svelte @@ -354,6 +354,6 @@ } .combobox-input { - @apply ml-2 h-full w-full grow bg-transparent font-primary text-primary placeholder:text-secondary focus:outline-none; + @apply ml-2 h-full w-full grow bg-transparent text-primary placeholder:text-secondary focus:outline-none; } diff --git a/src/lib/holocene/drawer-content.svelte b/src/lib/holocene/drawer-content.svelte index dd30e954c..12684a668 100644 --- a/src/lib/holocene/drawer-content.svelte +++ b/src/lib/holocene/drawer-content.svelte @@ -7,11 +7,11 @@

-

{title}

+

{title}

{#if $$slots['subtitle']} -

+

-

+

{/if}
@@ -32,10 +32,6 @@ } } - .title-wrapper h1 { - @apply font-primary text-base font-medium; - } - .content { @apply whitespace-normal px-8; diff --git a/src/lib/holocene/input/input.svelte b/src/lib/holocene/input/input.svelte index f77edea9a..2c38a93f5 100644 --- a/src/lib/holocene/input/input.svelte +++ b/src/lib/holocene/input/input.svelte @@ -237,7 +237,7 @@ } .count { - @apply mx-2 hidden font-secondary text-sm font-medium tracking-widest; + @apply mx-2 hidden text-sm font-medium tracking-widest; > .ok { @apply text-information; diff --git a/src/lib/holocene/input/number-input.svelte b/src/lib/holocene/input/number-input.svelte index 657994b35..0281b5b13 100644 --- a/src/lib/holocene/input/number-input.svelte +++ b/src/lib/holocene/input/number-input.svelte @@ -81,7 +81,7 @@