Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

affine.css not found #8451

Closed
mjp0 opened this issue Sep 25, 2024 · 3 comments · Fixed by #8452
Closed

affine.css not found #8451

mjp0 opened this issue Sep 25, 2024 · 3 comments · Fixed by #8452

Comments

@mjp0
Copy link

mjp0 commented Sep 25, 2024

I'm trying out the nextjs starter and there's a line import '@blocksuite/presets/themes/affine.css' but build crashes because affine.css is not there. I mean I literally can't find the file anywhere. I can see @blocksuite/presets installed normally and the editor loads fine but that style file doesn't exist, so styling is off. I tried to find the file manually and went through sources but I'm guessing it's compiled, so couldn't find it.

I must be doing something wrong here 🤣

If it matters, I'm using pnpm as a package manager.

@mjp0
Copy link
Author

mjp0 commented Sep 25, 2024

Turns out, I'm not insane because apparently something got f'ed it themes folder got dropped after 0.17.13 - https://www.npmjs.com/package/@blocksuite/presets/v/0.17.13?activeTab=code

@xiaogonggong-w
Copy link

xiaogonggong-w commented Sep 25, 2024

I found style.css in @toeverything/theme.

@mjp0
Copy link
Author

mjp0 commented Sep 25, 2024

I found style.css in @toeverything/theme.

I'm using it too now but had to find that affine.css to know to look for @toeverything/theme ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants