twitter/bootstrap — Issue #1006: Expanded / more meaningful variables
Author: brentkirby
Created: 2012-01-15 00:46:58+00:00
State: open

First off.. thanks for putting this together :) I'm working on a first project with bootstrap and definitely liking it so far. The only real issue I have so far is with the variable naming / options included.

Obviously the configuration / variables assume particular colors (blue, green, black, white etc), which of course could be re-named, but may not be clear as to what they effect. To help with customizing the framework maybe there should be a few more variables, as well as renaming some of them to be more meaningful.

For instance, things like buttons or alerts... instead of having basic `@red`, `@green`, `@yellow` variables (and so on), what about using more meaningful variables such as `@alertErrorColor` and or `@buttonSuccessColor` (or even as simple as `@errorColor` and `@successColor` to start) You could certainly default them to red/green (accordingly) but would make configuring things much easier.

This could also be applied to things like inputs and so on where you have some "hard coded" colors for gradients etc. Of course they can be changed easily in the code, but considering the whole value of LESS (or sass) is things like variables, it just seems to make more sense :)