Commit 8707d90 1 parent bf655b5 commit 8707d90 Copy full SHA for 8707d90
File tree 5 files changed +25
-7
lines changed
projects/pastanaga-angular
5 files changed +25
-7
lines changed Original file line number Diff line number Diff line change
1
+ # 2.64.9 (2024-03-11)
2
+
3
+ ### Improvements
4
+
5
+ - ** Card** : tokenize card style, so it can be easily overridden
6
+
1
7
# 2.64.8 (2024-02-20)
2
8
3
9
### Improvements
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @guillotinaweb/pastanaga-angular" ,
3
3
"description" : " Provides Pastanaga UI elements as Angular components" ,
4
- "version" : " 2.64.8 " ,
4
+ "version" : " 2.64.9 " ,
5
5
"license" : " MIT" ,
6
6
"keywords" : [
7
7
" angular" ,
Original file line number Diff line number Diff line change 5
5
}
6
6
7
7
.pa-card-wrapper {
8
- background : $color-light-stronger ;
9
- border : 1 px solid $color-neutral-lighter ;
10
- border-radius : $border-radius-default ;
8
+ background : $background-card ;
9
+ border : $border-card ;
10
+ border-radius : $border-radius-card ;
11
11
cursor : pointer ;
12
- padding : rhythm ( 2 ) ;
12
+ padding : $padding-card ;
13
13
transition : background $transition-hint ;
14
14
15
15
.pa-card-content {
18
18
}
19
19
20
20
& :hover {
21
- background : $color-neutral-lightest ;
21
+ background : $background-card-hover ;
22
22
}
23
23
24
24
& :active {
25
- background : $color-neutral-lighter ;
25
+ background : $background-card-active ;
26
26
}
27
27
28
28
& :disabled ,
Original file line number Diff line number Diff line change 1
1
@import ' theme/avatar.tokens' ;
2
2
@import ' theme/body.tokens' ;
3
3
@import ' theme/button.tokens' ;
4
+ @import ' theme/card.tokens' ;
4
5
@import ' theme/chips.tokens' ;
5
6
@import ' theme/icon.tokens' ;
6
7
@import ' theme/menu.tokens' ;
Original file line number Diff line number Diff line change
1
+ @import ' palette.tokens' ;
2
+ @import ' spacing.tokens' ;
3
+
4
+ $background-card : $color-light-stronger !default ;
5
+ $background-card-hover : $color-neutral-lightest !default ;
6
+ $background-card-active : $color-neutral-lighter !default ;
7
+
8
+ $border-card : 1px solid $color-neutral-lighter !default ;
9
+ $border-radius-card : $border-radius-default !default ;
10
+
11
+ $padding-card : rhythm (2 ) !default ;
You can’t perform that action at this time.
0 commit comments