diff --git a/components/lib/knob/Knob.d.ts b/components/lib/knob/Knob.d.ts index b151d447c..5cd66fe9d 100644 --- a/components/lib/knob/Knob.d.ts +++ b/components/lib/knob/Knob.d.ts @@ -151,17 +151,17 @@ export interface KnobProps { max?: number | undefined; /** * Background of the value. - * @defaultValue var(--primary-color, Black) + * @defaultValue $dt('knob.value.background') */ valueColor?: string | undefined; /** * Background color of the range. - * @defaultValue var(--surface-border, LightGray) + * @defaultValue $dt('knob.range.background') */ rangeColor?: string | undefined; /** * Color of the value text. - * @defaultValue var(--text-color-secondary, Black) + * @defaultValue $dt('knob.text.color') */ textColor?: string | undefined; /** diff --git a/doc/common/apidoc/index.json b/doc/common/apidoc/index.json index 8418dae19..f0458d944 100644 --- a/doc/common/apidoc/index.json +++ b/doc/common/apidoc/index.json @@ -43443,7 +43443,7 @@ "optional": true, "readonly": false, "type": "string", - "default": "var(--primary-color, Black)", + "default": "$dt('knob.value.background')", "description": "Background of the value." }, { @@ -43451,7 +43451,7 @@ "optional": true, "readonly": false, "type": "string", - "default": "var(--surface-border, LightGray)", + "default": "$dt('knob.range.background')", "description": "Background color of the range." }, { @@ -43459,7 +43459,7 @@ "optional": true, "readonly": false, "type": "string", - "default": "var(--text-color-secondary, Black)", + "default": "$dt('knob.text.color')", "description": "Color of the value text." }, { @@ -81094,4 +81094,4 @@ } } } -} \ No newline at end of file +}