Skip to content

Commit 482bbf9

Browse files
committed
docs(note): fix caution color
1 parent 84d0dab commit 482bbf9

File tree

1 file changed

+3
-6
lines changed
  • apps/website/src/components/note

1 file changed

+3
-6
lines changed

apps/website/src/components/note/note.tsx

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ function getBackgroundByStatus(status?: NoteStatus) {
3131
case NoteStatus.Warning:
3232
return 'bg-yellow-500/20 border-yellow-500 border-l-2 mb-4 rounded-lg block';
3333
case NoteStatus.Caution:
34-
return 'bg-destructive/20 border-desctructive border-l-2 mb-4 rounded-lg block';
34+
return 'bg-destructive/20 border-destructive border-l-2 mb-4 rounded-lg block';
3535
default:
3636
return 'bg-secondary/20 border-secondary border-l-2 mb-4 rounded-lg block';
3737
}
@@ -103,11 +103,8 @@ export function CautionIcon(props: QwikIntrinsicElements['svg'], key: string) {
103103
key={key}
104104
>
105105
<g fill="currentColor">
106-
<path
107-
d="M195.88 195.88a96 96 0 0 1-135.76 0L195.88 60.12a96 96 0 0 1 0 135.76Z"
108-
opacity=".2"
109-
></path>
110-
<path d="M201.54 54.46A104 104 0 0 0 54.46 201.54A104 104 0 0 0 201.54 54.46ZM65.78 65.77a88.08 88.08 0 0 1 118.52-5.38L60.38 184.31a88 88 0 0 1 5.4-118.54Zm124.44 124.46a88.1 88.1 0 0 1-118.52 5.38L195.62 71.69a88 88 0 0 1-5.4 118.54Z"></path>
106+
<path d="M224 128a96 96 0 1 1-96-96a96 96 0 0 1 96 96Z" opacity=".2"></path>
107+
<path d="M165.66 101.66L139.31 128l26.35 26.34a8 8 0 0 1-11.32 11.32L128 139.31l-26.34 26.35a8 8 0 0 1-11.32-11.32L116.69 128l-26.35-26.34a8 8 0 0 1 11.32-11.32L128 116.69l26.34-26.35a8 8 0 0 1 11.32 11.32ZM232 128A104 104 0 1 1 128 24a104.11 104.11 0 0 1 104 104Zm-16 0a88 88 0 1 0-88 88a88.1 88.1 0 0 0 88-88Z"></path>
111108
</g>
112109
</svg>
113110
);

0 commit comments

Comments
 (0)