Skip to content

Commit

Permalink
Add missing pink display tokens (#904)
Browse files Browse the repository at this point in the history
* add pink

* Create weak-panthers-appear.md

* add pink

* github-actions[bot] Regenerated snapshots

---------

Co-authored-by: langermank <langermank@users.noreply.github.com>
  • Loading branch information
langermank and langermank committed Apr 18, 2024
1 parent bdddfec commit ae118b7
Show file tree
Hide file tree
Showing 46 changed files with 398 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/weak-panthers-appear.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/primitives": patch
---

Add missing `pink` display tokens
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added blob-report/report.zip
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import cssShadowVars from './DeprecatedShadowTokensMap.json'
// eslint-disable-next-line import/extensions
import noChangeCssVars from './NoChangeTokensMap.json'
// eslint-disable-next-line import/extensions
import fallbackVars from '../../../../../dist/fallbacks/color-fallbacks.json'
import fallbackVars from './static-fallbacks.json'
import {DataTable, Table} from '@primer/react/drafts'

export default {
Expand Down
260 changes: 260 additions & 0 deletions docs/storybook/stories/Migration/v8/static-fallbacks.json

Large diffs are not rendered by default.

66 changes: 66 additions & 0 deletions src/tokens/functional/color/dark/display-dark.json5
Original file line number Diff line number Diff line change
Expand Up @@ -1056,5 +1056,71 @@
},
},
},
pink: {
bgColor: {
muted: {
$value: '{base.display.color.pink.0}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',
mode: 'light',
group: 'component (internal)',
scopes: ['bgColor'],
},
},
},
emphasis: {
$value: '{base.display.color.pink.5}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',
mode: 'light',
group: 'component (internal)',
scopes: ['bgColor'],
},
},
},
},
fgColor: {
$value: '{base.display.color.pink.6}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',
mode: 'light',
group: 'component (internal)',
scopes: ['fgColor'],
},
},
},
borderColor: {
muted: {
$value: '{base.display.color.pink.1}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',
mode: 'light',
group: 'component (internal)',
scopes: ['borderColor'],
},
},
},
emphasis: {
$value: '{base.display.color.pink.5}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',
mode: 'light',
group: 'component (internal)',
scopes: ['borderColor'],
},
},
},
},
},
},
}
66 changes: 66 additions & 0 deletions src/tokens/functional/color/light/display-light.json5
Original file line number Diff line number Diff line change
Expand Up @@ -1056,5 +1056,71 @@
},
},
},
pink: {
bgColor: {
muted: {
$value: '{base.display.color.pink.0}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',
mode: 'light',
group: 'component (internal)',
scopes: ['bgColor'],
},
},
},
emphasis: {
$value: '{base.display.color.pink.5}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',
mode: 'light',
group: 'component (internal)',
scopes: ['bgColor'],
},
},
},
},
fgColor: {
$value: '{base.display.color.pink.6}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',
mode: 'light',
group: 'component (internal)',
scopes: ['fgColor'],
},
},
},
borderColor: {
muted: {
$value: '{base.display.color.pink.1}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',
mode: 'light',
group: 'component (internal)',
scopes: ['borderColor'],
},
},
},
emphasis: {
$value: '{base.display.color.pink.5}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',
mode: 'light',
group: 'component (internal)',
scopes: ['borderColor'],
},
},
},
},
},
},
}

0 comments on commit ae118b7

Please sign in to comment.