feat(docs-infra): implement figure styles#33259
Conversation
PR#28396 originally addressed an update via issue angular#23983 to make images more visible with a white background (implementation of gray "lightbox"). This PR implements those styles defined in PR#28396.
|
You can preview 187a492 at https://pr33259-187a492.ngbuilds.io/. |
gkalpak
left a comment
There was a problem hiding this comment.
Are there occurrences of figure > img, without .lightbox (or a .card)?
If so, how does one decide when to use .lightbox and .card and when not?
|
@gkalpak eek :/ It looks like one my fixup commits never made it on there? I "THINK" I took care of everything. The extra lines were there originally and sometimes my editor made it look like I wasn't supposed to indent properly so I thought maybe it would break the markdown if I did... I was going to update the style guide to reflect when to use the |
|
You can preview 65e6295 at https://pr33259-65e6295.ngbuilds.io/. |
Were or are? 😕 😛 My concern is that we are complicating the conventions one has to follow, which will inevitably result in them not being consistently followed 😟 |
|
@gkalpak Is there anything missing for this PR? |
|
You can preview 81d5340 at https://pr33259-81d5340.ngbuilds.io/. |
|
All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the ℹ️ Googlers: Go here for more info. |
|
@sjtrimble, I pushed a fixup commit with some indentation fixes. If you are happy with that, feel free to mark the PR for merging (remove the |
|
@googlebot I consent. |
|
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
|
merge-assistance: Global approval for this docs(-infra)-only change. |
|
You can preview 771a723 at https://pr33259-771a723.ngbuilds.io/. |
|
Thanks @gkalpak , u da best :P |
Reference angular#33259 Removes figures elements as AIO is not typically using captions or image groups where figures would be necessary or appropriate
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |

PR#28396 originally addressed an update via issue #23983 to make images more visible with a white background (implementation of gray "lightbox").
This PR implements those styles defined in PR#28396.
PR Checklist
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Images are often lost since the background change to white.
Issue Number: #23983 | and PR #28396
What is the new behavior?
Add a shadowed gray 'lightbox' to better define images throughout the documentation.
Does this PR introduce a breaking change?