diff options
| author | Joe Carstairs <jcarstairs@scottlogic.com> | 2023-10-25 19:04:35 +0100 |
|---|---|---|
| committer | Joe Carstairs <jcarstairs@scottlogic.com> | 2023-10-25 19:04:35 +0100 |
| commit | a1c0a03822c7b7f05abecae8fc964f0af8475cd1 (patch) | |
| tree | 8118e59c31b9bef3345d0fb0b5d8864fb75365bd | |
| parent | daa6adb89259c2a1a72b219d02ad7fc1373b44b1 (diff) | |
Removes font-weight transition on buttons
| -rw-r--r-- | scss/modules/btn.scss | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/scss/modules/btn.scss b/scss/modules/btn.scss index 142463c..1d52b9c 100644 --- a/scss/modules/btn.scss +++ b/scss/modules/btn.scss @@ -3,7 +3,7 @@ box-sizing: border-box; color: var(--text-color); border: solid var(--relative-eighth-rem) var(--text-color); - font-weight: 500; + font-weight: 600; text-align: center; margin-block-start: var(--margin-block-sm); padding-inline: var(--padding-inline-md); @@ -11,7 +11,6 @@ background-color: transparent; transition: background-color 100ms, - font-weight 100ms, transform 100ms; } @@ -21,10 +20,8 @@ color: var(--text-highlight-color); border-color: var(--background-highlight-color); background-color: var(--background-highlight-color); - font-weight: 700; transition: background-color 300ms, - font-weight 300ms, transform 300ms; } @@ -35,4 +32,4 @@ .btn:active { transform: scale(1.1, 1.1); -}
\ No newline at end of file +} |
