Align web loading and icons with meditation logo
This commit is contained in:
1 parent
f03acd1d06
commit
35f7807d40
9 files changed
+65
-43
No files matched your search
@@ -31,6 +31,7 @@
|
|||||||
- Lightfield buttons and glow settings now update with the selected style, and glow is scoped to styles that support it.
|
- Lightfield buttons and glow settings now update with the selected style, and glow is scoped to styles that support it.
|
||||||
- Material sliders keep labels and values readable instead of floating too high or drawing white text on pale slider fills.
|
- Material sliders keep labels and values readable instead of floating too high or drawing white text on pale slider fills.
|
||||||
- Android masked app icons use a gentle blue background instead of black.
|
- Android masked app icons use a gentle blue background instead of black.
|
||||||
|
- Web loading screens and browser icons now show the current meditation logo.
|
||||||
- Emptying a list no longer restores the initial sample data.
|
- Emptying a list no longer restores the initial sample data.
|
||||||
- Improved text selection, keyboard focus, and composition handling when editing text.
|
- Improved text selection, keyboard focus, and composition handling when editing text.
|
||||||
- Connecting to sync runs in the background so network requests do not block the interface.
|
- Connecting to sync runs in the background so network requests do not block the interface.
|
||||||
|
|||||||
@@ -513,6 +513,7 @@ endif
|
|||||||
KRYON_WINDOWS_SRCS += $(KRYON_RAYLIB_WRAPPERS_C)
|
KRYON_WINDOWS_SRCS += $(KRYON_RAYLIB_WRAPPERS_C)
|
||||||
KRYON_CLICK_SRCS += $(KRYON_RAYLIB_WRAPPERS_C)
|
KRYON_CLICK_SRCS += $(KRYON_RAYLIB_WRAPPERS_C)
|
||||||
WEB_CACHE_BUSTER ?= $(shell if git diff --quiet --ignore-submodules HEAD -- 2>/dev/null; then git rev-parse --short HEAD 2>/dev/null; else date +%s; fi)
|
WEB_CACHE_BUSTER ?= $(shell if git diff --quiet --ignore-submodules HEAD -- 2>/dev/null; then git rev-parse --short HEAD 2>/dev/null; else date +%s; fi)
|
||||||
|
WEB_CACHE_BUSTER := $(WEB_CACHE_BUSTER)
|
||||||
WEB_TARGET := $(WEB_DIST_DIR)/index.html
|
WEB_TARGET := $(WEB_DIST_DIR)/index.html
|
||||||
WEB_APP_SCRIPT := <script>window.__inbeRenderer="canvas";window.__inbeLoadApp("index.js?v=$(WEB_CACHE_BUSTER)")</script>
|
WEB_APP_SCRIPT := <script>window.__inbeRenderer="canvas";window.__inbeLoadApp("index.js?v=$(WEB_CACHE_BUSTER)")</script>
|
||||||
WEB_JS_TARGET := $(WEB_DIST_DIR)/index.js
|
WEB_JS_TARGET := $(WEB_DIST_DIR)/index.js
|
||||||
@@ -1563,7 +1564,7 @@ $(WEB_TARGET): src/web_shell.html $(WEB_BOOT_JS) $(WEB_JS_TARGET) vendor/kryon/w
|
|||||||
rm -rf $(WEB_DIST_DIR)/web-assets/dl
|
rm -rf $(WEB_DIST_DIR)/web-assets/dl
|
||||||
rm -f $(WEB_DIST_DIR)/web-assets/canvas_index.html
|
rm -f $(WEB_DIST_DIR)/web-assets/canvas_index.html
|
||||||
cp -R site-icons $(WEB_DIST_DIR)/
|
cp -R site-icons $(WEB_DIST_DIR)/
|
||||||
cp manifest.json $(WEB_DIST_DIR)/webmanifest.json
|
perl -0pe 's/WEB_CACHE_BUSTER/$(WEB_CACHE_BUSTER)/g' manifest.json > $(WEB_DIST_DIR)/webmanifest.json
|
||||||
|
|
||||||
web-canvas: web
|
web-canvas: web
|
||||||
|
|
||||||
@@ -1598,7 +1599,7 @@ $(WEB_CANVAS_TARGET): Makefile $(WEB_SRC) $(KRYON_CANVAS_SRCS) $(SQLITE_SRC) $(S
|
|||||||
rm -rf $(WEB_CANVAS_DIR)/web-assets/dl
|
rm -rf $(WEB_CANVAS_DIR)/web-assets/dl
|
||||||
rm -f $(WEB_CANVAS_DIR)/web-assets/canvas_index.html
|
rm -f $(WEB_CANVAS_DIR)/web-assets/canvas_index.html
|
||||||
cp -R site-icons $(WEB_CANVAS_DIR)/
|
cp -R site-icons $(WEB_CANVAS_DIR)/
|
||||||
cp manifest.json $(WEB_CANVAS_DIR)/webmanifest.json
|
perl -0pe 's/WEB_CACHE_BUSTER/$(WEB_CACHE_BUSTER)/g' manifest.json > $(WEB_CANVAS_DIR)/webmanifest.json
|
||||||
|
|
||||||
android-copy-assets:
|
android-copy-assets:
|
||||||
$(MAKE) $(FONT_FILES)
|
$(MAKE) $(FONT_FILES)
|
||||||
|
|||||||
@@ -30,6 +30,7 @@ Fixed
|
|||||||
- Lightfield buttons and glow settings now update with the selected style, and glow is scoped to styles that support it.
|
- Lightfield buttons and glow settings now update with the selected style, and glow is scoped to styles that support it.
|
||||||
- Material sliders keep labels and values readable instead of floating too high or drawing white text on pale slider fills.
|
- Material sliders keep labels and values readable instead of floating too high or drawing white text on pale slider fills.
|
||||||
- Android masked app icons use a gentle blue background instead of black.
|
- Android masked app icons use a gentle blue background instead of black.
|
||||||
|
- Web loading screens and browser icons now show the current meditation logo.
|
||||||
- Emptying a list no longer restores the initial sample data.
|
- Emptying a list no longer restores the initial sample data.
|
||||||
- Improved text selection, keyboard focus, and composition handling when editing text.
|
- Improved text selection, keyboard focus, and composition handling when editing text.
|
||||||
- Connecting to sync runs in the background so network requests do not block the interface.
|
- Connecting to sync runs in the background so network requests do not block the interface.
|
||||||
|
|||||||
+6
-6
@@ -3,27 +3,27 @@
|
|||||||
"short_name": "Inbe",
|
"short_name": "Inbe",
|
||||||
"start_url": "/",
|
"start_url": "/",
|
||||||
"display": "fullscreen",
|
"display": "fullscreen",
|
||||||
"background_color": "#1a1a2e",
|
"background_color": "#e6f1fa",
|
||||||
"theme_color": "#779999",
|
"theme_color": "#e6f1fa",
|
||||||
"icons": [
|
"icons": [
|
||||||
{
|
{
|
||||||
"src": "/site-icons/icon-192x192.png",
|
"src": "/site-icons/icon-192x192.png?v=WEB_CACHE_BUSTER",
|
||||||
"sizes": "192x192",
|
"sizes": "192x192",
|
||||||
"type": "image/png"
|
"type": "image/png"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"src": "/site-icons/icon-512x512.png",
|
"src": "/site-icons/icon-512x512.png?v=WEB_CACHE_BUSTER",
|
||||||
"sizes": "512x512",
|
"sizes": "512x512",
|
||||||
"type": "image/png"
|
"type": "image/png"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"src": "/site-icons/maskable-192x192.png",
|
"src": "/site-icons/maskable-192x192.png?v=WEB_CACHE_BUSTER",
|
||||||
"sizes": "192x192",
|
"sizes": "192x192",
|
||||||
"type": "image/png",
|
"type": "image/png",
|
||||||
"purpose": "maskable"
|
"purpose": "maskable"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"src": "/site-icons/maskable-512x512.png",
|
"src": "/site-icons/maskable-512x512.png?v=WEB_CACHE_BUSTER",
|
||||||
"sizes": "512x512",
|
"sizes": "512x512",
|
||||||
"type": "image/png",
|
"type": "image/png",
|
||||||
"purpose": "maskable"
|
"purpose": "maskable"
|
||||||
|
|||||||
+4
-3
@@ -7,9 +7,10 @@
|
|||||||
<meta name="description" content="Inner Breeze is a calm, local-first app for guided breathing, meditation, and habit tracking on the web, Android, and desktop.">
|
<meta name="description" content="Inner Breeze is a calm, local-first app for guided breathing, meditation, and habit tracking on the web, Android, and desktop.">
|
||||||
<link rel="canonical" href="https://inbe.waozi.xyz/">
|
<link rel="canonical" href="https://inbe.waozi.xyz/">
|
||||||
<link rel="stylesheet" href="/css/landing.css?v=${asset_version}">
|
<link rel="stylesheet" href="/css/landing.css?v=${asset_version}">
|
||||||
<link rel="manifest" href="/manifest.json">
|
<link rel="manifest" href="/manifest.json?v=${asset_version}">
|
||||||
<link rel="icon" type="image/png" sizes="32x32" href="/site-icons/favicon-32x32.png">
|
<link rel="icon" type="image/png" sizes="32x32" href="/site-icons/favicon-32x32.png?v=${asset_version}">
|
||||||
<link rel="apple-touch-icon" href="/site-icons/apple-touch-icon.png">
|
<link rel="icon" type="image/png" sizes="192x192" href="/site-icons/icon-192x192.png?v=${asset_version}">
|
||||||
|
<link rel="apple-touch-icon" href="/site-icons/apple-touch-icon.png?v=${asset_version}">
|
||||||
<meta name="theme-color" content="#f7f3eb">
|
<meta name="theme-color" content="#f7f3eb">
|
||||||
<meta property="og:type" content="website">
|
<meta property="og:type" content="website">
|
||||||
<meta property="og:url" content="https://inbe.waozi.xyz/">
|
<meta property="og:url" content="https://inbe.waozi.xyz/">
|
||||||
|
|||||||
@@ -11,8 +11,9 @@
|
|||||||
<meta property="og:description" content="Move your original Inner Breeze sessions into the current app—privately, in your browser.">
|
<meta property="og:description" content="Move your original Inner Breeze sessions into the current app—privately, in your browser.">
|
||||||
<meta property="og:image" content="https://inbe.waozi.xyz/og.png">
|
<meta property="og:image" content="https://inbe.waozi.xyz/og.png">
|
||||||
<link rel="canonical" href="https://inbe.waozi.xyz/legacy-converter/">
|
<link rel="canonical" href="https://inbe.waozi.xyz/legacy-converter/">
|
||||||
<link rel="icon" href="/site-icons/favicon-32x32.png" sizes="32x32">
|
<link rel="icon" type="image/png" href="/site-icons/favicon-32x32.png?v=${asset_version}" sizes="32x32">
|
||||||
<link rel="apple-touch-icon" href="/site-icons/apple-touch-icon.png">
|
<link rel="icon" type="image/png" href="/site-icons/icon-192x192.png?v=${asset_version}" sizes="192x192">
|
||||||
|
<link rel="apple-touch-icon" href="/site-icons/apple-touch-icon.png?v=${asset_version}">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class="converter-page">
|
<body class="converter-page">
|
||||||
|
|||||||
@@ -5,16 +5,16 @@
|
|||||||
"start_url": "/build/web/index.html",
|
"start_url": "/build/web/index.html",
|
||||||
"scope": "/",
|
"scope": "/",
|
||||||
"display": "standalone",
|
"display": "standalone",
|
||||||
"background_color": "#1a1a2e",
|
"background_color": "#e6f1fa",
|
||||||
"theme_color": "#5566aa",
|
"theme_color": "#e6f1fa",
|
||||||
"icons": [
|
"icons": [
|
||||||
{
|
{
|
||||||
"src": "/site-icons/icon-192x192.png",
|
"src": "/site-icons/icon-192x192.png?v=${asset_version}",
|
||||||
"sizes": "192x192",
|
"sizes": "192x192",
|
||||||
"type": "image/png"
|
"type": "image/png"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"src": "/site-icons/icon-512x512.png",
|
"src": "/site-icons/icon-512x512.png?v=${asset_version}",
|
||||||
"sizes": "512x512",
|
"sizes": "512x512",
|
||||||
"type": "image/png"
|
"type": "image/png"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,8 +7,9 @@
|
|||||||
<meta name="description" content="How Inner Breeze handles local app data, optional sync, social features, browser extension permissions, and connected services.">
|
<meta name="description" content="How Inner Breeze handles local app data, optional sync, social features, browser extension permissions, and connected services.">
|
||||||
<link rel="canonical" href="https://inbe.waozi.xyz/privacy.html">
|
<link rel="canonical" href="https://inbe.waozi.xyz/privacy.html">
|
||||||
<link rel="stylesheet" href="/css/landing.css?v=${asset_version}">
|
<link rel="stylesheet" href="/css/landing.css?v=${asset_version}">
|
||||||
<link rel="icon" type="image/png" sizes="32x32" href="/site-icons/favicon-32x32.png">
|
<link rel="icon" type="image/png" sizes="32x32" href="/site-icons/favicon-32x32.png?v=${asset_version}">
|
||||||
<link rel="apple-touch-icon" href="/site-icons/apple-touch-icon.png">
|
<link rel="icon" type="image/png" sizes="192x192" href="/site-icons/icon-192x192.png?v=${asset_version}">
|
||||||
|
<link rel="apple-touch-icon" href="/site-icons/apple-touch-icon.png?v=${asset_version}">
|
||||||
<meta name="theme-color" content="#f7f3eb">
|
<meta name="theme-color" content="#f7f3eb">
|
||||||
<meta property="og:type" content="website">
|
<meta property="og:type" content="website">
|
||||||
<meta property="og:url" content="https://inbe.waozi.xyz/privacy.html">
|
<meta property="og:url" content="https://inbe.waozi.xyz/privacy.html">
|
||||||
|
|||||||
+40
-24
@@ -6,24 +6,42 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
|
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
|
||||||
<title>Inner Breeze</title>
|
<title>Inner Breeze</title>
|
||||||
<meta property="og:type" content="website">
|
<meta property="og:type" content="website">
|
||||||
<meta property="og:url" content="https://breathing.waozi.xyz/">
|
<meta property="og:url" content="https://inbe.waozi.xyz/">
|
||||||
<meta property="og:title" content="Inner Breeze">
|
<meta property="og:title" content="Inner Breeze">
|
||||||
<meta property="og:description" content="guided breathing, meditation, and habit tracking">
|
<meta property="og:description" content="guided breathing, meditation, and habit tracking">
|
||||||
<meta property="og:image" content="https://breathing.waozi.xyz/og.jpg">
|
<meta property="og:image" content="https://inbe.waozi.xyz/og.png">
|
||||||
<meta name="twitter:card" content="summary_large_image">
|
<meta name="twitter:card" content="summary_large_image">
|
||||||
<meta name="twitter:url" content="https://breathing.waozi.xyz/">
|
<meta name="twitter:url" content="https://inbe.waozi.xyz/">
|
||||||
<meta name="twitter:title" content="Inner Breeze">
|
<meta name="twitter:title" content="Inner Breeze">
|
||||||
<meta name="twitter:description" content="guided breathing, meditation, and habit tracking">
|
<meta name="twitter:description" content="guided breathing, meditation, and habit tracking">
|
||||||
<meta name="twitter:image" content="https://breathing.waozi.xyz/og.jpg">
|
<meta name="twitter:image" content="https://inbe.waozi.xyz/og.png">
|
||||||
<meta name="twitter:site" content="@waozixyz">
|
<meta name="twitter:site" content="@waozixyz">
|
||||||
<meta name="twitter:creator" content="@waozixyz">
|
<meta name="twitter:creator" content="@waozixyz">
|
||||||
<link rel="icon" type="image/png" sizes="32x32" href="site-icons/favicon-32x32.png">
|
<link rel="icon" type="image/png" sizes="32x32" href="site-icons/favicon-32x32.png?v=WEB_CACHE_BUSTER">
|
||||||
<link rel="apple-touch-icon" href="site-icons/apple-touch-icon.png">
|
<link rel="icon" type="image/png" sizes="192x192" href="site-icons/icon-192x192.png?v=WEB_CACHE_BUSTER">
|
||||||
<link rel="manifest" href="webmanifest.json">
|
<link rel="apple-touch-icon" href="site-icons/apple-touch-icon.png?v=WEB_CACHE_BUSTER">
|
||||||
<meta name="theme-color" content="#779999">
|
<link rel="manifest" href="webmanifest.json?v=WEB_CACHE_BUSTER">
|
||||||
|
<meta name="theme-color" content="#e6f1fa" media="(prefers-color-scheme: light)">
|
||||||
|
<meta name="theme-color" content="#182238" media="(prefers-color-scheme: dark)">
|
||||||
<style>
|
<style>
|
||||||
:root {
|
:root {
|
||||||
--app-background: #1a1a2e;
|
--app-background: #e6f1fa;
|
||||||
|
--loading-background: radial-gradient(circle at 50% 38%, #ffffff 0%, #e6f1fa 56%, #d8e9fa 100%);
|
||||||
|
--loading-ink: #1b2a49;
|
||||||
|
--loading-muted: #536b87;
|
||||||
|
--loading-track: rgba(53, 91, 149, 0.17);
|
||||||
|
--loading-progress: #7299d7;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
:root {
|
||||||
|
--app-background: #182238;
|
||||||
|
--loading-background: radial-gradient(circle at 50% 38%, #314c78 0%, #182238 68%, #11182b 100%);
|
||||||
|
--loading-ink: #f7f9ff;
|
||||||
|
--loading-muted: #c5d8ed;
|
||||||
|
--loading-track: rgba(255, 255, 255, 0.18);
|
||||||
|
--loading-progress: #a1c6fa;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
html, body {
|
html, body {
|
||||||
@@ -44,8 +62,8 @@
|
|||||||
|
|
||||||
body {
|
body {
|
||||||
background: var(--app-background);
|
background: var(--app-background);
|
||||||
color: #f7fbf9;
|
color: var(--loading-ink);
|
||||||
font-family: ui-monospace, "SFMono-Regular", "Roboto Mono", "Cascadia Mono", "Liberation Mono", monospace;
|
font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
.canvas-frame {
|
.canvas-frame {
|
||||||
@@ -82,9 +100,7 @@
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
padding: max(24px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
|
padding: max(24px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
background:
|
background: var(--loading-background);
|
||||||
radial-gradient(circle at 50% 38%, rgba(132, 184, 172, 0.24), transparent 36%),
|
|
||||||
linear-gradient(180deg, #222640 0%, #17172a 58%, #10131f 100%);
|
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
transition: opacity 360ms ease, visibility 360ms ease;
|
transition: opacity 360ms ease, visibility 360ms ease;
|
||||||
}
|
}
|
||||||
@@ -104,10 +120,10 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.loading-mark {
|
.loading-mark {
|
||||||
width: 76px;
|
width: 128px;
|
||||||
height: 76px;
|
height: 128px;
|
||||||
border-radius: 18px;
|
object-fit: contain;
|
||||||
box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
|
filter: drop-shadow(0 8px 20px rgba(44, 77, 132, 0.16));
|
||||||
}
|
}
|
||||||
|
|
||||||
.loading-title {
|
.loading-title {
|
||||||
@@ -119,7 +135,7 @@
|
|||||||
|
|
||||||
#status {
|
#status {
|
||||||
min-height: 1.35em;
|
min-height: 1.35em;
|
||||||
color: #c9deda;
|
color: var(--loading-muted);
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
line-height: 1.35;
|
line-height: 1.35;
|
||||||
}
|
}
|
||||||
@@ -130,29 +146,29 @@
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
border: 0;
|
border: 0;
|
||||||
border-radius: 999px;
|
border-radius: 999px;
|
||||||
background: rgba(255, 255, 255, 0.18);
|
background: var(--loading-track);
|
||||||
}
|
}
|
||||||
|
|
||||||
#progress::-webkit-progress-bar {
|
#progress::-webkit-progress-bar {
|
||||||
border-radius: 999px;
|
border-radius: 999px;
|
||||||
background: rgba(255, 255, 255, 0.18);
|
background: var(--loading-track);
|
||||||
}
|
}
|
||||||
|
|
||||||
#progress::-webkit-progress-value {
|
#progress::-webkit-progress-value {
|
||||||
border-radius: 999px;
|
border-radius: 999px;
|
||||||
background: #8fcfc2;
|
background: var(--loading-progress);
|
||||||
}
|
}
|
||||||
|
|
||||||
#progress::-moz-progress-bar {
|
#progress::-moz-progress-bar {
|
||||||
border-radius: 999px;
|
border-radius: 999px;
|
||||||
background: #8fcfc2;
|
background: var(--loading-progress);
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="loading-screen" id="loading-screen" role="status" aria-live="polite">
|
<div class="loading-screen" id="loading-screen" role="status" aria-live="polite">
|
||||||
<div class="loading-panel">
|
<div class="loading-panel">
|
||||||
<img class="loading-mark" src="site-icons/icon-192x192.png" alt="" width="76" height="76">
|
<img class="loading-mark" src="site-icons/icon-192x192.png?v=WEB_CACHE_BUSTER" alt="" width="128" height="128">
|
||||||
<h1 class="loading-title">Inner Breeze</h1>
|
<h1 class="loading-title">Inner Breeze</h1>
|
||||||
<div id="status">Downloading...</div>
|
<div id="status">Downloading...</div>
|
||||||
<progress value="0" max="100" id="progress" hidden></progress>
|
<progress value="0" max="100" id="progress" hidden></progress>
|
||||||
|
|||||||
Reference in new issue
Block a user