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

Use a theme-agnostic color token for read-only panels support in dark mode #10689

Merged
merged 3 commits into from
Jul 18, 2023

Conversation

thibaudcolas
Copy link
Member

Fixes the last issue tracked on #10418, with read_only=True FieldPanel. surface-field-inactive is currently used for disabled fields.

I’ve additionally customised the border for consistency with disabled fields.

@thibaudcolas thibaudcolas mentioned this pull request Jul 18, 2023
20 tasks
@squash-labs
Copy link

squash-labs bot commented Jul 18, 2023

Manage this branch in Squash

Test this branch here: https://thibaudcolasbug10418-readonly-7kfco.squash.io

@thibaudcolas thibaudcolas added type:Bug component:Design system Including the pattern library (Storybook) labels Jul 18, 2023
@thibaudcolas thibaudcolas added this to the 5.1 milestone Jul 18, 2023
@laymonage laymonage self-requested a review July 18, 2023 08:51
Copy link
Member

@laymonage laymonage left a comment

Choose a reason for hiding this comment

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

Looks good to me, thanks!

Before

Screenshots

image image

After

Screenshots

image image

@laymonage laymonage force-pushed the bug/10418-readonly-dark-mode branch from a3c2129 to f8da5f1 Compare July 18, 2023 09:42
@laymonage laymonage merged commit f8da5f1 into wagtail:main Jul 18, 2023
14 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:Design system Including the pattern library (Storybook) type:Bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants