diff --git a/CHANGELOG.md b/CHANGELOG.md index 1fefc94..7cfaca4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,14 @@ +## v1.2.0 +- أيقونة زجاجية جديدة: جوال وصاعقة، رمادي زجاجي بالليلي وأبيض مثلّج بالنهاري +- شعار التطبيق داخل الواجهة يتبدّل مع الوضع الليلي والنهاري + +**English** +- A new glass icon: a phone and a bolt, grey glass in dark, frosted white in light +- The logo inside the app follows the dark and light theme + ## v1.1.0 - شكل جديد بالكامل (Material 3): ألوان هادية وأيقونة رمادية - إعداد جديد لحجم الخط: صغير، افتراضي، كبير، أكبر diff --git a/CLAUDE.md b/CLAUDE.md index 147ebd4..b868f8b 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -25,7 +25,7 @@ The full guide and the source files are in `ifoknr/tools`, folder `brand/` (BRAN - ifoknr.com uses a new mark and name: `IF` and `IFOKNR` in the Audiowide lettering, a graphite tile, the name silver on dark and graphite on light. - App and tool names are drawn in the Prixma Bold Italic lettering, small. -- Each app and tool has a fixed icon; since 30 Oct 2026 all are grey (graphite tile, calm - grey-blue lines). App icons are never violet. +- Each app and tool has a fixed icon, never violet. Since 9 Nov 2026 the Fastboot Studio apps' + icons are glass (docs/icon): grey glass in dark, frosted glass with a blue bolt in light. - Never commit a font file (personal-use licences): text is drawn as outlines. - Numbers in English digits in every language. diff --git a/docs/icon/README.md b/docs/icon/README.md new file mode 100644 index 0000000..beaa96d --- /dev/null +++ b/docs/icon/README.md @@ -0,0 +1,6 @@ +# The app icon + +A phone with the bolt, in glass: `glass-dark.svg` (grey glass, the launcher icon and the dark +theme) and `glass-light.svg` (frosted glass with a blue bolt, the light theme). The PNGs in +`src/FastbootStudio.Mobile/Resources/mipmap-*/appicon.png` (48 to 192 px) and +`src/FastbootStudio.Mobile/ui/icon*.png` (512 px) are rendered from them, each size on its own. diff --git a/docs/icon/glass-dark.svg b/docs/icon/glass-dark.svg new file mode 100644 index 0000000..0802e9a --- /dev/null +++ b/docs/icon/glass-dark.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/icon/glass-light.svg b/docs/icon/glass-light.svg new file mode 100644 index 0000000..7ff8a13 --- /dev/null +++ b/docs/icon/glass-light.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/FastbootStudio.Mobile/FastbootStudio.Mobile.csproj b/src/FastbootStudio.Mobile/FastbootStudio.Mobile.csproj index 55e76f6..54ef367 100644 --- a/src/FastbootStudio.Mobile/FastbootStudio.Mobile.csproj +++ b/src/FastbootStudio.Mobile/FastbootStudio.Mobile.csproj @@ -8,8 +8,8 @@ FastbootStudio.Mobile com.ifoknr.fastbootstudio.mobile Fastboot Studio - 3 - 1.1.0 + 4 + 1.2.0 apk android-arm64;android-arm diff --git a/src/FastbootStudio.Mobile/Resources/mipmap-hdpi/appicon.png b/src/FastbootStudio.Mobile/Resources/mipmap-hdpi/appicon.png index 9615850..cb0dde9 100644 Binary files a/src/FastbootStudio.Mobile/Resources/mipmap-hdpi/appicon.png and b/src/FastbootStudio.Mobile/Resources/mipmap-hdpi/appicon.png differ diff --git a/src/FastbootStudio.Mobile/Resources/mipmap-mdpi/appicon.png b/src/FastbootStudio.Mobile/Resources/mipmap-mdpi/appicon.png index 44815b8..5cb7f94 100644 Binary files a/src/FastbootStudio.Mobile/Resources/mipmap-mdpi/appicon.png and b/src/FastbootStudio.Mobile/Resources/mipmap-mdpi/appicon.png differ diff --git a/src/FastbootStudio.Mobile/Resources/mipmap-xhdpi/appicon.png b/src/FastbootStudio.Mobile/Resources/mipmap-xhdpi/appicon.png index 055cb55..959e337 100644 Binary files a/src/FastbootStudio.Mobile/Resources/mipmap-xhdpi/appicon.png and b/src/FastbootStudio.Mobile/Resources/mipmap-xhdpi/appicon.png differ diff --git a/src/FastbootStudio.Mobile/Resources/mipmap-xxhdpi/appicon.png b/src/FastbootStudio.Mobile/Resources/mipmap-xxhdpi/appicon.png index 88d52ee..b5050b0 100644 Binary files a/src/FastbootStudio.Mobile/Resources/mipmap-xxhdpi/appicon.png and b/src/FastbootStudio.Mobile/Resources/mipmap-xxhdpi/appicon.png differ diff --git a/src/FastbootStudio.Mobile/Resources/mipmap-xxxhdpi/appicon.png b/src/FastbootStudio.Mobile/Resources/mipmap-xxxhdpi/appicon.png index fd2af83..ab2017b 100644 Binary files a/src/FastbootStudio.Mobile/Resources/mipmap-xxxhdpi/appicon.png and b/src/FastbootStudio.Mobile/Resources/mipmap-xxxhdpi/appicon.png differ diff --git a/src/FastbootStudio.Mobile/ui/app.js b/src/FastbootStudio.Mobile/ui/app.js index cf45ada..6773f4e 100644 --- a/src/FastbootStudio.Mobile/ui/app.js +++ b/src/FastbootStudio.Mobile/ui/app.js @@ -57,7 +57,7 @@ const svg = k => `${ic[k]}`; const ALLOWED = ['boot', 'init_boot', 'vendor_boot', 'dtbo', 'vbmeta', 'vbmeta_system', 'recovery']; const st = { ready: false, s: { theme: 'auto', lang: 'ar', dev: false, backupFirst: true, readBack: true, minBattery: 50 }, - systemDark: true, version: '1.1.0', backupRoot: '/sdcard/FastbootStudio/Backups', + systemDark: true, version: '1.2.0', backupRoot: '/sdcard/FastbootStudio/Backups', tab: 'device', page: null, phone: null, phoneErr: null, refreshing: false, backups: null, bk: {}, bkOpen: null, @@ -78,7 +78,7 @@ const st = { // ---------------------------------------------------------------- small parts -const head = (title, sub, chip, back) => `
${back ? `` : ''} +const head = (title, sub, chip, back) => `
${back ? `` : ''}

${title}

${sub || ''}

${chip || ''}
`; const rows = r => `
${r.filter(Boolean).map(([k, v, ar]) => `
${k}
${v}
`).join('')}
`; const fileCard = (icon, name, meta, side, act) => ``; @@ -480,7 +480,7 @@ P.logs = () => { }; P.about = () => head(t('حول', 'About'), 'Fastboot Studio Mobile', '', true) + `
-
+

Fastboot Studio MobileFastboot Studio Mobile

${t('فلّش وخذ نسخة وروّت جوالك من الجوال نفسه، بأمان.', 'Flash, back up and root from the phone itself, safely.')}
${chip('', 'v' + esc(st.version))}${chip('', 'MIT')}${chip('', t('مجاني ومفتوح المصدر', 'Free & open source'))}
diff --git a/src/FastbootStudio.Mobile/ui/icon-light.png b/src/FastbootStudio.Mobile/ui/icon-light.png new file mode 100644 index 0000000..f95711e Binary files /dev/null and b/src/FastbootStudio.Mobile/ui/icon-light.png differ diff --git a/src/FastbootStudio.Mobile/ui/icon-themed.png b/src/FastbootStudio.Mobile/ui/icon-themed.png index 1cd446e..bc204c2 100644 Binary files a/src/FastbootStudio.Mobile/ui/icon-themed.png and b/src/FastbootStudio.Mobile/ui/icon-themed.png differ diff --git a/src/FastbootStudio.Mobile/ui/icon.png b/src/FastbootStudio.Mobile/ui/icon.png index 12f8cd8..bc204c2 100644 Binary files a/src/FastbootStudio.Mobile/ui/icon.png and b/src/FastbootStudio.Mobile/ui/icon.png differ diff --git a/src/FastbootStudio.Mobile/ui/style.css b/src/FastbootStudio.Mobile/ui/style.css index efff6b2..77ee948 100644 --- a/src/FastbootStudio.Mobile/ui/style.css +++ b/src/FastbootStudio.Mobile/ui/style.css @@ -253,6 +253,9 @@ ol.how { padding-inline-start: 18px; font-size: calc(13px * var(--k)); color: va .an { height: calc(18px * var(--k)); width: auto; } .an-light, :root[data-theme=light] .an-dark { display: none; } :root[data-theme=light] .an-light { display: block; } +/* The app icon: grey glass in dark, frosted glass in light. */ +.ic-light, :root[data-theme=light] .ic-dark { display: none; } +:root[data-theme=light] .ic-light { display: block; } /* ===== Material 3 Expressive sample (XGram colours) ===== */ header { padding: 14px 18px 10px; }