-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* move over from old pr * remove old files * replace decorative with muted * remove decorative * fix high contrast * lukas' tests saving the day * Create .changeset/cold-houses-swim.md * use correct alpha for muted bg in dark * fix dark alpha * undo change to css build
- Loading branch information
1 parent
2732d47
commit 05edec6
Showing
35 changed files
with
3,806 additions
and
3,401 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@primer/primitives": patch | ||
--- | ||
|
||
Add Primitives v8 colors (private dist for testing) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
base: { | ||
color: { | ||
black: { | ||
$value: '#1b1f24', | ||
$value: '#1f2328', | ||
$type: 'color', | ||
}, | ||
transparent: { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,242 @@ | ||
{ | ||
topicTag: { | ||
borderColor: { | ||
$value: '{base.color.transparent}', | ||
$type: 'color', | ||
}, | ||
}, | ||
highlight: { | ||
neutral: { | ||
bgColor: { | ||
$value: '{base.color.yellow.3}', | ||
$type: 'color', | ||
alpha: 0.4, | ||
}, | ||
}, | ||
}, | ||
page: { | ||
header: { | ||
bgColor: { | ||
$value: '{bgColor.default}', | ||
$type: 'color', | ||
}, | ||
}, | ||
}, | ||
diffBlob: { | ||
addition: { | ||
fgColor: { | ||
text: { | ||
$value: '{fgColor.default}', | ||
$type: 'color', | ||
}, | ||
num: { | ||
$value: '{fgColor.default}', | ||
$type: 'color', | ||
}, | ||
}, | ||
bgColor: { | ||
num: { | ||
$value: '{base.color.green.3}', | ||
$type: 'color', | ||
alpha: 0.3, | ||
}, | ||
line: { | ||
$value: '{base.color.green.4}', | ||
$type: 'color', | ||
alpha: 0.15, | ||
mix: null, | ||
}, | ||
word: { | ||
$value: '{base.color.green.4}', | ||
$type: 'color', | ||
alpha: 0.4, | ||
}, | ||
}, | ||
}, | ||
deletion: { | ||
fgColor: { | ||
text: { | ||
$value: '{fgColor.default}', | ||
$type: 'color', | ||
}, | ||
num: { | ||
$value: '{fgColor.default}', | ||
$type: 'color', | ||
}, | ||
}, | ||
bgColor: { | ||
num: { | ||
$value: '{base.color.red.4}', | ||
$type: 'color', | ||
alpha: 0.3, | ||
}, | ||
line: { | ||
$value: '{base.color.red.4}', | ||
$type: 'color', | ||
alpha: 0.15, | ||
mix: null, | ||
}, | ||
word: { | ||
$value: '{base.color.red.4}', | ||
$type: 'color', | ||
alpha: 0.4, | ||
}, | ||
}, | ||
}, | ||
hunk: { | ||
bgColor: { | ||
num: { | ||
$value: '{borderColor.accent.muted}', | ||
$type: 'color', | ||
}, | ||
}, | ||
}, | ||
expander: { | ||
iconColor: { | ||
$value: '{fgColor.muted}', | ||
$type: 'color', | ||
}, | ||
}, | ||
}, | ||
diffStat: { | ||
addition: { | ||
bgColor: { | ||
$value: '{bgColor.success.emphasis}', | ||
$type: 'color', | ||
}, | ||
}, | ||
}, | ||
codeMirror: { | ||
fgColor: { | ||
$value: '{fgColor.default}', | ||
$type: 'color', | ||
}, | ||
bgColor: { | ||
$value: '{bgColor.default}', | ||
$type: 'color', | ||
}, | ||
gutters: { | ||
bgColor: { | ||
$value: '{bgColor.default}', | ||
$type: 'color', | ||
}, | ||
}, | ||
gutterMarker: { | ||
fgColor: { | ||
default: { | ||
$value: '{bgColor.default}', | ||
$type: 'color', | ||
}, | ||
muted: { | ||
$value: '{fgColor.muted}', | ||
$type: 'color', | ||
}, | ||
}, | ||
}, | ||
lineNumber: { | ||
fgColor: { | ||
$value: '{fgColor.muted}', | ||
$type: 'color', | ||
}, | ||
}, | ||
cursor: { | ||
fgColor: { | ||
$value: '{fgColor.default}', | ||
$type: 'color', | ||
}, | ||
}, | ||
selection: { | ||
bgColor: { | ||
$value: '{borderColor.accent.muted}', | ||
$type: 'color', | ||
}, | ||
}, | ||
activeline: { | ||
bgColor: { | ||
$value: '{bgColor.neutral.muted}', | ||
$type: 'color', | ||
}, | ||
}, | ||
matchingBracket: { | ||
fgColor: { | ||
$value: '{fgColor.default}', | ||
$type: 'color', | ||
}, | ||
}, | ||
lines: { | ||
bgColor: { | ||
$value: '{bgColor.default}', | ||
$type: 'color', | ||
}, | ||
}, | ||
syntax: { | ||
fgColor: { | ||
comment: { | ||
$value: '{base.color.gray.3}', | ||
$type: 'color', | ||
}, | ||
constant: { | ||
$value: '{base.color.blue.2}', | ||
$type: 'color', | ||
}, | ||
entity: { | ||
$value: '{base.color.purple.2}', | ||
$type: 'color', | ||
}, | ||
keyword: { | ||
$value: '{base.color.red.3}', | ||
$type: 'color', | ||
}, | ||
storage: { | ||
$value: '{base.color.red.3}', | ||
$type: 'color', | ||
}, | ||
string: { | ||
$value: '{base.color.blue.1}', | ||
$type: 'color', | ||
}, | ||
support: { | ||
$value: '{base.color.blue.2}', | ||
$type: 'color', | ||
}, | ||
variable: { | ||
$value: '{base.color.orange.2}', | ||
$type: 'color', | ||
}, | ||
}, | ||
}, | ||
}, | ||
header: { | ||
fgColor: { | ||
default: { | ||
$value: '{fgColor.onEmphasis}', | ||
$type: 'color', | ||
alpha: 0.7, | ||
}, | ||
logo: { | ||
$value: '{fgColor.onEmphasis}', | ||
$type: 'color', | ||
}, | ||
}, | ||
bgColor: { | ||
$value: '{base.color.gray.9}', | ||
$type: 'color', | ||
}, | ||
borderColor: { | ||
divider: { | ||
$value: '{base.color.gray.3}', | ||
$type: 'color', | ||
}, | ||
}, | ||
}, | ||
headerSearch: { | ||
bgColor: { | ||
$value: '{base.color.gray.9}', | ||
$type: 'color', | ||
}, | ||
borderColor: { | ||
$value: '{base.color.gray.6}', | ||
$type: 'color', | ||
}, | ||
}, | ||
} |
Oops, something went wrong.