add hover styles to buttons

This commit is contained in:
Aadil Ayub 2024-04-26 14:05:46 +05:00
parent 7df10f3d2b
commit 4bc74a06e3
1 changed files with 7 additions and 1 deletions

View File

@ -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": {