Skip to content

Commit

Permalink
Codegen.
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenh committed Aug 16, 2023
1 parent 0723f03 commit 62e86d2
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 @@ -2339,6 +2339,18 @@ class CssBuilder<T extends Properties> {
get mw100() {
return this.add("minWidth", "100%");
}
/** Sets `minWidth: "fit-content"`. */
get mwfc() {
return this.add("minWidth", "fit-content");
}
/** Sets `minWidth: "min-content"`. */
get mwminc() {
return this.add("minWidth", "min-content");
}
/** Sets `minWidth: "max-content"`. */
get mwmaxc() {
return this.add("minWidth", "max-content");
}
/** Sets `minWidth: value`. */
mw(value: Properties["minWidth"]) {
return this.add("minWidth", value);
Expand Down Expand Up @@ -2367,6 +2379,18 @@ class CssBuilder<T extends Properties> {
get maxw100() {
return this.add("maxWidth", "100%");
}
/** Sets `maxWidth: "fit-content"`. */
get maxwfc() {
return this.add("maxWidth", "fit-content");
}
/** Sets `maxWidth: "min-content"`. */
get maxwmin() {
return this.add("maxWidth", "min-content");
}
/** Sets `maxWidth: "max-content"`. */
get maxwmax() {
return this.add("maxWidth", "max-content");
}
/** Sets `maxWidth: value`. */
maxw(value: Properties["maxWidth"]) {
return this.add("maxWidth", 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 @@ -2045,6 +2045,18 @@ class CssBuilder<T extends Properties> {
get mw100() {
return this.add("minWidth", "100%");
}
/** Sets `minWidth: "fit-content"`. */
get mwfc() {
return this.add("minWidth", "fit-content");
}
/** Sets `minWidth: "min-content"`. */
get mwminc() {
return this.add("minWidth", "min-content");
}
/** Sets `minWidth: "max-content"`. */
get mwmaxc() {
return this.add("minWidth", "max-content");
}
/** Sets `minWidth: value`. */
mw(value: Properties["minWidth"]) {
return this.add("minWidth", value);
Expand Down Expand Up @@ -2073,6 +2085,18 @@ class CssBuilder<T extends Properties> {
get maxw100() {
return this.add("maxWidth", "100%");
}
/** Sets `maxWidth: "fit-content"`. */
get maxwfc() {
return this.add("maxWidth", "fit-content");
}
/** Sets `maxWidth: "min-content"`. */
get maxwmin() {
return this.add("maxWidth", "min-content");
}
/** Sets `maxWidth: "max-content"`. */
get maxwmax() {
return this.add("maxWidth", "max-content");
}
/** Sets `maxWidth: value`. */
maxw(value: Properties["maxWidth"]) {
return this.add("maxWidth", value);
Expand Down

0 comments on commit 62e86d2

Please sign in to comment.