Giter Site home page Giter Site logo

Create a Custom Theme about nebular HOT 5 CLOSED

akveo avatar akveo commented on May 4, 2024
Create a Custom Theme

from nebular.

Comments (5)

nnixaa avatar nnixaa commented on May 4, 2024 1

@mathieu-neron you are absolutely right, we have to create this documentation and it is scheduled, we just need some time. The theme.themeName.ts file contains colors and variables used for JS plugins such as charts which cannot be styled using CSS and accept styles as JS objects.

from nebular.

mathieu-neron avatar mathieu-neron commented on May 4, 2024

Seconded, would be great to have documentation on this.

from nebular.

mathieu-neron avatar mathieu-neron commented on May 4, 2024

Was able to do this by following the advanced setup of https://akveo.github.io/nebular/#/docs/guides/enabling-theme-system Allowing you to override the variables of whichever theme you decide to inherit, which works for me for now!

@nnixaa You could also mention that you can simply apply the theme's name in your theme module (instead of the default cosmic) instead of having to use a themeService.

I also added my own theme.myThemeName.ts constant, like what was done for theme.default.ts and theme.cosmic.ts. and included it in the theme module as well. Is this recommended?

from nebular.

nnixaa avatar nnixaa commented on May 4, 2024

Let's track it as #165.

from nebular.

vineet1996 avatar vineet1996 commented on May 4, 2024

hello im working on menu, so i want to change menu icon color ,
if i change globally using,
text-hint-color: #ffff,
it will effect in all pages i just want to use in particular components

from nebular.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.