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/solarized-light.scss')
-rw-r--r--app/assets/stylesheets/highlight/themes/solarized-light.scss12
1 files changed, 11 insertions, 1 deletions
diff --git a/app/assets/stylesheets/highlight/themes/solarized-light.scss b/app/assets/stylesheets/highlight/themes/solarized-light.scss
index 33945f7cda9..921b36dd610 100644
--- a/app/assets/stylesheets/highlight/themes/solarized-light.scss
+++ b/app/assets/stylesheets/highlight/themes/solarized-light.scss
@@ -106,7 +106,17 @@ $solarized-light-il: #2aa198;
}
.code.solarized-light {
- @include hljs-override('title.class_.inherited__', $solarized-light-no);
+ // 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('keyword', $solarized-light-k);
+ @include hljs-override('title\\.class_\\.inherited__', $solarized-light-no);
+ @include hljs-override('title\\.class\\.inherited', $solarized-light-no);
+ @include hljs-override('title\\.class', $solarized-light-nc);
+ @include hljs-override('title\\.function', $solarized-light-nf);
+ @include hljs-override('variable\\.constant', $solarized-light-no);
+ @include hljs-override('variable\\.language', $solarized-light-nb);
+ @include hljs-override('params', $solarized-light-nb);
+
// Line numbers
.file-line-num {
@include line-link($black, 'link');