- | color |
- 'grey' | 'blue' | 'green' | 'orange' | 'red' | 'yellow' | 'purple'
+
+
+ color
+
+ |
+
+
+ 'primary' | 'secondary' | 'tertiary' | 'success' | 'info' | 'neutral' | 'warning' | 'error'
+
|
Affects the visual style of the badge. It can be used following semantic purposes or not. |
- 'grey'
+ 'neutral'
|
diff --git a/apps/website/screens/components/badge/code/examples/contextual.tsx b/apps/website/screens/components/badge/code/examples/contextual.tsx
index 058353dc0..b5d1120bc 100644
--- a/apps/website/screens/components/badge/code/examples/contextual.tsx
+++ b/apps/website/screens/components/badge/code/examples/contextual.tsx
@@ -6,12 +6,12 @@ const code = `() => {
-
-
-
-
-
-
+
+
+
+
+
+
);
diff --git a/apps/website/screens/components/badge/code/examples/icons.tsx b/apps/website/screens/components/badge/code/examples/icons.tsx
index 389e2f973..67a03ac10 100644
--- a/apps/website/screens/components/badge/code/examples/icons.tsx
+++ b/apps/website/screens/components/badge/code/examples/icons.tsx
@@ -20,12 +20,12 @@ const code = `() => {
-
-
-
-
-
-
+
+
+
+
+
+
);
diff --git a/apps/website/screens/components/badge/overview/BadgeOverviewPage.tsx b/apps/website/screens/components/badge/overview/BadgeOverviewPage.tsx
index f607c7093..7874e9f6d 100644
--- a/apps/website/screens/components/badge/overview/BadgeOverviewPage.tsx
+++ b/apps/website/screens/components/badge/overview/BadgeOverviewPage.tsx
@@ -64,7 +64,8 @@ const sections = [
have been made to a certain section of the interface.
- Only one color is allowed for this badge, which is red, and cannot be changed by any means.
+ Only one color is allowed for this badge, which is the semantic error (generally red), and cannot be
+ changed by any means.
>
),
@@ -94,14 +95,14 @@ const sections = [
colors are available:
- Green: positive actions, such as approved, completed, success...
+ Success: positive actions, such as approved, completed, success...
- Blue: informative actions, such as published, in use...
+ Info: informative actions, such as published, in use...
- Red: negative actions, such as error, rejection, incomplete...
+ Warning: alert actions, such as pending or paused actions...
- Orange: alert actions, such as pending or paused actions...
+ Error: negative actions, such as error, rejection, incomplete...
diff --git a/apps/website/screens/components/badge/overview/examples/contextual.tsx b/apps/website/screens/components/badge/overview/examples/contextual.tsx
index 0fe4b0c6d..5a2475e7e 100644
--- a/apps/website/screens/components/badge/overview/examples/contextual.tsx
+++ b/apps/website/screens/components/badge/overview/examples/contextual.tsx
@@ -6,21 +6,21 @@ const code = `() => {
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
diff --git a/apps/website/screens/components/button/overview/ButtonOverviewPage.tsx b/apps/website/screens/components/button/overview/ButtonOverviewPage.tsx
index 45a934713..5eca38f50 100644
--- a/apps/website/screens/components/button/overview/ButtonOverviewPage.tsx
+++ b/apps/website/screens/components/button/overview/ButtonOverviewPage.tsx
@@ -168,8 +168,8 @@ const sections = [
|
- Indicates a destructive action or highlights a critical issue. Styled in red. Use for actions like
- "Delete", "Remove" or "Cancel Subscription.".
+ Indicates a destructive action or highlights a critical issue. Use for actions like "Delete", "Remove"
+ or "Cancel Subscription.".
|
@@ -179,8 +179,8 @@ const sections = [
|
- Provides additional information or context. Shown in blue, the brand's secondary color. Use for actions
- like "More Info", "Details" or "Learn More.".
+ Provides additional information or context. Use for actions like "More Info", "Details" or "Learn
+ More.".
|
@@ -190,8 +190,8 @@ const sections = [
|
- Represents a positive action or confirms the completion of a task. Styled in green. Use for actions like
- "Confirm", "Complete" or "Approve.".
+ Represents a positive action or confirms the completion of a task. Use for actions like "Confirm",
+ "Complete" or "Approve.".
|
@@ -201,8 +201,8 @@ const sections = [
|
- Alerts the user to potential issues or actions that need caution. Styled in orange. Use for actions like
- "Warning" or "Attention Needed.".
+ Alerts the user to potential issues or actions that need caution. Use for actions like "Warning" or
+ "Attention Needed.".
|
diff --git a/apps/website/screens/components/contextual-menu/code/examples/navigationMenu.tsx b/apps/website/screens/components/contextual-menu/code/examples/navigationMenu.tsx
index ad5b27aad..25583e915 100644
--- a/apps/website/screens/components/contextual-menu/code/examples/navigationMenu.tsx
+++ b/apps/website/screens/components/contextual-menu/code/examples/navigationMenu.tsx
@@ -15,7 +15,7 @@ const code = `() => {
items: [
{
label: "Sales data module",
- badge: