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
  • Merge requests
  • !28449

Docs dark mode

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Mark Otto requested to merge docs-dark-mode into master Mar 11, 2019
  • Overview 0
  • Commits 9
  • Pipelines 0
  • Changes 4

This is still a little WIP and not perfect given how many live examples we have in our docs, but it's not bad. I've gone the route of overriding default values surgically. Still have some work to do on seeing how I could maybe improve the live examples.

Screen Shot 2019-03-10 at 7 32 37 PM

Live preview: https://deploy-preview-28449--twbs-bootstrap.netlify.com/

TODO:

  • lighten ToC items color
  • adapt to the recent doc changes
  • lighten text-muted so that its contrast ratio is >= 4.5
  • search for #767676 and #77757a and adapt the cases
  • examples and versions page: make sure the page header color is dark too
  • fix version toggler background
  • Move JS toggle code into the head to prevent flashing
  • Fix search input color to be lighter like white
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: docs-dark-mode