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

Commit

Permalink
Add token for new design language searchBar color (#146)
Browse files Browse the repository at this point in the history
* Added token for NDL searchbar background

* Added changes to the Changelog

* Changelog and description changes

* Lint changes

* Content changes
  • Loading branch information
ashwinnarayanan2001 authored Sep 9, 2020
1 parent 1d07ac2 commit 0f351a6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 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]

- Added background under onSurface ([#146](https://github.com/Shopify/polaris-tokens/pull/146))

## [2.12.5] - 2020-09-08

- Updated borderSubdued and added borderShadow, borderShadowSubdued, and divider colors ([#145](https://github.com/Shopify/polaris-tokens/pull/145))
Expand Down
10 changes: 10 additions & 0 deletions src/configs/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,16 @@ export const config: Config = {
},
],
onSurface: [
{
name: 'background',
description:
'For use as a background color, in components on surface elements such as SearchField',
light: {lightness: 95.5},
dark: {lightness: 20},
meta: {
figmaName: 'Background/Default',
},
},
{
name: 'border',
description: 'For use as the default border on elements.',
Expand Down

0 comments on commit 0f351a6

Please sign in to comment.