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

fix: css variables names #2524

Merged
merged 2 commits into from
Oct 14, 2022
Merged

Conversation

m0ksem
Copy link
Contributor

@m0ksem m0ksem commented Oct 14, 2022

Move useless css variables away, so user will not be overwhelmed with amount of CSS variables.

In most cases it is position or display which user shouldn't change, cuz it will break component.

closes #2276

@rustem-nasyrov
Copy link
Collaborator

Will we fix it? Or leave it as is?

Checkbox

develop:
image
production:
image

@rustem-nasyrov
Copy link
Collaborator

VaDivider somehow became barely visible.

Screenshots develop: image production: image

@@ -3,6 +3,7 @@
--va-progress-bar-position: relative;
--va-progress-bar-overflow: hidden;
--va-progress-bar-height: 0.5rem;
--va-progress-bar-border-radius: 9999999px;
Copy link
Collaborator

Choose a reason for hiding this comment

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

What if we do it like this? It's still rounded.

Suggested change
--va-progress-bar-border-radius: 9999999px;
--va-progress-bar-border-radius: var(--va-progress-bar-height);

Copy link
Collaborator

@rustem-nasyrov rustem-nasyrov left a comment

Choose a reason for hiding this comment

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

Great job! But need to be polished a little. :)

@m0ksem m0ksem merged commit 4691b61 into epicmaxco:develop Oct 14, 2022
m0ksem added a commit to m0ksem/vuestic-ui that referenced this pull request Oct 17, 2022
* fix: css variables names

* fix: review fixes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make more meaningful CSS variables for user, not developer
2 participants