/polyca

Polyca is CSS framework for little work.

Primary LanguageSCSSCreative Commons Zero v1.0 UniversalCC0-1.0

polyca

Polyca is CSS framework for small works.

It's simple, easy to use, and you can easily change the color theme.

check detail.

development

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 new theme

  1. 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
  1. edit ./themes/YOUR_THEME_NAME.scss

  2. build polyca.scss

$ yarn build
  1. 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>