diff --git a/dev/storybook/stories/Button.stories.ts b/dev/storybook/stories/Button.stories.ts index bf97c1bc1c..536b4cd888 100644 --- a/dev/storybook/stories/Button.stories.ts +++ b/dev/storybook/stories/Button.stories.ts @@ -17,7 +17,7 @@ const meta = { }, kind: { control: 'select', - options: ['accented', 'regular', 'no-border', 'ghost', 'link', 'link-bordered', 'dangerous', 'list', 'list-header'], + options: ['primary', 'regular', 'no-border', 'ghost', 'link', 'link-bordered', 'dangerous', 'list', 'list-header'], description: 'kind description', table: { type: { summary: 'ButtonKind' }, @@ -109,7 +109,7 @@ type Story = StoryObj; export const Ok: Story = { args: { label: uiPlugin.string.Ok, - kind: 'accented', + kind: 'primary', size: 'medium', shape: undefined, justify: 'left', @@ -125,7 +125,7 @@ export const Ok: Story = { export const Cancel: Story = { args: { label: uiPlugin.string.Cancel, - kind: 'accented', + kind: 'primary', size: 'medium', shape: undefined, justify: 'left', diff --git a/packages/kanban/src/components/KanbanRow.svelte b/packages/kanban/src/components/KanbanRow.svelte index b0f8c7c0b9..d72d74b3e7 100644 --- a/packages/kanban/src/components/KanbanRow.svelte +++ b/packages/kanban/src/components/KanbanRow.svelte @@ -148,7 +148,7 @@ } &.selection, &.checked.selection { - box-shadow: 0 0 1px 1px var(--accented-button-default); + box-shadow: 0 0 1px 1px var(--primary-button-default); animation: anim-border 1s ease-in-out; &:hover { diff --git a/packages/presentation/src/components/Card.svelte b/packages/presentation/src/components/Card.svelte index 86d741b9c0..eeae628128 100644 --- a/packages/presentation/src/components/Card.svelte +++ b/packages/presentation/src/components/Card.svelte @@ -149,7 +149,7 @@ focusIndex={10001} disabled={!canSave} label={okLabel} - kind={'accented'} + kind={'primary'} size={'large'} on:click={() => { if (okProcessing) { diff --git a/packages/presentation/src/components/MessageBox.svelte b/packages/presentation/src/components/MessageBox.svelte index e1dc05384d..78cc159490 100644 --- a/packages/presentation/src/components/MessageBox.svelte +++ b/packages/presentation/src/components/MessageBox.svelte @@ -43,7 +43,7 @@ focusIndex={1} label={okLabel ?? presentation.string.Ok} size={'large'} - kind={'accented'} + kind={'primary'} loading={processing} on:click={() => { processing = true diff --git a/packages/presentation/src/components/PDFViewer.svelte b/packages/presentation/src/components/PDFViewer.svelte index 82daf25a7c..c86aa1653d 100644 --- a/packages/presentation/src/components/PDFViewer.svelte +++ b/packages/presentation/src/components/PDFViewer.svelte @@ -93,8 +93,8 @@ height: 2rem; font-weight: 500; font-size: 0.625rem; - color: var(--accented-button-color); - background-color: var(--accented-button-default); + color: var(--primary-button-color); + background-color: var(--primary-button-default); border: 1px solid rgba(0, 0, 0, 0.1); border-radius: 0.5rem; cursor: pointer; diff --git a/packages/presentation/src/components/SpaceCreateCard.svelte b/packages/presentation/src/components/SpaceCreateCard.svelte index 872f5b2944..a4afe0f3bc 100644 --- a/packages/presentation/src/components/SpaceCreateCard.svelte +++ b/packages/presentation/src/components/SpaceCreateCard.svelte @@ -42,7 +42,7 @@ diff --git a/packages/ui/src/components/DropdownRecordPopup.svelte b/packages/ui/src/components/DropdownRecordPopup.svelte index 07879936ce..e3ef147610 100644 --- a/packages/ui/src/components/DropdownRecordPopup.svelte +++ b/packages/ui/src/components/DropdownRecordPopup.svelte @@ -70,7 +70,7 @@ >
{#if item[0] === selected} -
+
{/if} diff --git a/packages/ui/src/components/Like.svelte b/packages/ui/src/components/Like.svelte index 1857b3defe..b7a7490865 100644 --- a/packages/ui/src/components/Like.svelte +++ b/packages/ui/src/components/Like.svelte @@ -58,13 +58,13 @@ &.voted { .icon { - color: var(--accented-button-default); + color: var(--primary-button-default); &:hover { - color: var(--accented-button-hovered); + color: var(--primary-button-hovered); } &:active { - color: var(--accented-button-pressed); + color: var(--primary-button-pressed); } } } diff --git a/packages/ui/src/components/MiniToggle.svelte b/packages/ui/src/components/MiniToggle.svelte index b6730c741c..6774d2da21 100644 --- a/packages/ui/src/components/MiniToggle.svelte +++ b/packages/ui/src/components/MiniToggle.svelte @@ -79,9 +79,9 @@ background: #eee; } } - // &:focus-within + .toggle-switch { box-shadow: 0 0 0 2px var(--accented-button-outline); } + // &:focus-within + .toggle-switch { box-shadow: 0 0 0 2px var(--primary-button-outline); } } - // &:active > .toggle-switch { box-shadow: 0 0 0 2px var(--accented-button-outline); } + // &:active > .toggle-switch { box-shadow: 0 0 0 2px var(--primary-button-outline); } .toggle-switch { position: relative; display: inline-block; diff --git a/packages/ui/src/components/ProgressCircle.svelte b/packages/ui/src/components/ProgressCircle.svelte index f2e4658098..2af05960ae 100644 --- a/packages/ui/src/components/ProgressCircle.svelte +++ b/packages/ui/src/components/ProgressCircle.svelte @@ -22,7 +22,7 @@ export let max: number = 100 export let color: number = 5 export let size: IconSize = 'small' - export let accented: boolean = false + export let primary: boolean = false if (value > max) value = max if (value < min) value = min @@ -49,7 +49,7 @@ cy={8} r={7} class="progress-circle" - style:stroke={accented ? 'var(--primary-bg-color)' : getPlatformColor(color, $themeStore.dark)} + style:stroke={primary ? 'var(--primary-bg-color)' : getPlatformColor(color, $themeStore.dark)} style:opacity={dashOffset === 0 ? 0 : 1} style:transform={'rotate(-82deg)'} style:stroke-dasharray={lenghtC} diff --git a/packages/ui/src/components/Scroller.svelte b/packages/ui/src/components/Scroller.svelte index d46cd819a7..b33e0aab67 100644 --- a/packages/ui/src/components/Scroller.svelte +++ b/packages/ui/src/components/Scroller.svelte @@ -684,7 +684,7 @@ background-color: var(--theme-button-hovered); } &:focus { - box-shadow: 0 0 0 2px var(--accented-button-outline); + box-shadow: 0 0 0 2px var(--primary-button-outline); } &.vertical { width: 2rem; diff --git a/packages/ui/src/components/Separator.svelte b/packages/ui/src/components/Separator.svelte index d2135d6f3e..9ccbc75ea8 100644 --- a/packages/ui/src/components/Separator.svelte +++ b/packages/ui/src/components/Separator.svelte @@ -424,7 +424,7 @@ z-index: 402; } &::after { - background-color: var(--theme-primary-default); + background-color: var(--primary-button-default); transform-origin: center; transition-property: transform; transition-timing-function: ease-in-out; diff --git a/packages/ui/src/components/StepsDialog.svelte b/packages/ui/src/components/StepsDialog.svelte index d3a1eecdb5..eb0906bb4b 100644 --- a/packages/ui/src/components/StepsDialog.svelte +++ b/packages/ui/src/components/StepsDialog.svelte @@ -114,7 +114,7 @@ /> {/if}