mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-03 18:48:06 +09:00
## Description
Pasting this will now resolve correctly
```html
<style>
.my-parent {
--clr-red: #f00;
min-height: 75vh;
}
.my-child {
background: var(--clr-red);
min-height: 50%;
}
</style>
<div class="my-parent">
<div class="my-child"></div>
</div>
```
45 lines
1.5 KiB
JSON
45 lines
1.5 KiB
JSON
{
|
|
"name": "@webstudio-is/css-data",
|
|
"version": "0.0.0",
|
|
"description": "CSS Data",
|
|
"author": "Webstudio <github@webstudio.is>",
|
|
"homepage": "https://webstudio.is",
|
|
"type": "module",
|
|
"scripts": {
|
|
"typecheck": "tsgo --noEmit",
|
|
"build:html.css": "tsx ./bin/html.css.ts && prettier --write ./src/__generated__/html.ts",
|
|
"build:mdn-data": "tsx ./bin/mdn-data.ts ./src/__generated__ && prettier --write \"./src/__generated__/\" \"../css-engine/src/__generated__/\"",
|
|
"build:descriptions": "tsx ./bin/property-value-descriptions.ts && prettier --write ./src/__generated__/property-value-descriptions.ts",
|
|
"build:shorthand-fixtures": "tsx ./bin/shorthand-test-fixtures.ts && prettier --write ./src/__generated__/shorthand-test-fixtures.ts",
|
|
"build:all": "pnpm build:html.css && pnpm build:mdn-data && pnpm build:descriptions && pnpm build:shorthand-fixtures",
|
|
"test": "vitest run"
|
|
},
|
|
"bin": {
|
|
"css-to-ws": "./bin/css-to-ws.ts"
|
|
},
|
|
"devDependencies": {
|
|
"@webstudio-is/tsconfig": "workspace:*",
|
|
"html-tags": "^4.0.0",
|
|
"mdn-data": "2.28.0",
|
|
"vitest": "^3.1.2",
|
|
"zod": "^3.24.2"
|
|
},
|
|
"peerDependencies": {
|
|
"zod": "^3.19.1"
|
|
},
|
|
"exports": {
|
|
"webstudio": "./src/index.ts"
|
|
},
|
|
"license": "AGPL-3.0-or-later",
|
|
"private": true,
|
|
"sideEffects": false,
|
|
"dependencies": {
|
|
"@webstudio-is/css-engine": "workspace:*",
|
|
"change-case": "^5.4.4",
|
|
"css-tree": "^3.1.0",
|
|
"openai": "^3.2.1",
|
|
"p-retry": "^6.2.1",
|
|
"warn-once": "^0.1.1"
|
|
}
|
|
}
|