826 B
826 B
:: BASE_DOC ::
API
IndexesAnchor Props
| name | type | default | description | required |
|---|---|---|---|---|
| external-classes | Array | - | ['t-class'] |
N |
| index | String / Number | - | - | N |
CSS Variables
The component provides the following CSS variables, which can be used to customize styles.
| Name | Default Value | Description |
|---|---|---|
| --td-indexes-anchor-active-bg-color | @bg-color-container | - |
| --td-indexes-anchor-active-color | @brand-color | - |
| --td-indexes-anchor-active-font-weight | 600 | - |
| --td-indexes-anchor-bg-color | @bg-color-secondarycontainer | - |
| --td-indexes-anchor-border-color | @component-border | - |
| --td-indexes-anchor-color | @text-color-primary | - |
| --td-indexes-anchor-font | @font-body-medium | - |
| --td-indexes-anchor-padding | 8rpx 32rpx | - |
| --td-indexes-anchor-top | 0 | - |