Giter Club home page Giter Club logo

ej2-custom-styles's Introduction

Custom Style Generator for Essential JS 2 Components

Syncfusion is now officially rolled out the ThemeStudio for Essential JS 2 components to customize its styles. So we suggest you to use the ThemeStudio web tool instead of this plugin to generate the custom theme.

Installing

To install the dependent packages, use the below command.

npm install

Customizing Themes

  • The Essential JS 2 components style variables are already declared in the styles/definition location, categorized by theme name.

  • You can change the specific variable's color value to generate the customized theme.

For example, Changing $accent and $primary variable colors in material theme definition will generate a customized material theme with provided color changes.

$accent: #FFAB40;
$primary: #9C27B0;
  • Now run the below command and choose the Essential JS 2 packages for creating custom styles.

npm run compile

  • After executing the above command, the final output {theme-name}.css files will be created under styles location.

demo

ej2-custom-styles's People

Contributors

ajithr avatar essentialjs2 avatar sarubala20 avatar syncfusionbuild avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

sridurgha

ej2-custom-styles's Issues

Not working anymore

I wanted to generate custom css for the Vol 2 release from yesterday.
This is the error I'm getting:

Select Essential JS 2 Packages for Custom Styles @syncfusion/ej2-buttons, @syncfusion/ej2-calendars, @syncfusion/ej2-c
ards, @syncfusion/ej2-charts, @syncfusion/ej2-circulargauge, @syncfusion/ej2-dropdowns, @syncfusion/ej2-grids, @syncfusi
on/ej2-inputs, @syncfusion/ej2-lineargauge, @syncfusion/ej2-lists, @syncfusion/ej2-maps, @syncfusion/ej2-navigations, @s
yncfusion/ej2-popups, @syncfusion/ej2-schedule, @syncfusion/ej2-splitbuttons
(node:26040) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'length' of undefined
at getDependencies (C:\ej2-custom-styles\gulpfile.js:155:38)
at createComponentStyles (C:\ej2-custom-styles\gulpfile.js:146:26)
at inquirer.prompt.then.answer (C:\ej2-custom-styles\gulpfile.js:88:21)
at
(node:26040) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:26040) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

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.