Skip to content

Commit 6cb7fb0

Browse files
authored
ui-updates-162 (#10547)
* remove unused tray icon * fix(gitignore normalize release directory entry in .git * update regular app icons * feat(ui): make tooltips less distracting in light mode * feat(ui): update settings modal design * fix ui (actions button): broken transition
1 parent 040be32 commit 6cb7fb0

39 files changed

+63
-44
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# will have compiled rust files and executables
22
/target/
3-
release/
3+
/release/
44
generated-archives/
55
generated-do-not-edit/
66

apps/desktop/src/components/ChromeHeader.svelte

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -330,10 +330,7 @@
330330
.actions-icon__monitor {
331331
transform-box: fill-box;
332332
transform-origin: center;
333-
transition:
334-
fill 0.2s,
335-
stroke 0.2s,
336-
transform 0.3s;
333+
transition: transform 0.3s;
337334
}
338335
339336
.actions-icon__star {

apps/desktop/src/components/SettingsModalLayout.svelte

Lines changed: 36 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -35,30 +35,32 @@
3535
</script>
3636

3737
<div class="modal-settings-wrapper">
38-
<div class="settings-sidebar" use:focusable>
39-
<h3 class="settings-sidebar__title text-16 text-bold">{title}</h3>
40-
<div class="settings-sidebar__links">
41-
{#each pages.filter((p) => !p.adminOnly || isAdmin) as page}
42-
{@const selected = page.id === currentSelectedId}
43-
<button
44-
type="button"
45-
class="text-14 text-semibold settings-sidebar__links-item"
46-
class:selected
47-
onclick={() => selectPage(page.id)}
48-
>
49-
<div class="settings-sidebar__links-item__icon">
50-
<Icon name={page.icon} />
51-
</div>
52-
<span>{page.label}</span>
53-
</button>
54-
{/each}
55-
</div>
56-
57-
{#if footer}
58-
<div class="settings-sidebar__footer">
59-
{@render footer()}
38+
<div class="settings-sidebar__wrapper">
39+
<div class="settings-sidebar" use:focusable>
40+
<h3 class="settings-sidebar__title text-16 text-bold">{title}</h3>
41+
<div class="settings-sidebar__links">
42+
{#each pages.filter((p) => !p.adminOnly || isAdmin) as page}
43+
{@const selected = page.id === currentSelectedId}
44+
<button
45+
type="button"
46+
class="text-14 text-semibold settings-sidebar__links-item"
47+
class:selected
48+
onclick={() => selectPage(page.id)}
49+
>
50+
<div class="settings-sidebar__links-item__icon">
51+
<Icon name={page.icon} />
52+
</div>
53+
<span>{page.label}</span>
54+
</button>
55+
{/each}
6056
</div>
61-
{/if}
57+
58+
{#if footer}
59+
<div class="settings-sidebar__footer">
60+
{@render footer()}
61+
</div>
62+
{/if}
63+
</div>
6264
</div>
6365

6466
<section class="page-view" use:focusable={{ vertical: true }}>
@@ -79,13 +81,22 @@
7981
max-height: 1000px;
8082
}
8183
84+
.settings-sidebar__wrapper {
85+
flex: 0 0 230px;
86+
padding: 8px;
87+
padding-right: 0;
88+
background-color: var(--clr-bg-2);
89+
}
90+
8291
.settings-sidebar {
8392
display: flex;
8493
flex-direction: column;
8594
width: 100%;
86-
max-width: 210px;
95+
height: 100%;
8796
padding: 16px 12px 12px 12px;
88-
border-right: 1px solid var(--clr-border-2);
97+
overflow: hidden;
98+
border: 1px solid var(--clr-border-2);
99+
border-radius: var(--radius-m);
89100
background-color: var(--clr-bg-1);
90101
}
91102
-6.06 KB
Binary file not shown.
-13.5 KB
Binary file not shown.
-1.3 KB
Binary file not shown.
-4.66 KB
Binary file not shown.
-6.7 KB
Binary file not shown.
-7.13 KB
Binary file not shown.
-15.2 KB
Binary file not shown.

0 commit comments

Comments
 (0)