Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
c52a7834
Commit
c52a7834
authored
Nov 13, 2020
by
Eulyeon Ko
Committed by
euko
Nov 17, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix scoped labels color regression in dark mode
parent
cd1907a9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
1 deletion
+24
-1
app/assets/stylesheets/themes/_dark.scss
app/assets/stylesheets/themes/_dark.scss
+19
-1
ee/changelogs/unreleased/fix-scoped-label-text-in-dark-mode.yml
...ngelogs/unreleased/fix-scoped-label-text-in-dark-mode.yml
+5
-0
No files found.
app/assets/stylesheets/themes/_dark.scss
View file @
c52a7834
...
...
@@ -201,13 +201,31 @@ $line-removed-dark: $red-200;
// Misc component overrides that should live elsewhere
.gl-label
{
filter
:
brightness
(
0
.9
)
contrast
(
1
.1
);
// This applies to the gl-label markups
// rendered and cached in the backend (labels_helper.rb)
&
.gl-label-scoped
{
.gl-label-text-scoped
,
.gl-label-close
{
color
:
$gray-950
;
}
}
}
// white-ish text for light labels
// and for scoped label value (the right section)
.gl-label-text-light.gl-label-text-light
,
.gl-label-text-dark
+
.gl-label-text-dark
{
color
:
$gray-900
;
color
:
$gray-950
;
}
// This applies to "gl-labels" from "gitlab-ui"
.gl-label.gl-label-scoped.gl-label-text-dark
,
.gl-label.gl-label-scoped.gl-label-text-light
{
.gl-label-text-scoped
,
.gl-label-close
{
color
:
$gray-950
;
}
}
// duplicated class as the original .atwho-view style is added later
...
...
ee/changelogs/unreleased/fix-scoped-label-text-in-dark-mode.yml
0 → 100644
View file @
c52a7834
---
title
:
Fix scoped label text color in dark mode
merge_request
:
47602
author
:
type
:
fixed
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment