-
Notifications
You must be signed in to change notification settings - Fork 30
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
Add dark mode colours for NumberedList
titles
#9788
Conversation
NumberedList
titles
Size Change: -5 kB (-1%) Total Size: 732 kB
ℹ️ View Unchanged
|
dotcom-rendering/src/components/NumberedTitleBlockComponent.tsx
Outdated
Show resolved
Hide resolved
Co-authored-by: Jamie B <[email protected]>
@@ -474,7 +474,7 @@ export const renderElement = ({ | |||
<NumberedTitleBlockComponent | |||
position={element.position} | |||
html={element.html} | |||
format={element.format} | |||
format={format} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changing the type from FEFormat
to ArticleFormat
so that we can see the palette
changes in the stories. Previously format was ignored.
dotcom-rendering/src/components/NumberedTitleBlockComponent.tsx
Outdated
Show resolved
Hide resolved
Also,`titleStyles` does not need to be a function in `NumberedTitleBlockComponent`. Co-authored-by: Max Duval <[email protected]>
Overdue on PROD (created by @ioannakok and merged by @abeddow91 58 minutes and 19 seconds ago) What's gone wrong? |
Seen on PROD (created by @ioannakok and merged by @abeddow91 1 hour, 12 minutes and 40 seconds ago) Please check your changes! |
Closes #9739
What does this change?
Adds dark mode for
NumberedList
titles.Why?
We want to support dark mode in DCAR
Screenshots