diff --git a/README.md b/README.md index f86dc58..0158e64 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,13 @@ idrawjs.com/studio/
+## Sponsors + +`@idraw/studio` is an MIT-licensed open source project with its ongoing development made possible entirely by the support of these awesome backers. If you'd like to join them, please consider [sponsoring iDrawjs's development](https://opencollective.com/idrawjs). + +[![Become a Backer](https://opencollective.com/idrawjs/tiers/backers.svg?avatarHeight=48)](https://opencollective.com/idrawjs) + + ## @idraw/studio Preview @@ -25,7 +32,7 @@ The preview of `@idraw/studo`. - + diff --git a/package.json b/package.json index bd7da8b..50052f8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "private": false, - "version": "0.4.0-alpha.12", + "version": "0.4.0-alpha.13", "workspaces": [ "packages/*" ], @@ -19,7 +19,7 @@ "upgrade:version": "vite-node ./scripts/upgrade-version.ts && pnpm i" }, "dependencies": { - "idraw": "0.4.0-beta.12", + "idraw": "0.4.0-beta.13", "antd": "5.12.1" }, "devDependencies": { diff --git a/packages/studio-base/package.json b/packages/studio-base/package.json index ea5123e..7513599 100644 --- a/packages/studio-base/package.json +++ b/packages/studio-base/package.json @@ -1,6 +1,6 @@ { "name": "@idraw/studio-base", - "version": "0.4.0-alpha.12", + "version": "0.4.0-alpha.13", "main": "dist/index.js", "module": "dist/index.js", "types": "dist/index.d.ts", @@ -22,7 +22,7 @@ "peerDependencies": { "antd": "^5.12.1", "classnames": "^2.3.2", - "idraw": "^0.4.0-beta.12", + "idraw": "^0.4.0-beta.13", "react": "^18.2.0", "react-color": "^2.19.3", "react-dom": "^18.2.0" diff --git a/packages/studio-base/src/css/theme/dark.less b/packages/studio-base/src/css/theme/dark.less index 516b420..70eeb4a 100644 --- a/packages/studio-base/src/css/theme/dark.less +++ b/packages/studio-base/src/css/theme/dark.less @@ -1,7 +1,7 @@ // @import '../variable.less'; &.@{prefix}-theme.@{prefix}-theme-dark { - --@{prefix}-bg-color: @gray-9; + --@{prefix}-bg-color: @gray-10; --@{prefix}-canvas-bg-color: @gray-9; --@{prefix}-text-color: @gray-4; --@{prefix}-text-hover-color: @gray-1; diff --git a/packages/studio-base/src/icons/file-copy.tsx b/packages/studio-base/src/icons/file-copy.tsx new file mode 100644 index 0000000..904c6bf --- /dev/null +++ b/packages/studio-base/src/icons/file-copy.tsx @@ -0,0 +1,16 @@ +import React from 'react'; +import { IconWrapper } from './util'; +import type { IconWrapperProps } from './util'; + +const Icon = (props: IconWrapperProps) => { + return ( +