stylable

Stylable - CSS for components

Github星跟蹤圖

Stylable CSS for Components

Build Status

Stylable enables you to write reusable, highly-performant components. Each component exposes a style API that maps its internal parts so you can reuse components across teams without sacrificing stylability.

  • Scopes styles to components so they don't "leak" and clash with other styles.
  • Enables custom pseudo-classes and pseudo-elements that abstract the internal structure of a component. These can then be styled externally.
  • Cuts down on the resulting CSS bundles using "rule-shaking" and other optimizations

At build time, the preprocessor converts the Stylable CSS into a minimal, flat, static, valid vanilla CSS that works cross-browser.

Learn more in our Documentation Center.

Installation

There are two options for installing Stylable:

For details on both options, see Install & Configure.

Demos

Repository Structure

This repository is a mono-repo containing multiple packages that together comprise the Stylable ecosystem. It uses Lerna and Yarn workspaces to manage the various packages and their dependencies.

Read our contributing guidelines for details on our code of conduct, and the process for submitting pull requests.

License

Copyright (c) 2017 Wix.com Ltd. All Rights Reserved. Use of this source code is governed by a BSD license.

主要指標

概覽
名稱與所有者wix/stylable
主編程語言TypeScript
編程語言TypeScript (語言數: 4)
平台
許可證MIT License
所有者活动
創建於2017-06-25 11:07:05
推送於2025-04-12 12:36:43
最后一次提交2025-04-12 15:36:41
發布數1422
最新版本名稱v6.1.1 (發布於 2024-05-30 16:24:21)
第一版名稱v1.0.4 (發布於 2017-07-20 18:02:21)
用户参与
星數1.3k
關注者數23
派生數62
提交數2.8k
已啟用問題?
問題數471
打開的問題數116
拉請求數1268
打開的拉請求數4
關閉的拉請求數1215
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?