We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
catalogs: common: ## color:orange "@vueuse/core": "^11.0.3" "@vueuse/nuxt": "^11.0.3" deploy: ## color:blue "@changesets/cli": "^2.27.8" testing: ## color:green "vitest": "^2.0.5"
it would be great if catalog with different color to distinguish them.
color can auto calculate or manually set
No response
The text was updated successfully, but these errors were encountered:
Un, interesting. I don't actually use named catalogs, but yeah I think this would be a nice feature. PR welcome if anyone wants to work on it
Sorry, something went wrong.
I cloned this repo, and tried to the following,
predefine 10 colors in the config, and get colors by the catalog index,
0
default
1...
#000000
"contributes": { "configuration": { + "pnpmCatalogLens.colors": { + "type": "array", + "default": ["#f69220", "#845EC2", "#D65DB1", "#2C73D2", "#0089BA", "#008F7A", "#00C7AD", "#F3C5FF", "#00C0FF", "#E6E885"], + "description": "text colors to diff catalogs. the first for default, #000000 for IndexOutOfBounds", + "items": { + "type": "string" + } }
const configColors = workspace.getConfiguration('pnpmCatalogLens').get('colors',['#f69220']) const decorationsOverrideMap = new Map<string, ShallowRef<DecorationOptions[]>>();
and finally, i give up, it's hard for me to impl this feature now, i'v wrote bad smelling code :)
No branches or pull requests
Clear and concise description of the problem
it would be great if catalog with different color to distinguish them.
Suggested solution
color can auto calculate or manually set
Alternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: