Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

MarsBased/marscss

Repository files navigation

npm version

marscss

Marscss. Front-end CSS framework for faster and easier web development.

=======

How to use?

Install the dependency

npm i @marsbased/marscss --save

Use it from your main scss file:

@import 'node_modules/@marsbased/marscss/index';

Alternatively, if you are using a bundler you probably can use a shortcut like:

@import '~@marsbased/marscss/index';

Documentation

Visit Marscss documentation, powered by marsman Marsman.

Running documentation

  1. Run bundle install to install Ruby and middleman dependencies
  2. Run yarn install to install Node.js dependencies.
  3. Run bundle exec middleman server to up middleman server
  4. Open http://localhost:4567/documentation in you browser

Create the tests

  1. Run ruby scripts/tests-type-of.rb
  2. Add @include tests() in your scss file after marscss importer

Create the shapes

This script is responsible for compressing the different svg that are in the shapes folder and passing them to the partial that we added in the general layout

Run yarn svg