twitter/bootstrap — Issue #1038: topbar color not easy to change
Author: audy
Created: 2012-01-17 23:38:37+00:00
State: open

To change the color of topbar, you must go in an edit patterns.less:

**patterns.css**
```less
.topbar .fill {
background-color: #333;
#gradient > .vertical(#333, #222);
@shadow: 0 1px 3px rgba(0,0,0,.25), inset 0 -1px 0 rgba(0,0,0,.1);
.box-shadow(@shadow);
}
```

As more and more bootstrap.css sites pop up, I thought it would be nice to make it easy to change the topbar color.

For example,

**variables.less**
```less
// TopBar
@topbar: darken(@blue, 10%);
@topbarDark: darken(@topbar, 10%);
```

Then,

**patterns.less**

```less
.topbar .fill {
background-color: @topbar;
#gradient > .vertical(@topbar, @topbarDark);
@shadow: 0 1px 3px rgba(0,0,0,.25), inset 0 -1px 0 rgba(0,0,0,.1);
.box-shadow(@shadow);
}
```

Should I submit a pull request?