Commit 54ebd72d authored by Mark Florian's avatar Mark Florian

Merge branch 'fix-identicon-dark-mode' into 'master'

Fix identicon text color in dark mode

See merge request gitlab-org/gitlab!49785
parents e2e18064 6cfed4a6
...@@ -68,7 +68,7 @@ $avatar-sizes: ( ...@@ -68,7 +68,7 @@ $avatar-sizes: (
); );
$identicon-backgrounds: $identicon-red, $identicon-purple, $identicon-indigo, $identicon-blue, $identicon-teal, $identicon-backgrounds: $identicon-red, $identicon-purple, $identicon-indigo, $identicon-blue, $identicon-teal,
$identicon-orange, $gray-darker; $identicon-orange, $identicon-gray;
%avatar-circle { %avatar-circle {
float: left; float: left;
...@@ -125,8 +125,8 @@ $identicon-backgrounds: $identicon-red, $identicon-purple, $identicon-indigo, $i ...@@ -125,8 +125,8 @@ $identicon-backgrounds: $identicon-red, $identicon-purple, $identicon-indigo, $i
.identicon { .identicon {
text-align: center; text-align: center;
vertical-align: top; vertical-align: top;
color: $gray-700; color: $identicon-text-color;
background-color: $gray-darker; background-color: $identicon-gray;
// Sizes // Sizes
@each $size, $size-config in $avatar-sizes { @each $size, $size-config in $avatar-sizes {
......
...@@ -629,12 +629,14 @@ $note-icon-gutter-width: 55px; ...@@ -629,12 +629,14 @@ $note-icon-gutter-width: 55px;
/* /*
* Identicon * Identicon
*/ */
$identicon-text-color: #525252 !default;
$identicon-red: #ffebee !default; $identicon-red: #ffebee !default;
$identicon-purple: #f3e5f5 !default; $identicon-purple: #f3e5f5 !default;
$identicon-indigo: #e8eaf6 !default; $identicon-indigo: #e8eaf6 !default;
$identicon-blue: #e3f2fd !default; $identicon-blue: #e3f2fd !default;
$identicon-teal: #e0f2f1 !default; $identicon-teal: #e0f2f1 !default;
$identicon-orange: #fbe9e7 !default; $identicon-orange: #fbe9e7 !default;
$identicon-gray: #eee !default;
/* /*
* Calendar * Calendar
......
---
title: Fix identicon text color in dark mode
merge_request: 49785
author: "@yo"
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment