Skip to content

Commit 551d27e

Browse files
authored
Merge pull request #12383 from IgniteUI/sivanova/update-changelog
chore(*): update changelog
2 parents b1f7236 + 2140a58 commit 551d27e

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,34 @@ All notable changes for each version of this project will be documented in this
5353
- `multi` mode - select/deselect all dates between the last selected/deselected and the one clicked while holding `Shift`.
5454
- `range` mode - extend/shorten the range from the last selected date to the one clicked while holding `Shift`.
5555

56+
### Theme Changes
57+
- **Breaking Changes** - The `palette` function no longer provides `info`, `success`, `warn` and `error` colors. Therefore you have to pass custom values for them if you need to use these colors. You can also use the values for `info`, `success`, `warn` and `error` colors from our predefined color palettes.
58+
59+
- Code example:
60+
61+
```scss
62+
// Mandatory colors
63+
$primary-color: #2a38b7;
64+
$secondary-color: #f96a88;
65+
$surface-color: #e1ebe4;
66+
// Additional colors
67+
$error-color: color($light-fluent-palette, 'error');
68+
$warn-color: color($light-fluent-palette, 'warn');
69+
$info-color: color($light-fluent-palette, 'info');
70+
$success-color: color($light-fluent-palette, 'success');
71+
72+
// Creating custom palette
73+
$my-color-palette: palette(
74+
$primary: $primary-color,
75+
$secondary: $secondary-color,
76+
$surface: $surface-color,
77+
$error: $error-color,
78+
$warn: $warn-color,
79+
$info: $info-color,
80+
$success: $success-color
81+
);
82+
```
83+
5684
## 14.2.0
5785

5886
### New Features

0 commit comments

Comments
 (0)