Skip to content

Commit

Permalink
[Major] Swap fgColor-onEmphasis to white in dark HC (#1023)
Browse files Browse the repository at this point in the history
* copy

* Create dull-actors-pay.md

* github-actions[bot] Regenerated snapshots

* update disabled control border

* github-actions[bot] Regenerated snapshots

---------

Co-authored-by: langermank <langermank@users.noreply.github.com>
  • Loading branch information
langermank and langermank authored Aug 6, 2024
1 parent 39862e9 commit 0f5625e
Show file tree
Hide file tree
Showing 54 changed files with 129 additions and 102 deletions.
5 changes: 5 additions & 0 deletions .changeset/dull-actors-pay.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/primitives": major
---

Change `fgColor-onEmphasis` to white in dark high contrast theme
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified blob-report/report.zip
Binary file not shown.
8 changes: 4 additions & 4 deletions contributor-docs/adrs/adr-002-fgColor-onEmphasis.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

## Status

| Stage | Status |
| -------- | ------------- |
| Approved |<!----> |
| Adopted | 🚧<!-- 🚧 --> |
| Stage | Status |
| -------- | ------ |
| Approved | |
| Adopted | |

## Context

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

## Status

| Stage | Status |
| -------- | ----------- |
| Approved | <!----> |
| Adopted | <!-- 🚧 --> |
| Stage | Status |
| -------- | ------ |
| Approved | |
| Adopted | |

## Decision

Expand Down
23 changes: 22 additions & 1 deletion src/tokens/functional/color/dark/overrides/dark.dimmed.json5
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,18 @@
},
fgColor: {
default: {
$value: '{base.color.neutral.9}',
$value: '{base.color.neutral.10}',
$type: 'color',
},
onEmphasis: {
$value: '{base.color.neutral.11}',
$type: 'color',
},
disabled: {
$value: '{base.color.neutral.7}',
$type: 'color',
alpha: 1,
},
},
control: {
bgColor: {
Expand Down Expand Up @@ -95,6 +100,22 @@
},
},
},
controlKnob: {
bgColor: {
rest: {
$value: '{bgColor.inset}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',
mode: 'dark',
group: 'component (internal)',
scopes: ['bgColor'],
},
},
},
},
},
diffBlob: {
expander: {
iconColor: {
Expand Down
Loading

0 comments on commit 0f5625e

Please sign in to comment.