@xulongzhe/clawbench-desktop-linux-x64-payload 0.115.1 → 0.116.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/resources/app.asar +0 -0
- package/resources/login.html +3 -2
package/package.json
CHANGED
package/resources/app.asar
CHANGED
|
Binary file
|
package/resources/login.html
CHANGED
|
@@ -121,8 +121,9 @@
|
|
|
121
121
|
var THEME = (ClawBenchNative.getTheme && ClawBenchNative.getTheme()) || '';
|
|
122
122
|
if (DARK_IDS.indexOf(THEME) < 0 && LIGHT_IDS.indexOf(THEME) < 0) {
|
|
123
123
|
// Keep the colour scheme the caller implied, so a light-mode user is not
|
|
124
|
-
// flipped to a dark page (and vice versa).
|
|
125
|
-
|
|
124
|
+
// flipped to a dark page (and vice versa). The dark fallback is the
|
|
125
|
+
// factory theme (gruvbox-dark), matching the web app and Android.
|
|
126
|
+
THEME = (THEME === 'light') ? 'github-light' : 'gruvbox-dark';
|
|
126
127
|
}
|
|
127
128
|
document.documentElement.setAttribute('data-theme', THEME);
|
|
128
129
|
var BASE = DARK_IDS.indexOf(THEME) >= 0 ? 'dark' : 'light';
|