I wanted to see how hard it would be to add support for CSS inside of prettier. Turns out, it's not that hard. I spent a few hours printing post-css values and getting all the stylefmt unit tests to not throw.
16 lines
188 B
CSS
16 lines
188 B
CSS
.foo {font-size :12px ;
|
|
|
|
|
|
>.nested-1
|
|
|
|
{
|
|
padding: 10px; .nested-2-1{
|
|
color : red ;
|
|
}
|
|
+ .nested-2-2 {
|
|
color:blue; }}
|
|
|
|
|
|
|
|
}
|