Skip to content
New issue

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

Component | LeafletMap: POC of having an object of CSS variable names #171

Merged
merged 1 commit into from
Apr 26, 2023

Conversation

rokotyan
Copy link
Contributor

For a long time I was concerned about the names of CSS variables in Unovis: we reference them in the TS code and every time the name of a certain variable changes, we need to manually change it everywhere else

This PR is a proof of concept of having the names of component's CSS variables stored in an object, that can be used in the code and can be accessed externally as a static class property.

@rokotyan rokotyan added the enhancement New feature or request label Mar 30, 2023
@rokotyan rokotyan requested a review from reb-dev March 30, 2023 14:37
@rokotyan rokotyan force-pushed the feature/css-variables-map-camel-case branch from 8f2ab2d to cf93c64 Compare March 30, 2023 14:44
Copy link
Collaborator

@reb-dev reb-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! I like this change.

@reb-dev reb-dev merged commit d023858 into main Apr 26, 2023
@rokotyan rokotyan deleted the feature/css-variables-map-camel-case branch May 22, 2023 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants