add hover styles to buttons

This commit is contained in:
Aadil Ayub 2024-04-26 14:05:46 +05:00
parent 7df10f3d2b
commit 4bc74a06e3

View File

@ -16,6 +16,11 @@
"name": "Secondary", "name": "Secondary",
"slug": "secondary" "slug": "secondary"
}, },
{
"color": "#5A0D0D",
"name": "Secondary darker",
"slug": "secondary-darker"
},
{ {
"color": "#333333", "color": "#333333",
"name": "Body text", "name": "Body text",
@ -113,7 +118,8 @@
"color": { "color": {
"background": "var(--wp--preset--color--secondary)", "background": "var(--wp--preset--color--secondary)",
"text": "var(--wp--preset--color--white)" "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": { "typography": {