Skip to content
This repository was archived by the owner on May 20, 2023. It is now read-only.

Commit 823f90a

Browse files
Googlernshahan
authored andcommitted
Add a mixins for font-weight and padding.
PiperOrigin-RevId: 233098437
1 parent b293c72 commit 823f90a

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

angular_components/lib/material_chips/_mixins.scss

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,13 +93,27 @@ $left-icon-width: $mat-grid * 4;
9393
}
9494
}
9595

96+
/// Use this mixin to change the font weight of each of the chips.
97+
@mixin material-chip-font-weight($weight) {
98+
::ng-deep material-chip {
99+
font-weight: $weight;
100+
}
101+
}
102+
96103
/// Use this mixin to change the font size of each of the chips.
97104
@mixin material-chip-font-size($size) {
98105
::ng-deep material-chip {
99106
font-size: $size;
100107
}
101108
}
102109

110+
/// Use this mixin to change the padding of each of the chips.
111+
@mixin material-chip-padding($padding) {
112+
::ng-deep material-chip {
113+
padding: $padding;
114+
}
115+
}
116+
103117
$main-hover-bg-color: $mat-grey-400;
104118
$main-selected-bg-color: $mat-grey-600;
105119

0 commit comments

Comments
 (0)