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

Unintended css naming conventions? or missing classes in scss #290

Open
Zryru opened this issue May 12, 2021 · 0 comments
Open

Unintended css naming conventions? or missing classes in scss #290

Zryru opened this issue May 12, 2021 · 0 comments

Comments

@Zryru
Copy link

Zryru commented May 12, 2021

Environment

"@nativescript/core": "~8.0.0",
"@nativescript/theme": "~3.0.1",

Describe the bug
Unable to use classes in scss like btn-rounded-lg, but just -rounded-lg works.

e.g.
Button.-rounded-lg
found in node_modules/@nativescript/theme/css/core.css

but in node_modules/@nativescript/theme/css/core.compat.css
what is found is:
.btn-rounded-lg

To Reproduce
import theme default

@import '~@nativescript/theme/core';

@import '~@nativescript/theme/default';

<Button class="-rounded-lg"></Button>

Expected behavior

@import '~@nativescript/theme/core';

@import '~@nativescript/theme/default';

usage of class btn-rounded-lg to work as in previous versions

<Button class="btn-rounded-lg"></Button>

while -rounded-lg not an intended usage?
<Button class="-rounded-lg"></Button>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant