framework7 8.0.0-beta.2 → 8.0.0-beta.3

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.
@@ -47,7 +47,7 @@ class Framework7 extends Framework7Class {
47
47
  lazyModulesPath: null,
48
48
  initOnDeviceReady: true,
49
49
  init: true,
50
- darkMode: false,
50
+ darkMode: undefined,
51
51
  iosTranslucentBars: true,
52
52
  iosTranslucentModals: true,
53
53
  component: undefined,
@@ -259,7 +259,11 @@ class Framework7 extends Framework7Class {
259
259
  }
260
260
 
261
261
  // Auto Dark Mode
262
- app.setDarkMode(app.params.darkMode);
262
+ if (typeof app.params.darkMode === 'undefined') {
263
+ app.darkMode = $('html').hasClass('dark');
264
+ } else {
265
+ app.setDarkMode(app.params.darkMode);
266
+ }
263
267
 
264
268
  // Watch for online/offline state
265
269
  const window = getWindow();
@@ -16,6 +16,7 @@
16
16
  padding-bottom: 4px;
17
17
  i + span {
18
18
  margin: 0;
19
+ margin-top: 4px;
19
20
  }
20
21
  }
21
22
  }
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Framework7 8.0.0-beta.2
2
+ * Framework7 8.0.0-beta.3
3
3
  * Full featured mobile HTML framework for building iOS & Android apps
4
4
  * https://framework7.io/
5
5
  *
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * Released under the MIT License
9
9
  *
10
- * Released on: February 7, 2023
10
+ * Released on: March 9, 2023
11
11
  */
12
12
 
13
13
  /*====================
@@ -2600,6 +2600,7 @@ html.device-full-viewport body {
2600
2600
  .ios .tabbar-icons .tab-link i + span,
2601
2601
  .ios .tabbar-icons .link i + span {
2602
2602
  margin: 0;
2603
+ margin-top: 4px;
2603
2604
  }
2604
2605
  @media (min-width: 768px) and (min-height: 600px) {
2605
2606
  .ios .tabbar .tab-link,