{"@context":"https://w3id.org/codemeta/3.0","@type":"SoftwareSourceCode","identifier":"pkg:hackage/css-class-bindings","name":"css-class-bindings","description":"\n\nRecently I migrated the\nvpn-router frontend to\nMiso, I noticed that DOM functions\n(e.g. div_) accept CSS class names as plain strings. This prevents GHC\nfrom catching typos in referenced names, even if stylesheets are correct\nand defined with clay.\n\n\n\nThe library leverages the power of TH to parse CSS snippets from quasi\nquotes or style files and to define Haskell constants for every class\nmentioned in the input.\n\n\n\nThe library has been created to improve a miso-based app, but it does\nnot depend on miso and it can be used in other setups.\n\n\n\n\n\nHLS should be available inside the default dev shell.\n\n[Index] [Quick Jump]\n\nPackage maintainers\n\nFor package maintainers and hackage trustees\n\nCandidates","version":"0.0.4","softwareVersion":"0.0.4","license":"https://spdx.org/licenses/BSD-3-Clause","codeRepository":"https://github.com/yaitskov/css-class-bindings","issueTracker":"https://github.com/yaitskov/css-class-bindings/issues","url":"http://github.com/yaitskov/css-class-bindings","keywords":["bsd3","css","html","library","miso","template-haskell","Propose Tags"],"programmingLanguage":{"@type":"ComputerLanguage","name":"Haskell"},"maintainer":[{"@type":"Person","name":"DaniilIaitskov"}],"author":[{"@type":"Person","name":"DaniilIaitskov"}],"copyrightHolder":[{"@type":"Person","name":"DaniilIaitskov"}],"dateCreated":"2026-03-28","dateModified":"2026-04-07","datePublished":"2026-04-07","copyrightYear":2026,"downloadUrl":"https://hackage.haskell.org/package/css-class-bindings-0.0.4/css-class-bindings-0.0.4.tar.gz","applicationCategory":"hackage","runtimePlatform":"hackage","developmentStatus":"active","sameAs":["https://hackage.haskell.org/package/css-class-bindings"],"https://www.w3.org/ns/activitystreams#likes":3}