Skip to content

yusrmuttaqien/rfsjs-package

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RFSjs

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")}
      `;
      

Credit

  • Licensed under MIT (RFS):
  • Copyright (c) 2017-2019 Martijn Cuppens
  • Copyright (c) 2020 Hadi Tarhini

About

A package for RFS but in js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published