radiant-docs 0.1.46 → 0.1.47

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "radiant-docs",
3
- "version": "0.1.46",
3
+ "version": "0.1.47",
4
4
  "description": "CLI tool for previewing Radiant documentation locally",
5
5
  "type": "module",
6
6
  "bin": {
@@ -17,6 +17,7 @@
17
17
  "@astrojs/sitemap": "^3.7.2",
18
18
  "@aws-sdk/client-s3": "^3.964.0",
19
19
  "@fontsource/google-sans-flex": "^5.2.2",
20
+ "@iconify-json/fluent": "^1.2.47",
20
21
  "@iconify-json/lucide": "^1.2.79",
21
22
  "@iconify-json/simple-icons": "^1.2.69",
22
23
  "@iconify/react": "^6.0.2",
@@ -1995,6 +1996,15 @@
1995
1996
  "node": ">=10.10.0"
1996
1997
  }
1997
1998
  },
1999
+ "node_modules/@iconify-json/fluent": {
2000
+ "version": "1.2.47",
2001
+ "resolved": "https://registry.npmjs.org/@iconify-json/fluent/-/fluent-1.2.47.tgz",
2002
+ "integrity": "sha512-YA9pCYNW3bqXMD1rMIkK0vqLK90UyE63hfI1cB2sQwGAbEFhi+VUz5mvcXYfb7bl5R8N5sLZNI2Kr0Q3Yo9M4A==",
2003
+ "license": "MIT",
2004
+ "dependencies": {
2005
+ "@iconify/types": "*"
2006
+ }
2007
+ },
1998
2008
  "node_modules/@iconify-json/lucide": {
1999
2009
  "version": "1.2.79",
2000
2010
  "resolved": "https://registry.npmjs.org/@iconify-json/lucide/-/lucide-1.2.79.tgz",
@@ -21,6 +21,7 @@
21
21
  "@astrojs/sitemap": "^3.7.2",
22
22
  "@aws-sdk/client-s3": "^3.964.0",
23
23
  "@fontsource/google-sans-flex": "^5.2.2",
24
+ "@iconify-json/fluent": "^1.2.47",
24
25
  "@iconify-json/lucide": "^1.2.79",
25
26
  "@iconify-json/simple-icons": "^1.2.69",
26
27
  "@iconify/react": "^6.0.2",
@@ -1,112 +1,167 @@
1
1
  ---
2
2
  import Icon from "../ui/Icon.astro";
3
- import warningIcon from "../../assets/icons/warning.svg?url";
4
- import infoIcon from "../../assets/icons/info.svg?url";
5
- import lightbulbIcon from "../../assets/icons/lightbulb.svg?url";
6
- import dangerIcon from "../../assets/icons/danger.svg?url";
7
- import successIcon from "../../assets/icons/check.svg?url";
8
3
  import { validateProps } from "../../lib/component-error";
9
4
 
10
5
  type CalloutType = "warning" | "info" | "tip" | "danger" | "success";
11
6
 
12
7
  interface Props {
13
8
  type?: CalloutType;
14
- title?: string;
15
- icon?: string;
9
+ title?: string | false;
10
+ icon?: string | false;
11
+ accent?: boolean;
16
12
  color?: string;
17
13
  }
18
14
 
19
15
  const typeDefaults: Record<
20
16
  CalloutType,
21
- { icon: string; color: string; iconColor: string; title: string }
17
+ { icon: string; color: string; title: string }
22
18
  > = {
23
19
  warning: {
24
- icon: warningIcon,
25
- color: "bg-amber-500",
26
- iconColor: "text-amber-500 dark:text-amber-400",
20
+ icon: "fluent:warning-16-filled",
21
+ color: "#FF990A",
27
22
  title: "Warning",
28
23
  },
29
24
  info: {
30
- icon: infoIcon,
31
- color: "bg-sky-600/80",
32
- iconColor: "text-sky-600/80 dark:text-sky-400",
25
+ icon: "fluent:info-16-filled",
26
+ color: "#5589C5",
33
27
  title: "Info",
34
28
  },
35
29
  tip: {
36
- icon: lightbulbIcon,
37
- color: "bg-yellow-500",
38
- iconColor: "text-yellow-500 dark:text-yellow-400",
30
+ icon: "fluent:lightbulb-filament-24-filled",
31
+ color: "#FFB400",
39
32
  title: "Tip",
40
33
  },
41
34
  danger: {
42
- icon: dangerIcon,
43
- color: "bg-red-600",
44
- iconColor: "text-red-600 dark:text-red-400",
35
+ icon: "fluent:diamond-dismiss-24-filled",
36
+ color: "#E5484D",
45
37
  title: "Danger",
46
38
  },
47
39
  success: {
48
- icon: successIcon,
49
- color: "bg-green-600",
50
- iconColor: "text-green-600 dark:text-green-400",
40
+ icon: "fluent:checkmark-starburst-24-filled",
41
+ color: "#46A758",
51
42
  title: "Success",
52
43
  },
53
44
  };
54
45
 
55
- const { type = "info", title, icon, color } = Astro.props;
46
+ const rawProps = Astro.props as { icon?: unknown; title?: unknown };
47
+ const rawIcon = rawProps.icon;
48
+ const rawTitle = rawProps.title;
49
+ const { type = "info", title, icon, accent = true, color } = Astro.props;
56
50
 
57
51
  validateProps(
58
52
  "Callout",
59
- { type, title, icon, color },
53
+ { type, title, icon, accent, color },
60
54
  {
61
55
  type: { enum: ["warning", "info", "tip", "danger", "success"] },
62
- title: { type: "string" },
63
- icon: { type: "string" },
56
+ title: { type: ["string", "boolean"] },
57
+ icon: { type: ["string", "boolean"] },
58
+ accent: { type: "boolean" },
64
59
  color: { type: "string" },
65
60
  },
66
61
  Astro.url.pathname,
67
62
  );
68
63
 
64
+ if (rawIcon === true) {
65
+ throw new Error(
66
+ `[USER_ERROR]: <Callout>: Invalid prop "icon": expected string or false, got true (in ${Astro.url.pathname})`,
67
+ );
68
+ }
69
+
70
+ if (rawTitle === true) {
71
+ throw new Error(
72
+ `[USER_ERROR]: <Callout>: Invalid prop "title": expected string or false, got true (in ${Astro.url.pathname})`,
73
+ );
74
+ }
75
+
69
76
  const defaults = typeDefaults[type];
70
- const resolvedTitle = title ?? defaults.title;
77
+ const resolvedTitle = title === false ? null : (title ?? defaults.title);
78
+ const resolvedIcon = icon === false ? null : (icon ?? defaults.icon);
79
+ const resolvedColor = color ?? defaults.color;
80
+ const isIconifyName = (value: string) => {
81
+ const parts = value.split(":");
82
+ return (
83
+ parts.length === 2 &&
84
+ /^[a-z0-9-]+$/i.test(parts[0]) &&
85
+ /^[a-z0-9-]+$/i.test(parts[1])
86
+ );
87
+ };
88
+ const shouldUseIconComponent =
89
+ typeof resolvedIcon === "string" && isIconifyName(resolvedIcon);
90
+ const hasTitle = typeof resolvedTitle === "string" && resolvedTitle.length > 0;
71
91
  ---
72
92
 
73
93
  <aside
74
94
  class:list={[
75
- "rd-prose-block relative space-y-1 rounded-xl border-[0.5px]. border-neutral-900/8 bg-white px-4 py-3.5 pl-6 dark:border-neutral-800 dark:bg-(--rd-code-surface) shadow-[0px_1px_3px_0px_rgba(0,0,0,0.04),0px_0px_0px_0.8px_rgba(0,0,0,0.06)_inset,0px_-1px_0px_0px_rgba(0,0,0,0.06)_inset]",
95
+ "rd-prose-block relative space-y-1 rounded-xl border-[0.5px] bg-neutral-50/70 border-neutral-900/8 px-4 py-3.5 dark:border-white/6 dark:bg-(--rd-code-surface) shadow-[0_.5px_1px_rgba(0,0,0,0.15),0_5px_12px_-6px_rgba(0,0,0,0.08)] dark:shadow-[0_-.5px_1px_rgba(255,255,255,0.15),0_5px_12px_-6px_rgba(0,0,0,0.2)]",
96
+ accent ? "pl-6" : "pl-4",
76
97
  ]}
77
98
  role="note"
78
99
  >
79
- <div
80
- class:list={[
81
- "absolute left-2.5 inset-y-2.5 w-[2px] rounded-full mb-0",
82
- defaults.color,
83
- ]}
84
- style={color && { backgroundColor: color }}
85
- >
86
- </div>
87
- <div class="flex items-center gap-2 not-prose mb-3">
88
- {
89
- icon ? (
90
- <Icon
91
- name={icon}
92
- class={`size-4 ${defaults.iconColor}`}
93
- style={color && { color: color }}
94
- />
95
- ) : (
96
- <img src={defaults.icon} alt="" width="16" height="16" class="" />
97
- )
98
- }
99
- <h6
100
- class:list={[
101
- "font-semibold text-sm text-neutral-900 dark:text-neutral-100",
102
- ]}
103
- >
104
- {resolvedTitle}
105
- </h6>
106
- </div>
107
- <div
108
- class="prose-rules prose-sm! max-w-none! *:max-w-none! text-neutral-700 dark:text-neutral-300"
109
- >
110
- <slot />
111
- </div>
100
+ {
101
+ accent && (
102
+ <div
103
+ class="absolute left-2.5 inset-y-2.5 w-[2px] rounded-full mb-0"
104
+ style={{ backgroundColor: resolvedColor }}
105
+ />
106
+ )
107
+ }
108
+ {
109
+ hasTitle ? (
110
+ <>
111
+ <div
112
+ class:list={[
113
+ "flex items-start gap-2 not-prose",
114
+ resolvedIcon && shouldUseIconComponent ? "mb-2" : "mb-1",
115
+ ]}
116
+ >
117
+ {resolvedIcon && shouldUseIconComponent ? (
118
+ <Icon
119
+ name={resolvedIcon}
120
+ class="size-5 shrink-0"
121
+ style={{ color: resolvedColor }}
122
+ />
123
+ ) : resolvedIcon ? (
124
+ <img
125
+ src={resolvedIcon}
126
+ alt=""
127
+ width="16"
128
+ height="16"
129
+ class="shrink-0 border border-white"
130
+ />
131
+ ) : null}
132
+ <h6
133
+ class:list={[
134
+ "font-semibold text-sm text-neutral-900 dark:text-neutral-100",
135
+ ]}
136
+ >
137
+ {resolvedTitle}
138
+ </h6>
139
+ </div>
140
+ <div class="prose-rules prose-sm! max-w-none! *:max-w-none! text-neutral-700 dark:text-neutral-300">
141
+ <slot />
142
+ </div>
143
+ </>
144
+ ) : (
145
+ <div class="flex items-start gap-2">
146
+ {resolvedIcon && shouldUseIconComponent ? (
147
+ <Icon
148
+ name={resolvedIcon}
149
+ class="mt-0.5 size-5 shrink-0"
150
+ style={{ color: resolvedColor }}
151
+ />
152
+ ) : resolvedIcon ? (
153
+ <img
154
+ src={resolvedIcon}
155
+ alt=""
156
+ width="16"
157
+ height="16"
158
+ class="mt-0.5 shrink-0 border border-white"
159
+ />
160
+ ) : null}
161
+ <div class="prose-rules prose-sm! max-w-none! min-w-0 flex-1 *:max-w-none! text-neutral-700 dark:text-neutral-300">
162
+ <slot />
163
+ </div>
164
+ </div>
165
+ )
166
+ }
112
167
  </aside>
@@ -140,7 +140,7 @@
140
140
  --tw-prose-invert-links: white;
141
141
  --tw-prose-invert-bold: white;
142
142
  --tw-prose-invert-counters: var(--color-neutral-400);
143
- --tw-prose-invert-bullets: var(--color-neutral-600);
143
+ --tw-prose-invert-bullets: inherit;
144
144
  --tw-prose-invert-hr: var(--color-neutral-700);
145
145
  --tw-prose-invert-quotes: var(--color-neutral-100);
146
146
  --tw-prose-invert-quote-borders: var(--color-neutral-700);
@@ -291,21 +291,25 @@
291
291
 
292
292
  /* Markdown table styling */
293
293
  .prose-rules :where(table) {
294
- @apply w-full overflow-hidden rounded-xl border border-neutral-200 shadow-xs dark:border-neutral-800;
294
+ @apply w-full overflow-hidden rounded-[12px] border border-neutral-900/7 dark:border-white/4 dark:bg-neutral-800/15;
295
295
  border-collapse: separate;
296
296
  border-spacing: 0;
297
297
  }
298
298
 
299
299
  .prose-rules :where(thead th) {
300
- @apply bg-neutral-50 dark:bg-neutral-900/60;
300
+ @apply bg-neutral-100/60 dark:bg-neutral-800/40;
301
+ }
302
+
303
+ .prose-rules :where(tbody tr:nth-child(even) td) {
304
+ @apply bg-neutral-50/50 dark:bg-neutral-800/10;
301
305
  }
302
306
 
303
307
  .prose-rules :where(th, td) {
304
- @apply border-b border-neutral-200 px-4 py-2 align-top dark:border-neutral-800;
308
+ @apply border-b border-neutral-900/4 px-4 py-2 align-top dark:border-white/2;
305
309
  }
306
310
 
307
311
  .prose-rules :where(th + th, td + td) {
308
- @apply border-l border-neutral-200 dark:border-neutral-800;
312
+ @apply border-l border-neutral-900/4 dark:border-white/2;
309
313
  }
310
314
 
311
315
  .prose-rules :where(tbody tr:last-child td) {
@@ -314,7 +318,7 @@
314
318
 
315
319
  /* Code single-line styling */
316
320
  :is(.prose, .prose-rules) :not(pre) > code {
317
- @apply px-1.5 bg-neutral-100/80 text-neutral-700/90 rounded-sm leading-none font-mono font-normal border border-neutral-900/6 after:hidden before:hidden dark:bg-neutral-800/80 dark:text-neutral-200 dark:border-neutral-700/80;
321
+ @apply mx-px px-[5px] pr-1 bg-neutral-100/80 text-neutral-700/90 rounded-sm leading-none font-mono font-normal border border-neutral-900/4 after:hidden before:hidden dark:bg-neutral-800/90 dark:text-neutral-200/90 dark:border-white/3;
318
322
  }
319
323
 
320
324
  [data-rd-code-theme] [data-rd-token] {
@@ -336,9 +340,20 @@
336
340
  margin-bottom: 0;
337
341
  }
338
342
 
339
- /* <ol> numbers */
340
- .prose :where(ol > li)::marker {
341
- @apply font-medium;
343
+ :is(.prose, .prose-rules) :where(ul > li)::marker {
344
+ color: color-mix(in oklab, currentColor 40%, transparent);
345
+ }
346
+
347
+ :is(.prose, .prose-rules) :where(ol > li)::marker {
348
+ color: color-mix(in oklab, currentColor 70%, transparent);
349
+ }
350
+
351
+ .dark :is(.prose, .prose-rules) :where(ul > li)::marker {
352
+ color: color-mix(in oklab, currentColor 30%, transparent);
353
+ }
354
+
355
+ .dark :is(.prose, .prose-rules) :where(ol > li)::marker {
356
+ color: color-mix(in oklab, currentColor 60%, transparent);
342
357
  }
343
358
 
344
359
  /* Animations */
@@ -1,33 +0,0 @@
1
- <svg
2
- xmlns="http://www.w3.org/2000/svg"
3
- x="0px"
4
- y="0px"
5
- width="18px"
6
- height="18px"
7
- viewBox="0 0 18 18"
8
- >
9
- <path
10
- d="M9.305 1.848L14.555 3.528C14.969 3.661 15.25 4.046 15.25 4.48V11C15.25 14.03 10.566 15.748 9.308 16.155C9.105 16.221 8.895 16.221 8.692 16.155C7.434 15.748 2.75 14.03 2.75 11V4.48C2.75 4.045 3.031 3.66 3.445 3.528L8.695 1.848C8.893 1.785 9.106 1.785 9.305 1.848Z"
11
- fill="#16a34a"
12
- fill-opacity="0.7"
13
- data-color="color-2"
14
- data-stroke="none"
15
- ></path>
16
- <path
17
- d="M9.305 1.848L14.555 3.528C14.969 3.661 15.25 4.046 15.25 4.48V11C15.25 14.03 10.566 15.748 9.308 16.155C9.105 16.221 8.895 16.221 8.692 16.155C7.434 15.748 2.75 14.03 2.75 11V4.48C2.75 4.045 3.031 3.66 3.445 3.528L8.695 1.848C8.893 1.785 9.106 1.785 9.305 1.848Z"
18
- stroke="#16a34a"
19
- stroke-width="1.5"
20
- stroke-linecap="round"
21
- stroke-linejoin="round"
22
- fill="none"
23
- ></path>
24
- <path
25
- d="M6.49701 9.75L8.10601 11.25L11.503 6.75"
26
- stroke="white"
27
- opacity="0.9"
28
- stroke-width="1.5"
29
- stroke-linecap="round"
30
- stroke-linejoin="round"
31
- fill="none"
32
- ></path>
33
- </svg>
@@ -1,37 +0,0 @@
1
- <svg
2
- xmlns="http://www.w3.org/2000/svg"
3
- width="18"
4
- height="18"
5
- viewBox="0 0 18 18"
6
- >
7
- <path
8
- opacity="0.8"
9
- d="M5.63604 1.5H12.364L16.5 5.63604V12.364L12.364 16.5H5.63604L1.5 12.364V5.63604L5.63604 1.5Z"
10
- fill="#dc2626"
11
- ></path>
12
- <path
13
- d="M5.63604 1.5H12.364L16.5 5.63604V12.364L12.364 16.5H5.63604L1.5 12.364V5.63604L5.63604 1.5Z"
14
- stroke="#dc2626"
15
- stroke-width="1.5"
16
- stroke-linecap="round"
17
- stroke-linejoin="round"
18
- fill="none"
19
- ></path>
20
- <g transform="translate(0 -0.5)">
21
- <path
22
- d="M9 6.75V9.75"
23
- stroke="white"
24
- opacity="0.9"
25
- stroke-width="1.8"
26
- stroke-linecap="round"
27
- stroke-linejoin="round"
28
- fill="none"
29
- ></path>
30
- <path
31
- d="M9 13.5C8.448 13.5 8 13.05 8 12.5C8 11.95 8.448 11.5 9 11.5C9.552 11.5 10 11.9501 10 12.5C10 13.0499 9.552 13.5 9 13.5Z"
32
- fill="white"
33
- opacity="0.9"
34
- data-stroke="none"
35
- ></path>
36
- </g>
37
- </svg>
@@ -1,36 +0,0 @@
1
- <svg
2
- xmlns="http://www.w3.org/2000/svg"
3
- width="18"
4
- height="18"
5
- viewBox="0 0 18 18"
6
- >
7
- <circle opacity="0.6" cx="9" cy="9" r="7.5" fill="#0284c7"></circle>
8
- <circle
9
- cx="9"
10
- cy="9"
11
- r="7.5"
12
- stroke="#0284c7"
13
- stroke-width="1.5"
14
- stroke-linecap="round"
15
- stroke-linejoin="round"
16
- fill="none"
17
- ></circle>
18
- <path
19
- d="M9 12V9"
20
- stroke="white"
21
- opacity="0.9"
22
- stroke-width="1.9"
23
- stroke-linecap="round"
24
- stroke-linejoin="round"
25
- fill="none"
26
- ></path>
27
- <path
28
- d="M9 6H9.0075"
29
- stroke="white"
30
- opacity="0.9"
31
- stroke-width="1.9"
32
- stroke-linecap="round"
33
- stroke-linejoin="round"
34
- fill="none"
35
- ></path>
36
- </svg>
@@ -1,74 +0,0 @@
1
- <svg
2
- xmlns="http://www.w3.org/2000/svg"
3
- x="0px"
4
- y="0px"
5
- width="18px"
6
- height="18px"
7
- viewBox="0 0 18 18"
8
- >
9
- <path
10
- fill-rule="evenodd"
11
- clip-rule="evenodd"
12
- d="M7.97299 4.358C11.045 3.714 13.75 6.041 13.75 9C13.75 10.867 12.6695 12.475 11.1028 13.25H6.89719C5.11109 12.367 3.95699 10.399 4.31499 8.202C4.62299 6.315 6.10099 4.75 7.97299 4.358Z"
13
- fill="#eab308"
14
- opacity="0.7"
15
- data-color="color-2"
16
- data-stroke="none"
17
- ></path>
18
- <path
19
- d="M9 0.75V1.75"
20
- stroke="#eab308"
21
- stroke-width="1.5"
22
- stroke-linecap="round"
23
- stroke-linejoin="round"
24
- fill="none"
25
- ></path>
26
- <path
27
- d="M14.834 3.16599L14.127 3.87299"
28
- stroke="#eab308"
29
- stroke-width="1.5"
30
- stroke-linecap="round"
31
- stroke-linejoin="round"
32
- fill="none"
33
- ></path>
34
- <path
35
- d="M17.25 9H16.25"
36
- stroke="#eab308"
37
- stroke-width="1.5"
38
- stroke-linecap="round"
39
- stroke-linejoin="round"
40
- fill="none"
41
- ></path>
42
- <path
43
- d="M3.16602 3.16599L3.87302 3.87299"
44
- stroke="#eab308"
45
- stroke-width="1.5"
46
- stroke-linecap="round"
47
- stroke-linejoin="round"
48
- fill="none"
49
- ></path>
50
- <path
51
- d="M0.75 9H1.75"
52
- stroke="#eab308"
53
- stroke-width="1.5"
54
- stroke-linecap="round"
55
- stroke-linejoin="round"
56
- fill="none"
57
- ></path>
58
- <path
59
- d="M13.75 8.99999C13.75 6.04069 11.0445 3.71348 7.97199 4.35818C6.09979 4.75108 4.62099 6.31669 4.31449 8.20489C3.93509 10.5427 5.26679 12.6193 7.24999 13.407V15.25C7.24999 16.0784 7.92159 16.75 8.74999 16.75H9.24999C10.0784 16.75 10.75 16.0784 10.75 15.25V13.407C12.505 12.71 13.75 11.004 13.75 8.99999Z"
60
- stroke="#eab308"
61
- stroke-width="1.5"
62
- stroke-linecap="round"
63
- stroke-linejoin="round"
64
- fill="none"
65
- ></path>
66
- <path
67
- d="M6.89697 13.25H11.103"
68
- stroke="#eab308"
69
- stroke-width="1.5"
70
- stroke-linecap="round"
71
- stroke-linejoin="round"
72
- fill="none"
73
- ></path>
74
- </svg>
@@ -1,22 +0,0 @@
1
- <svg
2
- xmlns="http://www.w3.org/2000/svg"
3
- data-testid="geist-icon"
4
- height="16"
5
- stroke-linejoin="round"
6
- viewBox="0 0 16 16"
7
- width="16"
8
- style="color: currentcolor"
9
- >
10
- <path
11
- d="M2.5 0.5V0H3.5V0.5C3.5 1.60457 4.39543 2.5 5.5 2.5H6V3V3.5H5.5C4.39543 3.5 3.5 4.39543 3.5 5.5V6H3H2.5V5.5C2.5 4.39543 1.60457 3.5 0.5 3.5H0V3V2.5H0.5C1.60457 2.5 2.5 1.60457 2.5 0.5Z"
12
- fill="currentColor"
13
- ></path>
14
- <path
15
- d="M14.5 4.5V5H13.5V4.5C13.5 3.94772 13.0523 3.5 12.5 3.5H12V3V2.5H12.5C13.0523 2.5 13.5 2.05228 13.5 1.5V1H14H14.5V1.5C14.5 2.05228 14.9477 2.5 15.5 2.5H16V3V3.5H15.5C14.9477 3.5 14.5 3.94772 14.5 4.5Z"
16
- fill="currentColor"
17
- ></path>
18
- <path
19
- d="M8.40706 4.92939L8.5 4H9.5L9.59294 4.92939C9.82973 7.29734 11.7027 9.17027 14.0706 9.40706L15 9.5V10.5L14.0706 10.5929C11.7027 10.8297 9.82973 12.7027 9.59294 15.0706L9.5 16H8.5L8.40706 15.0706C8.17027 12.7027 6.29734 10.8297 3.92939 10.5929L3 10.5V9.5L3.92939 9.40706C6.29734 9.17027 8.17027 7.29734 8.40706 4.92939Z"
20
- fill="currentColor"
21
- ></path>
22
- </svg>
@@ -1,37 +0,0 @@
1
- <svg
2
- xmlns="http://www.w3.org/2000/svg"
3
- x="0px"
4
- y="0px"
5
- width="18px"
6
- height="18px"
7
- viewBox="0 0 18 18"
8
- >
9
- <path
10
- opacity="0.7"
11
- d="M7.63796 3.48996L2.21295 12.89C1.60795 13.9399 2.36395 15.25 3.57495 15.25H14.425C15.636 15.25 16.392 13.9399 15.787 12.89L10.362 3.48996C9.75696 2.44996 8.24296 2.44996 7.63796 3.48996Z"
12
- fill="#f59e0b"
13
- data-color="color-2"
14
- data-stroke="none"
15
- ></path>
16
- <path
17
- d="M7.63796 3.48996L2.21295 12.89C1.60795 13.9399 2.36395 15.25 3.57495 15.25H14.425C15.636 15.25 16.392 13.9399 15.787 12.89L10.362 3.48996C9.75696 2.44996 8.24296 2.44996 7.63796 3.48996Z"
18
- stroke="#f59e0b"
19
- stroke-width="1.5"
20
- stroke-linecap="round"
21
- stroke-linejoin="round"
22
- fill="none"
23
- ></path>
24
- <path
25
- d="M9 6.75V9.75"
26
- stroke="#78350f"
27
- stroke-width="1.5"
28
- stroke-linecap="round"
29
- stroke-linejoin="round"
30
- fill="none"
31
- ></path>
32
- <path
33
- d="M9 13.5C8.448 13.5 8 13.05 8 12.5C8 11.95 8.448 11.5 9 11.5C9.552 11.5 10 11.9501 10 12.5C10 13.0499 9.552 13.5 9 13.5Z"
34
- fill="#78350f"
35
- data-stroke="none"
36
- ></path>
37
- </svg>