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

Add SpecialReportAlt card styles #25693

Merged
merged 5 commits into from
Nov 22, 2022
Merged

Conversation

ioannakok
Copy link
Contributor

@ioannakok ioannakok commented Nov 17, 2022

What does this change?

Adds SpecialReportAlt card styles. These styles will be applied when a container has no palette and the cards are of type SpecialReportAlt.

Re-introduces changes of this PR which was reverted by this.

Does this change need to be reproduced in dotcom-rendering ?

Screenshots

Standard type

image

Comment type

image

With media type

image

What is the value of this and can you measure success?

Checklist

Does this affect other platforms?

  • AMP
  • Apps
  • Other (please specify)

Does this affect GLabs Paid Content Pages? Should it have support for Paid Content?

  • No
  • Yes (please give details)

Does this change break ad-free?

  • No
  • It did, but tests caught it and I fixed it
  • It did, but there was no test coverage so I added that then fixed it

Does this change update the version of CAPI we're using?

Accessibility test checklist

Tested

  • Locally
  • On CODE (optional)

@ioannakok ioannakok force-pushed the ioanna/frontend-should-understand-cardstyle-specialreportalt branch 2 times, most recently from 6d12779 to 6fc0b4f Compare November 18, 2022 15:49
Base automatically changed from ioanna/frontend-should-understand-cardstyle-specialreportalt to main November 21, 2022 11:36
@ioannakok ioannakok force-pushed the ioanna/add-special-report-card-colours branch from 1adaec8 to ed54cb9 Compare November 21, 2022 12:14
@ioannakok ioannakok changed the title Ioanna/add special report card colours Add SpecialReportAlt card styles Nov 21, 2022
@ioannakok ioannakok changed the title Add SpecialReportAlt card styles Add SpecialReportAlt card styles Nov 21, 2022
@ioannakok ioannakok marked this pull request as ready for review November 21, 2022 12:20
@ioannakok ioannakok requested a review from a team as a code owner November 21, 2022 12:20
}
}

background-color: $special-report-alt-faded !important;
Copy link
Contributor Author

@ioannakok ioannakok Nov 21, 2022

Choose a reason for hiding this comment

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

Regarding the abundant use of !important in this PR please see discussion here

Copy link
Contributor

@mxdvl mxdvl left a comment

Choose a reason for hiding this comment

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

🤞

@ioannakok ioannakok merged commit 7eb1357 into main Nov 22, 2022
@ioannakok ioannakok deleted the ioanna/add-special-report-card-colours branch November 22, 2022 10:10
@prout-bot
Copy link
Collaborator

Seen on PROD (merged by @ioannakok 18 minutes and 25 seconds ago)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants