Added disabled states to buttons and inputs

This commit is contained in:
Mitchell McCaffrey 2020-04-14 16:03:19 +10:00
parent d40d5419dd
commit 5dc6a4ed32

View File

@ -177,6 +177,9 @@ export default {
"&:focus": { "&:focus": {
outlineColor: "primary", outlineColor: "primary",
}, },
"&:disabled": {
backgroundColor: "muted",
},
}, },
}, },
buttons: { buttons: {
@ -197,6 +200,10 @@ export default {
"&:active": { "&:active": {
borderColor: "primary", borderColor: "primary",
}, },
"&:disabled": {
borderColor: "text",
opacity: 0.5,
},
}, },
secondary: { secondary: {
color: "secondary", color: "secondary",