css-class-bindings
Recently I migrated the vpn-router frontend to Miso, I noticed that DOM functions (e.g. div_) accept CSS class names as plain strings. This prevents GHC from catching typos in referenced names, even if stylesheets are correct and defined with clay. The library leverages the power of TH to parse CSS snippets from quasi quotes or style files and to define Haskell constants for every class mentioned in the input. The library has been created to improve a miso-based app, but it does not depend on miso and it can be used in other setups. HLS should be available inside the default dev shell. [Index] [Quick Jump] Package maintainers For package maintainers and hackage trustees Candidates
hackage.haskell.org
0.0.3
1 day ago
2
2 total
Links
| Registry | hackage.haskell.org |
| Source | Repository |
| Homepage | Homepage |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:hackage/css-class-bindings
spec |
| License | BSD-3-Clause |
| First Release | 3 days ago |
| Last Synced | about 16 hours ago |