1 个仓库
Handling ICSS rules to allow style sharing and composition between different CSS classes and modules.
Distinct from Style Imports: Shortlist focuses on import linting or layout; doesn't cover the ICSS composition mechanism.
Explore 1 awesome GitHub repository matching user interface & experience · Interoperable CSS Processing. Refine with filters or upvote what's useful.
css-loader 是一个 Webpack 模块,在打包过程中将 CSS 文件转换为 JavaScript 模块并解析其内部依赖。它充当 CSS 资产解析器,将 import 规则和 url 函数转换为模块标识符,从而将样式表集成到依赖图中。 该项目实现了 CSS Modules,通过使用唯一标识符对类和 ID 选择器进行本地作用域限制,防止全局样式冲突。它包含一个可互操作 CSS (ICSS) 系统,通过可重用的值声明实现跨不同类和模块的样式共享与组合。 该工具提供了资产路径解析和生成源映射 (source maps) 的功能,以便将打包后的样式链接回原始源文件。它还支持将样式导出为可构造样式表,并管理构建流水线中加载器的顺序。
Handles Interoperable CSS (ICSS) rules to share and compose styles between different classes and modules.