Skip to content

Commit

Permalink
feat(plasma-new-hope): add Progress component
Browse files Browse the repository at this point in the history
  • Loading branch information
TitanKuzmich committed Mar 21, 2024
1 parent a8a28c3 commit 42d99b7
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,37 +12,37 @@ export const config = {
default: css`
${progressTokens.trackBackgroundColor}: var(--surface-transparent-secondary);
${progressTokens.progressFilledBackgroundColor}: var(--surface-solid-default);
${progressTokens.valueColor}: var(--plasma-colors-tertiary);
${progressTokens.valueColor}: var(--text-tertiary);
`,
secondary: css`
${progressTokens.trackBackgroundColor}: var(--surface-transparent-secondary);
${progressTokens.progressFilledBackgroundColor}: var(--surface-solid-tertiary);
${progressTokens.valueColor}: var(--plasma-colors-tertiary);
${progressTokens.valueColor}: var(--text-tertiary);
`,
primary: css`
${progressTokens.trackBackgroundColor}: var(--surface-transparent-secondary);
${progressTokens.progressFilledBackgroundColor}: var(--surface-accent);
${progressTokens.valueColor}: var(--plasma-colors-tertiary);
${progressTokens.valueColor}: var(--text-tertiary);
`,
accent: css`
${progressTokens.trackBackgroundColor}: var(--surface-transparent-secondary);
${progressTokens.progressFilledBackgroundColor}: var(--surface-accent-gradient);
${progressTokens.valueColor}: var(--plasma-colors-tertiary);
${progressTokens.valueColor}: var(--text-tertiary);
`,
success: css`
${progressTokens.trackBackgroundColor}: var(--surface-transparent-secondary);
${progressTokens.progressFilledBackgroundColor}: var(--surface-positive);
${progressTokens.valueColor}: var(--plasma-colors-tertiary);
${progressTokens.valueColor}: var(--text-tertiary);
`,
warning: css`
${progressTokens.trackBackgroundColor}: var(--surface-transparent-secondary);
${progressTokens.progressFilledBackgroundColor}: var(--surface-warning);
${progressTokens.valueColor}: var(--plasma-colors-tertiary);
${progressTokens.valueColor}: var(--text-tertiary);
`,
error: css`
${progressTokens.trackBackgroundColor}: var(--surface-transparent-secondary);
${progressTokens.progressFilledBackgroundColor}: var(--surface-negative);
${progressTokens.valueColor}: var(--plasma-colors-tertiary);
${progressTokens.valueColor}: var(--text-tertiary);
`,
},
size: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,37 +12,37 @@ export const config = {
default: css`
${progressTokens.trackBackgroundColor}: var(--surface-transparent-secondary);
${progressTokens.progressFilledBackgroundColor}: var(--surface-solid-default);
${progressTokens.valueColor}: var(--plasma-colors-tertiary);
${progressTokens.valueColor}: var(--text-tertiary);
`,
secondary: css`
${progressTokens.trackBackgroundColor}: var(--surface-transparent-secondary);
${progressTokens.progressFilledBackgroundColor}: var(--surface-solid-tertiary);
${progressTokens.valueColor}: var(--plasma-colors-tertiary);
${progressTokens.valueColor}: var(--text-tertiary);
`,
primary: css`
${progressTokens.trackBackgroundColor}: var(--surface-transparent-secondary);
${progressTokens.progressFilledBackgroundColor}: var(--surface-accent);
${progressTokens.valueColor}: var(--plasma-colors-tertiary);
${progressTokens.valueColor}: var(--text-tertiary);
`,
accent: css`
${progressTokens.trackBackgroundColor}: var(--surface-transparent-secondary);
${progressTokens.progressFilledBackgroundColor}: var(--surface-accent-gradient);
${progressTokens.valueColor}: var(--plasma-colors-tertiary);
${progressTokens.valueColor}: var(--text-tertiary);
`,
success: css`
${progressTokens.trackBackgroundColor}: var(--surface-transparent-secondary);
${progressTokens.progressFilledBackgroundColor}: var(--surface-positive);
${progressTokens.valueColor}: var(--plasma-colors-tertiary);
${progressTokens.valueColor}: var(--text-tertiary);
`,
warning: css`
${progressTokens.trackBackgroundColor}: var(--surface-transparent-secondary);
${progressTokens.progressFilledBackgroundColor}: var(--surface-warning);
${progressTokens.valueColor}: var(--plasma-colors-tertiary);
${progressTokens.valueColor}: var(--text-tertiary);
`,
error: css`
${progressTokens.trackBackgroundColor}: var(--surface-transparent-secondary);
${progressTokens.progressFilledBackgroundColor}: var(--surface-negative);
${progressTokens.valueColor}: var(--plasma-colors-tertiary);
${progressTokens.valueColor}: var(--text-tertiary);
`,
},
size: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,37 +12,37 @@ export const config = {
default: css`
${progressTokens.trackBackgroundColor}: var(--surface-transparent-secondary);
${progressTokens.progressFilledBackgroundColor}: var(--surface-solid-default);
${progressTokens.valueColor}: var(--plasma-colors-tertiary);
${progressTokens.valueColor}: var(--text-tertiary);
`,
secondary: css`
${progressTokens.trackBackgroundColor}: var(--surface-transparent-secondary);
${progressTokens.progressFilledBackgroundColor}: var(--surface-solid-tertiary);
${progressTokens.valueColor}: var(--plasma-colors-tertiary);
${progressTokens.valueColor}: var(--text-tertiary);
`,
primary: css`
${progressTokens.trackBackgroundColor}: var(--surface-transparent-secondary);
${progressTokens.progressFilledBackgroundColor}: var(--surface-accent);
${progressTokens.valueColor}: var(--plasma-colors-tertiary);
${progressTokens.valueColor}: var(--text-tertiary);
`,
accent: css`
${progressTokens.trackBackgroundColor}: var(--surface-transparent-secondary);
${progressTokens.progressFilledBackgroundColor}: var(--surface-accent-gradient);
${progressTokens.valueColor}: var(--plasma-colors-tertiary);
${progressTokens.valueColor}: var(--text-tertiary);
`,
success: css`
${progressTokens.trackBackgroundColor}: var(--surface-transparent-secondary);
${progressTokens.progressFilledBackgroundColor}: var(--surface-positive);
${progressTokens.valueColor}: var(--plasma-colors-tertiary);
${progressTokens.valueColor}: var(--text-tertiary);
`,
warning: css`
${progressTokens.trackBackgroundColor}: var(--surface-transparent-secondary);
${progressTokens.progressFilledBackgroundColor}: var(--surface-warning);
${progressTokens.valueColor}: var(--plasma-colors-tertiary);
${progressTokens.valueColor}: var(--text-tertiary);
`,
error: css`
${progressTokens.trackBackgroundColor}: var(--surface-transparent-secondary);
${progressTokens.progressFilledBackgroundColor}: var(--surface-negative);
${progressTokens.valueColor}: var(--plasma-colors-tertiary);
${progressTokens.valueColor}: var(--text-tertiary);
`,
},
size: {
Expand Down

0 comments on commit 42d99b7

Please sign in to comment.