Skip to content

Commit

Permalink
feat(tools): update dark mode colors in syntax highlighter (#42)
Browse files Browse the repository at this point in the history
Signed-off-by: Petr Bulánek <[email protected]>
  • Loading branch information
PetrBulanek authored Oct 31, 2024
1 parent 1bd70b7 commit c4232c6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,12 @@
row-gap: $spacing-03;

:global(.#{$prefix}--g90) & {
--highlight-background: #{$color-gray-20};
--highlight-background: #{$color-cool-gray-100};
--highlight-color: #{$color-white};
--highlight-comment-color: #{$color-green-60};
--highlight-keyword-color: #{$color-purple-40};
--highlight-primary-color: #{$color-orange-30-hover};
--highlight-tertiary-color: #{$color-green-50};
}
}

Expand Down
7 changes: 7 additions & 0 deletions src/modules/tools/manage/UserToolModal.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,13 @@
:global(.#{$prefix}--modal-content) {
padding: 0 $spacing-07 $spacing-09;
}
:global(.#{$prefix}--modal-scroll-content) {
border-block-end: 0;
mask-image: none;
> :last-child {
margin-block-end: 0;
}
}
:global(.#{$prefix}--modal-footer) {
block-size: auto;
padding: 0 $spacing-07 $spacing-07;
Expand Down

0 comments on commit c4232c6

Please sign in to comment.