intuit / postcss-themed

A PostCSS plugin for generating themes.
MIT License
62 stars 32 forks source link

add alternative theme usage syntax #53

Closed hipstersmoothie closed 3 years ago

hipstersmoothie commented 3 years ago

What Changed

Add new theme("VARIABLE_NAME") syntax.

Why

It is easier to read.

Todo:

Published PR with canary version: 2.7.0-canary.53.684

codecov-commenter commented 3 years ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@322893c). Click here to learn what that means. The diff coverage is 85.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master      #53   +/-   ##
=========================================
  Coverage          ?   88.11%           
=========================================
  Files             ?        5           
  Lines             ?      345           
  Branches          ?       89           
=========================================
  Hits              ?      304           
  Misses            ?       25           
  Partials          ?       16           
Impacted Files Coverage Δ
src/index.ts 83.78% <50.00%> (ø)
src/common/index.ts 79.77% <70.00%> (ø)
src/legacy/index.ts 96.38% <88.23%> (ø)
src/modern/index.ts 89.39% <92.68%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 322893c...89af81c. Read the comment docs.

hipstersmoothie commented 3 years ago

:rocket: PR was released in v2.7.0 :rocket: