Skip to content

Commit e6f7429

Browse files
authored
Merge pull request #439 from material-components/feature/325-large-button
Button updates
2 parents 2f6fce8 + c2daec0 commit e6f7429

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

plugin/assets/css/src/components/button.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -655,19 +655,21 @@ svg.mdc-button__icon {
655655

656656
.mdc-button--elevated:not(:disabled),
657657
.mdc-button--raised:not(:disabled) {
658+
color: var(--md-sys-color-primary);
658659

659660
&:hover {
660661
background-color: var(--md-sys-color-surface-variant);
661662
}
662663

663664
&:focus,
664665
&:active {
665-
background-color: var(--md-sys-color-surface);
666+
background-color: var(--md-sys-color-surface-variant);
666667
}
667668
}
668669

669670
.mdc-button.is-large {
670671
background-color: var(--md-sys-color-primary-container);
672+
border: 0;
671673
border-radius: var(--md-sys-shape-medium);
672674
box-shadow: var(--md-sys-elevation-1);
673675
color: var(--md-sys-color-on-primary-container);

0 commit comments

Comments
 (0)