bt-core-app 2.0.149 → 2.0.150

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.
@@ -10196,7 +10196,13 @@ function kP(e) {
10196
10196
  t.value.drawerStick = !t.value.drawerStick, r();
10197
10197
  }
10198
10198
  function d() {
10199
- t.value.theme = t.value.theme == "dark" ? "light" : "dark", a != null && a.change(t.value.theme), r();
10199
+ var f;
10200
+ if (t.value.theme = t.value.theme == "dark" ? "light" : "dark", a != null) {
10201
+ a.change(t.value.theme);
10202
+ let g = a == null ? void 0 : a.themes.value, m = a.global.name.value == "dark" ? g.dark.colors.primary : g.light.colors.primary;
10203
+ (f = document.querySelector('meta[name="theme-color"]')) == null || f.setAttribute("content", m);
10204
+ }
10205
+ r();
10200
10206
  }
10201
10207
  function v() {
10202
10208
  var f;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bt-core-app",
3
- "version": "2.0.149",
3
+ "version": "2.0.150",
4
4
  "description": "Core app tools for some basic features like navigation, authentication, server apis, and cosmetics",
5
5
  "homepage": "https://github.com/BlitzItTech/bt-core",
6
6
  "bugs": {