Skip to content

Commit

Permalink
Update snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
seanchas116 committed Apr 27, 2023
1 parent 46fcfc0 commit b7eec31
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 139 deletions.
4 changes: 4 additions & 0 deletions packages/cli/src/compiler/CSSGenerator.ts
Expand Up @@ -137,6 +137,10 @@ export class CSSGenerator {

for (const target of ["self", "children"] as const) {
for (const [key, value] of Object.entries(diffCSS[target])) {
if (value == null) {
continue;
}

if (key.startsWith("--")) {
// eslint-disable-next-line
body[target].push(` ${key}: ${value};`);
Expand Down

0 comments on commit b7eec31

Please sign in to comment.