twitter/bootstrap — Issue #1007: 2.0-wip - weird naming of new alert css
Author: lookfirst
Created: 2012-01-15 02:41:44+00:00
State: open

I'm happy about the new alerts. Thanks. The naming is a bit off though.

We have these class names to work with:

```
.alert
.block-alert
.alert-heading
.info-alert
.success-alert
.error-alert
```

Personally, I'd rather have it be just this:

```
.alert-block (more padding)
.alert-heading (bold block)
.alert-warning (yellow)
.alert-info (blue)
.alert-success (green)
.alert-error (red)
```

Feels way more consistent to have everything with a single prefix and have the prefix all be on the same (left) side of the equation. I could even imagine a smart IDE being able to do auto complete more easily on that.