diff --git a/.npmrc b/.npmrc index 8051a481e..852f058c5 100644 --- a/.npmrc +++ b/.npmrc @@ -1,2 +1,4 @@ auto-install-peers=true -strict-peer-dependencies=false \ No newline at end of file +strict-peer-dependencies=false +@roadmapsh:registry=https://npm.pkg.github.com +//npm.pkg.github.com/:_authToken=${GITHUB_PACKAGES_TOKEN} \ No newline at end of file diff --git a/package.json b/package.json index 0c3151b2c..78f48eaaa 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "@nanostores/react": "^0.8.0", "@napi-rs/image": "^1.9.2", "@resvg/resvg-js": "^2.6.2", - "@roadmapsh/editor": "ssh://git@github.com/roadmapsh/web-draw#v0.0.11&path:packages/editor", + "@roadmapsh/editor": "0.0.11", "@tailwindcss/vite": "^4.1.3", "@tanstack/react-query": "^5.59.16", "@types/react": "^18.3.11", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 72f80bc1e..ab821ee02 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -33,8 +33,8 @@ importers: specifier: ^2.6.2 version: 2.6.2 '@roadmapsh/editor': - specifier: ssh://git@github.com/roadmapsh/web-draw#v0.0.11&path:packages/editor - version: git+https://git@github.com:roadmapsh/web-draw.git#93ad79741c92f89cfd8cd60e5daefd77bc7c2d3c&path:packages/editor(@types/react@18.3.20)(react-dom@18.3.1(react@18.3.1))(use-sync-external-store@1.5.0(react@18.3.1)) + specifier: 0.0.11 + version: 0.0.11(@types/react@18.3.20)(react-dom@18.3.1(react@18.3.1))(use-sync-external-store@1.5.0(react@18.3.1)) '@tailwindcss/vite': specifier: ^4.1.3 version: 4.1.3(vite@5.4.17(@types/node@18.19.86)(lightningcss@1.29.2)) @@ -1032,9 +1032,8 @@ packages: resolution: {integrity: sha512-xBaJish5OeGmniDj9cW5PRa/PtmuVU3ziqrbr5xJj901ZDN4TosrVaNZpEiLZAxdfnhAe7uQ7QFWfjPe9d9K2Q==} engines: {node: '>= 10'} - '@roadmapsh/editor@git+https://git@github.com:roadmapsh/web-draw.git#93ad79741c92f89cfd8cd60e5daefd77bc7c2d3c&path:packages/editor': - resolution: {commit: 93ad79741c92f89cfd8cd60e5daefd77bc7c2d3c, path: packages/editor, repo: git@github.com:roadmapsh/web-draw.git, type: git} - version: 0.0.11 + '@roadmapsh/editor@0.0.11': + resolution: {integrity: sha512-7wPWpz03DTEuc7IZRxfCLjwurHxiAhD2xYV6DquwX1jMCnrojh567vpf0UP72QgAuJ/lSHbW0vzr0SnhClRaxA==, tarball: https://npm.pkg.github.com/download/@roadmapsh/editor/0.0.11/9f04a92d97eb6b7b410461018ee79d91be9c41a2} '@rollup/pluginutils@5.1.4': resolution: {integrity: sha512-USm05zrsFxYLPdWWq+K3STlWiT/3ELn3RcV5hJMghpeAIhxfsUIg6mt12CBJBInWMV4VneoV7SfGv8xIwo2qNQ==} @@ -4127,7 +4126,7 @@ snapshots: '@resvg/resvg-js-win32-ia32-msvc': 2.6.2 '@resvg/resvg-js-win32-x64-msvc': 2.6.2 - '@roadmapsh/editor@git+https://git@github.com:roadmapsh/web-draw.git#93ad79741c92f89cfd8cd60e5daefd77bc7c2d3c&path:packages/editor(@types/react@18.3.20)(react-dom@18.3.1(react@18.3.1))(use-sync-external-store@1.5.0(react@18.3.1))': + '@roadmapsh/editor@0.0.11(@types/react@18.3.20)(react-dom@18.3.1(react@18.3.1))(use-sync-external-store@1.5.0(react@18.3.1))': dependencies: '@xyflow/react': 12.5.4(@types/react@18.3.20)(react-dom@18.3.1(react@18.3.1))(react@19.1.0) clsx: 2.1.1 diff --git a/src/styles/global.css b/src/styles/global.css index 636ff8a33..f95c33be2 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -1,9 +1,20 @@ -@import '@roadmapsh/editor/dist/index.css'; - @import 'tailwindcss'; +@import '@roadmapsh/editor/style.css'; @config '../../tailwind.config.cjs'; +@font-face { + font-family: 'Balsamiq Sans'; + src: url('/fonts/balsamiq.woff2') format('woff2'); + font-weight: 400; + font-style: normal; + font-display: swap; +} + +@theme { + --font-balsamiq: 'Balsamiq Sans', sans-serif; +} + /* The default border color has changed to `currentcolor` in Tailwind CSS v4, so we've added these compatibility styles to make sure everything still