{"id":13495568,"url":"https://github.com/wix/stylable","last_synced_at":"2025-05-13T21:06:30.180Z","repository":{"id":37802848,"uuid":"95354640","full_name":"wix/stylable","owner":"wix","description":"Stylable - CSS for components ","archived":false,"fork":false,"pushed_at":"2025-04-12T12:36:43.000Z","size":27640,"stargazers_count":1273,"open_issues_count":119,"forks_count":62,"subscribers_count":23,"default_branch":"master","last_synced_at":"2025-04-28T11:57:20.009Z","etag":null,"topics":["components","css","design-system","preprocessor","style","theme","web-components","webpack"],"latest_commit_sha":null,"homepage":"https://stylable.io","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wix.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-06-25T11:07:05.000Z","updated_at":"2025-04-16T21:36:10.000Z","dependencies_parsed_at":"2024-02-17T09:23:37.709Z","dependency_job_id":"2e450cd6-ba88-449e-a5b8-38f1d60ab150","html_url":"https://github.com/wix/stylable","commit_stats":{"total_commits":2713,"total_committers":39,"mean_commits":69.56410256410257,"dds":0.7158127534095098,"last_synced_commit":"7b2bf99da8a91865a620f56c094b4c3d7cc51bb1"},"previous_names":[],"tags_count":1422,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wix%2Fstylable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wix%2Fstylable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wix%2Fstylable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wix%2Fstylable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wix","download_url":"https://codeload.github.com/wix/stylable/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254028756,"owners_count":22002277,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["components","css","design-system","preprocessor","style","theme","web-components","webpack"],"created_at":"2024-07-31T19:01:36.012Z","updated_at":"2025-05-13T21:06:25.170Z","avatar_url":"https://github.com/wix.png","language":"TypeScript","readme":"[![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner2-direct.svg)](https://stand-with-ukraine.pp.ua)\n\n![Stylable CSS for Components](./stylable.svg)\n\n[![Build Status](https://github.com/wix/stylable/workflows/tests/badge.svg)](https://github.com/wix/stylable/actions)\n\n**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.\n\n- Scopes styles to components so they don't \"leak\" and clash with other styles.\n- Enables custom pseudo-classes and pseudo-elements that abstract the internal structure of a component. These can then be styled externally.\n- Cuts down on the resulting CSS bundles using \"rule-shaking\" and other optimizations\n\nAt build time, the preprocessor converts the Stylable CSS into a minimal, flat, static, valid vanilla CSS that works cross-browser.\n\nLearn more in our [Documentation Center](https://stylable.io/).\n\n## Installation\n\nThere are two options for installing Stylable:\n\n- Create a new project using [create-stylable-app](./packages/create-stylable-app)\n- Install Stylable and its [webpack plugin](./packages/webpack-plugin) to an existing webpack based project\n\nFor details on both options, see [Install \u0026 Configure](https://stylable.io/docs/getting-started/install-configure).\n\n## Demos\n\n- [Mr. Potato Bruce](https://github.com/wix/potato-bruce) - A small application showcasing Stylable\n- [Manual Vue Integration](https://github.com/wix-playground/stylable-vue-example) - Simple example showing how to manually integrate Stylable into a Vue project (proof of concept)\n- [Various webpack project setups](./packages/webpack-plugin/test/e2e/projects) - An example of possible webpack configurations\n\n## Repository Structure\n\nThis repository is a `mono-repo` containing multiple `packages` that together comprise the Stylable ecosystem. It uses [NPM workspaces](https://docs.npmjs.com/cli/v8/using-npm/workspaces) to manage the various packages and their dependencies.\n\n### Core \u0026 Internals\n\n| Package Name                            | Published Name           |                                                         Latest Version                                                          | Description                        |\n| --------------------------------------- | ------------------------ | :-----------------------------------------------------------------------------------------------------------------------------: | ---------------------------------- |\n| [core](./packages/core)                 | `@stylable/core`         |         [![npm version](https://img.shields.io/npm/v/@stylable/core.svg)](https://www.npmjs.com/package/@stylable/core)         | Core CSS preprocessor              |\n| [runtime](./packages/runtime)           | `@stylable/runtime`      |      [![npm version](https://img.shields.io/npm/v/@stylable/runtime.svg)](https://www.npmjs.com/package/@stylable/runtime)      | Runtime browser code               |\n| [optimizer](./packages/optimizer)       | `@stylable/optimizer`    |    [![npm version](https://img.shields.io/npm/v/@stylable/optimizer.svg)](https://www.npmjs.com/package/@stylable/optimizer)    | Production mode optimizer          |\n| [module-utils](./packages/module-utils) | `@stylable/module-utils` | [![npm version](https://img.shields.io/npm/v/@stylable/module-utils.svg)](https://www.npmjs.com/package/@stylable/module-utils) | Stylable CommonJS module generator |\n| [custom-value](./packages/custom-value) | `@stylable/custom-value` | [![npm version](https://img.shields.io/npm/v/@stylable/custom-value.svg)](https://www.npmjs.com/package/@stylable/custom-value) | Stylable custom build-time values  |\n\n### Tooling \u0026 Utilities\n\n| Package Name                                          | Published Name               |                                                             Latest Version                                                              | Description                                                                                |\n| ----------------------------------------------------- | ---------------------------- | :-------------------------------------------------------------------------------------------------------------------------------------: | ------------------------------------------------------------------------------------------ |\n| [cli](./packages/cli)                                 | `@stylable/cli`              |              [![npm version](https://img.shields.io/npm/v/@stylable/cli.svg)](https://www.npmjs.com/package/@stylable/cli)              | Used for managing Stylable stylesheets in a project                                        |\n| [create-stylable-app](./packages/create-stylable-app) | `create-stylable-app`        |        [![npm version](https://img.shields.io/npm/v/create-stylable-app.svg)](https://www.npmjs.com/package/create-stylable-app)        | Boilerplate generator CLI                                                                  |\n| [schema-extract](./packages/schema-extract)           | `@stylable/schema-extract`   |   [![npm version](https://img.shields.io/npm/v/@stylable/schema-extract.svg)](https://www.npmjs.com/package/@stylable/schema-extract)   | JSON Schema convertor for Stylable stylesheets                                             |\n| [language-service](./packages/language-service)       | `@stylable/language-service` | [![npm version](https://img.shields.io/npm/v/@stylable/language-service.svg)](https://www.npmjs.com/package/@stylable/language-service) | Language service protocol provider, business logic for the stylable-intelligence extension |\n| [build-tools](./packages/build-tools)       | `@stylable/build-tools` | [![npm version](https://img.shields.io/npm/v/@stylable/build-tools.svg)](https://www.npmjs.com/package/@stylable/build-tools) | A collection of tools used during build-time by our `webpack` and `rollup` plugins |\n\n### Integrations\n\n| Package Name                                          | Published Name                  |                                                                Latest Version                                                                 | Description                                                        |\n| ----------------------------------------------------- | ------------------------------- | :-------------------------------------------------------------------------------------------------------------------------------------------: | ------------------------------------------------------------------ |\n| [jest](./packages/jest)                               | `@stylable/jest`                |                [![npm version](https://img.shields.io/npm/v/@stylable/jest.svg)](https://www.npmjs.com/package/@stylable/jest)                | Jest Stylable processor plugin                                     |\n| [node](./packages/node)                               | `@stylable/node`                |                [![npm version](https://img.shields.io/npm/v/@stylable/node.svg)](https://www.npmjs.com/package/@stylable/node)                | `require` hook and Node module factory                             |\n| [webpack-extensions](./packages/webpack-extensions)   | `@stylable/webpack-extensions`  |  [![npm version](https://img.shields.io/npm/v/@stylable/webpack-extensions.svg)](https://www.npmjs.com/package/@stylable/webpack-extensions)  | Experimental features for `webpack` integration                    |\n| [webpack-plugin](./packages/webpack-plugin)           | `@stylable/webpack-plugin`      |      [![npm version](https://img.shields.io/npm/v/@stylable/webpack-plugin.svg)](https://www.npmjs.com/package/@stylable/webpack-plugin)      | `webpack` (`^5.30.0`) integration plugin                              |\n| [experimental-loader](./packages/experimental-loader) | `@stylable/experimental-loader` | [![npm version](https://img.shields.io/npm/v/@stylable/experimental-loader.svg)](https://www.npmjs.com/package/@stylable/experimental-loader) | experimental `webpack` loader - not recommended for production use |\n| [rollup-plugin](./packages/rollup-plugin) | `@stylable/rollup-plugin` | [![npm version](https://img.shields.io/npm/v/@stylable/rollup-plugin.svg)](https://www.npmjs.com/package/@stylable/rollup-plugin) | Rollup (`v2.x`) integration plugin |\n| [esbuild](./packages/esbuild) | `@stylable/esbuild` | [![npm version](https://img.shields.io/npm/v/@stylable/rollup-plugin.svg)](https://www.npmjs.com/package/@stylable/esbuild) | esbuild integration plugin |\n\n### Test-kits\n\n| Package Name                              | Published Name            |                                                          Latest Version                                                           | Description                                                                          |\n| ----------------------------------------- | ------------------------- | :-------------------------------------------------------------------------------------------------------------------------------: | ------------------------------------------------------------------------------------ |\n| [e2e-test-kit](./packages/e2e-test-kit)   | `@stylable/e2e-test-kit`  |  [![npm version](https://img.shields.io/npm/v/@stylable/e2e-test-kit.svg)](https://www.npmjs.com/package/@stylable/e2e-test-kit)  | `webpack` project runner used for `E2E` testing                                      |\n| [dom-test-kit](./packages/dom-test-kit)   | `@stylable/dom-test-kit`  |  [![npm version](https://img.shields.io/npm/v/@stylable/dom-test-kit.svg)](https://www.npmjs.com/package/@stylable/dom-test-kit)  | Stylable DOM related testing utils                                                   |\n| [core-test-kit](./packages/core-test-kit) | `@stylable/core-test-kit` | [![npm version](https://img.shields.io/npm/v/@stylable/core-test-kit.svg)](https://www.npmjs.com/package/@stylable/core-test-kit) | Utilities used for testing core Stylable operations (processing and transformations) |\n\n### External Packages\n\n| Package Name                                                          | Description                                               |\n| --------------------------------------------------------------------- | --------------------------------------------------------- |\n| [stylable-intelligence](https://github.com/wix/stylable-intelligence) | VSCode extension providing language services for Stylable |\n\n## Contributing\n\nRead our [contributing guidelines](./CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests.\n\n## License\n\nCopyright (c) 2017 Wix.com Ltd. All Rights Reserved. Use of this source code is governed by a [MIT license](./LICENSE).\n","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwix%2Fstylable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwix%2Fstylable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwix%2Fstylable/lists"}