NativeScript / theme

@nativescript/theme
https://v7.docs.nativescript.org/ui/theme
Apache License 2.0
127 stars 44 forks source link

Inconsistent library names #268

Closed programista25 closed 4 years ago

programista25 commented 4 years ago

In one of your articles https://nativescript.org/blog/an-early-look-at-the-new-nativescript-core-theme/ you are writing about using @import "~nativescript-theme-core/index"; but in documentation for this repo there is different naming of the theme: @import "~@nativescript/theme/css/core.css";

I'm also confused which of those libraries should I use?

"@nativescript/theme": "2.3.3",
"nativescript-theme-core": "2.0.24",

So what is the right way to use it?

bundyo commented 4 years ago

This is mentioned in several issues and also in the readme - @nativescript/theme is the latest package name and the previous one is deprecated. The blog post is rather old, sorry.