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

How add a new pallete to project #291

Open
PetroSuch opened this issue Jun 1, 2021 · 2 comments
Open

How add a new pallete to project #291

PetroSuch opened this issue Jun 1, 2021 · 2 comments

Comments

@PetroSuch
Copy link
Contributor

PetroSuch commented Jun 1, 2021

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
Copy link
Contributor Author

PetroSuch commented Jun 3, 2021

I have created a pull request
#292
It helps you to add you custom palettes, in your project

@PetroSuch
Copy link
Contributor Author

PetroSuch commented Jun 4, 2021

@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

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