add hover styles to buttons
This commit is contained in:
parent
7df10f3d2b
commit
4bc74a06e3
@ -16,6 +16,11 @@
|
||||
"name": "Secondary",
|
||||
"slug": "secondary"
|
||||
},
|
||||
{
|
||||
"color": "#5A0D0D",
|
||||
"name": "Secondary darker",
|
||||
"slug": "secondary-darker"
|
||||
},
|
||||
{
|
||||
"color": "#333333",
|
||||
"name": "Body text",
|
||||
@ -113,7 +118,8 @@
|
||||
"color": {
|
||||
"background": "var(--wp--preset--color--secondary)",
|
||||
"text": "var(--wp--preset--color--white)"
|
||||
}
|
||||
},
|
||||
"css": "&:hover { background-color: var(--wp--preset--color--secondary-darker) }\n &:focus { background-color: var(--wp--preset--color--secondary-darker) }\n &:active { background-color: var(--wp--preset--color--secondary-darker) }"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
|
Loading…
Reference in New Issue
Block a user