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
  • !32819

Color utils docs

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Mark Otto requested to merge color-utils-docs into main Jan 16, 2021
  • Overview 6
  • Commits 4
  • Pipelines 0
  • Changes 13
  • Splits background utils from color utils for our docs with a new page.
  • Adds some Sass docs for variables, maps, and mixins

The scss-docs shortcode is amazing, but one limitation is it doesn't seem to work with indentation at the beginning of the single line comments to identify sections. This is what I ran into in #32747 with documenting the utilities map. Curious if @MartijnCuppens or @XhmikosR has some ideas for how to address that.

Also documents the existence of .bg-body, closing the docs part of #32810 (closed).

Still a little copyediting to refine here, so consider this one a little WIP still.

  • Document CSS custom properties somewhere (under Sass? another h2 called CSS?)
  • Other vars, mixins, etc to add?
  • Revert the indentation changes and properly indent capture start/end statements
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: color-utils-docs