Skip to content
This repository has been archived by the owner on Apr 13, 2022. It is now read-only.

Commit

Permalink
Merge pull request #156 from Shopify/adjust-border-colors-for-dark-mode
Browse files Browse the repository at this point in the history
Changing dark mode values for some subdued borders
  • Loading branch information
kyledurand authored Oct 1, 2020
2 parents b6571aa + 04322f4 commit 31c1f54
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

- Changed dark mode values for some subdued borders ([#156](https://github.com/Shopify/polaris-tokens/pull/156))

## [2.13.1] - 2020-11-1

- Moved mistaken border variants to surface variants ([#154](https://github.com/Shopify/polaris-tokens/pull/154))
Expand Down
12 changes: 3 additions & 9 deletions src/configs/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ export const config: Config = {
name: 'borderNeutralSubdued',
description: 'For use as the border on banners.',
light: {lightness: 77},
dark: {lightness: 35},
dark: {lightness: 56},
meta: {
figmaName: 'Border Neutral/Subdued',
},
Expand Down Expand Up @@ -317,10 +317,7 @@ export const config: Config = {
saturation: saturationAdjustmentFn(-1),
lightness: 81.9,
},
dark: {
saturation: saturationAdjustmentFn(-1),
lightness: 18,
},
dark: {lightness: 56},
meta: {
figmaName: 'Border/Subdued',
},
Expand Down Expand Up @@ -367,10 +364,7 @@ export const config: Config = {
saturation: saturationAdjustmentFn(-1),
lightness: 77.1,
},
dark: {
saturation: saturationAdjustmentFn(-1),
lightness: 23,
},
dark: {lightness: 56},
meta: {
figmaName: 'BorderShadow/Subdued',
},
Expand Down

0 comments on commit 31c1f54

Please sign in to comment.