Add some flavor to your product design workflow
- Clone the repository
- Run
sass src/salt.scss build/salt.css
Take a look at the documentation
Add some flavor to your product design workflow
License: MIT License
Add some flavor to your product design workflow
sass src/salt.scss build/salt.css
Take a look at the documentation
The font-size should adjust based on the size of the screen – based on the breakpoints
Add a flag or a mixin to trigger the generation of the helpers. It can be helpful to delay the generation until all the information are set. E.g. all the fonts are registered.
Define the breakpoint for this range:
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 that can:
It should be simply and elegant to use.
Provide an easy way to declare a media query based on the grid breakpoints
Generate the font-size utiliy classes for the heading and the body.
By default, f-[size] apply the sizes of the body.
Generate the utility classes for the heading:
Implement a better way to manage the settings values
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){}
Define a default font-family for the body based on the typography of the current os.
Add the possibility to have multiple font and give them names, not just the two available now (heading & body).
Being able to define different font-sizes for the body and the heading
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:
One function could just loop through that.
Being able to define custom fonts with multiple weight
For each font-size breakpoint being able to define the font-size.
xxs
xs
s
m
l
xl
xxl
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.