app

Local-first trade for farms and co-ops
git clone https://radroots.dev/git/app.git
Log | Files | Refs | README | LICENSE

commit dc3e9d0523480220ccbb7cc307060cb53fa2f58b
parent 38d78a5705b3e0ef1acf5ed7239c2126700c3a2a
Author: triesap <137732411+triesap@users.noreply.github.com>
Date:   Mon,  9 Dec 2024 16:32:59 +0000

Edit styles

Diffstat:
Msrc/routes/(app)/farm/land/add/+page.svelte | 12++++++------
Msrc/routes/(app)/models/nostr-profile/view/+page.svelte | 8++++----
Msrc/routes/(app)/models/nostr-relay/view/+page.svelte | 6+++---
Msrc/routes/(app)/settings/profile/edit/+page.svelte | 2+-
Mtailwind.config.ts | 19+++++++------------
5 files changed, 21 insertions(+), 26 deletions(-)

diff --git a/src/routes/(app)/farm/land/add/+page.svelte b/src/routes/(app)/farm/land/add/+page.svelte @@ -208,7 +208,7 @@ class={`flex flex-row w-full justify-start items-center`} > <p - class={`font-sansd text-trellisTitle text-layer-0-glyph-label uppercase`} + class={`font-sansd text-trellis_ti text-layer-0-glyph-label uppercase`} > {`${$ls(`common.location`)}`} </p> @@ -227,7 +227,7 @@ class={`flex flex-col w-full gap-1 justify-start items-start`} > <p - class={`font-sansd text-trellisTitle text-layer-0-glyph-label uppercase`} + class={`font-sansd text-trellis_ti text-layer-0-glyph-label uppercase`} > {`${$ls(`common.coordinates`)}`} </p> @@ -256,7 +256,7 @@ class={`flex flex-row w-full justify-start items-center`} > <p - class={`font-sansd text-trellisTitle text-layer-0-glyph-label uppercase`} + class={`font-sansd text-trellis_ti text-layer-0-glyph-label uppercase`} > {`${$ls(`common.farm`)}/${`${$ls(`common.estate`)}`}`} </p> @@ -292,7 +292,7 @@ class={`flex flex-row w-full gap-1 justify-start items-center`} > <p - class={`font-sansd text-trellisTitle text-layer-0-glyph-label uppercase`} + class={`font-sansd text-trellis_ti text-layer-0-glyph-label uppercase`} > {`${$ls(`common.area`)}`} </p> @@ -356,7 +356,7 @@ class={`flex flex-row w-full gap-1 justify-start items-center`} > <p - class={`font-sansd text-trellisTitle text-layer-0-glyph-label uppercase`} + class={`font-sansd text-trellis_ti text-layer-0-glyph-label uppercase`} > {`${$ls(`common.elevation`)}`} </p> @@ -416,7 +416,7 @@ class={`flex flex-row w-full justify-start items-center`} > <p - class={`font-sansd text-trellisTitle text-layer-0-glyph-label uppercase`} + class={`font-sansd text-trellis_ti text-layer-0-glyph-label uppercase`} > {`${$ls(`common.climate`)}`} </p> diff --git a/src/routes/(app)/models/nostr-profile/view/+page.svelte b/src/routes/(app)/models/nostr-profile/view/+page.svelte @@ -236,11 +236,11 @@ label: { swap: { on: { - classes: `pl-1 text-trellisTitleNote uppercase -translate-y-[1px] -translate-x-[2px] text-layer-0-glyph-shade`, + classes: `pl-1 text-trellis_tiNote uppercase -translate-y-[1px] -translate-x-[2px] text-layer-0-glyph-shade`, value: `${$ls(`common.npub`)}`, }, off: { - classes: `pl-1 text-trellisTitleNote uppercase -translate-y-[1px] -translate-x-[6px] text-layer-0-glyph-shade`, + classes: `pl-1 text-trellis_tiNote uppercase -translate-y-[1px] -translate-x-[6px] text-layer-0-glyph-shade`, value: `${$ls(`common.hex`)}`, }, toggle: show_public_key_hex, @@ -321,11 +321,11 @@ label: { swap: { on: { - classes: `pl-1 text-trellisTitleNote uppercase -translate-y-[1px] -translate-x-[2px] text-layer-0-glyph-shade`, + classes: `pl-1 text-trellis_tiNote uppercase -translate-y-[1px] -translate-x-[2px] text-layer-0-glyph-shade`, value: `${$ls(`common.nsec`)}`, }, off: { - classes: `pl-1 text-trellisTitleNote uppercase -translate-y-[1px] -translate-x-[6px] text-layer-0-glyph-shade`, + classes: `pl-1 text-trellis_tiNote uppercase -translate-y-[1px] -translate-x-[6px] text-layer-0-glyph-shade`, value: `${$ls(`common.hex`)}`, }, toggle: vl_secret_key_unlock diff --git a/src/routes/(app)/models/nostr-relay/view/+page.svelte b/src/routes/(app)/models/nostr-relay/view/+page.svelte @@ -336,7 +336,7 @@ visible: show_edit, buttons: [ { - classes: `text-envelopeButtonCancel text-layer-1-glyph-hl`, + classes: `text-env_btnc text-layer-1-glyph-hl`, label: `${$ls(`common.cancel`)}`, callback: async () => { show_edit = false; @@ -344,8 +344,8 @@ }, { classes: $nostr_relays_connected.includes(ld.nostr_relay.id) - ? `text-envelopeButtonLabel text-red-400` - : `text-envelopeButtonLabel text-success`, + ? `text-env_btnl text-red-400` + : `text-env_btnl text-success`, label: $nostr_relays_connected.includes(ld.nostr_relay.id) ? `${$ls(`icu.disconnect_*`, { value: `${$ls(`common.relay`)}` })}` : `${$ls(`icu.connect_*`, { value: `${$ls(`common.relay`)}` })}`, diff --git a/src/routes/(app)/settings/profile/edit/+page.svelte b/src/routes/(app)/settings/profile/edit/+page.svelte @@ -134,7 +134,7 @@ > <div class={`flex flex-row w-full pl-2 justify-start items-center`}> <p - class={`font-sans text-trellisTitle text-layer-0-glyph-label uppercase`} + class={`font-sans text-trellis_ti text-layer-0-glyph-label uppercase`} > {translated_field_key.replace(/profile /i, ``)} </p> diff --git a/tailwind.config.ts b/tailwind.config.ts @@ -118,18 +118,13 @@ const config: Config = { fontSize: { guide: [`1.2rem`, { lineHeight: `1.2rem` }], line_label: [`1.3rem`, { lineHeight: `1.3rem` }], - trellisTitle: [`0.8rem`, { lineHeight: `1rem`, fontWeight: 300 }], - trellisTitleNote: [`0.76rem`, { lineHeight: `1rem`, fontWeight: 200 }], - line_display: [`1.05rem`, { lineHeight: `1.33rem`, fontWeight: 400 }], - line_display_e: [`1.05rem`, { lineHeight: `1.33rem`, fontWeight: 500 }], - trellisLabel: [`0.8rem`, { lineHeight: `1rem`, fontWeight: 200 }], - navPrevious: [`1.09rem`, { lineHeight: `1.33rem`, fontWeight: 400 }], - navCurrent: [`1.09rem`, { lineHeight: `1.33rem`, fontWeight: 500 }], - envelopeTitle: [`1.05rem`, { lineHeight: `1.75rem`, fontWeight: 600 }], - envelopeTitlePrevious: [`1.02rem`, { lineHeight: `1.75rem`, fontWeight: 400 }], - envelopeTitleAction: [`1.02rem`, { lineHeight: `1.75rem`, fontWeight: 500 }], - envelopeButtonCancel: [`1.1rem`, { lineHeight: `1.75rem`, fontWeight: 600 }], - envelopeButtonLabel: [`1.1rem`, { lineHeight: `1.75rem`, fontWeight: 500 }], + trellis_ti: [`0.8rem`, { lineHeight: `1rem`, fontWeight: 300 }], + line_d: [`1.05rem`, { lineHeight: `1.33rem`, fontWeight: 400 }], + nav_prev: [`1.09rem`, { lineHeight: `1.33rem`, fontWeight: 400 }], + nav_curr: [`1.09rem`, { lineHeight: `1.33rem`, fontWeight: 500 }], + env_ti: [`1.05rem`, { lineHeight: `1.75rem`, fontWeight: 600 }], + env_btnc: [`1.1rem`, { lineHeight: `1.75rem`, fontWeight: 600 }], + env_btnl: [`1.1rem`, { lineHeight: `1.75rem`, fontWeight: 500 }], }, gridTemplateColumns: { '16': `repeat(16, minmax(0, 1fr))`,