@asd20/ui 3.2.560 → 3.2.562
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
CHANGED
|
@@ -214,15 +214,16 @@ export default {
|
|
|
214
214
|
},
|
|
215
215
|
},
|
|
216
216
|
mounted() {
|
|
217
|
-
const currentURL = new URL(window.location.href)
|
|
218
|
-
this.returnURL = currentURL.origin
|
|
219
217
|
this.goBack()
|
|
220
218
|
},
|
|
221
219
|
methods: {
|
|
222
220
|
goBack() {
|
|
223
221
|
if (typeof window === 'undefined') return
|
|
224
|
-
if (document.referrer
|
|
222
|
+
if (document.referrer.startsWith('http' || '/')) {
|
|
225
223
|
this.returnURL = document.referrer
|
|
224
|
+
} else {
|
|
225
|
+
const currentURL = new URL(window.location.href)
|
|
226
|
+
this.returnURL = currentURL.origin
|
|
226
227
|
}
|
|
227
228
|
// window.history.back()
|
|
228
229
|
// const url = window.location.href
|
package/src/design/tokens.css
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--color__accent-s100: #
|
|
3
|
-
--color__accent-s90: #
|
|
4
|
-
--color__accent-s80: #
|
|
5
|
-
--color__accent-s70: #
|
|
6
|
-
--color__accent-s60: #
|
|
7
|
-
--color__accent-s50: #
|
|
8
|
-
--color__accent-s40: #
|
|
9
|
-
--color__accent-s30: #
|
|
10
|
-
--color__accent-s20: #
|
|
11
|
-
--color__accent-s10: #
|
|
12
|
-
--color__accent: #
|
|
13
|
-
--color__accent-t10: #
|
|
14
|
-
--color__accent-t20: #
|
|
15
|
-
--color__accent-t30: #
|
|
16
|
-
--color__accent-t40: #
|
|
17
|
-
--color__accent-t50: #
|
|
18
|
-
--color__accent-t60: #
|
|
19
|
-
--color__accent-t70: #
|
|
20
|
-
--color__accent-t80: #
|
|
2
|
+
--color__accent-s100: #000;
|
|
3
|
+
--color__accent-s90: #01040b;
|
|
4
|
+
--color__accent-s80: #030916;
|
|
5
|
+
--color__accent-s70: #0f1c50;
|
|
6
|
+
--color__accent-s60: #12205c;
|
|
7
|
+
--color__accent-s50: #142469;
|
|
8
|
+
--color__accent-s40: #182a7a;
|
|
9
|
+
--color__accent-s30: #1b2f87;
|
|
10
|
+
--color__accent-s20: #1e3493;
|
|
11
|
+
--color__accent-s10: #1e3493;
|
|
12
|
+
--color__accent: #225da5;
|
|
13
|
+
--color__accent-t10: #326aaf;
|
|
14
|
+
--color__accent-t20: #4479b9;
|
|
15
|
+
--color__accent-t30: #5b8bc4;
|
|
16
|
+
--color__accent-t40: #749dce;
|
|
17
|
+
--color__accent-t50: #8badd6;
|
|
18
|
+
--color__accent-t60: #a0bbdd;
|
|
19
|
+
--color__accent-t70: #b7cbe5;
|
|
20
|
+
--color__accent-t80: #cad9ec;
|
|
21
21
|
--color__accent-t90: #dce5f1;
|
|
22
|
-
--color__accent-t100: #
|
|
22
|
+
--color__accent-t100: #fff;
|
|
23
23
|
--color__on-accent: #ffffff;
|
|
24
24
|
--color__on-primary: #ffffff;
|
|
25
25
|
--color__on-secondary: #ffffff;
|