ReviewOS

also looking at this

stacks/ts-css

Merge @stacksjs/ts-css into this repo as packages/toolkit

#27
Merged glennmichael123 wants to merge merge/ts-css-toolkit into main
128 files +9797 -201
README.mdmodified+6-6
Changes to README.md
@@ -11,7 +11,7 @@ A CSS engine with two front ends and one atomic output.
1111Write **utility classes** when you are laying out markup, and Tailwind v4 semantics apply unchanged. Write **typed style objects** when a style has to be computed, tokenised, or merged across a component boundary, and you get StyleX's authoring model. Both compile through the same pipeline into the same deduplicated atomic CSS, in one stylesheet, with nothing left at runtime.
1212
1313```bash
14bun add ts-css
14bun add @ts-css/core
1515```
1616
1717## Why two APIs
@@ -43,7 +43,7 @@ bunx cssx watch # rebuilds on change
4343
4444```ts
4545// css.config.ts
46import type { TsCssOptions } from 'ts-css'
46import type { TsCssOptions } from '@ts-css/core'
4747
4848export default {
4949 content: ['./src/**/*.{html,ts,tsx,stx}'],
@@ -57,7 +57,7 @@ export default {
5757## Style objects
5858
5959```ts
60import { css } from 'ts-css'
60import { css } from '@ts-css/core'
6161
6262const theme = css.defineVars({
6363 accent: '#0b7',
@@ -223,7 +223,7 @@ cssx clean # remove the output file
223223## Configuration
224224
225225```ts
226import type { TsCssOptions } from 'ts-css'
226import type { TsCssOptions } from '@ts-css/core'
227227
228228export default {
229229 content: ['./src/**/*.{html,ts,tsx}'],
@@ -296,7 +296,7 @@ The MIT License (MIT). Please see [LICENSE](LICENSE.md) for more information.
296296Made with ��
297297
298298<!-- Badges -->
299[npm-version-src]: https://img.shields.io/npm/v/ts-css?style=flat-square
300[npm-version-href]: https://npmjs.com/package/ts-css
299[npm-version-src]: https://img.shields.io/npm/v/@ts-css/core?style=flat-square
300[npm-version-href]: https://npmjs.com/package/@ts-css/core
301301[github-actions-src]: https://img.shields.io/github/actions/workflow/status/cwcss/crosswind/ci.yml?style=flat-square&branch=main
302302[github-actions-href]: https://github.com/cwcss/crosswind/actions?query=workflow%3Aci