Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved timegroup-message element contrast #834

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/less/Variables.less
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@
@minor-ticks-line-color: @minor-ticks-color;
@major-ticks-line-color: darken(@minor-ticks-line-color,10);

@timegroup-message-color: darken(@ui-background-color-darker,2);

@brand-color: darken(@ui-background-color,15);

@era-color-1: @color-theme-complement;
Expand Down
4 changes: 3 additions & 1 deletion src/less/themes/contrast/Variables.less
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@
================================================== */
@ui-background-color: darken(@color-background, 5);
@ui-background-color-darker: darken(@color-background, 10);

@marker-color: darken(@ui-background-color,5);
@marker-outline-color: darken(@ui-background-color,40);
@marker-selected-text-color: @color-background;
@marker-text-color: darken(@marker-color,50);
@marker-dot-color: darken(@marker-color, 33);
@marker-dot-hover-color: darken(@marker-dot-color, 33);

@marker-color-menubar-button: darken(@marker-color,47);

@minor-ticks-color: darken(@ui-background-color,49);
Expand All @@ -67,6 +67,8 @@
@minor-ticks-line-color: @minor-ticks-color;
@major-ticks-line-color: darken(@minor-ticks-line-color,10);

@timegroup-message-color: darken(@ui-background-color-darker,47);

@brand-color: darken(@ui-background-color,49);

@era-color-1: @color-theme-complement;
Expand Down
4 changes: 2 additions & 2 deletions src/less/timenav/TL.TimeGroup.less
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@

.tl-timegroup-message {
//z-index:6;
color:darken(@ui-background-color-darker,2);
text-shadow: @color-background 0px 2px 2px;
color: @timegroup-message-color;
text-shadow: @color-background 0 2px 2px;
margin-left:80px;
//background-color:@ui-background-color;

Expand Down