omni-layout 0.0.5-beta.4 → 0.0.5-beta.5

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.
@@ -91,7 +91,7 @@
91
91
  min-height: 590px;
92
92
  padding: 20px 60px 10px 60px;
93
93
  overflow-y: auto;
94
- border-right: 4px solid @background-color;
94
+ border-right: 4px solid var(--omni-background-color, #191919);
95
95
  }
96
96
  .omni-topnav-all-tool {
97
97
  transition: 0.2s color ease;
@@ -100,7 +100,7 @@
100
100
  }
101
101
  .omni-topnav-all-menu {
102
102
  display: none;
103
- background-color: @background-color;
103
+ background-color: var(--omni-background-color, #191919);
104
104
  position: absolute;
105
105
  left: 63px;
106
106
  top: 49px;
@@ -9,3 +9,14 @@
9
9
  @omni-link-size: 12px;
10
10
  @omni-header-nav-tool-size: 14px;
11
11
  @omni-notice-box-width: 360px;
12
+
13
+ // CSS Variables for better isolation
14
+ :root {
15
+ --omni-background-color: #191919;
16
+ --omni-hover-link-color: #006eff;
17
+ --omni-link-color: #bbb;
18
+ --omni-link-size: 12px;
19
+ --omni-header-nav-tool-size: 14px;
20
+ --omni-header-nav-height: 50px;
21
+ --omni-side-menu-background: #333;
22
+ }
@@ -91,7 +91,7 @@
91
91
  min-height: 590px;
92
92
  padding: 20px 60px 10px 60px;
93
93
  overflow-y: auto;
94
- border-right: 4px solid @background-color;
94
+ border-right: 4px solid var(--omni-background-color, #191919);
95
95
  }
96
96
  .omni-topnav-all-tool {
97
97
  transition: 0.2s color ease;
@@ -100,7 +100,7 @@
100
100
  }
101
101
  .omni-topnav-all-menu {
102
102
  display: none;
103
- background-color: @background-color;
103
+ background-color: var(--omni-background-color, #191919);
104
104
  position: absolute;
105
105
  left: 63px;
106
106
  top: 49px;
@@ -9,3 +9,14 @@
9
9
  @omni-link-size: 12px;
10
10
  @omni-header-nav-tool-size: 14px;
11
11
  @omni-notice-box-width: 360px;
12
+
13
+ // CSS Variables for better isolation
14
+ :root {
15
+ --omni-background-color: #191919;
16
+ --omni-hover-link-color: #006eff;
17
+ --omni-link-color: #bbb;
18
+ --omni-link-size: 12px;
19
+ --omni-header-nav-tool-size: 14px;
20
+ --omni-header-nav-height: 50px;
21
+ --omni-side-menu-background: #333;
22
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omni-layout",
3
- "version": "0.0.5-beta.4",
3
+ "version": "0.0.5-beta.5",
4
4
  "description": "a common layout for ant design ",
5
5
  "types": "typings.d.ts",
6
6
  "main": "lib/index.js",