Skip to content

Replace .bg-white with .bg-body in docs#32815

Merged
mdo merged 3 commits intotwbs:mainfrom
silvinor:fix-docs-bg-white
Jan 25, 2021
Merged

Replace .bg-white with .bg-body in docs#32815
mdo merged 3 commits intotwbs:mainfrom
silvinor:fix-docs-bg-white

Conversation

@silvinor
Copy link
Copy Markdown
Contributor

@silvinor silvinor commented Jan 16, 2021

Fixes #32810

Use of the .bg-white class to define visual aspects of the examples
would be unintuitive for theme builders to test themes on.
This replaces instances of .bg-white with .bg-body in the examples.

  • Edited examples to replace use .bg-white class with .bg-body class
    • product
    • offcanvas
    • pricing
    • cheatsheet
    • cheatsheet-rtl
  • Edited utilities colors.md & shadows.md to include .bg-body class

Response to issue #32810

Use of the .bg-white class to define visual aspects of the examples
would be unintuitive for theme builders to test themes on.
This replaces instances of .bg-white with .bg-body in the examples.

- Edited examples to replace use .bg-white class with .bg-body class
  - product
  - offcanvas
  - pricing
  - cheatsheet
  - cheatsheet-rtl
- Edited utilities colors.md & shadows.md to include .bg-body class
@mdo
Copy link
Copy Markdown
Member

mdo commented Jan 17, 2021

A docs mention has been added to #32819.

Copy link
Copy Markdown
Contributor

@ffoodd ffoodd left a comment

Choose a reason for hiding this comment

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

LGTM

@mdo mdo merged commit ba30df1 into twbs:main Jan 25, 2021
@silvinor silvinor deleted the fix-docs-bg-white branch January 26, 2021 00:33
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.

Use of .bg-white class in docs makes theming difficult in v5 - replace with .bg-body

4 participants