Skip to content

Commit 5c38719

Browse files
authored
upgrade fuz_css (#19)
1 parent eec112d commit 5c38719

40 files changed

Lines changed: 417 additions & 292 deletions

.github/workflows/check.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,4 @@ jobs:
2727
- run: cp src/lib/server/.env.development.example .env.development
2828
- run: cp src/lib/server/.env.production.example .env.production
2929
- run: npx svelte-kit sync
30-
- run: npx @ryanatkn/gro check --workspace
31-
- run: npx @ryanatkn/gro build
30+
- run: npx @ryanatkn/gro check --workspace --build

package-lock.json

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

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,16 +37,16 @@
3737
},
3838
"devDependencies": {
3939
"@changesets/changelog-git": "^0.2.1",
40-
"@fuzdev/fuz_code": "^0.40.0",
41-
"@fuzdev/fuz_css": "^0.44.1",
42-
"@fuzdev/fuz_ui": "^0.179.0",
43-
"@fuzdev/fuz_util": "^0.45.3",
40+
"@fuzdev/fuz_code": "^0.41.0",
41+
"@fuzdev/fuz_css": "^0.45.0",
42+
"@fuzdev/fuz_ui": "^0.180.0",
43+
"@fuzdev/fuz_util": "^0.48.2",
4444
"@ryanatkn/eslint-config": "^0.9.0",
45-
"@ryanatkn/gro": "^0.186.0",
45+
"@ryanatkn/gro": "^0.189.3",
4646
"@sveltejs/adapter-node": "^5.4.0",
4747
"@sveltejs/adapter-static": "^3.0.10",
48-
"@sveltejs/kit": "^2.49.1",
49-
"@sveltejs/vite-plugin-svelte": "^6.2.1",
48+
"@sveltejs/kit": "^2.50.1",
49+
"@sveltejs/vite-plugin-svelte": "^6.2.4",
5050
"@types/node": "^24.10.1",
5151
"@webref/css": "^8.2.0",
5252
"eslint": "^9.39.1",
@@ -55,8 +55,8 @@
5555
"ollama": "^0.6.3",
5656
"prettier": "^3.7.4",
5757
"prettier-plugin-svelte": "^3.4.1",
58-
"svelte": "^5.45.6",
59-
"svelte-check": "^4.3.4",
58+
"svelte": "^5.48.5",
59+
"svelte-check": "^4.3.5",
6060
"tslib": "^2.8.1",
6161
"typescript": "^5.9.3",
6262
"typescript-eslint": "^8.48.1",

src/lib/ChatThread.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
icon="svg"
9797
icon_props={{size: 'var(--font_size_sm)'}}
9898
show_name
99-
/>{#if provider_error}<span class="color_c_5 ml_sm"
99+
/>{#if provider_error}<span class="color_c_50 ml_sm"
100100
><Glyph glyph={GLYPH_ERROR} /> {provider_error}</span
101101
>{/if}</small
102102
>
@@ -123,7 +123,7 @@
123123
{pending}
124124
disabled={send_disabled}
125125
onclick={send}
126-
class="plain {provider_error ? ' color_c_5' : ''}"
126+
class="plain {provider_error ? ' color_c_50' : ''}"
127127
title={provider?.available
128128
? `send ${input_token_count} tokens to ${thread.model_name}`
129129
: (provider_error ?? undefined)}
@@ -150,7 +150,7 @@
150150
display: flex;
151151
flex-direction: column;
152152
gap: var(--space_md);
153-
background-color: var(--bg);
153+
background-color: var(--shade_00);
154154
border-radius: var(--border_radius_xs);
155155
}
156156

src/lib/ChatThreadManageByTag.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
{/each}
3838
</menu>
3939
</div>
40-
<div class="flex:1 p_xs fg_1">
40+
<div class="flex:1 p_xs shade_10">
4141
<header class="font_size_lg text-align:center mb_xs">remove by tag</header>
4242
<menu class="unstyled column">
4343
{#each tags as tag (tag)}

src/lib/ConfirmButton.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
{/snippet}
8484

8585
<style>
86-
/* TODO these are a hack, fix after changing fuz_css to opaque bg colors (and use color_c_2 or something) */
86+
/* TODO these are a hack, fix after changing fuz_css to opaque surface colors (and use color_c_20 or something) */
8787
button {
8888
background-color: #fff;
8989
}

src/lib/ContentPreview.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@
2121
style:height
2222
style:min-height={min_height}
2323
style:max-height={max_height}
24-
class="flex:1 width:100% overflow:auto scrollbar-width:thin border_radius_xs font_family_sans font_size_sm fg_1 px_md py_xs {attrs?.class}">{content}</pre>
24+
class="flex:1 width:100% overflow:auto scrollbar-width:thin border_radius_xs font_family_sans font_size_sm shade_10 px_md py_xs {attrs?.class}">{content}</pre>

src/lib/Dashboard.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,14 +123,14 @@
123123
<Svg
124124
data={logo_zzz}
125125
size="var(--icon_size_md)"
126-
fill={app.futuremode ? 'var(--color_h_5)' : undefined}
126+
fill={app.futuremode ? 'var(--color_h_50)' : undefined}
127127
style="transition: transform 200ms ease"
128128
class={app.futuremode ? 'transform:scaleX(-1)' : ''}
129129
/>
130130
</NavLink>
131131
</div>
132132
{:else}
133-
<div class="font_size_xl font_family_serif mt_xl7 mb_md text_color_3">
133+
<div class="font_size_xl font_family_serif mt_xl7 mb_md text_70">
134134
{section.group}
135135
</div>
136136
{/if}
@@ -145,7 +145,7 @@
145145
<span class="icon_xs">
146146
<Svg
147147
data={link.icon}
148-
fill={selected ? 'var(--link_color)' : 'var(--text_color_1)'}
148+
fill={selected ? 'var(--link_color)' : 'var(--text_90)'}
149149
size="var(--icon_size_xs)"
150150
/>
151151
</span>

src/lib/DashboardHome.svelte

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<div class="panel p_md flex:1 width_atleast_sm" style:max-width="480px">
1919
<h3 class="mt_0 mb_lg display:flex align-items:center justify-content:space-between">
2020
<a
21-
class="font-weight:500 text_color_2"
21+
class="font-weight:500 text_80"
2222
href={/* eslint-disable-line svelte/no-navigation-without-resolve */ to_nav_link_href(
2323
app,
2424
'chats',
@@ -57,7 +57,7 @@
5757
<div class="panel p_md flex:1 width_atleast_sm" style:max-width="480px">
5858
<h3 class="mt_0 mb_lg display:flex align-items:center justify-content:space-between">
5959
<a
60-
class="font-weight:500 text_color_2"
60+
class="font-weight:500 text_80"
6161
href={/* eslint-disable-line svelte/no-navigation-without-resolve */ to_nav_link_href(
6262
app,
6363
'prompts',
@@ -94,7 +94,7 @@
9494
</div>
9595
<div class="panel p_md flex:1 width_atleast_sm" style:max-width="480px">
9696
<div class="mb_lg">
97-
<a href={resolve('/providers')} class="text_color_2"
97+
<a href={resolve('/providers')} class="text_80"
9898
><Glyph glyph={GLYPH_PROVIDER} />
9999
<h3 class="display:inline my_0">providers</h3></a
100100
>
@@ -117,7 +117,7 @@
117117
</div>
118118
<div class="panel p_md flex:1 width_atleast_sm" style:max-width="480px">
119119
<div class="mb_lg">
120-
<a href={resolve('/models')} class="text_color_2"
120+
<a href={resolve('/models')} class="text_80"
121121
><Glyph glyph={GLYPH_MODEL} />
122122
<h3 class="display:inline my_0">models</h3></a
123123
>

0 commit comments

Comments
 (0)