Skip to content

Commit 5a94049

Browse files
feat: replace theme-selector with settings-menu and add styling for settings dropdown
1 parent 913cc6d commit 5a94049

File tree

4 files changed

+14
-8
lines changed

4 files changed

+14
-8
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# coolify-tweaks
22

3+
## 3.7.3
4+
5+
### Patch Changes
6+
7+
- feat: replace theme-selector with settings-menu and add styling for settings dropdown
8+
39
## 3.7.2
410

511
### Patch Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "coolify-tweaks",
3-
"version": "3.7.2",
3+
"version": "3.7.3",
44
"description": "Opinionated tweaks for Coolify: better spacing, layout, and color polish.",
55
"author": {
66
"name": "Anirudh Sriram",

src/components/_index.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
@use 'grid';
77
@use 'navbar';
88
@use 'sidebar';
9-
@use 'theme-selector';
9+
@use 'settings-menu';
1010
@use 'spinner';

src/components/_theme-selector.scss renamed to src/components/_settings-menu.scss

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,25 +17,25 @@ button:has([title='Settings']) {
1717
justify-content: center;
1818
}
1919

20-
& > svg.w-4.h-4 {
21-
display: none;
20+
& > svg.w-5.h-5 {
21+
@include icon('gear-fill', 'fill');
2222
}
2323
}
2424

2525
.dropdown-item-no-padding[wire\:click='openWhatsNewModal'] svg {
26-
@include icon('file-text-fill', 'fill');
26+
@include icon('list-magnifying-glass-duotone', 'duotone');
2727
}
2828

2929
.dropdown-item-no-padding[\@click^="setTheme('dark')"] svg {
30-
@include icon('moon-fill', 'fill');
30+
@include icon('moon-duotone', 'duotone');
3131
}
3232

3333
.dropdown-item-no-padding[\@click^="setTheme('light')"] svg {
34-
@include icon('sun-fill', 'fill');
34+
@include icon('sun-duotone', 'duotone');
3535
}
3636

3737
.dropdown-item-no-padding[\@click^="setTheme('system')"] svg {
38-
@include icon('desktop-fill', 'fill');
38+
@include icon('desktop-duotone', 'duotone');
3939
}
4040

4141
div:has(div[x-show='dropdownOpen']:not([style*='display: none'])) button:has([title='Settings']) {

0 commit comments

Comments
 (0)