Skip to content

Commit 72226e8

Browse files
committed
fix some component styles
1 parent f4a22ce commit 72226e8

7 files changed

Lines changed: 14 additions & 28 deletions

File tree

.changeset/ready-brooms-bet.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@fuzdev/fuz_gitops': patch
3+
---
4+
5+
fix some component styles

package-lock.json

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"devDependencies": {
4141
"@changesets/changelog-git": "^0.2.1",
4242
"@fuzdev/fuz_code": "^0.45.0",
43-
"@fuzdev/fuz_css": "^0.49.1",
43+
"@fuzdev/fuz_css": "^0.50.0",
4444
"@fuzdev/fuz_ui": "^0.183.1",
4545
"@fuzdev/fuz_util": "^0.50.1",
4646
"@fuzdev/gro": "^0.192.1",

src/lib/ReposTable.svelte

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -179,12 +179,7 @@
179179
td {
180180
padding: 0 var(--space_xs);
181181
}
182-
tr:hover {
183-
background-color: var(--fg_50);
184-
}
185182
.latest {
186-
/* TODO even lighter, add `--text_color_7` to Fuz probably, or change the scaling of `--text_color_3` and `--text_color_5` */
187183
color: var(--text_50);
188-
opacity: var(--disabled_opacity);
189184
}
190185
</style>

src/lib/ReposTreeNav.svelte

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
</script>
1717

1818
<nav>
19-
<menu class="names panel p_md">
19+
<menu class="panel p_md">
2020
{#each repos as repo (repo.name)}
2121
{@const selected = repo === selected_repo}
2222
<li style:display="contents">
@@ -44,14 +44,4 @@
4444
padding: var(--space_lg);
4545
padding-right: 0;
4646
}
47-
.names {
48-
padding: var(--space_md);
49-
}
50-
/* TODO should be a CSS class or variable, probably add :focus behavior */
51-
.names a:hover {
52-
background-color: var(--fg_50);
53-
}
54-
.names a:is(:active, .selected) {
55-
background-color: var(--fg_70);
56-
}
5747
</style>

src/routes/fuz.css

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,6 @@
9898
--duration_5: 1.5s;
9999
--fg_10: var(--darken_10);
100100
--fg_20: var(--darken_20);
101-
--fg_50: var(--darken_50);
102-
--fg_70: var(--darken_70);
103101
--font_family_mono: ui-monospace, 'Fira Mono', monospace;
104102
--font_family_sans:
105103
system-ui, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
@@ -267,8 +265,6 @@
267265
--color_j_50: hsl(var(--hue_j) 55% 54%);
268266
--fg_10: var(--lighten_10);
269267
--fg_20: var(--lighten_20);
270-
--fg_50: var(--lighten_50);
271-
--fg_70: var(--lighten_70);
272268
--link_color: hsl(var(--hue_a) 61% 58%);
273269
--shade_00: hsl(var(--tint_hue) var(--tint_saturation) 6%);
274270
--shade_10: hsl(var(--tint_hue) var(--tint_saturation) 12%);
@@ -465,7 +461,7 @@ body {
465461
margin-bottom: var(--space_xl7);
466462
}
467463

468-
:where(.row, .box, .column) > * {
464+
:where(.row > *) {
469465
margin: 0;
470466
}
471467

src/routes/library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"devDependencies": {
5252
"@changesets/changelog-git": "^0.2.1",
5353
"@fuzdev/fuz_code": "^0.45.0",
54-
"@fuzdev/fuz_css": "^0.49.1",
54+
"@fuzdev/fuz_css": "^0.50.0",
5555
"@fuzdev/fuz_ui": "^0.183.1",
5656
"@fuzdev/fuz_util": "^0.50.1",
5757
"@fuzdev/gro": "^0.192.1",

0 commit comments

Comments
 (0)