Skip to content

Commit

Permalink
Mark Unravel theme variation as experimental.
Browse files Browse the repository at this point in the history
Until we have a solid system for handling dark themes, this variation should be experimental.

Note that dark schemes should work well, but this variation is particularly troublesome because it has so many custom aspects. They do not translate well when mixed with custom color variations.

Related: #16
  • Loading branch information
justintadlock committed Jun 26, 2024
1 parent 17cfd09 commit 75100ea
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ tests/ export-ignore
/resources/fonts export-ignore
/resources/media export-ignore

# Don't export experimental features.
/experimental export-ignore

# Don't export experimental style variations.
/styles/theme/unravel.json export-ignore

# Note that we're retaining the `resources/js` and `resources/scss` folders,
# despite them containing dev-only files. They are required for themes submitted
# to WordPress.org. You may uncomment the following attribute lines if you don't
Expand Down
File renamed without changes.
File renamed without changes.
Binary file removed resources/fonts/pacifico/pacifico-light.woff2
Binary file not shown.
Binary file removed resources/fonts/pacifico/pacifico.woff2
Binary file not shown.
5 changes: 3 additions & 2 deletions styles/theme/unravel.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"$schema": "https://schemas.wp.org/trunk/theme.json",
"version": 3,
"title": "Unravel",
"description": "Experimental theme variation.",
"settings": {
"blocks": {
"core/comment-template": {
Expand Down Expand Up @@ -284,7 +285,7 @@
"fontStyle": "normal",
"fontStretch": "normal",
"src": [
"file:./public/fonts/pacifico/pacifico.woff2"
"file:./experimental/fonts/pacifico/pacifico.woff2"
]
},
{
Expand All @@ -293,7 +294,7 @@
"fontStyle": "normal",
"fontStretch": "normal",
"src": [
"file:./public/fonts/pacifico/pacifico-light.woff2"
"file:./experimental/fonts/pacifico/pacifico-light.woff2"
]
}
]
Expand Down

0 comments on commit 75100ea

Please sign in to comment.