Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/stylesheets/highlight/themes/dark.scss')
-rw-r--r--app/assets/stylesheets/highlight/themes/dark.scss8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/assets/stylesheets/highlight/themes/dark.scss b/app/assets/stylesheets/highlight/themes/dark.scss
index 7fb2bf9a875..3438a73eff6 100644
--- a/app/assets/stylesheets/highlight/themes/dark.scss
+++ b/app/assets/stylesheets/highlight/themes/dark.scss
@@ -125,6 +125,14 @@ $dark-il: #de935f;
}
.code.dark {
+ // 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)
+ @include hljs-override('title\\.class', $dark-nc);
+ @include hljs-override('title\\.class\\.inherited', $dark-no);
+ @include hljs-override('variable\\.constant', $dark-no);
+ @include hljs-override('title\\.function', $dark-nf);
+
+
// Line numbers
.file-line-num {
@include line-link($white, 'link');