fix(all): improve text customization

This commit is contained in:
Manu Mtz.-Almeida
2018-08-10 00:35:59 +02:00
parent 4ec038d507
commit 6e3e07bc8b
11 changed files with 44 additions and 76 deletions

View File

@ -7,9 +7,18 @@
pointer-events: all;
color: #{current-color(base)};
text-align: center;
text-decoration: none;
text-overflow: ellipsis;
text-transform: none;
white-space: nowrap;
font-kerning: none;
}
button {
@include text-inherit();
@include margin(0);
@include padding(0);
@include font-smoothing();
@ -30,21 +39,12 @@ button {
outline: none;
background: transparent;
color: inherit;
line-height: 1;
text-align: center;
text-decoration: none;
text-overflow: ellipsis;
text-transform: none;
white-space: nowrap;
cursor: pointer;
user-select: none;
z-index: 0;
font-kerning: none;
appearance: none;
}