Skip to content

Commit

Permalink
feat(color): changed message & notification 'info' color from dark to…
Browse files Browse the repository at this point in the history
… blue
  • Loading branch information
Flodi authored and gcornut committed Sep 3, 2024
1 parent 758ea8a commit b034230
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- `DatePicker`: improve display of localized day number.
- Reworked internal id generation (linking fields with labels, a11y attributes). Removed the `uid` dependency.
- `Message`: changed type "info" color to blue
- `Notification`: changed type "info" color to blue

## [3.8.1][] - 2024-08-14

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
$lumx-notification-height: 52px;
$lumx-notification-color-palette: ("dark", "yellow", "red", "green");
$lumx-notification-color-palette: ("blue", "yellow", "red", "green");
$lumx-notification-transition-duration: 200ms;
2 changes: 1 addition & 1 deletion packages/lumx-react/src/components/message/Message.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const CLASSNAME = getRootClassName(COMPONENT_NAME);
*/
const CONFIG = {
[Kind.error]: { color: ColorPalette.red, icon: mdiAlert },
[Kind.info]: { color: ColorPalette.dark, icon: mdiInformation },
[Kind.info]: { color: ColorPalette.blue, icon: mdiInformation },
[Kind.success]: { color: ColorPalette.green, icon: mdiCheckCircle },
[Kind.warning]: { color: ColorPalette.yellow, icon: mdiAlertCircle },
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const NOTIFICATION_CONFIGURATION = {
icon: mdiAlert,
},
info: {
color: 'dark',
color: 'blue',
icon: mdiInformation,
},
success: {
Expand Down

0 comments on commit b034230

Please sign in to comment.