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
  • #27187
Closed
Open
Issue created Sep 06, 2018 by Administrator@rootContributor

Give navbar-brand it's own color variables

Created by: David-Tennant

Currently the only color variables for .navbar-brand is the same as navbar dark active links. I am not quite sure if this is a feature request or an issue.

My suggestion would be to add color variables for the navbar-brand

Use case : A theme wants to use text instead of a logo as their brand appears on majority of the page already.

Current : _navbar.scc:250

  .navbar-brand {
    color: $navbar-dark-active-color;

    @include hover-focus {
      color: $navbar-dark-active-color;
    }
  }

Could there be a seperate color variable that can be overridden if needed? My current solution below:

_navbar.scc:250-257

  .navbar-brand {
    color: $navbar-brand-color;

    @include hover-focus {
      color: $navbar-brand-hover-color;
    }
  }

_variables.scss:649-651

$navbar-brand-color : $white !default;
$navbar-brand-hover-color : $white !default;
$navbar-brand-font-size:            $font-size-lg !default;
...other brand variables
Assignee
Assign to
Time tracking