Git Product home page Git Product logo

salt's Introduction

[WIP] Salt Build Status Code Climate

Add some flavor to your product design workflow

Build

  1. Clone the repository
  2. Run
sass src/salt.scss build/salt.css

Documentation

Take a look at the documentation

salt's People

Contributors

afelio-ama avatar alexandremasy avatar

Watchers

 avatar  avatar

salt's Issues

Responsive typography

The font-size should adjust based on the size of the screen – based on the breakpoints

Superbe font mixin

Create a mixin for better font declaration

@mixin font($font-family, $font-weight, $font-size, $font-style){}

Usage

@include font(heading, regular,  xxl);
@include font($font-size: xxs);

Create a mixin to declare a font

Create a mixin that can:

  • Declare a local font or a provider one;
  • Declare the font-weights;
  • Declare the font-styles;
  • Declare the font-sizes;

It should be simply and elegant to use.

Generate font-sizes utilies

Generate the font-size utiliy classes for the heading and the body.

  • f-xxs
  • f-xs
  • f-s
  • f-m
  • f-l
  • f-xl
  • f-xxl

By default, f-[size] apply the sizes of the body.

Generate the utility classes for the heading:

  • f-heading-xxs
  • f-heading-xs
  • f-heading-s
  • f-heading-m
  • f-heading-l
  • f-heading-xl
  • f-heading-xxl

Improve the settings management

Implement a better way to manage the settings values

  • Some will have multiple values;
  • Some will have one value;

Give separation between the header of the data and the actual data.

//
//  @param {String} $key – The key to register
//  @param {*} $value – The value to register
//  @return * – The value stored for the key
//
@mixin config($key, $value: null){}

Better helper management

Create a way to create all the helpers one time, not to have a mixin to create each ones.

One approach could be having a vo for each property with:

  • All the appropriate values
  • The domain under which it is declared

One function could just loop through that.

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.