You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can change the color of the tag by passing a value to the `kind` prop. Here we see the set of "semantic" color options. These will reflect the `negative`, `positive`, etc values that you use in your theme.
In addition to the "semantic" `kind` colors, you can also use "primitive" colors such as `blue` or `green`. Some of these simply alias the "semantic" colors (and therefore your theme), but there are also color-ways not contained in the "semantic" set, such as `orange`, `purple`, and `brown`.
The following tag kinds are deprecated. Please migrate to the recommended
50
+
primitive kinds shown in the example above:
51
+
<ul>
52
+
<li>`neutral` → use `gray`</li>
53
+
<li>`primary` → use `gray`</li>
54
+
<li>`accent` → use `blue`</li>
55
+
<li>`positive` → use `green`</li>
56
+
<li>`warning` → use `yellow`</li>
57
+
<li>`negative` → use `red`</li>
58
+
<li>`black` → use `gray` with custom styling</li>
59
+
<li>`brown` → no direct replacement (deprecated color)</li>
60
+
</ul>
61
+
</Notification>
62
+
63
+
You can change the color of the tag by passing a value to the `kind` prop. Supported kinds include `gray`, `blue`, `green`, `yellow`, `red`, `orange`, `purple`, `magenta`, `teal`, and `lime`.
0 commit comments