Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ Next example shows how you can use the Fluent theme.
}
```

### Theme Changes
`igx-badge-theme` - Removed the `$disable-shadow` property to mitigate confusion when specifying `$shadow` explicitly.

For more information about the theming please read our [documentation](https://www.infragistics.com/products/ignite-ui-angular/angular/components/themes/index.html)

### New Features
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"$schema": "../../common/schema/theme-props.schema.json",
"changes": [{
"name": "$disable-shadow",
"remove": true,
"owner": "igx-badge-theme"
}]
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
/// @param {Color} $text-color [null] - The text color used.
/// @param {Color} $border-color [null] - The border color used.
/// @param {Color} $background-color [null] - The background color used.
/// @param {Bool} $disable-shadow [true] - Sets the badge shadow visibility.
/// @param {Bool} $disable-border [true] - Sets the badge border visibility.
/// @param {box-shadow} $shadow [null] - Sets a shadow to be used for the badge.
/// @param {border-radius} $border-radius [null] - The border radius used for badge component.
Expand Down Expand Up @@ -52,7 +51,6 @@
$background-color: null,
$shadow: null,

$disable-shadow: true,
$disable-border: true
) {
$name: 'igx-badge';
Expand All @@ -77,10 +75,6 @@
$shadow: igx-elevation($elevations, $elevation);
}

@if $disable-shadow {
$shadow: none;
}

@return extend($theme, (
name: $name,
palette: $palette,
Expand Down