Skip to content

Commit

Permalink
fix(kmodal): remove enforcing title icon color (#2068)
Browse files Browse the repository at this point in the history
  • Loading branch information
portikM authored Mar 15, 2024
1 parent 18c91e6 commit d486ef5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 2 additions & 1 deletion sandbox/pages/SandboxModals.vue
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@
@proceed="data.modalVisible = false"
>
<template #title>
<KongIcon />
<KongIcon :color="KUI_COLOR_TEXT_DECORATIVE_AQUA" />
Full screen KModal
</template>
</KModal>
Expand Down Expand Up @@ -606,6 +606,7 @@ import { inject } from 'vue'
import SandboxTitleComponent from '../components/SandboxTitleComponent.vue'
import SandboxSectionComponent from '../components/SandboxSectionComponent.vue'
import { KongIcon } from '@kong/icons'
import { KUI_COLOR_TEXT_DECORATIVE_AQUA } from '@kong/design-tokens'
</script>

<style lang="scss" scoped>
Expand Down
4 changes: 0 additions & 4 deletions src/components/KModal/KModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -286,10 +286,6 @@ onUnmounted(() => {
.modal-title {
display: flex;
gap: var(--kui-space-40, $kui-space-40);
:deep(#{$kongponentsKongIconSelector}) {
color: var(--kui-color-text-neutral, $kui-color-text-neutral) !important;
}
}
.modal-content {
Expand Down

0 comments on commit d486ef5

Please sign in to comment.