-
Notifications
You must be signed in to change notification settings - Fork 6
Theming
- Node v6.11.3
- gulp (npm install -g gulp)
- bower (npm install -g bower)
- Cassandra (optional if not installed and configured it uses in-memory for session store)
- semantic ui (npm install semantic-ui --save)
- RUN 'npm install'
- RUN 'bower cache clean'
- RUN 'bower install --force'
- RUN 'npm install -g gulp'
- RUN 'npm install semantic-ui --save'
- RUN 'cd semantic/'
- RUN 'gulp build'
- RUN gulp theme --create "name of your theme"
- RUN 'gulp themes'
- RUN gulp theme --watch "name of the theme to be watched"
-
gulp theme --create "name of your theme" ----> this command create the theme with specified name.
example:: gulp theme --create material creates material theme in src/semantic/src/themes
-
theme.config --->To override a theme for an individual element specify theme name.
example:: @container : 'default'; @site : 'material'; @card : 'github'; refer material theme theme.config file in src/semantic/src/themes/material/theme.config.
-
gulp themes ----> this command creates all the themes.
-
gulp theme --watch "name of the theme to be watched" ----> this command will build the theme again if any changes made to the theme.
example:: gulp theme --watch material build the theme again if any changes made to the theme
P.S :: All the themes generated will be stored in src/app/themes
-
Copy the default theme from src/semantic/src/themes and change the name of it.
example:: default theme in src/semantic/src/themes/default
-
theme.config --->To override a theme for an individual element specify theme name.
example:: @container : 'default'; @site : 'material'; @card : 'github'; refer material theme theme.config file in src/semantic/src/themes/default/theme.config.
-
gulp themes ----> this command creates all the themes.
-
gulp theme --watch "name of the theme to be watched" ----> this command will build the theme again if any changes made to the theme.
example:: gulp theme --watch default build the theme again if any changes made to the theme
P.S ::All the themes generated will be stored in src/app/themes
References:-