aboutsummaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/components')
-rw-r--r--src/components/button.style.js19
-rw-r--r--src/components/root.style.js1
2 files changed, 20 insertions, 0 deletions
diff --git a/src/components/button.style.js b/src/components/button.style.js
index 84db88fb..5a5e4271 100644
--- a/src/components/button.style.js
+++ b/src/components/button.style.js
@@ -80,8 +80,27 @@ export default {
}
},
{
+ state: ['pressed'],
+ directives: {
+ shadow: [...inputInsetFakeBorders]
+ }
+ },
+ {
state: ['hover', 'pressed'],
directives: {
+ shadow: [hoverGlow, ...inputInsetFakeBorders]
+ }
+ },
+ {
+ state: ['toggled'],
+ directives: {
+ background: '--accent,-24.2',
+ shadow: [...inputInsetFakeBorders]
+ }
+ },
+ {
+ state: ['toggled', 'hover'],
+ directives: {
background: '--accent,-24.2',
shadow: [hoverGlow, ...inputInsetFakeBorders]
}
diff --git a/src/components/root.style.js b/src/components/root.style.js
index 53ee0ae1..38bcc954 100644
--- a/src/components/root.style.js
+++ b/src/components/root.style.js
@@ -4,6 +4,7 @@ export default {
validInnerComponents: [
'Underlay',
'Modals',
+ 'Popover',
'TopBar'
],
defaultRules: [