Skip to content

Update styles of Welcome Panel to match 6.0 About design#2683

Closed
ryelle wants to merge 6 commits intoWordPress:trunkfrom
ryelle:update/60-dashboard
Closed

Update styles of Welcome Panel to match 6.0 About design#2683
ryelle wants to merge 6 commits intoWordPress:trunkfrom
ryelle:update/60-dashboard

Conversation

@ryelle
Copy link
Copy Markdown
Contributor

@ryelle ryelle commented May 5, 2022

This inlines the 6.0 SVG onto the dashboard, so that we can style it using CSS. It also introduces 3 new color variables to control the dashboard colors, which removes the light scheme workaround in _admin.scss.

default coffee ectoplasm
blue light midnight
modern ocean sunrise

Trac ticket: https://core.trac.wordpress.org/ticket/55532


This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.

This inlines the SVG onto the dashboard, so that we can style it using CSS. It also introduces 3 new color variables to control the dashboard colors.
@ryelle ryelle self-assigned this May 5, 2022
Copy link
Copy Markdown
Contributor

@peterwilsoncc peterwilsoncc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Testing notes:

✅ Ensured colours change depending on user theme
✅ Tested responsive behaivour using the ol' change the size of the browser window technique
✅ confirmed customiser/site editor links were displayed depending on theme type
✅ labouriously used English spelling in each of these bullet points because I was in a mood ;)

Visually it's great, thank you!

I've left one note inline about how the file is included, once that's changed I reckon it's good to go in.

Co-authored-by: Peter Wilson <519727+peterwilsoncc@users.noreply.github.com>
@ryelle ryelle requested a review from peterwilsoncc May 10, 2022 15:39
Copy link
Copy Markdown
Contributor

@hellofromtonya hellofromtonya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - ready for commit.

@ryelle
Copy link
Copy Markdown
Contributor Author

ryelle commented May 10, 2022

Committed in r53383.

@ryelle ryelle closed this May 10, 2022
@ryelle ryelle deleted the update/60-dashboard branch May 17, 2022 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants