valaxy 0.19.3 → 0.19.4

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.
@@ -52,6 +52,14 @@ useHead({
52
52
  host: siteConfig.value.url,
53
53
  },
54
54
  },
55
+
56
+ script: [
57
+ {
58
+ id: 'check-mac-os',
59
+ innerHTML: `document.documentElement.classList.toggle('mac', /Mac|iPhone|iPod|iPad/i.test(navigator.platform))`,
60
+ async: true,
61
+ },
62
+ ],
55
63
  })
56
64
 
57
65
  // seo
@@ -74,7 +74,8 @@ onMounted(() => {
74
74
  <input
75
75
  v-model="password"
76
76
  w-full
77
- border pl-5 pr-11 py-3 rounded hover:shadow transition
77
+ border="~ solid dark:dark-100"
78
+ pl-5 pr-11 py-3 rounded-full hover:shadow transition
78
79
  type="password" placeholder="Enter password"
79
80
  :class="hasError && 'border-red'"
80
81
  @input="hasError = false"
@@ -12,10 +12,6 @@
12
12
  }
13
13
 
14
14
  @return $name;
15
-
16
-
17
-
18
-
19
15
  }
20
16
 
21
17
  // get-css-var('button', 'text-color') => var(--el-button-text-color)
@@ -31,11 +31,14 @@ $colors: map.merge(
31
31
  $colors
32
32
  );
33
33
  $c-primary: map.get($colors, "primary") !default;
34
+
35
+ // https://sass-lang.com/documentation/modules/color/
36
+ // The lighten() function increases lightness by a fixed amount, which is often not the desired effect. To make a color a certain percentage lighter than it was before, use scale() instead.
34
37
  $colors: map.merge(
35
38
  (
36
- "primary-light": color.adjust($c-primary, $lightness: 10%),
37
- "primary-lighter": color.adjust($c-primary, $lightness: 20%),
38
- "primary-dark": color.adjust($c-primary, $lightness: -5%),
39
+ "primary-light": color.scale($c-primary, $lightness: 10%),
40
+ "primary-lighter": color.scale($c-primary, $lightness: 20%),
41
+ "primary-dark": color.scale($c-primary, $lightness: -5%),
39
42
  ),
40
43
  $colors
41
44
  );