commit 691ce11675f9d1130859ddb6a9f9335890b8c9a0
parent 82a83ec7800be4364cc18dfba4de3b8e182fa9c8
Author: triesap <137732411+triesap@users.noreply.github.com>
Date: Thu, 14 Nov 2024 04:41:16 +0000
apps-lib: edit component, element styles. add locales
Diffstat:
4 files changed, 12 insertions(+), 11 deletions(-)
diff --git a/apps-lib/src/lib/components/envelope_lower.svelte b/apps-lib/src/lib/components/envelope_lower.svelte
@@ -33,11 +33,11 @@
<div
in:fly={{ y: `100%`, easing: quintInOut }}
out:fly={{ y: `100%`, easing: quintInOut }}
- class={`z-20 absolute bottom-0 left-0 flex flex-col h-[100vh] w-full justify-start items-start`}
+ class={`z-10 absolute bottom-0 left-0 flex flex-col h-[100vh] w-full justify-start items-start bg-transparent`}
>
{#if !basis.full_cover}
<button
- class={`flex flex-row h-[12%] w-full justify-center items-center text-white`}
+ class={`flex flex-row h-[12%] w-full justify-center items-center`}
on:click={async () => {
await handle_close();
}}
@@ -46,7 +46,7 @@
</button>
{/if}
<div
- class={`relative flex flex-col ${basis.full_cover ? `h-[100vh]` : `h-[calc(100vh-12%)]`} w-full justify-start justify-start items-start bg-layer-1-surface rounded-t-3xl overflow-hidden`}
+ class={`relative flex flex-col ${basis.full_cover ? `h-[100vh]` : `h-[calc(100vh-12%)]`} w-full justify-start justify-start items-start bg-red-400 rounded-t-3xl overflow-hidden`}
>
<div
class={`absolute z-10 top-0 left-0 grid grid-cols-12 flex flex-row h-12 w-full px-4 pb-2 justify-center items-center ${el_c_scrolled ? `bg-layer-1-surface/30 backdrop-blur-lg` : ``} el-re`}
@@ -92,7 +92,7 @@
<div
bind:this={el_c}
on:scroll={handle_scroll}
- class={`flex flex-col w-full ${basis.full_cover ? `h-full` : `pt-12`} justify-start items-center overflow-y-scroll overflow-x-hidden scroll-hide`}
+ class={`flex flex-col ${basis.full_cover ? `h-full` : `pt-12 `} w-full justify-start items-center overflow-y-scroll overflow-x-hidden scroll-hide bg-blue-400`}
>
<slot />
</div>
diff --git a/apps-lib/src/lib/el/fill.svelte b/apps-lib/src/lib/el/fill.svelte
@@ -1,3 +1,3 @@
-<div class={`flex flex-fill text-transparent`}>
+<div class={`flex flex-fill text-transparent bg-transparent`}>
<p class={`font-sans`}>{`~`}</p>
</div>
diff --git a/apps-lib/src/lib/locales/en/common.json b/apps-lib/src/lib/locales/en/common.json
@@ -1,9 +1,4 @@
{
- "dark": "Dark",
- "light": "Light",
- "color_mode": "Color mode",
- "endpoint": "Endpoint",
- "new": "New",
"accept": "Accept",
"activation": "Activation",
"active": "Active",
@@ -21,12 +16,14 @@
"business_name": "Business name",
"cancel": "Cancel",
"close": "Close",
+ "color_mode": "Color mode",
"configure": "Configure",
"connect": "Connect",
"connected": "Connected",
"connection": "Connection",
"continue": "Continue",
"current_location": "Current location",
+ "dark": "Dark",
"date_created": "Date created",
"date_modified": "Date modified",
"delete": "Delete",
@@ -39,6 +36,7 @@
"done": "Done",
"edit": "Edit",
"end_date": "End date",
+ "endpoint": "Endpoint",
"failure_to_process_the_request": "Failure to process the request",
"file_name": "File name",
"file_size": "File size",
@@ -53,6 +51,7 @@
"keypair": "Keypair",
"keys": "Keys",
"latitude": "Latitude",
+ "light": "Light",
"list": "List",
"listing": "Listing",
"location": "Location",
@@ -68,6 +67,7 @@
"messages": "Messages",
"month": "Month",
"month_to_date": "Month to date",
+ "new": "New",
"no": "No",
"no_items_to_display": "No items to display",
"no_locations_saved": "No locations saved",
diff --git a/apps-lib/src/lib/locales/en/icu.json b/apps-lib/src/lib/locales/en/icu.json
@@ -1,5 +1,4 @@
{
- "toggle_*": "Toggle {value}",
"*_as": "{value} as",
"*_available": "{value} Available",
"*_copied": "{value} copied",
@@ -66,7 +65,9 @@
"the_*_is_registered": "The {value} is registered",
"the_*_is_required": "The {value} is missing",
"the_current_entry_*_will_be_deleted": "The current entry \"{value}\" will be deleted",
+ "the_listing_will_be_created_without_a_*": "The listing will be created without a {value}",
"this_*": "This {value}",
+ "toggle_*": "Toggle {value}",
"total_*": "Total {value}",
"unable_to_save_*": "Unable to save {value}",
"unconnected_*": "Unconnected {value}",