Skip to content
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
5 changes: 5 additions & 0 deletions .changeset/spotty-peas-buy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/primitives": patch
---

Use default colors for high contrast contribution graph
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.
4 changes: 2 additions & 2 deletions docs/storybook/stories/Size/Border.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export const BorderRadius = () => {
field: 'original',
rowHeader: true,
renderCell: row => {
return <p>{row.value}</p>
return <p>{row.original.$value}</p>
},
},
]}
Expand Down Expand Up @@ -194,7 +194,7 @@ export const Outline = () => {
field: 'original',
rowHeader: true,
renderCell: row => {
return <p>{row.value}</p>
return <p>{row.original.$value}</p>
},
},
]}
Expand Down
18 changes: 12 additions & 6 deletions docs/storybook/stories/Size/Size.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,18 @@ export default {
}

export const Base = () => {
const data = getTokensByName(sizeTokens, 'base').map(token => {
return {
id: token.name,
...token,
}
})
const data = getTokensByName(sizeTokens, 'base')
.map(token => {
return {
id: token.name,
...token,
}
})
.sort((a, b) => {
const numA = parseInt(a.name.split('-').pop() || '0', 10)
const numB = parseInt(b.name.split('-').pop() || '0', 10)
return numA - numB
})

return (
<Table.Container>
Expand Down
37 changes: 0 additions & 37 deletions src/tokens/component/contribution.json5
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
scopes: ['bgColor'],
},
'org.primer.overrides': {
'dark-high-contrast': '{base.color.neutral.3}',
'light-high-contrast': '{base.color.neutral.3}',
'dark-dimmed': '{base.color.neutral.5}',
},
},
Expand Down Expand Up @@ -92,13 +90,6 @@
$value: '{base.color.white}',
alpha: 0.05,
},
'dark-high-contrast': {
$value: '{base.color.white}',
alpha: 1,
},
'light-high-contrast': {
alpha: 1,
},
},
},
},
Expand All @@ -121,13 +112,6 @@
$value: '{base.color.white}',
alpha: 0.05,
},
'dark-high-contrast': {
$value: '{base.color.white}',
alpha: 1,
},
'light-high-contrast': {
alpha: 1,
},
},
},
},
Expand All @@ -150,13 +134,6 @@
$value: '{base.color.white}',
alpha: 0.05,
},
'dark-high-contrast': {
$value: '{base.color.white}',
alpha: 1,
},
'light-high-contrast': {
alpha: 1,
},
},
},
},
Expand All @@ -179,13 +156,6 @@
$value: '{base.color.white}',
alpha: 0.05,
},
'dark-high-contrast': {
$value: '{base.color.white}',
alpha: 1,
},
'light-high-contrast': {
alpha: 1,
},
},
},
},
Expand All @@ -208,13 +178,6 @@
$value: '{base.color.white}',
alpha: 0.05,
},
'dark-high-contrast': {
$value: '{base.color.white}',
alpha: 1,
},
'light-high-contrast': {
alpha: 1,
},
},
},
},
Expand Down