Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tutorial on using the box-shadow support for themes #51

Closed
justintadlock opened this issue Jan 5, 2023 Discussed in #47 · 7 comments
Closed

Tutorial on using the box-shadow support for themes #51

justintadlock opened this issue Jan 5, 2023 Discussed in #47 · 7 comments
Assignees

Comments

@justintadlock
Copy link

Discussed in #47

Originally posted by justintadlock January 3, 2023
Gutenberg 14.9 introduces a new "shadow" preset for theme.json: WordPress/gutenberg#46813

This allows devs to create a set of custom box-shadow presets for use in their themes, which can be referenced in theme.json or templates. We need a tutorial that covers how to implement this.

Currently, we are still waiting on UI integration in the form of a component on the user's end. Do y'all think it's worth waiting for the UI pieces to land before the tutorial?

I'm up for writing this.

@justintadlock
Copy link
Author

Current progress (really rough): index.md

I expect to have this post finished on Monday, Jan. 9. It will be available as a Google Doc and ready for review.

Article images:

shadow-sm-md-lg
shadow-lg
shadow-primary

@justintadlock
Copy link
Author

Draft of tutorial is now on Google Docs and is ready for review: https://docs.google.com/document/d/1lfIt8PZuKDpvrrEHWwkd3CwKK9ksZreScOb_CsPyhZA/edit?usp=sharing

@justintadlock justintadlock added flow: needs review reviewer wanted and removed flow: approved can move forward labels Jan 9, 2023
@mburridge
Copy link

Excellent article @justintadlock. Everything is very clearly explained. I think it's good to go. Great work.

@justintadlock justintadlock moved this from Needs 1st review to Needs 2nd review in Developer Blog Content Board Jan 10, 2023
@nalininsbs
Copy link

nalininsbs commented Jan 12, 2023

(Borrowed Nalini's laptop as mine is in repair. Did not notice, it linked me to her GitHub in error as she had been reviewing another item. Apologies to Nalini.)

@abhansnuk
Copy link

Hello @justintadlock , second review done.

I have added comments to the google doc. Loved this article, easy for devs to follow. From your google doc, would a title alternative 'Using the box shadow feature for themes?

Standard additions: Alt text, excerpt, categories for audience level (beginner, intermediate, advanced), props list.

I have added a more general question in Slack about when we are calling an article a 'tutorial' and trying to see how this aligns with Learn WordPress.

@justintadlock justintadlock moved this from Needs 2nd review to Ready to publish in Developer Blog Content Board Jan 12, 2023
@justintadlock justintadlock moved this from Ready to publish to Published (Done) in Developer Blog Content Board Jan 12, 2023
@github-project-automation github-project-automation bot moved this from Published (Done) to Ready to publish in Developer Blog Content Board Jan 12, 2023
@bph bph moved this from Ready to publish to Published (Done) in Developer Blog Content Board Jan 17, 2023
@bph
Copy link
Collaborator

bph commented Jan 17, 2023

Published: Using the box shadow feature for themes

@justintadlock
Copy link
Author

Note that I've updated the post to change instances of palette to presets where appropriate. This was changed in the Gutenberg plugin and reflects the most up-to-date code standard in theme.json for shadows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Published (Done)
Development

No branches or pull requests

5 participants