import { isWidgetSpanColumn, isWidgetSpanRow, isWidgetSection, type WidgetLayout, isWidgetTable } from "@graphite/messages";
+ import TextLabel from "@graphite/components/widgets/labels/TextLabel.svelte";
import WidgetSection from "@graphite/components/widgets/WidgetSection.svelte";
import WidgetSpan from "@graphite/components/widgets/WidgetSpan.svelte";
import WidgetTable from "@graphite/components/widgets/WidgetTable.svelte";
@@ -19,7 +20,7 @@
{:else if isWidgetTable(layoutGroup)}
{:else}
- Error: The widget layout that belongs here has an invalid layout group type
+ Error: The widget layout that belongs here has an invalid layout group type
{/if}
{/each}
diff --git a/frontend/src/components/widgets/WidgetSection.svelte b/frontend/src/components/widgets/WidgetSection.svelte
index 2e641f40..39448166 100644
--- a/frontend/src/components/widgets/WidgetSection.svelte
+++ b/frontend/src/components/widgets/WidgetSection.svelte
@@ -65,11 +65,11 @@
{#if isWidgetSpanRow(layoutGroup)}
{:else if isWidgetSpanColumn(layoutGroup)}
- Error: The WidgetSpan used here should be a row not a column
+ Error: The WidgetSpan used here should be a row not a column
{:else if isWidgetSection(layoutGroup)}
{:else}
- Error: The widget that belongs here has an invalid layout group type
+ Error: The widget that belongs here has an invalid layout group type
{/if}
{/each}
diff --git a/frontend/src/components/widgets/inputs/DropdownInput.svelte b/frontend/src/components/widgets/inputs/DropdownInput.svelte
index 004c119f..6c458348 100644
--- a/frontend/src/components/widgets/inputs/DropdownInput.svelte
+++ b/frontend/src/components/widgets/inputs/DropdownInput.svelte
@@ -155,7 +155,7 @@
&.disabled {
background: var(--color-2-mildblack);
- span {
+ .text-label {
color: var(--color-8-uppergray);
}
diff --git a/frontend/src/components/widgets/inputs/FontInput.svelte b/frontend/src/components/widgets/inputs/FontInput.svelte
index dd084a91..f351f02d 100644
--- a/frontend/src/components/widgets/inputs/FontInput.svelte
+++ b/frontend/src/components/widgets/inputs/FontInput.svelte
@@ -156,7 +156,7 @@
&.open {
background: var(--color-6-lowergray);
- span {
+ .text-label {
color: var(--color-f-white);
}
}
@@ -168,7 +168,7 @@
&.disabled {
background: var(--color-2-mildblack);
- span {
+ .text-label {
color: var(--color-8-uppergray);
}
}
diff --git a/frontend/src/components/widgets/inputs/RadioInput.svelte b/frontend/src/components/widgets/inputs/RadioInput.svelte
index 91cb9533..e28848a3 100644
--- a/frontend/src/components/widgets/inputs/RadioInput.svelte
+++ b/frontend/src/components/widgets/inputs/RadioInput.svelte
@@ -24,14 +24,14 @@
}
- 0 ? { "min-width": `${minWidth}px` } : {}) }}>
+ 0 ? { "min-width": `${minWidth}px` } : {}) }}>
{#each entries as entry, index}
-