Skip to content

Commit

Permalink
Merge branch 'main' of github.com:/davesnx/styled-ppx into Package-bs…
Browse files Browse the repository at this point in the history
…-css-as-packages

* 'main' of github.com:/davesnx/styled-ppx:
  Add vertical-align and interpolation safe (#351)
  • Loading branch information
davesnx committed Jul 24, 2023
2 parents ed3cc16 + 8d3e09b commit 76a314e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/ppx/test/css-support/css-support.expected.re
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
CssJs.verticalAlign(`baseline);
CssJs.verticalAlign(`sub);
CssJs.verticalAlign(`super);
CssJs.verticalAlign(`top);
CssJs.verticalAlign(`textTop);
CssJs.verticalAlign(`middle);
CssJs.verticalAlign(`bottom);
CssJs.verticalAlign(`textBottom);
CssJs.backgroundRepeat(`space);
CssJs.backgroundRepeat(`round);
CssJs.backgroundRepeat(`hv((`repeat, `repeat)));
Expand Down
9 changes: 9 additions & 0 deletions packages/ppx/test/css-support/css-support.re
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
[%css {|vertical-align: baseline|}];
[%css {|vertical-align: sub|}];
[%css {|vertical-align: super|}];
[%css {|vertical-align: top|}];
[%css {|vertical-align: text-top|}];
[%css {|vertical-align: middle|}];
[%css {|vertical-align: bottom|}];
[%css {|vertical-align: text-bottom|}];

/* CSS Backgrounds and Borders Module Level 3 */
[%css {|background-repeat: space|}];
[%css {|background-repeat: round|}];
Expand Down

0 comments on commit 76a314e

Please sign in to comment.