Skip to content

allowing to show metadata/jsdocs style comments for css variables #100

Open
@anoopsinghbayes

Description

@anoopsinghbayes

I was looking to see if this kind of feature is possible
right now what we get on hover of the variable is the actual value defined which is neat
what if we could define some meta data in the comments just above the variable to be shown when some hovered over the usage

example

:root{
/***
* @description This is primary color for X Design system
*/
--primary-default:#157eba
}

and is some other css file

.button-primary {
background-color:var(--primary-default);/*when you hover over the variable you see the description defined above*/
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions