From bbc0265527926be59e0c4f6a86bea4658256389f Mon Sep 17 00:00:00 2001 From: Egor Kloos Date: Wed, 10 Jan 2024 09:20:42 +0100 Subject: [PATCH] Added inputs and buttons to examples --- example.html | 30 +++++++++++++++++++++++++++++- openprops.html | 29 +++++++++++++++++++++++++++++ src/system-selectors.css | 3 +-- 3 files changed, 59 insertions(+), 3 deletions(-) diff --git a/example.html b/example.html index 36e30fd..798bdb5 100644 --- a/example.html +++ b/example.html @@ -261,8 +261,36 @@

Table

-

Figure

+

Buttons & Inputs

+

+ + + +

+

+ + + + + + + + + + +

+

Figure

diff --git a/openprops.html b/openprops.html index 3696a40..a6b9c7d 100644 --- a/openprops.html +++ b/openprops.html @@ -268,6 +268,35 @@

Table

+

Buttons & Inputs

+

+ + + +

+

+ + + + + + + + + + +

+

Figure

diff --git a/src/system-selectors.css b/src/system-selectors.css index 956a47c..2b89777 100644 --- a/src/system-selectors.css +++ b/src/system-selectors.css @@ -154,6 +154,7 @@ button, textarea { font: inherit; + font-size: var(--system-font-size-m); font-family: var(--system-font-family-interactive); } @@ -361,9 +362,7 @@ border: var(--system-stroke-thin) solid var(--system-button-border); border-radius: var(--system-radius); box-shadow: none; - font-size: var(--system-font-size-m); accent-color: var(--system-accent-color); - &:is([type='radio']) { border-radius: 50%; }