Skip to content

Commit

Permalink
fix: Actually codegen.
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenh committed Mar 27, 2023
1 parent 5371e74 commit 1704cfa
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
24 changes: 24 additions & 0 deletions packages/template-tachyons/src/Css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2203,6 +2203,30 @@ class CssBuilder<T extends Properties> {
get wsNormal() {
return this.add("whiteSpace", "normal");
}
/** Sets `whiteSpace: "pre"`. */
get wsp() {
return this.add("whiteSpace", "pre");
}
/** Sets `whiteSpace: "normal"`. */
get wsn() {
return this.add("whiteSpace", "normal");
}
/** Sets `whiteSpace: "nowrap"`. */
get wsnw() {
return this.add("whiteSpace", "nowrap");
}
/** Sets `whiteSpace: "break-spaces"`. */
get wsbs() {
return this.add("whiteSpace", "break-spaces");
}
/** Sets `whiteSpace: "pre-wrap"`. */
get wspw() {
return this.add("whiteSpace", "pre-wrap");
}
/** Sets `whiteSpace: "pre-line"`. */
get wspl() {
return this.add("whiteSpace", "pre-line");
}
/** Sets `whiteSpace: value`. */
whiteSpace(value: Properties["whiteSpace"]) {
return this.add("whiteSpace", value);
Expand Down
24 changes: 24 additions & 0 deletions packages/testing-tachyons/src/Css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1909,6 +1909,30 @@ class CssBuilder<T extends Properties> {
get wsNormal() {
return this.add("whiteSpace", "normal");
}
/** Sets `whiteSpace: "pre"`. */
get wsp() {
return this.add("whiteSpace", "pre");
}
/** Sets `whiteSpace: "normal"`. */
get wsn() {
return this.add("whiteSpace", "normal");
}
/** Sets `whiteSpace: "nowrap"`. */
get wsnw() {
return this.add("whiteSpace", "nowrap");
}
/** Sets `whiteSpace: "break-spaces"`. */
get wsbs() {
return this.add("whiteSpace", "break-spaces");
}
/** Sets `whiteSpace: "pre-wrap"`. */
get wspw() {
return this.add("whiteSpace", "pre-wrap");
}
/** Sets `whiteSpace: "pre-line"`. */
get wspl() {
return this.add("whiteSpace", "pre-line");
}
/** Sets `whiteSpace: value`. */
whiteSpace(value: Properties["whiteSpace"]) {
return this.add("whiteSpace", value);
Expand Down

0 comments on commit 1704cfa

Please sign in to comment.