Skip to content

Commit 3974655

Browse files
feat(typography): Update indigo typography to match the UI kit (#10894)
* feat(typography): Update indigo typography to match the UI kit * feat(typography): Update material calendar typography. Co-authored-by: Simeon Simeonoff <[email protected]>
1 parent 3757e20 commit 3974655

File tree

3 files changed

+19
-8
lines changed

3 files changed

+19
-8
lines changed

projects/igniteui-angular/src/lib/core/styles/components/calendar/_calendar-theme.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1118,7 +1118,7 @@
11181118
/// @param {Map} $categories [(header-year: 'subtitle-1', header-date: 'h4', picker-date: 'subtitle-1', content: 'body-1')] - The categories from the typographic scale used for type styles.
11191119
/// @requires {mixin} igx-type-style
11201120
@mixin igx-calendar-typography($type-scale, $categories: (
1121-
header-year: 'subtitle-1',
1121+
header-year: 'overline',
11221122
header-date: 'h4',
11231123
weekday-label: 'body-1',
11241124
picker-date: 'subtitle-1',

projects/igniteui-angular/src/lib/core/styles/typography/_typography.scss

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -224,11 +224,22 @@
224224
@if ($_variant == 'indigo') {
225225
@include igx-calendar-typography($type-scale);
226226

227-
@include igx-card-typography($type-scale, $categories: (
228-
title: 'h5',
229-
title-small: 'subtitle-2',
230-
subtitle: 'subtitle-2',
231-
content: 'body-2',
227+
@include igx-checkbox-typography($type-scale, $categories: (
228+
label: 'body-1',
229+
));
230+
231+
@include igx-input-group-typography($type-scale, $categories: (
232+
input-text: 'body-1'
233+
));
234+
235+
@include igx-list-typography($type-scale, $categories: (
236+
header: 'overline',
237+
subtitle: 'body-2'
238+
));
239+
240+
241+
@include igx-expansion-panel-typography($type-scale, $categories: (
242+
body: 'body-1'
232243
));
233244

234245
@include igx-dialog-typography($type-scale);

projects/igniteui-angular/src/lib/core/styles/typography/scale-presets/_indigo.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ $indigo_h1: igx-type-style(
55
$font-size: rem(96px),
66
$font-weight: 200,
77
$line-height: rem(112px),
8-
$letter-spacing: rem(-1.54px),
8+
$letter-spacing: rem(-1.5px),
99
$text-transform: none,
1010
$margin-top: 0,
1111
$margin-bottom: 0
@@ -15,7 +15,7 @@ $indigo_h2: igx-type-style(
1515
$font-size: rem(60px),
1616
$font-weight: 200,
1717
$line-height: rem(72px),
18-
$letter-spacing: rem(-.48px),
18+
$letter-spacing: rem(-.5px),
1919
$text-transform: none,
2020
$margin-top: 0,
2121
$margin-bottom: 0

0 commit comments

Comments
 (0)