Skip to content

Commit 561839c

Browse files
committed
refactor(demos): add typography to styles
1 parent 564d020 commit 561839c

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

src/styles/igniteui-theme.scss

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
$palette: $dark-indigo-palette;
88
$schema: $dark-indigo-schema;
9+
$typography: $indigo-type-scale;
910

1011
/* autoprefixer grid: on */
1112
$igx-background-color: darken(igx-color($palette, 'surface'), 5%);
@@ -18,16 +19,9 @@ body {
1819

1920
@include igx-core($direction: ltr);
2021
@include igx-theme($palette: $palette, $schema: $schema);
21-
@include igx-palette-vars($palette, $contrast: true);
22-
23-
@include igx-typography(
24-
$font-family: "'Nunito Sans', sans-serif",
25-
$type-scale: $indigo-type-scale
26-
);
22+
@include igx-typography($type-scale: $typography);
2723

28-
@include igx-card-typography($indigo-type-scale, $categories: (
29-
title: 'h5',
30-
));
24+
@include igx-palette-vars($palette, $contrast: true);
3125

3226
.nav-header {
3327
@if luminance($igx-background-color) < .5 {
@@ -37,5 +31,3 @@ body {
3731
}
3832
}
3933

40-
41-

0 commit comments

Comments
 (0)