-
Notifications
You must be signed in to change notification settings - Fork 734
Design Tokens - Wizard #2026
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Design Tokens - Wizard #2026
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -4,16 +4,27 @@ const exclamationSmall = require('./assets/exclamationSmall.png'); | |||||
import {WizardStepsConfig} from './types'; | ||||||
|
||||||
export const StatesConfig: WizardStepsConfig = { | ||||||
enabled: {color: Colors.grey30, circleColor: Colors.grey60, enabled: true}, | ||||||
disabled: {color: Colors.grey50, circleColor: Colors.grey60}, | ||||||
error: {color: Colors.red30, icon: exclamationSmall, enabled: true, accessibilityInfo: 'Validation Error'}, | ||||||
skipped: {color: Colors.red30, enabled: true, accessibilityInfo: 'Not completed'}, | ||||||
enabled: {color: Colors.$textNeutralHeavy, circleColor: Colors.$outlineDisabled, enabled: true}, | ||||||
disabled: {color: Colors.$textDisabled, circleColor: Colors.$outlineDefault}, | ||||||
error: { | ||||||
color: Colors.$iconDangerLight, | ||||||
circleColor: Colors.$outlineDanger, | ||||||
icon: exclamationSmall, | ||||||
enabled: true, | ||||||
accessibilityInfo: 'Validation Error' | ||||||
}, | ||||||
skipped: { | ||||||
color: Colors.$textDangerLight, | ||||||
circleColor: Colors.$outlineDanger, | ||||||
enabled: true, | ||||||
accessibilityInfo: 'Not completed' | ||||||
}, | ||||||
completed: { | ||||||
color: Colors.grey30, | ||||||
circleColor: Colors.grey60, | ||||||
color: Colors.$iconNeutral, | ||||||
circleColor: Colors.$outlineDisabled, | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Was it changed to grey50 so you're using the $outlineDisabled token? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's set to $outlineNeutralMedium which is $outlineDisabled |
||||||
icon: checkMarkSmall, | ||||||
enabled: true, | ||||||
accessibilityInfo: 'Completed' | ||||||
}, | ||||||
active: {color: Colors.blue10, circleColor: Colors.blue10} | ||||||
active: {color: Colors.$textPrimary, circleColor: Colors.$outlinePrimary} | ||||||
}; |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -118,7 +118,7 @@ export default asBaseComponent<WizardStepProps>(WizardStep); | |
const styles = StyleSheet.create({ | ||
connector: { | ||
borderWidth: 0.5, | ||
borderColor: Colors.grey60 | ||
borderColor: Colors.$outlineDisabled | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Was it changed to grey50 so you're using the $outlineDisabled token? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. See other comments :) |
||
}, | ||
circle: { | ||
width: 24, | ||
|
@@ -130,6 +130,6 @@ const styles = StyleSheet.create({ | |
}, | ||
label: { | ||
marginHorizontal: 8, | ||
color: Colors.grey20 | ||
color: Colors.$textNeutralHeavy | ||
} | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was it changed to grey50 so you're using the $outlineDisabled token?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's set to $outlineNeutralMedium which is $outlineDisabled