Skip to content

Commit

Permalink
fix(site): duplicatedVariables
Browse files Browse the repository at this point in the history
Two variables for (inverted)disabledText are declared two times in the same file. I removed the first instance, because it was already always overridden by the same declaration 200 LOC later here.
I know it's technically not necessary because the last declaration wins in LESS (that's the concept of the override-files), but to avoid confusion and satisfy reporting users i created this PR ;)
  • Loading branch information
lubber-de authored Jul 7, 2020
1 parent ff40038 commit 2518cce
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/themes/default/globals/site.variables
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,6 @@
@hoveredTextColor : rgba(0, 0, 0, 0.8);
@pressedTextColor : rgba(0, 0, 0, 0.9);
@selectedTextColor : rgba(0, 0, 0, 0.95);
@disabledTextColor : rgba(0, 0, 0, 0.2);

@invertedTextColor : rgba(255, 255, 255, 0.9);
@invertedMutedTextColor : rgba(255, 255, 255, 0.8);
Expand All @@ -711,7 +710,6 @@
@invertedHoveredTextColor : rgba(255, 255, 255, 1);
@invertedPressedTextColor : rgba(255, 255, 255, 1);
@invertedSelectedTextColor : rgba(255, 255, 255, 1);
@invertedDisabledTextColor : rgba(255, 255, 255, 0.2);

/*-------------------
Brand Colors
Expand Down

0 comments on commit 2518cce

Please sign in to comment.