From 04322f43ed5d2e8a88e38deffeabf7799a053392 Mon Sep 17 00:00:00 2001 From: Kyle Durand Date: Thu, 1 Oct 2020 15:17:21 -0400 Subject: [PATCH] Changing dark mode values for some subdued borders --- CHANGELOG.md | 2 ++ src/configs/base.ts | 12 +++--------- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4ed3b4ce..cff71490 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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)) diff --git a/src/configs/base.ts b/src/configs/base.ts index 44c04081..f64245ab 100644 --- a/src/configs/base.ts +++ b/src/configs/base.ts @@ -260,7 +260,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', }, @@ -290,10 +290,7 @@ export const config: Config = { saturation: saturationAdjustmentFn(-1), lightness: 81.9, }, - dark: { - saturation: saturationAdjustmentFn(-1), - lightness: 18, - }, + dark: {lightness: 56}, meta: { figmaName: 'Border/Subdued', }, @@ -340,10 +337,7 @@ export const config: Config = { saturation: saturationAdjustmentFn(-1), lightness: 77.1, }, - dark: { - saturation: saturationAdjustmentFn(-1), - lightness: 23, - }, + dark: {lightness: 56}, meta: { figmaName: 'BorderShadow/Subdued', },