Skip to content

Commit ce30518

Browse files
authored
Changing card style (#996)
1 parent 6b63d53 commit ce30518

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

projects/swimlane/ngx-ui/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CHANGELOG
22

3+
## HEAD (unreleased)
4+
5+
- Breaking style changes (`ngx-card`): Background change from gradient to solid color. Removing left border from ngx-section.
6+
37
## 44.6.0 (2023-5-18)
48

59
- Enhancement (`ngx-select-dropdown`): A new event is triggered when the X button is pressed to clear the filter query.

projects/swimlane/ngx-ui/src/lib/components/card/card.component.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ $color-accent-grey: linear-gradient(180deg, $color-blue-grey-100 0%, $color-blue
44
$card-accent-thickness: 4px;
55

66
$color-background-grey: linear-gradient(180deg, $color-blue-grey-750 0%, $color-blue-grey-800 100%);
7+
$color-flat-background: $color-blue-grey-800;
78

89
$card-outline-border-thickness: 3px;
910

@@ -29,7 +30,7 @@ $card-vertical-gutter: 20px;
2930

3031
.ngx-card {
3132
display: flex;
32-
background: $color-background-grey;
33+
background: $color-flat-background;
3334
box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
3435
border-radius: 2px;
3536

@@ -177,7 +178,6 @@ $card-vertical-gutter: 20px;
177178
justify-content: center;
178179
height: 100%;
179180
padding: 0 $card-horizontal-gutter;
180-
border-left: 1px #313847 solid;
181181

182182
&--description {
183183
flex-basis: 28%;

0 commit comments

Comments
 (0)