diff --git a/src/layouts/componentTest/componentTest.vue b/src/layouts/componentTest/componentTest.vue
index 1128790eb..83bd541b8 100644
--- a/src/layouts/componentTest/componentTest.vue
+++ b/src/layouts/componentTest/componentTest.vue
@@ -30,6 +30,13 @@
/>
+
import buttonPrimary from "@/uxComponents/buttonPrimary/buttonPrimary";
+import buttonSecondary from "@/uxComponents/buttonSecondary/buttonSecondary";
import radioCard from "@/uxComponents/radioCard/radioCard";
import listButton from "@/uxComponents/listButton/listButton";
export default {
name: "App",
components: {
buttonPrimary,
+ buttonSecondary,
radioCard,
listButton
},
diff --git a/src/styles/commonButtonStyles.scss b/src/styles/commonButtonStyles.scss
index 1f4dd97b8..b6f7896f0 100644
--- a/src/styles/commonButtonStyles.scss
+++ b/src/styles/commonButtonStyles.scss
@@ -43,6 +43,48 @@
border-radius: $border-radius-lg;
}
}
+ &.btn-secondary {
+ position: relative;
+ background: transparent;
+ border: 1px solid $blue;
+ border-radius: $border-radius-lg;
+ height: 48px;
+ color: $blue;
+ transition: all 150ms linear;
+ &:hover {
+ color: $white;
+ background: linear-gradient(270deg, $blue-500 0%, $blue-700 100%);
+ }
+ &:focus, // Mouse, touch, stylus focus
+ &:focus-visible { // Keyboard focus for accessibility
+ outline: none;
+ box-shadow: 0 0 0 3px $white, 0 0 0 5.5px $blue-700;
+ }
+ &.button-loader {
+ padding: 0 40px 0 12px;
+ &:after {
+ content: url(../../assets/img/icons/button-spinner-blue.svg);
+ position: absolute;
+ right: 14px;
+ width: 16px;
+ height: 16px;
+ margin-left: 12px;
+ animation: rotation 1s infinite linear;
+ @keyframes rotation {
+ 100% {
+ transform:rotate(360deg);
+ }
+ }
+ }
+ }
+ &:disabled {
+ background: transparent;
+ color: $gray !important;
+ height: 48px;
+ border: 1px solid $gray-300;
+ border-radius: $border-radius-lg;
+ }
+ }
&.list-button {
position: relative;
background: $white;
diff --git a/src/styles/uxVariables.scss b/src/styles/uxVariables.scss
index f3e15b271..514e2f179 100644
--- a/src/styles/uxVariables.scss
+++ b/src/styles/uxVariables.scss
@@ -10,7 +10,7 @@ $blue-200: #C1DFEE;
$blue-300: #9FCEE6;
$blue-400: #69ADCF;// Used in theme
$blue-500: #3B8FB8;
-$blue: #167CAC;// Default Blue
+$blue: #1574A1;// Default Blue
$blue-700: #06577C;
$blue-800: #003D58;
$blue-900: #002433;// Used in theme
diff --git a/src/uxComponents/buttonSecondary/buttonSecondary.spec.js b/src/uxComponents/buttonSecondary/buttonSecondary.spec.js
new file mode 100644
index 000000000..882a68129
--- /dev/null
+++ b/src/uxComponents/buttonSecondary/buttonSecondary.spec.js
@@ -0,0 +1 @@
+test.todo('some test to be written in the future');
\ No newline at end of file
diff --git a/src/uxComponents/buttonSecondary/buttonSecondary.vue b/src/uxComponents/buttonSecondary/buttonSecondary.vue
new file mode 100644
index 000000000..19961efa0
--- /dev/null
+++ b/src/uxComponents/buttonSecondary/buttonSecondary.vue
@@ -0,0 +1,31 @@
+
+
+
+
+