Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Issues
  • #32810
Closed
Open
Issue created Jan 15, 2021 by Administrator@rootContributor

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

Created by: vinorodrigues

A few of the example files make use of the .bg-white class to define visual aspects of the examples. Using this makes theming tests problematic without modification either to the docs source, or defining theme colors unintuitively (e.g. .bg-white is black?)

Use of directly calling color classes should be discouraged - i.e for the examples, .bg-body should be used instead.

The following files make use of .bg-white:

  • site/content/docs/5.0/utilities/shadows.md
  • site/content/docs/5.0/examples/product/index.html
  • site/content/docs/5.0/examples/offcanvas/index.html
  • site/content/docs/5.0/examples/cover/index.html
  • site/content/docs/5.0/examples/pricing/index.html
  • site/content/docs/5.0/examples/cheatsheet/index.html
  • site/content/docs/5.0/examples/cheatsheet-rtl/index.html

Also, site/content/docs/5.0/utilities/colors.md file does not document the use of the .bg-body class ... it's missing.

Assignee
Assign to
Time tracking