summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/highlight/themes/none.scss
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/stylesheets/highlight/themes/none.scss')
-rw-r--r--app/assets/stylesheets/highlight/themes/none.scss12
1 files changed, 8 insertions, 4 deletions
diff --git a/app/assets/stylesheets/highlight/themes/none.scss b/app/assets/stylesheets/highlight/themes/none.scss
index 99a3de23c26..f70c53c9eaa 100644
--- a/app/assets/stylesheets/highlight/themes/none.scss
+++ b/app/assets/stylesheets/highlight/themes/none.scss
@@ -15,6 +15,14 @@
}
.code.none {
+ // Highlight.js theme overrides (https://gitlab.com/gitlab-org/gitlab/-/issues/365167)
+ // We should be able to remove the overrides once the upstream issue is fixed (https://github.com/sourcegraph/sourcegraph/issues/23251)
+ &.blob-viewer {
+ [class^="hljs-"] {
+ color: $gl-text-color;
+ }
+ }
+
// Line numbers
.file-line-num {
@include line-number-link($black-transparent);
@@ -44,10 +52,6 @@
color: $gl-text-color;
}
- .old-line_expansion {
- @include old-diff-expansion($gray-light, $white-normal, $gl-text-color);
- }
-
.diff-line-expand-button {
@include diff-expansion($gray-100, $gray-700, $gray-200, $gray-800);
}