Giter Site home page Giter Site logo

miniaxolotl / stagcss Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 1.02 MB

a modern modular CSS framework thats mobile friendly and based on flexbox.

Home Page: https://stagcss.dev

License: GNU General Public License v3.0

TypeScript 13.74% SCSS 64.84% HTML 21.42%
css-framework classless-css design web flexbox minimalist

stagcss's Introduction

stag

Project banner

a modern and minimalist CSS framework.

CircleCI npm GitHub release (latest by date including pre-releases) GitHub issues GitHub license

Getting Started

Dependencies

Usage

CDN

<link rel="stylesheet" href="https://unpkg.com/stagcss"/>

npm

npm install --save stagcss

yarn

yarn add stagcss

Theming

1. Copy stag.scss and rename it

cp src/stag.scss src/stag-{theme}.scss

2. Edit the color variables at the top of the page

$color-primary:     config.$color-black !default;
$color-secondary:   config.$color-grey-light !default;
$color-tertiary:    config.$color-white !default;
$color-background:  config.$color-white !default;
$color-accent-1:    config.$color-gold-dark !default;
$color-accent-2:    config.$color-magenta !default;

3. Run yarn build to build the source

yarn build
# or
yarn build --theme {theme}
# or
yarn build --theme {theme} --minify

Building

Specify theme by using or ommiting --theme (default and dark). Minify using --minify.

Using gulp

yarn build
# or
gulp build

Testing

Using jest

yarn test
# or
jest

Documentation

Specifications & design documents can be found in the wiki.

See Also

Contributing

Please see CONTRIBUTING.md for a in depth view.

Credits

Please see CREDITS.md for a in depth view.

License

This project is licensed under the GPL-3.0 License - see the LICENSE file for details.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.