Skip to content

Commit 36b720c

Browse files
committed
fix(docs): use preset color names for Progress.Circle in preview
Progress.Circle only supports preset names (primary, blue, green, yellow, red) — not CSS variable strings. The var() values were silently ignored, rendering circles without stroke color.
1 parent 5077417 commit 36b720c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

apps/docs/src/containers/theme-editor/components/preview-panel.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,8 @@ export const PreviewPanel = (): React.ReactElement => {
164164
</Flex>
165165
<Flex gap="lg" style={{ marginTop: 16 }}>
166166
<Progress.Circle percent={75} width={80} />
167-
<Progress.Circle percent={50} width={80} strokeColor="var(--ty-color-success)" />
168-
<Progress.Circle percent={90} width={80} strokeColor="var(--ty-color-warning)" />
167+
<Progress.Circle percent={50} width={80} strokeColor="green" />
168+
<Progress.Circle percent={90} width={80} strokeColor="yellow" />
169169
</Flex>
170170
<Progress.Bar percent={65} style={{ marginTop: 12 }} />
171171
</section>

0 commit comments

Comments
 (0)