Skip to content

Commit

Permalink
Fixed #2643 - Knob | replace surface letters with new surface variables
Browse files Browse the repository at this point in the history
  • Loading branch information
yigitfindikli committed Feb 16, 2022
1 parent 6f9f90b commit 65e2801
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions api-generator/components/knob.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,13 @@ const KnobProps = [
},
{
name: 'rangeColor',
type: 'number',
type: 'string',
default: 'null',
description: 'Background color of the range.'
},
{
name: 'textColor',
type: 'number',
type: 'string',
default: 'null',
description: 'Color of the value text.'
},
Expand Down
4 changes: 2 additions & 2 deletions components/doc/knob/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -529,13 +529,13 @@ import { Knob } from 'primereact/knob';
</tr>
<tr>
<td>rangeColor</td>
<td>number</td>
<td>string</td>
<td>null</td>
<td>Background color of the range.</td>
</tr>
<tr>
<td>textColor</td>
<td>number</td>
<td>string</td>
<td>null</td>
<td>Color of the value text.</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion components/lib/knob/Knob.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export class Knob extends Component {
strokeWidth: 14,
name: null,
valueColor: 'var(--primary-color, Black)',
rangeColor: 'var(--surface-d, LightGray)',
rangeColor: 'var(--surface-border, LightGray)',
textColor: 'var(--text-color-secondary, Black)',
valueTemplate: '{value}',
onChange: null
Expand Down

0 comments on commit 65e2801

Please sign in to comment.