Feature Request(css): Make VPHighlight.vue#L66
Background Changeable from Component Props
#29
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
The
<span class="glowing-icon-glow"></span>
element, which is used as the glowing icon on the home page, currently has a static background. To enhance flexibility and customization, it would be beneficial to make the background of this element changeable through component props.Proposed Solution:
Modify the
VPHighlight.vue
component to accept a prop for the background color of the glowing icon.Ensure that the default behavior remains unchanged if no prop is provided.
Benefits:
Allows for easy customization of the glowing icon's background without modifying the component's internal code.
Enhances the theme's flexibility and usability.
Example:
This would set the background of the glowing icon to red.
https://github.com/brenoepics/vitepress-carbon/blob/main/packages/theme/src/theme/components/VPHighlight.vue#L66
The text was updated successfully, but these errors were encountered: