Feature request: set character range
See original GitHub issueIt would be could if there would be an option to set the unicode range which will be used to generate class names. I would love to see some emojis in my source code. It does look quite funny and will save a lot of bytes over the wire.
Either use a range or specify them via array
Options:
require(postcss-modules)({
unicodes: "1F601-1F567"
});
Input:
<div class="container">…</div>
.container { … }
Output:
<div class="💩">…</div>
.💩 { … }
Any plans on doing something like that?
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
API to select character range of QuickPick input text value
Currently there seem to be two text selection modes for QuickPick values: If quickPick.value is set before quickPick.show() is called, ...
Read more >unicode-range - CSS: Cascading Style Sheets - MDN Web Docs
The unicode-range CSS descriptor sets the specific range of characters to be used from a font defined by @font-face and made available for ......
Read more >TMP custom character list parsing variety of formats
Feature request : TMP custom character list parsing variety of formats.
Read more >Supplementary Characters in the Java Platform - Oracle
A coded character set defines a range of valid code points, ... lead for Java Specification Request 204, Unicode Supplementary Character Support.
Read more >Collation and Unicode support - SQL Server - Microsoft Learn
For non-Unicode columns, the collation setting specifies the code page for the data and which characters can be represented.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@marcobiedermann I’ve just published a new version. Now you can pass a string to
generateScopedName
like so:We need to fix css-selector-tokenizer first. It’s being used in the CSS Modules core.