1.6 KiB
1.6 KiB
grass
An implementation of the SASS spec in rust with 0 dependencies
Features
grass
is far from being feature complete! Below you can see what SCSS features are currently supported.
My MVP will include values
, @mixin
, @include
, @media
, styles
, operators
, css functions
and css at rules
.
- Variables
- Scoping
- Shadowing
- Built-in variables
- !default
- !global
- @import
- @error
- @warn
- @debug
- Styles
- !important
- Interpolation
- Nesting
- Custom properties
- Hidden declarations
- Selectors
- Attributes
- Parent selector &
- All other selectors
- Nesting
- Placeholder selector %
- Comments
- Removes single line comments
- Preserves toplevel multiline comments
- Removes inline multiline comments
- @mixin
- Keyword args
- Default arg values
- Variadic args
- @content
- @include
- Keyword args
- Default arg values
- Content blocks
- Functions
- @return
- Control flow
- @if
- @else
- @for
- @while
- @each
- Constant folding
- Unit arithmetic
- CSS at rules
- CSS functions
- calc()
- url()
- element()
- progid:...()
- expression()
- min()
- max()
- @media
- @use
- @extend
- @at-root
- @forward
- Values
- Numbers
- Strings
- Colors
- Lists
- Maps
- Booleans
- Null
- Operators
- Built-in modules
- Content encoding
- WASM bindings