From 5dc6a4ed3242522570a34689c686bd251adf8560 Mon Sep 17 00:00:00 2001 From: Mitchell McCaffrey Date: Tue, 14 Apr 2020 16:03:19 +1000 Subject: [PATCH] Added disabled states to buttons and inputs --- src/theme.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/theme.js b/src/theme.js index 460d2b5..8fefb08 100644 --- a/src/theme.js +++ b/src/theme.js @@ -177,6 +177,9 @@ export default { "&:focus": { outlineColor: "primary", }, + "&:disabled": { + backgroundColor: "muted", + }, }, }, buttons: { @@ -197,6 +200,10 @@ export default { "&:active": { borderColor: "primary", }, + "&:disabled": { + borderColor: "text", + opacity: 0.5, + }, }, secondary: { color: "secondary",