-
Notifications
You must be signed in to change notification settings - Fork 29
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
Update Logo styling for advertising partner #11217
Update Logo styling for advertising partner #11217
Conversation
Size Change: +280 B (+0.04%) Total Size: 794 kB
ℹ️ View Unchanged
|
d42f6c0
to
a34121f
Compare
Hello 👋! When you're ready to run Chromatic, please apply the You will need to reapply the label each time you want to run Chromatic. |
ecfc9e6
to
2728a29
Compare
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.
Looking good, I have left a handful of small thoughts and questions about some of the CSS declarations which you might want to address, but no blockers.
It seems pretty clear from this approach that the use of a context provider for Config is more ergonomic than prop drilling. This is something the @guardian/dotcom-platform should ensure is as smooth and performant as possible in the future: #8795
Thanks for your review Max! I used the prop drilling approach with Section Front and TagPages but the Config one with Articles as this is how it seemed easier to do it that way. |
3f234bb
to
1157aaa
Compare
What does this change?
This PR updates logo styling for
sponsored
with the new labelsAdvertising partner
andExclusive advertising partner
which was requested by US.The change will be in Articles, Interactives, Section Front and Tag Pages. It will also be for Web and App. In this PR Articles and Interactives are supported by DCAR but not Fronts so there will be a separate ticket for Section Front and Tag Pages for App.
Here is a list of useful PRs related to the new labels:
Here is the Figma file for the design.
@Amouzle and I had a couple of meetings with the US team regarding the design and based on DCR codebase and Source foundations we agreed on the following:
dotcom-rendering/dotcom-rendering/src/palette.ts
Line 1856 in 7bf3652
There has been changes in DCR for Label styling based on design so I removed the new label colour for light and dark mode and kept what we already have in main.
dotcom-rendering/dotcom-rendering/src/palette.ts
Line 1845 in 7bf3652
The Figma file doesn't have the previous changes but I thought to include it in the PR.
In order to test this I changed the label to
supported by
so when you are reviewing the PR you can replace the value to be one of the existing labels. The screenshots will also havesupported by
just to show the before and after when the new labels are live. Screenshots were taken in different times and sizes that is why they Before and After columns don't have the same width.A 0% AB test has been added because the new labels aren't live yet so once they are anyone can opt in to check the new design for the
Advertising partner
andExclusive advertising partner
. Check guardian/frontend#27136.This is an opportunity to make any changes or improvements in design before we roll it out.
Why?
To enhance the branding of Guardian Labs (US) content by making logos more prominent. This design was created to improve the advertising experience, helping to secure additional budget from advertisers.
Additionally, this change will more clearly indicate that the content is funded by advertisers.
Screenshots