diff --git a/src/assets/img/icons/close.svg b/src/assets/img/icons/close.svg
new file mode 100644
index 000000000..e660dc6b8
--- /dev/null
+++ b/src/assets/img/icons/close.svg
@@ -0,0 +1,3 @@
+
diff --git a/src/layouts/componentTest/componentTest.vue b/src/layouts/componentTest/componentTest.vue
index c1b669b59..332560b73 100644
--- a/src/layouts/componentTest/componentTest.vue
+++ b/src/layouts/componentTest/componentTest.vue
@@ -117,12 +117,12 @@
diff --git a/src/styles/commonAlertStyles.scss b/src/styles/commonAlertStyles.scss
new file mode 100644
index 000000000..28e924d93
--- /dev/null
+++ b/src/styles/commonAlertStyles.scss
@@ -0,0 +1,47 @@
+
+.alert {
+ button {
+ display: none;
+ }
+ .btn-close {
+ background: none;
+ opacity: 1;
+ }
+ &.alert-dismissible {
+ button {
+ display: flex;
+ }
+ }
+ &.alert-info {
+ .alert-heading {
+ color: $blue-700;
+ }
+ svg {
+ fill: $blue-700;
+ }
+ }
+ &.alert-danger {
+ .alert-heading {
+ color: $red-700;
+ }
+ svg {
+ fill: $red-700;
+ }
+ }
+ &.alert-warning {
+ .alert-heading {
+ color: $yellow-700;
+ }
+ svg {
+ fill: $yellow-700;
+ }
+ }
+ &.alert-success {
+ .alert-heading {
+ color: $green-700;
+ }
+ svg {
+ fill: $green-700;
+ }
+ }
+}
diff --git a/src/styles/uxVariables.scss b/src/styles/uxVariables.scss
index c4f874598..7998b7a87 100644
--- a/src/styles/uxVariables.scss
+++ b/src/styles/uxVariables.scss
@@ -164,7 +164,7 @@ $box-shadow-sm: 0 .125rem .25rem rgba($black, .075);
$box-shadow-lg: 0 1rem 3rem rgba($black, .25);//Safelite default
$box-shadow-inset: inset 0 1px 2px rgba($black, .075);
-
+//Alerts
$alert-bg-scale: -90%;
$alert-border-scale: -100%;
$alert-color-scale: 40%;
diff --git a/src/uxComponents/alert/alert.vue b/src/uxComponents/alert/alert.vue
index c9d22f9e2..8e50fd5ca 100644
--- a/src/uxComponents/alert/alert.vue
+++ b/src/uxComponents/alert/alert.vue
@@ -1,13 +1,15 @@
-
-
{{alertHeading}}
+
{{alertHeading}}
{{alertText}}
-
+
@@ -21,8 +23,7 @@ export default {
},
data() {
return {
- isDismissable: true,
- isClose: true
+ isDismissable: true
};
}
};
diff --git a/vue.config.js b/vue.config.js
index bda41b2dd..ba8d382a1 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -27,6 +27,7 @@ module.exports = {
@import "@/styles/commonRadioStyles.scss";
@import "@/styles/commonTypographyStyles.scss";
@import "@/styles/commonComponentStyles/ymmsCommonStyles.scss";
+ @import "@/styles/commonAlertStyles.scss";
`
}
}
diff --git a/vue.release.config.js b/vue.release.config.js
index 5bc60309f..296d833c5 100644
--- a/vue.release.config.js
+++ b/vue.release.config.js
@@ -17,6 +17,7 @@ module.exports = {
@import "@/styles/commonRadioStyles.scss";
@import "@/styles/commonTypographyStyles.scss";
@import "@/styles/commonComponentStyles/ymmsCommonStyles.scss";
+ @import "@/styles/commonAlertStyles.scss";
`
}
}