Skip to content

Commit

Permalink
Merge pull request #16155 from moonrailgun/feature-text-selection-vars
Browse files Browse the repository at this point in the history
add text selection in less vars so we can overwrite it independent
  • Loading branch information
afc163 committed Apr 18, 2019
2 parents 6e2c2ba + 25599bc commit 6a754eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion components/style/core/base.less
Expand Up @@ -501,7 +501,7 @@ mark {

::selection {
color: @text-color-inverse;
background: @primary-color;
background: @text-selection-bg;
}

// Utility classes
Expand Down
1 change: 1 addition & 0 deletions components/style/themes/default.less
Expand Up @@ -56,6 +56,7 @@
@heading-color-dark: fade(@white, 100%);
@text-color-dark: fade(@white, 85%);
@text-color-secondary-dark: fade(@white, 65%);
@text-selection-bg: @primary-color;
@font-variant-base: tabular-nums;
@font-feature-settings-base: 'tnum';
@font-size-base: 14px;
Expand Down

0 comments on commit 6a754eb

Please sign in to comment.