Skip to content

Commit f8c9ad0

Browse files
committed
feat(Diaolog.Alert): expose titleIcon color to --mdc-theme-icon-color
1 parent be8bac7 commit f8c9ad0

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

components/mdc/Dialog/Alert.svelte

+1
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ onMount(() => {
4949
i.material-icons {
5050
position: relative;
5151
top: 4px;
52+
color: var(--mdc-theme-icon-color);
5253
}
5354
</style>
5455

stories/_theme.scss

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
--mdc-button-outline-color: #00a7e1;
1313
--mdc-list-item__subtitle: #6d7580;
1414
--mdc-menu-icon-color: #6d7580;
15+
--mdc-theme-icon-color: #6d7580;
1516
}
1617

1718
.mdc-theme--primary-variant {

0 commit comments

Comments
 (0)