@bifrostui/styles 1.0.5 → 1.1.1
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/dist/index.css +12 -0
- package/package.json +2 -2
- package/theme/default-dark.less +2 -0
- package/theme/default-light.less +3 -0
- package/theme/dm-dark.less +2 -0
package/dist/index.css
CHANGED
|
@@ -31,6 +31,8 @@
|
|
|
31
31
|
--bui-color-fg-disabled: #484f58;
|
|
32
32
|
--bui-color-bg-default: #010409;
|
|
33
33
|
--bui-color-bg-view: #161b22;
|
|
34
|
+
--bui-color-bg-view-opacity-9: rgba(22, 27, 34, 0.9);
|
|
35
|
+
--bui-color-bg-view-opacity-4: rgba(22, 27, 34, 0.4);
|
|
34
36
|
--bui-color-border-default: #30363d;
|
|
35
37
|
}
|
|
36
38
|
}
|
|
@@ -103,6 +105,8 @@ page,
|
|
|
103
105
|
--bui-color-fg-disabled: var(--bui-color-neutral-4);
|
|
104
106
|
--bui-color-bg-default: var(--bui-color-neutral-6);
|
|
105
107
|
--bui-color-bg-view: var(--bui-color-neutral-7);
|
|
108
|
+
--bui-color-bg-view-opacity-9: rgba(255, 255, 255, 0.9);
|
|
109
|
+
--bui-color-bg-view-opacity-4: rgba(255, 255, 255, 0.4);
|
|
106
110
|
--bui-color-border-default: var(--bui-color-neutral-5);
|
|
107
111
|
--bui-color-border-primary: rgba(255, 51, 92, 0.4);
|
|
108
112
|
--bui-color-border-info: rgba(20, 138, 255, 0.4);
|
|
@@ -155,6 +159,8 @@ page,
|
|
|
155
159
|
--bui-color-fg-disabled: #484f58;
|
|
156
160
|
--bui-color-bg-default: #010409;
|
|
157
161
|
--bui-color-bg-view: #161b22;
|
|
162
|
+
--bui-color-bg-view-opacity-9: rgba(22, 27, 34, 0.9);
|
|
163
|
+
--bui-color-bg-view-opacity-4: rgba(22, 27, 34, 0.4);
|
|
158
164
|
--bui-color-border-default: #30363d;
|
|
159
165
|
}
|
|
160
166
|
/** 大麦主题 */
|
|
@@ -190,6 +196,8 @@ page,
|
|
|
190
196
|
--bui-color-fg-disabled: #484f58;
|
|
191
197
|
--bui-color-bg-default: #010409;
|
|
192
198
|
--bui-color-bg-view: #161b22;
|
|
199
|
+
--bui-color-bg-view-opacity-9: rgba(22, 27, 34, 0.9);
|
|
200
|
+
--bui-color-bg-view-opacity-4: rgba(22, 27, 34, 0.4);
|
|
193
201
|
--bui-color-border-default: #30363d;
|
|
194
202
|
}
|
|
195
203
|
@media (prefers-color-scheme: light) {
|
|
@@ -258,6 +266,8 @@ page,
|
|
|
258
266
|
--bui-color-fg-disabled: var(--bui-color-neutral-4);
|
|
259
267
|
--bui-color-bg-default: var(--bui-color-neutral-6);
|
|
260
268
|
--bui-color-bg-view: var(--bui-color-neutral-7);
|
|
269
|
+
--bui-color-bg-view-opacity-9: rgba(255, 255, 255, 0.9);
|
|
270
|
+
--bui-color-bg-view-opacity-4: rgba(255, 255, 255, 0.4);
|
|
261
271
|
--bui-color-border-default: var(--bui-color-neutral-5);
|
|
262
272
|
--bui-color-border-primary: rgba(255, 51, 92, 0.4);
|
|
263
273
|
--bui-color-border-info: rgba(20, 138, 255, 0.4);
|
|
@@ -311,6 +321,8 @@ page,
|
|
|
311
321
|
--bui-color-fg-disabled: #484f58;
|
|
312
322
|
--bui-color-bg-default: #010409;
|
|
313
323
|
--bui-color-bg-view: #161b22;
|
|
324
|
+
--bui-color-bg-view-opacity-9: rgba(22, 27, 34, 0.9);
|
|
325
|
+
--bui-color-bg-view-opacity-4: rgba(22, 27, 34, 0.4);
|
|
314
326
|
--bui-color-border-default: #30363d;
|
|
315
327
|
}
|
|
316
328
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bifrostui/styles",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "Common style definitions for BUI React components",
|
|
5
5
|
"homepage": "http://bui.taopiaopiao.com",
|
|
6
6
|
"license": "MIT",
|
|
@@ -19,5 +19,5 @@
|
|
|
19
19
|
"scripts": {
|
|
20
20
|
"build": "rm -rf dist && mkdir dist && lessc index.less > dist/index.css"
|
|
21
21
|
},
|
|
22
|
-
"gitHead": "
|
|
22
|
+
"gitHead": "2543622c499bb48300e081208c3cda9eae75792e"
|
|
23
23
|
}
|
package/theme/default-dark.less
CHANGED
package/theme/default-light.less
CHANGED
|
@@ -82,6 +82,9 @@
|
|
|
82
82
|
--bui-color-bg-default: var(--bui-color-neutral-6);
|
|
83
83
|
// 视图背景色
|
|
84
84
|
--bui-color-bg-view: var(--bui-color-neutral-7);
|
|
85
|
+
--bui-color-bg-view-opacity-9: fade(#fff, 90%);
|
|
86
|
+
--bui-color-bg-view-opacity-4: fade(#fff, 40%);
|
|
87
|
+
|
|
85
88
|
// 分割线、边框
|
|
86
89
|
--bui-color-border-default: var(--bui-color-neutral-5);
|
|
87
90
|
--bui-color-border-primary: fade(#ff335c, 40%);
|
package/theme/dm-dark.less
CHANGED