Skip to content

Commit

Permalink
fix: minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
portikM committed Dec 13, 2024
1 parent c1948ca commit cff2e59
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions sandbox/pages/SandboxAlert.vue
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,10 @@ import { KongIcon } from '@kong/icons'
</script>

<style scoped lang="scss">
.appearance-content {
display: flex;
gap: $kui-space-40;
.kalert-sandbox {
.appearance-content {
display: flex;
gap: $kui-space-40;
}
}
</style>
4 changes: 2 additions & 2 deletions src/components/KAlert/KAlert.vue
Original file line number Diff line number Diff line change
Expand Up @@ -216,15 +216,15 @@ const getAlertIcon = computed((): AlertIcon => {
var(--kui-color-background-success-weakest, $kui-color-background-success-weakest),
var(--kui-color-text-success, $kui-color-text-success),
var(--kui-color-text-success-strong, $kui-color-text-success-strong),
#B5FFEE /** kui-color-background-success-weaker */);
#B5FFEE); // we don't have a kui-color-background-success-weaker token so use hardcoded value
}
&.warning {
@include kAlertAppearance(
var(--kui-color-background-warning-weakest, $kui-color-background-warning-weakest),
var(--kui-color-text-warning, $kui-color-text-warning),
var(--kui-color-text-warning-strong, $kui-color-text-warning-strong),
#FFF296 /** kui-color-background-warning-weaker */);
#FFF296); // we don't have a kui-color-background-warning-weaker token so use hardcoded value
}
&.danger {
Expand Down

0 comments on commit cff2e59

Please sign in to comment.