Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -404,16 +404,16 @@
}
}

/// Adds typography styles for the igx-list component.
/// Uses the 'caption' and 'subtitle-2'
/// Adds typography styles for the igx-drop-down component.
/// Uses the 'overline', 'body-2', 'subtitle-1'
/// categories from the typographic scale.
/// @group typography
/// @param {Map} $categories [(header: 'overline', item: 'body-2', select-item: 'subtitle-1')] - The categories from the typographic scale used for type styles.
/// @param {Map} $categories [(header: 'overline', item: 'body-2', select-item: 'body-2')] - The categories from the typographic scale used for type styles.
@mixin drop-down-typography(
$categories: (
header: 'overline',
item: 'body-2',
select-item: 'subtitle-1'
select-item: 'body-2'
)
) {
$header: map.get($categories, 'header');
Expand All @@ -432,4 +432,10 @@
margin: 0;
}
}

%igx-drop-down__item--selected {
@include type-style($select-item) {
margin: 0;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@
));
@include dock-manager-typography();
@include drop-down-typography($categories: (
header: 'body-1',
item: 'body-1',
select-item: 'body-1'
header: 'overline',
item: 'body-2',
select-item: 'body-2'
));
@include expansion-panel-typography($categories: (
title: 'h5',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,11 @@
@include date-range-typography();
@include dialog-typography();
@include dock-manager-typography();
@include drop-down-typography();
@include drop-down-typography($categories: (
header: 'subtitle-2',
item: 'body-2',
select-item: 'body-2'
));
@include expansion-panel-typography($categories: (
title: 'subtitle-1',
description: 'body-2',
Expand Down
Loading