Skip to content

Commit

Permalink
fix(expansion-panel): text styles and typography (#1415)
Browse files Browse the repository at this point in the history
  • Loading branch information
SisIvanova authored Oct 2, 2024
1 parent 23ef7c5 commit 7720c01
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@

[part='content'] ::slotted(*) {
@include type-style('body-2');

display: block;
}

[part~='content'] {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,3 @@
:host([open]) [part~='content'] {
@include type-style('body-1');
}

[part='subtitle'] {
&::slotted(*) {
@include type-style('body-2');
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,11 @@ $theme: $material;

:host([disabled]) {
[part='title'],
[part='subtitle'],
[part~='indicator'] {
color: var-get($theme, 'disabled-text-color');
}

[part='subtitle'] {
color: var-get($theme, 'disabled-description-color');
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
}
}

:host([open]) [part~='content'] {
[part='content'] ::slotted(*) {
@include type-style('caption');
}

0 comments on commit 7720c01

Please sign in to comment.