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

✨ [Amp story] [Page attachments] [inline] Add contrast protection #33939

Merged
merged 5 commits into from
Apr 22, 2021

Conversation

processprocess
Copy link
Contributor

Context / Fixes #33913

Add contrast protection for inline attachments.

Screen Shot 2021-04-21 at 3 36 44 PM

demo

The theming for "no image pre-tap dark theme" will be added in #32767

@amp-owners-bot
Copy link

Hey @gmajoulet, @newmuis, @Enriqe! These files were changed:

extensions/amp-story/1.0/amp-story-open-page-attachment.css
extensions/amp-story/1.0/amp-story-open-page-attachment.js

@processprocess processprocess merged commit a086b30 into ampproject:main Apr 22, 2021
@processprocess processprocess deleted the background-protection branch April 22, 2021 12:38
rochapablo pushed a commit to rochapablo/amphtml that referenced this pull request Aug 30, 2021
…pproject#33939)

* Themed linear gradient.

* Themed background protection

* Target by href

* Comment code.

* Consolidate css.
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.

[Page attachments] [inline] Background contrast protection for text
5 participants