Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
Antora Default UI
Antora Default UI
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 38
    • Issues 38
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 11
    • Merge Requests 11
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Security & Compliance
    • Security & Compliance
    • Dependency List
    • License Compliance
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Antora
  • Antora Default UIAntora Default UI
  • Issues
  • #18

Closed
Open
Opened Nov 28, 2017 by Dan Allen@mojavelinuxOwner

Extract all colors into CSS variables

Extract all the colors in the stylesheet into CSS variables. This not only makes the colors easier to maintain, it also opens the door for having different color themes / schemes based on the same UI.

The variables should be named by function. If several functions share the same color, then those colors can be further extracted into color name variables. The color name variables should not be referenced directly in the CSS rules. Instead, they should only be referenced by the semantic variable names.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: antora/antora-ui-default#18