Rafael Arce Nazario 7634e2ccd0 init | 5 年之前 | |
---|---|---|
.. | ||
misc | 5 年之前 | |
previewer-src | 5 年之前 | |
src | 5 年之前 | |
README.md | 5 年之前 | |
gulpfile.js | 5 年之前 | |
package.json | 5 年之前 | |
patterns.yaml | 5 年之前 | |
stylelint.config.js | 5 年之前 | |
yarn.lock | 5 年之前 |
Onsen CSS Components is CSS components for Cordova Apps.
This CSS components is built by PostCSS + cssnext. You can build with following commands.
$ yarn install --pure-lockfile
$ yarn run build
Execute the following command.
$ yarn install --pure-lockfile
$ yarn run serve
When you open http://localhost:4321/
in the browser, a preview of the CSS components is displayed.
When you edit the cssnext files under the src
directory, the cssnext files is automatically built into the CSS and the browser is reloaded. The built CSS file is located in ./build/onsen-css-components.css
.
To customize theme colors, you can edit ./src/theme.css
. This file contains CSS variables for the theme colors.
If you want to customize components’ details, you can edit ./src/components/*.css
. These files contain actual rules for all CSS components. But these files may be changed significantly by minor version release.