diff --git a/packages/theme/styles/_colors.scss b/packages/theme/styles/_colors.scss index a02872d16a..da83d3700b 100644 --- a/packages/theme/styles/_colors.scss +++ b/packages/theme/styles/_colors.scss @@ -25,6 +25,15 @@ --primary-button-outline: rgba(87, 132, 255, .3); --primary-button-border: rgba(255, 255, 255, .09); + --image-primary-button-color: #000; + --image-primary-button-bg: #fff; + --image-primary-button-border: rgba(255, 255, 255, .2); + --image-button-color: #fff; + --image-button-bg: rgba(255, 255, 255, .17); + --image-button-border: rgba(255, 255, 255, .14); + --image-button-bg-hover: rgba(255, 255, 255, .22); + --image-button-border-hover: rgba(255, 255, 255, .19); + --system-error-color: #EE7A7A; --system-error-60-color: rgba(238, 122, 122, .6); // #EE7A7A / 60% diff --git a/packages/ui/src/components/Button.svelte b/packages/ui/src/components/Button.svelte index b1f507fc4f..9994b4f14f 100644 --- a/packages/ui/src/components/Button.svelte +++ b/packages/ui/src/components/Button.svelte @@ -22,10 +22,11 @@ export let size: 'small' | 'medium' = 'medium' export let disabled: boolean = false export let loading: boolean = false + export let onImage: boolean = false export let width: string | undefined = undefined -