Skip to content

Commit

Permalink
fix notification color
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickwieth committed Oct 4, 2024
1 parent e81a35e commit a00cf83
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 4 deletions.
14 changes: 14 additions & 0 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,20 @@ export default {
</script>

<style lang="scss">
.vue-notification {
// types (green, amber, red)
&.success {
color: #000000;
background: #4cbb17;
border-left-color: #006400;
}
&.error {
background: #d82027;
border-left-color: #800000;
}
}
@font-face {
font-family: 'Museo900-Regular';
font-weight: normal;
Expand Down
6 changes: 3 additions & 3 deletions src/def-composables/useNotifications.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const useNotificationsInstance = () => {
group: "bottom-right-notification",
title: title,
text: text,
type: "notification--alert",
type: "error",
duration: 5000
});
});
Expand All @@ -34,7 +34,7 @@ const useNotificationsInstance = () => {
group: "bottom-right-notification",
title: title,
text: text,
type: "notification--success",
type: "success",
duration: 5000
});
});
Expand All @@ -44,7 +44,7 @@ const useNotificationsInstance = () => {
group: "bottom-right-notification",
title: title,
text: text,
type: "notification--info",
type: "info",
duration: 5000
});
});
Expand Down
3 changes: 2 additions & 1 deletion src/views/CardCreatorPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,8 @@
:model="model"
/>
</div>
<div class="text-left flex flex-col">

<div class="text-left flex flex-col justify-between">
<div class="py-5 flex flex-col items-start">
<div class="pl-12 py-3 text-s font-bold">
SUMMARY
Expand Down

0 comments on commit a00cf83

Please sign in to comment.