Skip to content

Commit

Permalink
[#2134] Fix broken code highlighting in Code Panel (#2135)
Browse files Browse the repository at this point in the history
The code highlighting is not working as the colors are not being
recognized by the newly extracted c-segment.vue file. This is because
the defined colors were not imported into the file.  

Let us add the color styles import to restore code highlighting
functionality.
  • Loading branch information
ckcherry23 authored Feb 21, 2024
1 parent fdb1892 commit 6b31128
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/components/c-segment.vue
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ export default defineComponent({

<style lang="scss" scoped>
@import '../styles/hightlight-js-style.css';
@import '../styles/_colors.scss';
.segment {
border-left: .25rem solid mui-color('green');
Expand Down

0 comments on commit 6b31128

Please sign in to comment.