NativeScript / theme

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

How add a new pallete to project #291

Open PetroSuch opened 3 years ago

PetroSuch commented 3 years ago

Hi, thanks for you plugin I have a question, how i can add a custom palette to my project ? I found kendo-palettes.scss file, and i tried to add my custom style, but i failed.

https://stackoverflow.com/questions/41440998/how-can-i-use-custom-theme-palettes-in-angular i found an example about Angular Material theme, and there i see how add palette, maybe something same is here, @nativescript/theme ?

PetroSuch commented 3 years ago

I have created a pull request https://github.com/NativeScript/theme/pull/292 It helps you to add you custom palettes, in your project

PetroSuch commented 3 years ago

@NathanaelA Could you please help me, with my pull request ? I have got error with Travis CI, but i didn't edit any files except only one kendo-palettes.scss

eslint . TypeError: Cannot read property 'range' of null Occurred while linting /home/travis/build/NativeScript/theme/app/pages/themes.js:63

but i did not change something in the file themes.js