@startupjs-ui/core 0.1.3 → 0.1.11
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 +2 -2
- package/styles/shadows.styl +4 -14
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "0.1.
|
|
7
|
+
"version": "0.1.11",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"main": "index.js",
|
|
10
10
|
"exports": {
|
|
@@ -22,5 +22,5 @@
|
|
|
22
22
|
"startupjs": "*"
|
|
23
23
|
},
|
|
24
24
|
"license": "MIT",
|
|
25
|
-
"gitHead": "
|
|
25
|
+
"gitHead": "b21659a9d8408cd921560196db22a18fd8eda82d"
|
|
26
26
|
}
|
package/styles/shadows.styl
CHANGED
|
@@ -1,27 +1,17 @@
|
|
|
1
1
|
$UI.shadows = {
|
|
2
2
|
'0': {
|
|
3
|
-
// HACK: 'box-shadow none' does not work correctly on ios
|
|
4
|
-
// it darkens all View component with background in project
|
|
5
|
-
// and it blurs text when there is no background-color is set
|
|
6
|
-
// therefore we using 'box-shadow 0 0 0 rgba(black, 0)'
|
|
7
|
-
box-shadow: 0 0 0 rgba(black, 0)
|
|
8
|
-
elevation: 0
|
|
9
3
|
},
|
|
10
4
|
'1': {
|
|
11
|
-
box-shadow: 0 1px 2px
|
|
12
|
-
elevation: 3
|
|
5
|
+
box-shadow: 0 1px 2px rgba(black, 0.2)
|
|
13
6
|
},
|
|
14
7
|
'2': {
|
|
15
|
-
box-shadow: 0 3px 5px
|
|
16
|
-
elevation: 6
|
|
8
|
+
box-shadow: 0 3px 5px rgba(black, 0.2)
|
|
17
9
|
},
|
|
18
10
|
'3': {
|
|
19
|
-
box-shadow: 0 5px 8px
|
|
20
|
-
elevation: 12
|
|
11
|
+
box-shadow: 0 5px 8px rgba(black, 0.2)
|
|
21
12
|
},
|
|
22
13
|
'4': {
|
|
23
|
-
box-shadow: 0 8px 12px
|
|
24
|
-
elevation: 18
|
|
14
|
+
box-shadow: 0 8px 12px rgba(black, 0.2)
|
|
25
15
|
}
|
|
26
16
|
}
|
|
27
17
|
|