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.
20 lines
327 B
Plaintext
20 lines
327 B
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`attr-selector.css 1`] = `
|
|
[ data-sizes~="m:0" ] {
|
|
color:pink;
|
|
}
|
|
|
|
[ class*="test" ]{
|
|
color: silver}
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
[ data-sizes~="m:0" ] {
|
|
color: pink;
|
|
}
|
|
|
|
[ class*="test" ] {
|
|
color: silver;
|
|
}
|
|
|
|
`;
|