RFS but in js
-
Where this thing come from
- Originally this RFS just JS version of this RFS
- The one who convert this is supposedly
- The original JS converted source code is from here
- And i'm only publish this to npm, so it's easy to import (my first intention is for using it in my project)
-
Use case
- For me personally, using it with styled-components, since it don't support PostCSS
-
Usage
-
Minimal usage (mostly for me atleast) example
import styled from "styled-components" import rfs from "rfsjs" const Heading = styled.h1` color: #4d4d4d; font-weight: bold; ${rfs("4rem", "font-size")} `;
-
- Licensed under MIT (RFS):
- Copyright (c) 2017-2019 Martijn Cuppens
- Copyright (c) 2020 Hadi Tarhini