mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-07 20:44:05 +09:00
## Description There are multiple problems with clipping to text: 1. it is only supported with vendor prefixed -webkit-background-clip 2. it doesn't work with CSS vars (not using them on canvas for this) ## Steps for reproduction 1. add heading 4. set background image src to some image 5. set color to transparent 6. set background-clip to text 7. Background image should be clipped to text <img width="294" alt="Screenshot 2023-02-24 at 13 49 22" src="https://user-images.githubusercontent.com/52824/221194656-9e4591ed-5727-45f0-8560-eba35e278819.png"> ## Code Review - [ ] hi @TrySound , I need you to do - conceptual review (architecture, feature-correctness) - detailed review (read every line) - test it on preview ## Before requesting a review - [ ] made a self-review - [ ] added inline comments where things may be not obvious (the "why", not "what") ## Before merging - [ ] tested locally and on preview environment (preview dev login: 5de6) - [ ] updated [test cases](https://github.com/webstudio-is/webstudio-builder/blob/main/apps/builder/docs/test-cases.md) document - [ ] added tests - [ ] if any new env variables are added, added them to `.env.example` and the `builder/env-check.js` if mandatory
70 lines
2.2 KiB
JSON
70 lines
2.2 KiB
JSON
{
|
|
"packageManager": "pnpm@7.27.1",
|
|
"name": "turbo",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"": "For some reason remix build does not finish when run with turbo or pnpm recursively",
|
|
"build-packages": "pnpm run --recursive --parallel --filter='!./apps/*' --filter='!./packages/sdk-size-test' build",
|
|
"build": "pnpm build-packages && pnpm --filter=@webstudio-is/sdk-size-test build && pnpm --filter=@webstudio-is/builder build",
|
|
"checks": "turbo run checks",
|
|
"dev": "turbo run dev --parallel",
|
|
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
|
|
"build-storybook": "build-storybook",
|
|
"storybook": "turbo run storybook:run",
|
|
"storybook:build": "npm run build && turbo run storybook:build",
|
|
"storybook:ds:build": "turbo run storybook:build --filter=@webstudio-is/design-system",
|
|
"migrations": "cd apps/builder && pnpm migrations --dev",
|
|
"build-figma-tokens": "cd packages/design-system && pnpm build-figma-tokens",
|
|
"prepare": "git config core.hooksPath .git/hooks/ && simple-git-hooks"
|
|
},
|
|
"simple-git-hooks": {
|
|
"pre-commit": "./node_modules/.bin/nano-staged"
|
|
},
|
|
"devDependencies": {
|
|
"@changesets/get-dependents-graph": "^1.3.4",
|
|
"@manypkg/get-packages": "^1.1.3",
|
|
"@storybook/react": "^6.5.14",
|
|
"@types/css-tree": "^2.0.0",
|
|
"@webstudio-is/eslint-config-custom": "workspace:^",
|
|
"chromatic": "^6.11.4",
|
|
"nano-staged": "^0.8.0",
|
|
"prettier": "2.8.4",
|
|
"simple-git-hooks": "^2.8.1",
|
|
"tsx": "^3.12.1",
|
|
"turbo": "^1.7.0",
|
|
"typescript": "4.9.5"
|
|
},
|
|
"engines": {
|
|
"node": "16",
|
|
"pnpm": "7.27",
|
|
"yarn": "This project is configured to use pnpm"
|
|
},
|
|
"nano-staged": {
|
|
"*.{ts,tsx,js,json,css,md}": "prettier --write"
|
|
},
|
|
"prettier": {
|
|
"overrides": [
|
|
{
|
|
"files": [
|
|
"*.ts",
|
|
"*.tsx"
|
|
],
|
|
"options": {
|
|
"parser": "babel-ts"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"resolutions": {
|
|
"esbuild": "0.15.13",
|
|
"react-dom": "17.0.2",
|
|
"@types/react": "17.0.47"
|
|
},
|
|
"pnpm": {
|
|
"patchedDependencies": {
|
|
"@storybook/builder-webpack5@6.5.14": "patches/@storybook__builder-webpack5@6.5.14.patch"
|
|
}
|
|
}
|
|
}
|