Skip to content

Commit 6e55292

Browse files
asynclizcopybara-github
authored andcommitted
feat: export CSSStyleSheet as default from CSSResult-in-js files
PiperOrigin-RevId: 876734116
1 parent 25ff820 commit 6e55292

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

scripts/css-to-ts.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,6 @@ fs.writeFileSync(
2828
// Generated stylesheet for ${cssFilePath}.
2929
import {css} from 'lit';
3030
export const styles = css\`${cssContent}\`;
31+
export default styles.styleSheet!;
3132
`,
3233
);

0 commit comments

Comments
 (0)