polygoncss v1.0.1-alpha
š· PolygonCSS
Basic blank structure of a project based on ITCSS (Scalable and Maintainable CSS Architecture) and BEMIT (BEM) Methodology.
It is a CSS framework for web artisans. It is another framework to be able to start developing your project with a predefined base based on OOCSS, working through BEMIT (BEM + ITCSS). In this way we can develop our project in a coherent, clean and orderly way and can be maintained and scaled without any difficulty.
The framework has some components developed to start working, the styles of each component are generic styles and are designed to be edited according to the needs of the project with which you use it, although if they seem beautiful, they are ready to use them!
Getting Started
Clone the repository in local and install the dependencies, then run dev & build scripts.
Install:
git clone https://github.com/klaufel/polygoncss.git
cd polygoncss
npm installIf you have a problem with install node-sass, use the next command line:
sudo npm i gulp-sass -ES --unsafe-perm=trueDevelopment script:
npm run devBuild script:
npm run buildSpecificity graph: Generate a specificity graph in a specificity-graph folder.
npm run graphDocumentation
For more information you can visit the official documentation of polygonCSS- https://polygoncss.com/docs.
if you want to display the local docs, run the local server with docsify serve. You can preview your site in your browser on http://localhost:3000.
npm i docsify-cli -g
docsify serve docsProject folder structure
src/
āāā 01_settings/
ā āāā settings.scss
ā āāā settings__config.scss
ā āāā settings__variables.scss
ā āāā settings__breakpoints.scss
ā āāā settings__colors.scss
ā āāā settings__fonts.scss
ā
āāā 02_tools/
ā āāā tools.scss
ā āāā tools__mixins.scss
ā āāā tools__media-queries.scss
ā
āāā 03_generic/
ā āāā generic.scss
ā āāā generic__normalize.scss
ā āāā generic__box-sizing.scss
ā āāā generic__global.scss
ā āāā generic__print.scss
ā
āāā 04_elements/
ā āāā elements.scss
ā āāā elements__headings.scss
ā āāā elements__paragraphs.scss
ā āāā elements__anchors.scss
ā āāā elements__images.scss
ā
āāā 05_headings/
ā āāā headings.scss
ā āāā headings__title.scss
ā āāā headings__heading.scss
ā āāā headings__headline.scss
ā āāā headings__subtitle.scss
ā
āāā 06_objects/
ā āāā objects.scss
ā āāā objects__container.scss
ā āāā objects__grid.scss
ā āāā objects__section.scss
ā āāā objects__table.scss
ā
āāā 07_components/
ā āāā components.scss
ā āāā components__button.scss
ā āāā components__input.scss
ā āāā structure/
ā āāā components__header.scss
ā āāā components__footer.scss
ā
āāā 08_utilities/
ā āāā utilities.scss
ā āāā utilities__widths.scss
ā āāā utilities__colors.scss
ā āāā utilities__trumps.scss
ā āāā utilities__debug.scss
ā
āāā style.scss7 years ago
7 years ago