-
![{currentPicture?.name[locale]]({`/profile/${picture}.png`})
+
+
-
+
+ {#snippet children()}
-
-
- {/snippet}
-
- {#snippet footer()}
-
+ {/snippet}
+
{/snippet}
@@ -263,7 +262,6 @@
@use '$src/themes/colors' as colors;
@use '$src/themes/typography' as typography;
@use '$src/themes/layout' as layout;
- @use '$src/themes/effects' as effects;
.settings-form {
display: flex;
@@ -331,7 +329,7 @@
align-items: center;
justify-content: space-between;
padding: spacing.$unit-2x;
- background-color: var(--input-bg);
+ background-color: var(--input-bound-bg);
border-radius: layout.$card-corner;
span {
@@ -341,14 +339,6 @@
}
}
- .form-actions {
- display: flex;
- gap: spacing.$unit-2x;
- justify-content: flex-end;
- padding-top: spacing.$unit-2x;
- border-top: 1px solid var(--border-color);
- }
-
:global(fieldset) {
border: none;
padding: 0;
diff --git a/src/lib/components/ui/Button.svelte b/src/lib/components/ui/Button.svelte
index b82570d1..a2b85035 100644
--- a/src/lib/components/ui/Button.svelte
+++ b/src/lib/components/ui/Button.svelte
@@ -139,6 +139,8 @@
{:else if iconOnly && icon}
+ {:else if iconOnly && children}
+ {@render children()}
{/if}
{#if rightAccessory}
@@ -364,24 +366,24 @@
gap: 0;
aspect-ratio: 1;
padding: calc($unit * 1.5); // Default square padding
+ }
- &.small {
- padding: $unit !important; // Override size padding
- width: calc($unit * 3.5);
- height: calc($unit * 3.5);
- }
+ :global([data-button-root].iconOnly.small) {
+ padding: $unit !important; // Override size padding
+ width: 30px;
+ height: 30px;
+ }
- &.medium {
- padding: calc($unit * 1.5) !important; // Override size padding
- width: calc($unit * 5.5);
- height: calc($unit * 5.5);
- }
+ :global([data-button-root].iconOnly.medium) {
+ padding: calc($unit * 1.5) !important; // Override size padding
+ width: calc($unit * 5.5);
+ height: calc($unit * 5.5);
+ }
- &.large {
- padding: $unit-2x !important; // Override size padding
- width: calc($unit * 6.5);
- height: calc($unit * 6.5);
- }
+ :global([data-button-root].iconOnly.large) {
+ padding: $unit-2x !important; // Override size padding
+ width: calc($unit * 6.5);
+ height: calc($unit * 6.5);
}
// Save button special states
diff --git a/src/lib/components/ui/Dialog.svelte b/src/lib/components/ui/Dialog.svelte
index 4e185f5d..2c6c8d06 100644
--- a/src/lib/components/ui/Dialog.svelte
+++ b/src/lib/components/ui/Dialog.svelte
@@ -1,28 +1,21 @@