chromia 0.1.16 → 0.1.17

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.
@@ -4,6 +4,7 @@ export let gradient = {
4
4
  direction: "bottom"
5
5
  };
6
6
  export let size = "1rem";
7
+ export let fill = "none";
7
8
  export let weight = 2;
8
9
  const getGradientDirection = (direction) => {
9
10
  switch (direction) {
@@ -27,9 +28,11 @@ export { className as class };
27
28
  <svg
28
29
  xmlns="http://www.w3.org/2000/svg"
29
30
  class={className}
30
- style="width: {size}; height: {size}; {!className ? `color: ${color};` : ''}"
31
+ style="width: {size}; height: {size}; {!className
32
+ ? `color: ${color};`
33
+ : ''}"
31
34
  viewBox="0 0 46 46"
32
- fill={fill}
35
+ {fill}
33
36
  >
34
37
  <g id="id_AnnotationX">
35
38
  <path
@@ -65,9 +68,11 @@ export { className as class };
65
68
  <svg
66
69
  xmlns="http://www.w3.org/2000/svg"
67
70
  class={className}
68
- style="width: {size}; height: {size}; {!className ? `color: ${color};` : ''}"
71
+ style="width: {size}; height: {size}; {!className
72
+ ? `color: ${color};`
73
+ : ''}"
69
74
  viewBox="0 0 46 46"
70
- fill={fill}
75
+ {fill}
71
76
  >
72
77
  <g id="id_AnnotationX">
73
78
  <path
@@ -4,6 +4,7 @@ export let gradient = {
4
4
  direction: "bottom"
5
5
  };
6
6
  export let size = "1.5rem";
7
+ export let fill = "none";
7
8
  export let weight = 2;
8
9
  const getGradientDirection = (direction) => {
9
10
  switch (direction) {
@@ -27,9 +28,11 @@ export { className as class };
27
28
  <svg
28
29
  xmlns="http://www.w3.org/2000/svg"
29
30
  class={className}
30
- style="width: {size}; height: {size}; {!className ? `color: ${color};` : ''}"
31
+ style="width: {size}; height: {size}; {!className
32
+ ? `color: ${color};`
33
+ : ''}"
31
34
  viewBox="0 0 24 24"
32
- fill={fill}
35
+ {fill}
33
36
  >
34
37
  <path
35
38
  d="M9.6 21.6H14.4M10.2 9.60002H13.8M6 8.40002C6 5.08632 8.68629 2.40002 12 2.40002C15.3137 2.40002 18 5.08632 18 8.40002C18 10.8604 16.5191 12.8742 14.4 13.8V17.4C14.4 18.0628 13.8627 18.6 13.2 18.6H10.8C10.1373 18.6 9.6 18.0628 9.6 17.4V13.9008C7.48091 12.9749 6 10.8604 6 8.40002Z"
@@ -61,9 +64,11 @@ export { className as class };
61
64
  <svg
62
65
  xmlns="http://www.w3.org/2000/svg"
63
66
  class={className}
64
- style="width: {size}; height: {size}; {!className ? `color: ${color};` : ''}"
67
+ style="width: {size}; height: {size}; {!className
68
+ ? `color: ${color};`
69
+ : ''}"
65
70
  viewBox="0 0 24 24"
66
- fill={fill}
71
+ {fill}
67
72
  >
68
73
  <path
69
74
  d="M9.6 21.6H14.4M10.2 9.60002H13.8M6 8.40002C6 5.08632 8.68629 2.40002 12 2.40002C15.3137 2.40002 18 5.08632 18 8.40002C18 10.8604 16.5191 12.8742 14.4 13.8V17.4C14.4 18.0628 13.8627 18.6 13.2 18.6H10.8C10.1373 18.6 9.6 18.0628 9.6 17.4V13.9008C7.48091 12.9749 6 10.8604 6 8.40002Z"
@@ -6,6 +6,7 @@ export let gradient = {
6
6
  };
7
7
  export let size = "1rem";
8
8
  export let weight = 1;
9
+ export let fill = "none";
9
10
  const getGradientDirection = (direction) => {
10
11
  switch (direction) {
11
12
  case "top":
@@ -28,9 +29,11 @@ export { className as class };
28
29
  <svg
29
30
  xmlns="http://www.w3.org/2000/svg"
30
31
  class={className}
31
- style="width: {size}; height: {size}; {!className ? `color: ${color};` : ''}"
32
+ style="width: {size}; height: {size}; {!className
33
+ ? `color: ${color};`
34
+ : ''}"
32
35
  viewBox="0 0 14 14"
33
- fill={fill}
36
+ {fill}
34
37
  >
35
38
  <path
36
39
  id="icon_Sparkle"
@@ -64,9 +67,11 @@ export { className as class };
64
67
  <svg
65
68
  xmlns="http://www.w3.org/2000/svg"
66
69
  class={className}
67
- style="width: {size}; height: {size}; {!className ? `color: ${color};` : ''}"
70
+ style="width: {size}; height: {size}; {!className
71
+ ? `color: ${color};`
72
+ : ''}"
68
73
  viewBox="0 0 14 14"
69
- fill={fill}
74
+ {fill}
70
75
  >
71
76
  <path
72
77
  id="icon_Sparkle"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chromia",
3
- "version": "0.1.16",
3
+ "version": "0.1.17",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "vite dev",