Skip to content

Conversation

@TrySound
Copy link
Member

Now we have first-class support for html tags and able to figure out which tags are rendered so unused preset styles can be removed from websites.

For example

<Box ws:tag="div">
  <Box ws:tag="span">
  </Box>
</Box>

will render only div.w-box and span.w-box though there are more presets for for other tags like main, section etc.

Before all tags were generated

Now we have first-class support for html tags and able to figure out
which tags are rendered so unused preset styles can be removed from
websites.

For example

```
<Box ws:tag="div">
  <Box ws:tag="span">
  </Box>
</Box>
```

will render only div.w-box and span.w-box though there are more presets
for for other tags like main, section etc.

Before all tags were generated
Copy link
Member

@kof kof left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

didn't test but sounds great

@TrySound TrySound merged commit 925ea10 into main Apr 15, 2025
29 checks passed
@TrySound TrySound deleted the unused-presets.staging branch April 15, 2025 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants