slidev-theme-neversink 0.3.0 → 0.3.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.
@@ -18,18 +18,7 @@ const colorscheme = computed(() => {
18
18
  </script>
19
19
 
20
20
  <template>
21
- <svg
22
- version="1.1"
23
- id="Layer_1"
24
- xmlns="http://www.w3.org/2000/svg"
25
- xmlns:xlink="http://www.w3.org/1999/xlink"
26
- x="0px"
27
- y="0px"
28
- viewBox="0 0 196 73"
29
- style="enable-background: new 0 0 196 73"
30
- xml:space="preserve"
31
- :width="width"
32
- >
21
+ <svg viewBox="0 0 196 73" :width="width">
33
22
  <path
34
23
  class="st0"
35
24
  :class="colorscheme"
@@ -16,14 +16,7 @@ const colorscheme = computed(() => {
16
16
  })
17
17
  </script>
18
18
  <template>
19
- <svg
20
- id="Layer_1"
21
- data-name="Layer 1"
22
- xmlns="http://www.w3.org/2000/svg"
23
- version="1.1"
24
- viewBox="0 0 356 204"
25
- :width="width"
26
- >
19
+ <svg viewBox="0 0 356 204" :width="width">
27
20
  <path
28
21
  class="cls-1"
29
22
  :class="colorscheme"
@@ -1,10 +1,9 @@
1
1
  <script setup>
2
2
  import { computed } from 'vue'
3
- import { resolveColor } from '../layoutHelper'
4
3
  const props = defineProps({
5
4
  shape: {
6
5
  type: String,
7
- default: 's-s-2-100',
6
+ default: 's-s-2-10',
8
7
  },
9
8
  color: {
10
9
  type: String,
@@ -29,13 +29,7 @@ const thumbRotation = computed(() => {
29
29
  </script>
30
30
 
31
31
  <template>
32
- <svg
33
- xmlns="http://www.w3.org/2000/svg"
34
- version="1.1"
35
- viewBox="0 0 800 800"
36
- :width="width"
37
- :style="{ transform: thumbRotation }"
38
- >
32
+ <svg viewBox="0 0 800 800" :width="width" :style="{ transform: thumbRotation }">
39
33
  <defs></defs>
40
34
  <g id="bg">
41
35
  <polygon
package/example.md CHANGED
@@ -1292,7 +1292,7 @@ title: Lines
1292
1292
 
1293
1293
  # Lines
1294
1294
 
1295
- <Line :x1=0 :y1=0 :x2=200 :y2=200 :width=2 color='red-400' v-drag="[326,136,250,250]" />
1295
+ <Line :x1=0 :y1=0 :x2=200 :y2=200 :width=2 color='red' v-drag="[326,136,250,250]" />
1296
1296
 
1297
1297
  ---
1298
1298
  layout: side-title
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "slidev-theme-neversink",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "author": "gureckis",
5
5
  "type": "module",
6
6
  "keywords": [