Skip to content

Commit e1f0a56

Browse files
committed
SURF-1874 Changes
1 parent d0fb61a commit e1f0a56

File tree

3 files changed

+18
-18
lines changed

3 files changed

+18
-18
lines changed

src/less/components.less

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
- Complex CSS Selectors
2323
- NO !important
2424
\* ========== COMPONENTS ========== */
25-
@import 'components/alert/index';
2625
@import 'components/badge/index';
2726
@import 'components/box/index';
2827
@import 'components/breadcrumb/index';

src/scss/components/_index.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
@import "vars";
33

44
@import "accordion/index";
5+
@import "alert/index";
56
@import "loader/index";
67
@import "typography/index";

src/less/components/alert/index.less renamed to src/scss/components/alert/index.scss

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,35 @@
11
hx-alert {
2-
background-color: @gray-400;
3-
color: @gray-1000;
2+
background-color: $gray-400;
3+
color: $gray-1000;
44
display: block;
55
font-weight: 300;
66
line-height: 1.25rem;
77

88
&[type="info"] {
9-
background-color: @blue-100;
10-
color: @gray-1000;
9+
background-color: $blue-100;
10+
color: $gray-1000;
1111
}
1212

1313
&[type="error"] {
14-
background-color: @red-900;
15-
color: @gray-0;
14+
background-color: $red-900;
15+
color: $gray-0;
1616
}
1717

1818
&[type="success"] {
19-
background-color: @green-500;
20-
color: @gray-0;
19+
background-color: $green-500;
20+
color: $gray-0;
2121
}
2222

2323
&[type="warning"] {
24-
background-color: @yellow-500;
25-
color: @gray-1000;
24+
background-color: $yellow-500;
25+
color: $gray-1000;
2626
}
2727
}
2828

2929
/* DEPRECATED: Remove in v1.0.0 */
3030
.hxAlert {
31-
background-color: @blue-100;
32-
color: @gray-1000;
31+
background-color: $blue-100;
32+
color: $gray-1000;
3333
display: flex;
3434
font-weight: 300;
3535
line-height: 1.25em;
@@ -40,17 +40,17 @@ hx-alert {
4040
}
4141

4242
&--error {
43-
background-color: @red-900;
44-
color: @gray-0;
43+
background-color: $red-900;
44+
color: $gray-0;
4545
}
4646

4747
&--warning {
48-
background-color: @yellow-500;
48+
background-color: $yellow-500;
4949
}
5050

5151
&--success {
52-
background-color: @green-500;
53-
color: @gray-0;
52+
background-color: $green-500;
53+
color: $gray-0;
5454
}
5555

5656
&__icon {

0 commit comments

Comments
 (0)