MCPcopy
hub / github.com/master-co/css

github.com/master-co/css @v1.37.8 sqlite

repository ↗ · DeepWiki ↗ · release v1.37.8 ↗
501 symbols 907 edges 246 files 4 documented · 1%
README
<a href="https://css.master.co">









        <img alt="Master CSS" src="https://user-images.githubusercontent.com/33840671/201703010-77bf2373-9899-40cc-98f5-30cf9b546941.svg" width="100%">



</a>

A Virtual CSS language with enhanced syntax ~13KB

<a aria-label="GitHub release (latest by date including pre-releases)" href="https://github.com/master-co/css/releases">









        <img alt="NPM Version" src="https://img.shields.io/github/v/release/master-co/css?include_prereleases&color=f6f7f8&label=&style=for-the-badge&logo=github">



</a>
<a aria-label="NPM Package" href="https://www.npmjs.com/package/@master/css">









        <img alt="NPM package ( download / month )" src="https://img.shields.io/npm/dm/@master/css?color=f6f7f8&label=%20&logo=npm&style=for-the-badge">



</a>
<a aria-label="JSDelivr" href="https://www.jsdelivr.com/package/npm/@master/css">









        <img alt="JSDelivr hits (npm scoped)" src="https://img.shields.io/jsdelivr/npm/hm/@master/css?color=f6f7f8&label=%20&logo=jsdelivr&style=for-the-badge">



</a>
<a aria-label="Discord Community" href="https://discord.gg/sZNKpAAAw6">









        <img alt="Discord online" src="https://img.shields.io/discord/917780624314613760?color=f6f7f8&label=%20&logo=discord&style=for-the-badge">



</a>
<a aria-label="Follow @mastercorg" href="https://twitter.com/mastercorg">









        <img alt="Follow @mastercorg" src="https://img.shields.io/static/v1?label=%20&message=twitter&color=f6f7f8&logo=twitter&style=for-the-badge">



</a>
<a aria-label="Github Actions" href="https://github.com/1aron/repo/actions/workflows/release.yml">









        <img alt="Github release actions" src="https://img.shields.io/github/workflow/status/master-co/css/Release?label=%20&message=twitter&color=f6f7f8&logo=githubactions&style=for-the-badge&logoColor=%23000">



</a>

Documentation

Visit css.master.co to view the full documentation

Getting Started

Check out the guides to get started with Master CSS

Ecosystem

Integrations

  • Compiler - The ahead-of-time compiler of Master CSS
  • Vite Plugin - A vite plugin for integrating Master CSS AOT compilation
  • Webpack Plugin - A webpack plugin for integrating Master CSS AOT compilation
  • React - React hooks for Master CSS

Native Plugins

Extensions

  • Master CSS Language Service Visual Studio Code - Includes code completion, syntax highlighting, CSS hover preview, and inline color decorators

Related

Community

The Master CSS community can be found here:

《 Code of Conduct 》 applies to all Master CSS community channels.

Contributing

Please see our 🚧 CONTRIBUTING.md for workflow.

Inspiration

Some of the core concepts and designs are inspired by these giants. - The concept of enhanced syntax is inspired by SASS and Typescript - The concept of Virtual CSS is inspired by the Virtual DOM

Extension points exported contracts — how you extend this code

Window (Interface)
(no doc)
src/sheet.ts
StyleMatching (Interface)
(no doc)
src/style.ts
Window (Interface)
(no doc)
src/styles/index.ts
StyleMedia (Interface)
(no doc)
src/interfaces/style-media.ts
Style (Interface)
(no doc)
src/style.ts
Styles (Interface)
(no doc)
src/styles/index.ts
StyleMediaFeature (Interface)
(no doc)
src/interfaces/style-media-feature.ts
Window (Interface)
(no doc)
src/style.ts

Core symbols most depended-on inside this repo

dash
called by 218
src/constants/css-property-keyword.ts
testCSS
called by 29
src/utils/test-css.ts
testProp
called by 15
src/utils/test-css.ts
extend
called by 10
src/style.ts
match
called by 6
src/style.ts
parseValue
called by 6
src/utils/parse-value.ts
findAndInsert
called by 4
src/sheet.ts
getBorderProps
called by 4
src/utils/get-border-props.ts

Shape

Class 398
Method 78
Function 17
Interface 8

Languages

TypeScript100%

Modules by API surface

src/sheet.ts23 symbols
src/style.ts10 symbols
src/styles/group.ts7 symbols
src/styles/spacing.ts4 symbols
src/styles/scroll-padding.ts4 symbols
src/styles/scroll-margin.ts4 symbols
src/styles/padding.ts4 symbols
src/styles/overflow.ts4 symbols
src/styles/margin.ts4 symbols
src/styles/border.ts4 symbols
src/styles/border-width.ts4 symbols
src/styles/border-style.ts4 symbols

Dependencies from manifests, versioned

@babel/core7.16.0 · 1×
@babel/plugin-proposal-class-properties7.16.0 · 1×
@babel/plugin-proposal-decorators7.16.0 · 1×
@babel/plugin-proposal-export-default-from7.16.0 · 1×
@babel/plugin-proposal-export-namespace-from7.16.0 · 1×
@babel/plugin-proposal-object-rest-spread7.16.0 · 1×
@babel/plugin-transform-runtime7.16.4 · 1×
@babel/preset-env7.16.4 · 1×
@babel/preset-typescript7.16.0 · 1×
@babel/runtime7.16.3 · 1×
@master/cli1.0.0-alpha.22 · 1×
@types/jest27.5.2 · 1×

For agents

$ claude mcp add css \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact