️(react) improve button accessibility

Rework buttons in order to improve accessibility by increasing color
contrast and shape change across states.
This commit is contained in:
jbpenrath
2023-03-31 17:25:45 +02:00
committed by Jean-Baptiste PENRATH
parent b79c23da30
commit b1925959fe
5 changed files with 60 additions and 41 deletions

View File

@@ -97,9 +97,10 @@
--c--theme--transitions--ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
--c--theme--transitions--duration: 250ms;
--c--components--button--border-radius: 8px;
--c--components--button--border-radius--active: 2px;
--c--components--button--medium-height: 48px;
--c--components--button--small-height: 32px;
--c--components--button--medium-font-size: 1rem;
--c--components--button--small-font-size: 0.8125rem;
--c--components--button--font-weight: 400;
}
}