-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move component tokens into indididual files (#1142)
* move component tokens into indididual files * fixing deprecated * fix
- Loading branch information
1 parent
b3bea1a
commit e8ba280
Showing
13 changed files
with
196 additions
and
471 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
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,65 @@ | ||
{ | ||
header: { | ||
bgColor: { | ||
$value: '{base.color.neutral.12}', | ||
$type: 'color', | ||
$extensions: { | ||
'org.primer.figma': { | ||
collection: 'mode', | ||
group: 'component (internal)', | ||
scopes: ['bgColor'], | ||
}, | ||
'org.primer.overrides': { | ||
dark: { | ||
$value: '{base.color.neutral.2}', | ||
alpha: 0.95, | ||
}, | ||
}, | ||
}, | ||
}, | ||
fgColor: { | ||
default: { | ||
$value: '{base.color.neutral.0}', | ||
$type: 'color', | ||
$extensions: { | ||
'org.primer.figma': { | ||
collection: 'mode', | ||
group: 'component (internal)', | ||
scopes: ['fgColor'], | ||
}, | ||
'org.primer.overrides': { | ||
dark: '{base.color.neutral.13}', | ||
}, | ||
}, | ||
alpha: 0.7, | ||
}, | ||
logo: { | ||
$value: '{base.color.neutral.0}', | ||
$type: 'color', | ||
$extensions: { | ||
'org.primer.figma': { | ||
collection: 'mode', | ||
group: 'component (internal)', | ||
scopes: ['fgColor'], | ||
}, | ||
'org.primer.overrides': { | ||
dark: '{base.color.neutral.12}', | ||
}, | ||
}, | ||
}, | ||
}, | ||
borderColor: { | ||
divider: { | ||
$value: '{base.color.neutral.8}', | ||
$type: 'color', | ||
$extensions: { | ||
'org.primer.figma': { | ||
collection: 'mode', | ||
group: 'component (internal)', | ||
scopes: ['borderColor'], | ||
}, | ||
}, | ||
}, | ||
}, | ||
}, | ||
} |
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,32 @@ | ||
{ | ||
headerSearch: { | ||
bgColor: { | ||
$value: '{base.color.neutral.12}', | ||
$type: 'color', | ||
$extensions: { | ||
'org.primer.figma': { | ||
collection: 'mode', | ||
group: 'component (internal)', | ||
scopes: ['bgColor'], | ||
}, | ||
'org.primer.overrides': { | ||
dark: '{base.color.neutral.1}', | ||
}, | ||
}, | ||
}, | ||
borderColor: { | ||
$value: '{base.color.neutral.8}', | ||
$type: 'color', | ||
$extensions: { | ||
'org.primer.figma': { | ||
collection: 'mode', | ||
group: 'component (internal)', | ||
scopes: ['borderColor'], | ||
}, | ||
'org.primer.overrides': { | ||
dark: '{base.color.neutral.5}', | ||
}, | ||
}, | ||
}, | ||
}, | ||
} |
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,68 @@ | ||
{ | ||
overlay: { | ||
bgColor: { | ||
$value: '{base.color.neutral.0}', | ||
$type: 'color', | ||
$extensions: { | ||
'org.primer.figma': { | ||
collection: 'mode', | ||
group: 'component (internal)', | ||
scopes: ['bgColor'], | ||
}, | ||
'org.primer.overrides': { | ||
dark: '{bgColor.muted}', | ||
'dark-dimmed': '{base.color.neutral.5}', | ||
}, | ||
}, | ||
}, | ||
borderColor: { | ||
$value: '{borderColor.muted}', | ||
$type: 'color', | ||
$extensions: { | ||
'org.primer.figma': { | ||
collection: 'mode', | ||
group: 'component (internal)', | ||
}, | ||
'org.primer.overrides': { | ||
dark: { | ||
alpha: 1, | ||
$value: '{borderColor.muted}', | ||
}, | ||
'dark-dimmed': { | ||
$value: '{base.color.neutral.7}', | ||
alpha: 0.7, | ||
}, | ||
'light-high-contrast': { | ||
alpha: 1, | ||
$value: '{borderColor.default}', | ||
}, | ||
'dark-high-contrast': { | ||
$value: '{borderColor.default}', | ||
alpha: 1, | ||
}, | ||
}, | ||
}, | ||
alpha: 0.5, | ||
}, | ||
backdrop: { | ||
bgColor: { | ||
$value: '{base.color.neutral.7}', | ||
$type: 'color', | ||
$extensions: { | ||
'org.primer.figma': { | ||
collection: 'mode', | ||
group: 'component (internal)', | ||
scopes: ['bgColor'], | ||
}, | ||
'org.primer.overrides': { | ||
dark: '{base.color.neutral.3}', | ||
'dark-dimmed': '{base.color.neutral.4}', | ||
'light-high-contrast': '{base.color.neutral.11}', | ||
'dark-high-contrast': '{base.color.neutral.11}', | ||
}, | ||
}, | ||
alpha: 0.4, | ||
}, | ||
}, | ||
}, | ||
} |
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,29 @@ | ||
{ | ||
skeletonLoader: { | ||
bgColor: { | ||
$value: '{base.color.neutral.8}', | ||
$type: 'color', | ||
$extensions: { | ||
'org.primer.figma': { | ||
collection: 'mode', | ||
group: 'component', | ||
scopes: ['bgColor'], | ||
}, | ||
'org.primer.overrides': { | ||
dark: { | ||
alpha: 0.2, | ||
}, | ||
'light-high-contrast': { | ||
$value: '{base.color.neutral.5}', | ||
alpha: 1, | ||
}, | ||
'dark-high-contrast': { | ||
$value: '{base.color.neutral.5}', | ||
alpha: 1, | ||
}, | ||
}, | ||
}, | ||
alpha: 0.1, | ||
}, | ||
}, | ||
} |
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
Oops, something went wrong.