All Projects → elm-athlete → athlete

elm-athlete / athlete

Licence: BSD-3-Clause License
💪 type safe elm-html-css-builder aka athlete

Programming Languages

elm
856 projects

Projects that are alternatives of or similar to athlete

inline-source-webpack-plugin
A webpack plugin to embed css/js resource in the html.
Stars: ✭ 18 (-70%)
Mutual labels:  inline-css
critical-plugin
⚙️ Critical plugin for webpack (https://webpack.js.org/)
Stars: ✭ 17 (-71.67%)
Mutual labels:  inline-css
inline.js
Live CSS Helpers with Javascript
Stars: ✭ 36 (-40%)
Mutual labels:  inline-css
stylenames
A simple JavaScript utility for conditionally joining inline styles together
Stars: ✭ 18 (-70%)
Mutual labels:  inline-css
alter.email
Transform your HTML emails.
Stars: ✭ 66 (+10%)
Mutual labels:  inline-css
InlineCssParser
A Visual Studio Extension that helps to extract inline styles into a seperate css file.
Stars: ✭ 23 (-61.67%)
Mutual labels:  inline-css
Critical
Extract & Inline Critical-path CSS in HTML pages
Stars: ✭ 9,364 (+15506.67%)
Mutual labels:  inline-css
Email Templates
📫 Create, preview, and send custom email templates for Node.js. Highly configurable and supports automatic inline CSS, stylesheets, embedded images and fonts, and much more!
Stars: ✭ 3,291 (+5385%)
Mutual labels:  inline-css

elm-html-css-builder aka athlete

Type-safe CSS in elm is great, but it doesn't prevent a lot of invalid HTML trees. For example, if you add width to a span, it won't have any effect. But adding type-safety to CSS has no context of which HTML element you are in, so it can't prevent you from expressing that.

Similarly for flex-box, since a type-safe CSS library doesn't have context on what the parent-child relationships need to be so it can't enforce that the parent and children are set with the appropriate flex attributes. But athlete can!

No more changing properties and then checking the browser to see if anything changed! athlete will give you compiler errors if you try to write CSS that wouldn't end up having an effect, so it eliminates a whole class of impossible states!

In other words, you won't have to look through your browser dev tools for messages like this anymore!

Tweet

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].