Updated from bootstrap
- Allow usage of rem
- Set current font-size to rem
- Add more usage of current variable to make different variations
- Some fix for limesurvey with bootsrap
The default variables use only rem and more contrast
- Copy file from skelvanilla-default directory to base directory
- Update
variables.less
and optionnaly other less files. If you already have a variables.less file : you can use it directly. - Use lessc to generate your theme : you can choose the theme varivation between base, awesome, button and awesome_button
lessc theme-base.less > bootstrap.css
- Copy this css file to your skelvanilla extended model
- Put your variables.less file in variations-variables directory with your desired name (sample :
mytheme.less
) - Optionaly remove all other files from variations-variables directory (then your template get it by parent theme)
- Optionnaly create adapted less file in other directory (see default directory for usage)
- Update makevariations.sh script after
## Add your own needed variables files here
line to use your own less file for default - Update
lessc
generator line to use your prefered theme. - Move variations directory and bootstrap.css to your skelvanilla extended model
- Add your own variation in skelvanilla config.xml file at
availablevariations
part.
With makevariation-variables.sh
you can create your own boostrap.css and the related variation. It's the simpliest way to get needed file for your template.
- Create a directory in
variablesnames
directory - Put your own variables.less in this directory
- Add other files (see
skelvanilla-default
directory for used files) - Launch script :
sh makevariation-variables.sh variablename [theme]
(default theme isbutton_awesome
) - Replace boostrap.css in skelvanilla extended version
- Add variations directory in skelvanilla extended version
- Update skelvanilla extended version Available variation at global level to
{
"variablename": {
"name": "Variable Name",
"base": "1",
"button": "1",
"awesome": "1",
"button_awesome": "1"
}
}