Package Exports
- stylable
- stylable/dist/src/selector-utils
- stylable/dist/src/stylable-value-parsers
- stylable/runtime
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (stylable) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Stylable enables you to build 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.
- Uses themes so you can apply different look and feel across your web application.
At build time, the preprocessor converts the Stylable CSS into flat, static, valid vanilla CSS that works cross-browser.
Learn more in our Documentation Center.
Installation
Install Stylable as a dependency in your local project.
Using npm:
npm install stylable --saveUsing yarn:
yarn add stylableWhile the stylable package includes a programmatic API and can be used directly, we strongly suggest using
the stylable-integration package that powers and enables using the .st.css files in your project's build cycle: stylable-integration package
Component Library
Stylable includes a rich component library for out-of-the-box use.
Contributing
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.