astroturf

一种 "人工(artificial )" 的 CSS-in-JS ,适合那些想拥有一切的人。「An "artificial" CSS-in-JS for those that want it all.」

  • Owner: astroturfcss/astroturf
  • Platform:
  • License:: MIT License
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

astroturf

astroturf lets you write CSS in your JavaScript files without adding any runtime layer, and with your existing CSS processing pipeline.

  • Zero runtime CSS-in-JS. Get many of the same benefits as CSS-in-JS, but without the loss of flexibility in requiring framework-specific CSS processing, and while keeping your CSS fully static with no runtime style parsing.
  • Use your existing tools – Sass, PostCSS, Less – but still write your style definitions in your JavaScript files
  • Whole component in the single file. Write CSS in a template literal, then use it as if it were in a separate file

Checkout the docs for examples and API details: https://astroturfcss.github.io/astroturf/

Main metrics

Overview
Name With Ownerastroturfcss/astroturf
Primary LanguageJavaScript
Program languageJavaScript (Language Count: 6)
Platform
License:MIT License
所有者活动
Created At2016-10-18 15:09:36
Pushed At2023-12-19 09:33:10
Last Commit At2023-03-17 09:19:03
Release Count89
Last Release Namev1.2.0 (Posted on 2023-03-17 09:19:03)
First Release Namev0.2.0 (Posted on 2017-03-10 14:20:30)
用户参与
Stargazers Count2.3k
Watchers Count17
Fork Count59
Commits Count793
Has Issues Enabled
Issues Count126
Issue Open Count66
Pull Requests Count544
Pull Requests Open Count16
Pull Requests Close Count68
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private