You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 16eeeca
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: CLAUDE.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,8 @@ log found in one line what two rounds of guessing had missed.
23
23
24
24
Never enable the inspector outside `-debug`.
25
25
26
+
`make debug` asks which OS to look like, so the Windows or Linux theme can be checked from a Mac. It sets `ADMINER_DESKTOP_SIMULATE_OS`, ignored without `-debug`. It changes the look and the window only (`Os::look()`): the engine stays WKWebView, and without Segoe the font falls back.
27
+
26
28
PHP fatal errors reach `~/Library/Logs/Adminer Desktop/adminer-desktop.log`, but only
27
29
because `app/php/desktop.ini` turns `log_errors` on — frankenphp's default sends them to
28
30
the page and nowhere else. `make logs` or the Open Logs menu item opens the folder.
@@ -176,7 +178,7 @@ into components pulled in by `@import`: `tokens`, `base`, `tables`, `forms`, `si
176
178
`settings`. `light-dark()` is colour-only, so the one non-colour scheme difference —
177
179
inverting adminer's sprite icons on the dark surface — lives in `base.css` and keys off the
178
180
`theme-auto`/`theme-dark` body class instead. `system-ui` gives the native OS font with no
179
-
branching; the `theme-*`, `os-mac`/`os-windows`/`os-linux` and `density-compact`/`-cozy`/
181
+
branching; the `theme-*`, `mac-os`/`windows-os`/`linux-os` and `density-compact`/`-cozy`/
180
182
`-comfortable` body classes come from `AdminerDesktop::bodyClass()` and are the hooks for
181
183
appearance, per-OS and per-density tweaks. oxfmt owns the formatting — one declaration per
|| { sh -n check.sh && sh -n cli/compile-adminer.sh && sh -n cli/dresscode.sh && sh -n cli/kill-orphans.sh && sh -n cli/demo-mysql.sh &&echo"sh ok (shellcheck not installed)"; }
|| { sh -n check.sh && sh -n cli/pick-os.sh && sh -n tests/cli/pick-os-test.sh && sh -n cli/compile-adminer.sh && sh -n cli/dresscode.sh && sh -n cli/kill-orphans.sh && sh -n cli/demo-mysql.sh &&echo"sh ok (shellcheck not installed)"; }
333
333
@# Native-shell strings: the `i18n` prerequisite already generated the real files (which is
334
334
@# also what makes i18n_gen.h exist before `go vet` compiles the cgo launcher above). Assert the
335
335
@# generator's output quality and lint the emitted plists. `make i18n-check` reports coverage.
@@ -338,6 +338,7 @@ qa: fetch app/vendor i18n mcp-bridge-data ## Run every static check (php, go, j
Copy file name to clipboardExpand all lines: app/src/Settings/Theme/designs/adminer-desktop/README.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,7 @@ pulled in by native `@import` from `adminer.css`:
9
9
-`tables.css` — the data grid
10
10
-`forms.css` — inputs and buttons
11
11
-`sidebar.css` — the menu and breadcrumb
12
+
-`windows-os.css` — Windows 11's tokens and controls under `windows-os`, with values from WinUI's resources; `Theme::cssMap()` loads it on Windows only, not this file
12
13
13
14
One file carrying both schemes: every scheme difference is a `light-dark(light, dark)`
14
15
token, and the used `color-scheme` picks the side. Adminer sets that from its
@@ -19,7 +20,7 @@ dark surface, keys off the `theme-auto` / `theme-dark` body class instead (`base
19
20
It is excluded from the gallery (`Theme::designs()`) because it is the default, offered as
20
21
the empty "Adminer Desktop" option on each side rather than one entry among the rest.
21
22
22
-
Per-OS adaptation is mostly `system-ui` (the OS UI font, no branching); the `os-mac` /
23
-
`os-windows` / `os-linux` body class from `AdminerDesktop::bodyClass()` is the hook for
23
+
Per-OS adaptation is mostly `system-ui` (the OS UI font, no branching); the `mac-os` /
24
+
`windows-os` / `linux-os` body class from `AdminerDesktop::bodyClass()` is the hook for
24
25
the rest. Row density (`density-compact` / `-cozy` / `-comfortable`) comes from the same
0 commit comments