1. Matthew Schinckel
  2. jqui

Source

jqui / sass / _messages.sass

$error-color: #f4a0a0
$success-color: #a0c4a0
$notice-color: #9696f2
$help-color: #d2d280

p.error, p.success, p.help, p.notice
  border: 1px solid
  padding: 7px 10px 10px 10px
  margin: 8px 0

=msg-color($color)
  color: $color * 0.5
  border-color: $color
  background-color: $color * 1.5
  
p.error
  +msg-color($error-color)
  +icon-before(error)

p.success
  +msg-color($success-color)
  +icon-before(success)

p.notice
  +msg-color($notice-color)
  +icon-before(notice)

p.help
  +msg-color($help-color)
  +icon-before(help)