Polyca is CSS framework for small works.
It's simple, easy to use, and you can easily change the color theme.
check detail.
use yarn
$ git clone https://github.com/mitsu-ksgr/polyca.git
$ cd polyca
# Install packages.
$ yarn
# build scss
$ yarn compile
# minify
$ yarn minify
# build & minify
$ yarn build
# auto build (does not minify)
$ yarn watch
- create theme filr
# Use helper script
$ ./jig/new_theme.sh YOUR_THEME_NAME
New theme file created! ./themes/YOUR_THEME_NAME.scss
# or copy already existing theme file
$ cp ./themes/dark.scss ./themes/YOUR_THEME_NAME.scss
-
edit
./themes/YOUR_THEME_NAME.scss
-
build polyca.scss
$ yarn build
- test in index.html
class name: .theme-YOUR_THEME_NAME
<head>
<link rel="stylesheet" href="dist/polyca.min.css">
</head>
<body class="theme-YOUR_THEME_NAME">
</body>