Skip to content

Commit

Permalink
Add shadow presets to the 'theme.json' file
Browse files Browse the repository at this point in the history
  • Loading branch information
Mamaduka committed Jan 31, 2023
1 parent 8a12e9c commit fec0a49
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/wp-includes/theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,20 @@
}
}
},
"shadow": {
"presets": [
{
"name": "Natural",
"slug": "natural",
"shadow": "0 .2rem .3rem 0 rgba(0,0,0, 0.3), 0 .5rem .6rem 0 rgba(0,0,0, 0.4)"
},
{
"name": "Sharp",
"slug": "sharp",
"shadow": ".5rem .5rem 0 0 rgba(0,0,0, 0.4)"
}
]
},
"spacing": {
"blockGap": null,
"margin": false,
Expand Down

0 comments on commit fec0a49

Please sign in to comment.