Skip to content

Instantly share code, notes, and snippets.

@techsin
Created April 22, 2021 20:08

Revisions

  1. techsin created this gist Apr 22, 2021.
    19 changes: 19 additions & 0 deletions font.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,19 @@
    {
    'color': css.color,
    'font-family': css.fontFamily,
    'font-size': css.fontSize,
    'font-style': css.fontStyle,
    'font-variant': css.fontVariant,
    'font-weight': css.fontWeight,
    'letter-spacing': css.letterSpacing,
    'line-height': css.lineHeight,
    'text-align':css.textAlign ,
    'text-decoration': css.textDecoration,
    'text-indent': css.textIndent,
    'text-overflow': css.textOverflow,
    'text-shadow': css.textShadow,
    'text-transform': css.textTransform,
    'white-space':css.whiteSpace,
    'word-break':css.wordBreak,
    'word-spacing':css.wordSpacing,
    }