-
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 timelineBadge and reactionButton tokens to component files (#1141)
- Loading branch information
1 parent
f8451ca
commit 1433b8b
Showing
7 changed files
with
98 additions
and
170 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,78 @@ | ||
{ | ||
reactionButton: { | ||
selected: { | ||
bgColor: { | ||
rest: { | ||
$value: '{base.color.blue.0}', | ||
$type: 'color', | ||
$extensions: { | ||
'org.primer.figma': { | ||
collection: 'mode', | ||
group: 'component (internal)', | ||
scopes: ['bgColor'], | ||
}, | ||
'org.primer.overrides': { | ||
dark: { | ||
$value: '{base.color.blue.4}', | ||
alpha: 0.2, | ||
}, | ||
}, | ||
}, | ||
}, | ||
hover: { | ||
$value: '#caecff', | ||
$type: 'color', | ||
$extensions: { | ||
'org.primer.figma': { | ||
collection: 'mode', | ||
group: 'component (internal)', | ||
scopes: ['bgColor'], | ||
}, | ||
'org.primer.overrides': { | ||
dark: { | ||
$value: '#3a8cfd', | ||
alpha: 0.36, | ||
}, | ||
'dark-dimmed': { | ||
$value: '#4285e5', | ||
alpha: 0.36, | ||
}, | ||
'light-high-contrast': '#c7e9ff', | ||
'dark-high-contrast': { | ||
$value: '#5dadff', | ||
alpha: 0.36, | ||
}, | ||
}, | ||
}, | ||
}, | ||
}, | ||
fgColor: { | ||
rest: { | ||
$value: '{fgColor.link}', | ||
$type: 'color', | ||
$extensions: { | ||
'org.primer.figma': { | ||
collection: 'mode', | ||
group: 'component (internal)', | ||
scopes: ['fgColor'], | ||
}, | ||
}, | ||
}, | ||
hover: { | ||
$value: '{base.color.blue.6}', | ||
$type: 'color', | ||
$extensions: { | ||
'org.primer.figma': { | ||
collection: 'mode', | ||
group: 'component (internal)', | ||
scopes: ['fgColor'], | ||
}, | ||
'org.primer.overrides': { | ||
dark: '{base.color.blue.2}', | ||
}, | ||
}, | ||
}, | ||
}, | ||
}, | ||
}, | ||
} |
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,19 @@ | ||
{ | ||
timelineBadge: { | ||
bgColor: { | ||
$value: '{bgColor.muted}', | ||
$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}', | ||
}, | ||
}, | ||
}, | ||
}, | ||
} |
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
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