prettier/tests/css_modules/__snapshots__/jsfmt.spec.js.snap

106 lines
1.8 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`modules.css 1`] = `
====================================options=====================================
parsers: ["css"]
printWidth: 80
| printWidth
=====================================input======================================
@value colors: './colors.css';
@value first, second, third from colors;
.title {
@nest :global(h1)& {
background: red;
}
}
.className {
color: green;
background: red;
}
.otherClassName {
composes: className;
color: yellow;
}
.otherClassName {
composes: className from "./style.css";
}
.otherClassName {
composes: globalClassName from global;
}
:global {
.global-class-name {
color: green;
}
}
.root :global .text {
color: brown;
font-size: 24px;
font-family: helvetica, arial, sans-serif;
font-weight: 600;
}
:import("path/to/dep.css") {
localAlias: keyFromDep;
}
:export {
exportedKey: exportedValue;
}
=====================================output=====================================
@value colors: './colors.css';
@value first, second, third from colors;
.title {
@nest :global(h1)& {
background: red;
}
}
.className {
color: green;
background: red;
}
.otherClassName {
composes: className;
color: yellow;
}
.otherClassName {
composes: className from "./style.css";
}
.otherClassName {
composes: globalClassName from global;
}
:global {
.global-class-name {
color: green;
}
}
.root :global .text {
color: brown;
font-size: 24px;
font-family: helvetica, arial, sans-serif;
font-weight: 600;
}
:import("path/to/dep.css") {
localAlias: keyFromDep;
}
:export {
exportedKey: exportedValue;
}
================================================================================
`;