Refactored font usage on buttons

pull/4503/head
Cagatay Civici 2023-09-22 01:12:01 +03:00
parent c0002b5e70
commit 933a941691
4 changed files with 5 additions and 6 deletions

View File

@ -8,7 +8,6 @@ body {
overflow-x: hidden; overflow-x: hidden;
overflow-y: auto; overflow-y: auto;
background-color: var(--surface-ground); background-color: var(--surface-ground);
font-family: var(--font-family);
font-weight: normal; font-weight: normal;
color: var(--text-color); color: var(--text-color);
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
@ -77,7 +76,6 @@ input[type="number"] {
.px-link { .px-link {
font-size: 1rem; font-size: 1rem;
font-family: var(--font-family);
border-radius: var(--border-radius); border-radius: var(--border-radius);
text-align: left; text-align: left;
background-color: transparent; background-color: transparent;
@ -97,3 +95,8 @@ input[type="number"] {
.px-link:disabled { .px-link:disabled {
cursor: default; cursor: default;
} }
button {
font-family: inherit;
font-feature-settings: inherit;
}

View File

@ -12,7 +12,6 @@
button { button {
background-color: transparent; background-color: transparent;
font-family: var(--font-family);
border: 0 none; border: 0 none;
display: block; display: block;
padding: 1rem 2rem; padding: 1rem 2rem;

View File

@ -6,7 +6,6 @@
transition: border-color .3s; transition: border-color .3s;
height: 3rem; height: 3rem;
padding: 0 .75rem; padding: 0 .75rem;
font-family: var(--font-family);
&:hover { &:hover {
border-color: var(--primary-color); border-color: var(--primary-color);
@ -39,7 +38,6 @@
top: 0; top: 0;
border-radius: 0; border-radius: 0;
height: auto; height: auto;
font-family: var(--font-family);
width: auto; width: auto;
&:first-child { &:first-child {

View File

@ -17,7 +17,6 @@
} }
.linkbox { .linkbox {
font-family: var(--font-family);
transition: background-color 0.3s; transition: background-color 0.3s;
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;