UIKit customizable theme.
Special thanks to my friend Barış.
This repo cloned from Barış's custom uikit theme repo
UIkit is a lightweight and modular front-end framework for developing fast and powerful web interfaces.
How to create a custom theme with UIkit is https://getuikit.com/docs/lesshere.
I gathered all less variables and hooks in UIkit.
You have the following options to get UIkit:
- Install with npm to get all source files as they are available on Github:
npm install uikit
or - Install with yarn to get all source files as they are available on Github:
yarn add uikit
- Clone this repo under the uikit folder
git clone https://github.com/erkanaltinors/custom-uikit.git
- Extract custom folder under the uikit folder
- Delete custom-uikit folder
- Change watch line package.json
"watch": "watch-run -i -p \\"**/*.less\\" yarn node build/less",
- Now you can follow steps at Compile section
custom/
<!-- entry file for Less compiler -->
my-theme.less
<!-- folder with single Less files -->
my-theme/
<!-- imports all components in this folder -->
_import.less
<!-- one file per customized component -->
accordion.less
alert.less
...
<!-- custom icons -->
icons/
...
To compile UIkit and your custom theme into CSS, run the yarn task compile
Run once to install all dependencies yarn install
Compile all source files including your theme yarn compile
Watch files and compile automatically everytime a file changes yarn watch
Latest ✔ | Latest ✔ | Latest ✔ | 11+ ✔ | 9.1+ ✔ | Latest ✔ |
Copyright YOOtheme GmbH under the MIT license.