99070f2983
- Adds full set of svg icons as CSS/Sass variables to the source - Starts picking out some frame-grays, whilst commenting in possibles - Remove color prefixing The prefixes `ui-` and `brand-` for colors hav been removed. This makes colors slightly easier to type. In order to differentiate between brand colors and 'normal' colors, normal colors are named as 'true colors' i.e. blue, red, green etc etc whereas the brand colors used a more premium sounding name such as 'steel' for vault gray, 'magenta' for consul, 'cobalt' for vagrant etc etc.
41 lines
770 B
SCSS
41 lines
770 B
SCSS
%notice {
|
|
border-radius: $radius-small;
|
|
border-width: 1px;
|
|
}
|
|
%notice-success,
|
|
%notice-info,
|
|
%notice-highlight,
|
|
%notice-error,
|
|
%notice-warning {
|
|
@extend %notice;
|
|
}
|
|
%notice-success {
|
|
@extend %frame-green-500, %with-passing;
|
|
}
|
|
%notice-info {
|
|
@extend %frame-blue-500, %with-passing; /* needs a better info button*/
|
|
}
|
|
%notice-highlight {
|
|
@extend %frame-gray-800, %with-star;
|
|
}
|
|
%notice-warning {
|
|
@extend %frame-yellow-500, %with-warning;
|
|
}
|
|
%notice-error {
|
|
@extend %frame-red-500, %with-critical;
|
|
}
|
|
%notice-highlight::before {
|
|
/* %with-star, bigger */
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
%notice-success::before {
|
|
color: $color-success;
|
|
}
|
|
%notice-info::before {
|
|
color: $color-action; /* change to info */
|
|
}
|
|
%notice-error::before {
|
|
color: $color-failure;
|
|
}
|