vuejs/vuepress

Rename palette.styl

Open

#2108 aperta il 4 gen 2020

Vedi su GitHub
 (7 commenti) (2 reazioni) (1 assegnatario)JavaScript (4782 fork)batch import
complexity: easycontribution welcomegood first issuetype: feature requestversion: 2.x

Metriche repository

Star
 (22.300 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Feature request

palette.style should be renamed since it's not only relevant to colors.

See config.styl.

What problem does this feature solve?

The name may confuse developers. See #2086.

What does the proposed API look like?

rename palette.styl to variables.styl or something else.

How should this be implemented in your opinion?

Rename it and update documentation. Add deprecated badge to palette.styl since it'll be a breaking change.

Are you willing to work on this yourself?

Yes.

Guida contributor