Skip to content

Commit

Permalink
fix: changing highlight colors
Browse files Browse the repository at this point in the history
  • Loading branch information
brenoepics authored Oct 10, 2024
1 parent 18447a1 commit 56ed8bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/theme/src/theme/components/VPHighlight.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const reverseColors = (colors: Array<string>) => {
<template>
<div class="side-highlight">
<div class="string-highlight"
:style="{backgroundColor: `linear-gradient(${stringHighlightColors.join(', ')})`}" />
:style="{background: `linear-gradient(${stringHighlightColors.join(', ')})`}" />
<div class="icon" :class="{ 'glowing-active': glowingActive }">
<div v-if="typeof icon === 'object' && icon.wrap" class="icon">
<VPImage
Expand All @@ -67,7 +67,7 @@ const reverseColors = (colors: Array<string>) => {
></span>
</div>
<div class="string-highlight"
:style="{backgroundColor: `linear-gradient(${reverseColors(stringHighlightColors).join(', ')})`}" />
:style="{background: `linear-gradient(${reverseColors(stringHighlightColors).join(', ')})`}" />
</div>
</template>

Expand Down

0 comments on commit 56ed8bb

Please sign in to comment.