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

Update color-blue to #006fbb #63

Merged
merged 1 commit into from
Jun 6, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions __tests__/__snapshots__/colors.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ Array [
Object {
"color": Array [
0,
0.47843137254901963,
0.807843137254902,
0.43529411764705883,
0.7333333333333333,
],
"model": "RGB",
"name": "blue",
Expand Down Expand Up @@ -588,7 +588,7 @@ Array [
exports[`JSON object representation renders similar JSON objects 1`] = `
Object {
"color-black": "rgb(0, 0, 0)",
"color-blue": "rgb(0, 122, 206)",
"color-blue": "rgb(0, 111, 187)",
"color-blue-dark": "rgb(8, 78, 138)",
"color-blue-darker": "rgb(0, 20, 41)",
"color-blue-light": "rgb(180, 225, 250)",
Expand Down Expand Up @@ -654,7 +654,7 @@ Object {
"value": "#000000",
},
"color-blue": Object {
"value": "#007ace",
"value": "#006fbb",
},
"color-blue-dark": Object {
"value": "#084e8a",
Expand Down Expand Up @@ -841,7 +841,7 @@ Array [
"name": "color-blue",
"originalValue": "{!color-blue}",
"type": "color",
"value": "rgb(0, 122, 206)",
"value": "rgb(0, 111, 187)",
},
Object {
"category": "background-color",
Expand Down Expand Up @@ -1351,8 +1351,8 @@ exports[`renders Polaris.sketchpalette correctly 1`] = `
{
\\"name\\": \\"Blue\\",
\\"red\\": 0,
\\"green\\": 0.47843137254901963,
\\"blue\\": 0.807843137254902,
\\"green\\": 0.43529411764705883,
\\"blue\\": 0.7333333333333333,
\\"alpha\\": 1
},
{
Expand Down Expand Up @@ -1648,7 +1648,7 @@ exports[`renders colors.android.xml correctly 1`] = `
"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>
<resources>
<color name=\\"polaris_color_black\\">#ff000000</color>
<color name=\\"polaris_color_blue\\">#ff007ace</color>
<color name=\\"polaris_color_blue\\">#ff006fbb</color>
<color name=\\"polaris_color_blue_dark\\">#ff084e8a</color>
<color name=\\"polaris_color_blue_darker\\">#ff001429</color>
<color name=\\"polaris_color_blue_light\\">#ffb4e1fa</color>
Expand Down Expand Up @@ -1730,7 +1730,7 @@ exports[`renders colors.color-map.scss correctly 1`] = `
'text': rgb(62, 78, 87),
'darker': rgb(0, 20, 41),
'dark': rgb(8, 78, 138),
'base': rgb(0, 122, 206),
'base': rgb(0, 111, 187),
'light': rgb(180, 225, 250),
'lighter': rgb(235, 245, 250),
),
Expand Down Expand Up @@ -1813,7 +1813,7 @@ exports[`renders colors.custom-properties.css correctly 1`] = `
--color-blue-text: rgb(62, 78, 87);
--color-blue-darker: rgb(0, 20, 41);
--color-blue-dark: rgb(8, 78, 138);
--color-blue: rgb(0, 122, 206);
--color-blue: rgb(0, 111, 187);
--color-blue-light: rgb(180, 225, 250);
--color-blue-lighter: rgb(235, 245, 250);
--color-teal-text: rgb(64, 83, 82);
Expand Down Expand Up @@ -1876,7 +1876,7 @@ $color-indigo-lighter: rgb(244, 245, 250);
$color-blue-text: rgb(62, 78, 87);
$color-blue-darker: rgb(0, 20, 41);
$color-blue-dark: rgb(8, 78, 138);
$color-blue: rgb(0, 122, 206);
$color-blue: rgb(0, 111, 187);
$color-blue-light: rgb(180, 225, 250);
$color-blue-lighter: rgb(235, 245, 250);
$color-teal-text: rgb(64, 83, 82);
Expand Down Expand Up @@ -1925,7 +1925,7 @@ $color-white: rgb(255, 255, 255);
exports[`renders index.d.ts correctly 1`] = `
"declare interface Tokens {
colorBlack: \\"rgb(0, 0, 0)\\";
colorBlue: \\"rgb(0, 122, 206)\\";
colorBlue: \\"rgb(0, 111, 187)\\";
colorBlueDark: \\"rgb(8, 78, 138)\\";
colorBlueDarker: \\"rgb(0, 20, 41)\\";
colorBlueLight: \\"rgb(180, 225, 250)\\";
Expand Down
2 changes: 1 addition & 1 deletion __tests__/__snapshots__/duration.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ $duration-slowest: 500ms;
exports[`renders index.d.ts correctly 1`] = `
"declare interface Tokens {
colorBlack: \\"rgb(0, 0, 0)\\";
colorBlue: \\"rgb(0, 122, 206)\\";
colorBlue: \\"rgb(0, 111, 187)\\";
colorBlueDark: \\"rgb(8, 78, 138)\\";
colorBlueDarker: \\"rgb(0, 20, 41)\\";
colorBlueLight: \\"rgb(180, 225, 250)\\";
Expand Down
2 changes: 1 addition & 1 deletion data/color-metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ color-blue-darker:
color-blue-dark:
filter: brightness(0) saturate(100%) invert(22%) sepia(70%) saturate(1308%) hue-rotate(182deg) brightness(94%) contrast(101%)
color-blue:
filter: brightness(0) saturate(100%) invert(32%) sepia(99%) saturate(1186%) hue-rotate(181deg) brightness(91%) contrast(103%)
filter: brightness(0) saturate(100%) invert(19%) sepia(98%) saturate(2885%) hue-rotate(190deg) brightness(99%) contrast(101%);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kaelig filter added here, following docs:

When updating a color, please also remember to update its filter metadata. Filter values can be generated using this CodePen and are stored in /data/color-metadata.yml.

color-blue-light:
filter: brightness(0) saturate(100%) invert(80%) sepia(7%) saturate(1832%) hue-rotate(178deg) brightness(108%) contrast(96%)
color-blue-lighter:
Expand Down
Binary file modified dist/Polaris.ase
Binary file not shown.
Binary file modified dist/Polaris.clr
Binary file not shown.
4 changes: 2 additions & 2 deletions dist/Polaris.sketchpalette
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@
{
"name": "Blue",
"red": 0,
"green": 0.47843137254901963,
"blue": 0.807843137254902,
"green": 0.43529411764705883,
"blue": 0.7333333333333333,
"alpha": 1
},
{
Expand Down
4 changes: 2 additions & 2 deletions dist/color-filters.color-map.scss
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ $polaris-color-filters: (
hue-rotate(11deg) brightness(97%) contrast(91%),
'darker': brightness(0) saturate(100%) invert(19%) sepia(75%) saturate(981%)
hue-rotate(17deg) brightness(103%) contrast(103%),
'dark': brightness(0) saturate(100%) invert(45%) sepia(48%) saturate(6022%)
hue-rotate(31deg) brightness(93%) contrast(80%),
'dark': brightness(0) saturate(100%) invert(37%) sepia(51%) saturate(709%)
hue-rotate(0deg) brightness(93%) contrast(89%),
'base': brightness(0) saturate(100%) invert(65%) sepia(91%) saturate(530%)
hue-rotate(5deg) brightness(100%) contrast(100%),
'light': brightness(0) saturate(100%) invert(77%) sepia(72%) saturate(246%)
Expand Down
2 changes: 1 addition & 1 deletion dist/color-filters.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ module.exports = {
colorYellowDarker:
'brightness(0) saturate(100%) invert(19%) sepia(75%) saturate(981%) hue-rotate(17deg) brightness(103%) contrast(103%)',
colorYellowDark:
'brightness(0) saturate(100%) invert(45%) sepia(48%) saturate(6022%) hue-rotate(31deg) brightness(93%) contrast(80%)',
'brightness(0) saturate(100%) invert(37%) sepia(51%) saturate(709%) hue-rotate(0deg) brightness(93%) contrast(89%)',
colorYellow:
'brightness(0) saturate(100%) invert(65%) sepia(91%) saturate(530%) hue-rotate(5deg) brightness(100%) contrast(100%)',
colorYellowLight:
Expand Down
4 changes: 2 additions & 2 deletions dist/color-filters.custom-properties.css
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@
saturate(413%) hue-rotate(11deg) brightness(97%) contrast(91%);
--color-yellow-darker: brightness(0) saturate(100%) invert(19%) sepia(75%)
saturate(981%) hue-rotate(17deg) brightness(103%) contrast(103%);
--color-yellow-dark: brightness(0) saturate(100%) invert(45%) sepia(48%)
saturate(6022%) hue-rotate(31deg) brightness(93%) contrast(80%);
--color-yellow-dark: brightness(0) saturate(100%) invert(37%) sepia(51%)
saturate(709%) hue-rotate(0deg) brightness(93%) contrast(89%);
--color-yellow: brightness(0) saturate(100%) invert(65%) sepia(91%)
saturate(530%) hue-rotate(5deg) brightness(100%) contrast(100%);
--color-yellow-light: brightness(0) saturate(100%) invert(77%) sepia(72%)
Expand Down
2 changes: 1 addition & 1 deletion dist/color-filters.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"color-green-lighter": "brightness(0) saturate(100%) invert(92%) sepia(51%) saturate(187%) hue-rotate(46deg) brightness(108%) contrast(89%)",
"color-yellow-text": "brightness(0) saturate(100%) invert(28%) sepia(42%) saturate(413%) hue-rotate(11deg) brightness(97%) contrast(91%)",
"color-yellow-darker": "brightness(0) saturate(100%) invert(19%) sepia(75%) saturate(981%) hue-rotate(17deg) brightness(103%) contrast(103%)",
"color-yellow-dark": "brightness(0) saturate(100%) invert(45%) sepia(48%) saturate(6022%) hue-rotate(31deg) brightness(93%) contrast(80%)",
"color-yellow-dark": "brightness(0) saturate(100%) invert(37%) sepia(51%) saturate(709%) hue-rotate(0deg) brightness(93%) contrast(89%)",
"color-yellow": "brightness(0) saturate(100%) invert(65%) sepia(91%) saturate(530%) hue-rotate(5deg) brightness(100%) contrast(100%)",
"color-yellow-light": "brightness(0) saturate(100%) invert(77%) sepia(72%) saturate(246%) hue-rotate(355deg) brightness(103%) contrast(107%)",
"color-yellow-lighter": "brightness(0) saturate(100%) invert(88%) sepia(27%) saturate(234%) hue-rotate(357deg) brightness(103%) contrast(98%)",
Expand Down
4 changes: 2 additions & 2 deletions dist/color-filters.map.scss
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ $polaris-color-filters-map: (
hue-rotate(17deg) brightness(103%) contrast(103%),
),
'color-yellow-dark': (
brightness(0) saturate(100%) invert(45%) sepia(48%) saturate(6022%)
hue-rotate(31deg) brightness(93%) contrast(80%),
brightness(0) saturate(100%) invert(37%) sepia(51%) saturate(709%)
hue-rotate(0deg) brightness(93%) contrast(89%),
),
'color-yellow': (
brightness(0) saturate(100%) invert(65%) sepia(91%) saturate(530%)
Expand Down
4 changes: 2 additions & 2 deletions dist/color-filters.raw.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"value": "#bbe5b3"
},
"color-blue": {
"value": "#007ace"
"value": "#006fbb"
},
"color-indigo-light": {
"value": "#b3bcf5"
Expand Down Expand Up @@ -404,7 +404,7 @@
"type": "color",
"category": "background-color",
"name": "color-yellow-dark",
"value": "brightness(0) saturate(100%) invert(45%) sepia(48%) saturate(6022%) hue-rotate(31deg) brightness(93%) contrast(80%)",
"value": "brightness(0) saturate(100%) invert(37%) sepia(51%) saturate(709%) hue-rotate(0deg) brightness(93%) contrast(89%)",
"originalValue": "{!color-yellow-dark}"
},
"color-yellow": {
Expand Down
4 changes: 2 additions & 2 deletions dist/color-filters.scss
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ $color-yellow-text: brightness(0) saturate(100%) invert(28%) sepia(42%)
saturate(413%) hue-rotate(11deg) brightness(97%) contrast(91%);
$color-yellow-darker: brightness(0) saturate(100%) invert(19%) sepia(75%)
saturate(981%) hue-rotate(17deg) brightness(103%) contrast(103%);
$color-yellow-dark: brightness(0) saturate(100%) invert(45%) sepia(48%)
saturate(6022%) hue-rotate(31deg) brightness(93%) contrast(80%);
$color-yellow-dark: brightness(0) saturate(100%) invert(37%) sepia(51%)
saturate(709%) hue-rotate(0deg) brightness(93%) contrast(89%);
$color-yellow: brightness(0) saturate(100%) invert(65%) sepia(91%)
saturate(530%) hue-rotate(5deg) brightness(100%) contrast(100%);
$color-yellow-light: brightness(0) saturate(100%) invert(77%) sepia(72%)
Expand Down
2 changes: 1 addition & 1 deletion dist/colors.android.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<resources>
<color name="polaris_color_black">#ff000000</color>
<color name="polaris_color_blue">#ff007ace</color>
<color name="polaris_color_blue">#ff006fbb</color>
<color name="polaris_color_blue_dark">#ff084e8a</color>
<color name="polaris_color_blue_darker">#ff001429</color>
<color name="polaris_color_blue_light">#ffb4e1fa</color>
Expand Down
2 changes: 1 addition & 1 deletion dist/colors.ase.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
"name": "blue",
"model": "RGB",
"type": "global",
"color": [0, 0.47843137254901963, 0.807843137254902]
"color": [0, 0.43529411764705883, 0.7333333333333333]
},
{
"name": "blue-light",
Expand Down
2 changes: 1 addition & 1 deletion dist/colors.color-map.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ $polaris-colors: (
'text': rgb(62, 78, 87),
'darker': rgb(0, 20, 41),
'dark': rgb(8, 78, 138),
'base': rgb(0, 122, 206),
'base': rgb(0, 111, 187),
'light': rgb(180, 225, 250),
'lighter': rgb(235, 245, 250),
),
Expand Down
2 changes: 1 addition & 1 deletion dist/colors.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module.exports = {
colorBlueText: 'rgb(62, 78, 87)',
colorBlueDarker: 'rgb(0, 20, 41)',
colorBlueDark: 'rgb(8, 78, 138)',
colorBlue: 'rgb(0, 122, 206)',
colorBlue: 'rgb(0, 111, 187)',
colorBlueLight: 'rgb(180, 225, 250)',
colorBlueLighter: 'rgb(235, 245, 250)',
colorTealText: 'rgb(64, 83, 82)',
Expand Down
2 changes: 1 addition & 1 deletion dist/colors.custom-properties.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
--color-blue-text: rgb(62, 78, 87);
--color-blue-darker: rgb(0, 20, 41);
--color-blue-dark: rgb(8, 78, 138);
--color-blue: rgb(0, 122, 206);
--color-blue: rgb(0, 111, 187);
--color-blue-light: rgb(180, 225, 250);
--color-blue-lighter: rgb(235, 245, 250);
--color-teal-text: rgb(64, 83, 82);
Expand Down
2 changes: 1 addition & 1 deletion dist/colors.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"color-blue-text": "rgb(62, 78, 87)",
"color-blue-darker": "rgb(0, 20, 41)",
"color-blue-dark": "rgb(8, 78, 138)",
"color-blue": "rgb(0, 122, 206)",
"color-blue": "rgb(0, 111, 187)",
"color-blue-light": "rgb(180, 225, 250)",
"color-blue-lighter": "rgb(235, 245, 250)",
"color-teal-text": "rgb(64, 83, 82)",
Expand Down
2 changes: 1 addition & 1 deletion dist/colors.map.scss
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ $polaris-colors-map: (
rgb(8, 78, 138),
),
'color-blue': (
rgb(0, 122, 206),
rgb(0, 111, 187),
),
'color-blue-light': (
rgb(180, 225, 250),
Expand Down
4 changes: 2 additions & 2 deletions dist/colors.raw.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"value": "#bbe5b3"
},
"color-blue": {
"value": "#007ace"
"value": "#006fbb"
},
"color-indigo-light": {
"value": "#b3bcf5"
Expand Down Expand Up @@ -285,7 +285,7 @@
"type": "color",
"category": "background-color",
"name": "color-blue",
"value": "rgb(0, 122, 206)",
"value": "rgb(0, 111, 187)",
"originalValue": "{!color-blue}"
},
"color-blue-light": {
Expand Down
2 changes: 1 addition & 1 deletion dist/colors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ $color-indigo-lighter: rgb(244, 245, 250);
$color-blue-text: rgb(62, 78, 87);
$color-blue-darker: rgb(0, 20, 41);
$color-blue-dark: rgb(8, 78, 138);
$color-blue: rgb(0, 122, 206);
$color-blue: rgb(0, 111, 187);
$color-blue-light: rgb(180, 225, 250);
$color-blue-lighter: rgb(235, 245, 250);
$color-teal-text: rgb(64, 83, 82);
Expand Down
2 changes: 1 addition & 1 deletion dist/index.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module.exports = {
colorBlueText: 'rgb(62, 78, 87)',
colorBlueDarker: 'rgb(0, 20, 41)',
colorBlueDark: 'rgb(8, 78, 138)',
colorBlue: 'rgb(0, 122, 206)',
colorBlue: 'rgb(0, 111, 187)',
colorBlueLight: 'rgb(180, 225, 250)',
colorBlueLighter: 'rgb(235, 245, 250)',
colorTealText: 'rgb(64, 83, 82)',
Expand Down
2 changes: 1 addition & 1 deletion dist/index.custom-properties.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
--color-blue-text: rgb(62, 78, 87);
--color-blue-darker: rgb(0, 20, 41);
--color-blue-dark: rgb(8, 78, 138);
--color-blue: rgb(0, 122, 206);
--color-blue: rgb(0, 111, 187);
--color-blue-light: rgb(180, 225, 250);
--color-blue-lighter: rgb(235, 245, 250);
--color-teal-text: rgb(64, 83, 82);
Expand Down
2 changes: 1 addition & 1 deletion dist/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
declare interface Tokens {
colorBlack: "rgb(0, 0, 0)";
colorBlue: "rgb(0, 122, 206)";
colorBlue: "rgb(0, 111, 187)";
colorBlueDark: "rgb(8, 78, 138)";
colorBlueDarker: "rgb(0, 20, 41)";
colorBlueLight: "rgb(180, 225, 250)";
Expand Down
2 changes: 1 addition & 1 deletion dist/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"color-blue-text": "rgb(62, 78, 87)",
"color-blue-darker": "rgb(0, 20, 41)",
"color-blue-dark": "rgb(8, 78, 138)",
"color-blue": "rgb(0, 122, 206)",
"color-blue": "rgb(0, 111, 187)",
"color-blue-light": "rgb(180, 225, 250)",
"color-blue-lighter": "rgb(235, 245, 250)",
"color-teal-text": "rgb(64, 83, 82)",
Expand Down
2 changes: 1 addition & 1 deletion dist/index.map.scss
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ $polaris-index-map: (
rgb(8, 78, 138),
),
'color-blue': (
rgb(0, 122, 206),
rgb(0, 111, 187),
),
'color-blue-light': (
rgb(180, 225, 250),
Expand Down
4 changes: 2 additions & 2 deletions dist/index.raw.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"value": "#bbe5b3"
},
"color-blue": {
"value": "#007ace"
"value": "#006fbb"
},
"color-indigo-light": {
"value": "#b3bcf5"
Expand Down Expand Up @@ -285,7 +285,7 @@
"type": "color",
"category": "background-color",
"name": "color-blue",
"value": "rgb(0, 122, 206)",
"value": "rgb(0, 111, 187)",
"originalValue": "{!color-blue}"
},
"color-blue-light": {
Expand Down
2 changes: 1 addition & 1 deletion dist/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ $color-indigo-lighter: rgb(244, 245, 250);
$color-blue-text: rgb(62, 78, 87);
$color-blue-darker: rgb(0, 20, 41);
$color-blue-dark: rgb(8, 78, 138);
$color-blue: rgb(0, 122, 206);
$color-blue: rgb(0, 111, 187);
$color-blue-light: rgb(180, 225, 250);
$color-blue-lighter: rgb(235, 245, 250);
$color-teal-text: rgb(64, 83, 82);
Expand Down
Loading