Skip to content

Commit 011c91f

Browse files
authored
chore(demo): improve API page for ProgressSegmented documentation (#13609)
1 parent 4c95ac6 commit 011c91f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • projects/demo/src/pages/directives/progress-segmented

projects/demo/src/pages/directives/progress-segmented/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ export default class Page {
3434
['#39b54a', '#ffd450', '#ffd450', '#fcc521', '#fab619', '#f8a34d', '#e01f19'],
3535
Array.from(
3636
{length: 20},
37-
(_, index) => `var(--tui-chart-categorical-0${index + 1})`,
37+
(_, index) =>
38+
`var(--tui-chart-categorical-${String(index + 1).padStart(2, '0')})`,
3839
),
3940
];
4041

0 commit comments

Comments
 (0)