Skip to content

Commit

Permalink
test: update snaps
Browse files Browse the repository at this point in the history
  • Loading branch information
MellowCo committed Jun 15, 2023
1 parent 4eac42a commit 143e7a1
Show file tree
Hide file tree
Showing 36 changed files with 868 additions and 953 deletions.
25 changes: 0 additions & 25 deletions test/__snapshots__/prefix-option.test.ts.snap

This file was deleted.

25 changes: 0 additions & 25 deletions test/__snapshots__/prefix.test.ts.snap

This file was deleted.

11 changes: 11 additions & 0 deletions test/__snapshots__/preflights.test.ts.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html

exports[`preflights > preflight root can be customized with array 1`] = `
"/* layer: preflights */
.scope-1{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-ring-offset-shadow:0 0 rgba(0,0,0,0);--un-ring-shadow:0 0 rgba(0,0,0,0);--un-shadow-inset:var(--un-empty,/*!*/ /*!*/);--un-shadow:0 0 rgba(0,0,0,0);--un-ring-inset:var(--un-empty,/*!*/ /*!*/);--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,0.5);}[data-scope-2]{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-ring-offset-shadow:0 0 rgba(0,0,0,0);--un-ring-shadow:0 0 rgba(0,0,0,0);--un-shadow-inset:var(--un-empty,/*!*/ /*!*/);--un-shadow:0 0 rgba(0,0,0,0);--un-ring-inset:var(--un-empty,/*!*/ /*!*/);--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,0.5);}"
`;

exports[`preflights > preflight root can be customized with string 1`] = `
"/* layer: preflights */
:root{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-ring-offset-shadow:0 0 rgba(0,0,0,0);--un-ring-shadow:0 0 rgba(0,0,0,0);--un-shadow-inset:var(--un-empty,/*!*/ /*!*/);--un-shadow:0 0 rgba(0,0,0,0);--un-ring-inset:var(--un-empty,/*!*/ /*!*/);--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,0.5);}"
`;
57 changes: 0 additions & 57 deletions test/__snapshots__/rpx.test.ts.snap

This file was deleted.

28 changes: 0 additions & 28 deletions test/__snapshots__/transformer-attributify.test.ts.snap

This file was deleted.

65 changes: 0 additions & 65 deletions test/__snapshots__/transformer-class.test.ts.snap

This file was deleted.

31 changes: 0 additions & 31 deletions test/__snapshots__/whRpx.test.ts.snap

This file was deleted.

4 changes: 4 additions & 0 deletions test/assets/output/preset-mini-active-pseudo.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/* layer: default */
.hover_cl_bg-blue-3:hover{--un-bg-opacity:1;background-color:rgba(147,197,253,var(--un-bg-opacity));}
.focus_cl_bg-blue-3:focus{--un-bg-opacity:1;background-color:rgba(147,197,253,var(--un-bg-opacity));}
.active_cl_bg-blue-3:active{--un-bg-opacity:1;background-color:rgba(147,197,253,var(--un-bg-opacity));}
4 changes: 4 additions & 0 deletions test/assets/output/preset-mini-custom-var-prefix.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions test/assets/output/preset-mini-dark-customizing-selector.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/* layer: default */
[data-mode="dark"] .dark\:bg-white{--un-bg-opacity:1;background-color:rgba(255,255,255,var(--un-bg-opacity));}
[data-mode="light"] .light\:bg-black{--un-bg-opacity:1;background-color:rgba(0,0,0,var(--un-bg-opacity));}
[data-mode="dark"] .dark\:hover\:rounded:hover{border-radius:8rpx;}
[data-mode="dark"] .dark\:text-lg{font-size:36rpx;line-height:56rpx;}
[data-mode="light"] .light\:text-sm{font-size:28rpx;line-height:40rpx;}
[data-mode="light"] .light\:disabled\:w-full:disabled{width:100%;}
4 changes: 4 additions & 0 deletions test/assets/output/preset-mini-nested-theme-colors.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/* layer: default */
.bg-a-b-c{--licl-bg-opacity:1;background-color:rgba(81,69,67,var(--licl-bg-opacity));}
.text-a-b-c{--licl-text-opacity:1;color:rgba(81,69,67,var(--licl-text-opacity));}
.text-a-camel-case{--licl-text-opacity:1;color:rgba(34,51,68,var(--licl-text-opacity));}
5 changes: 5 additions & 0 deletions test/assets/output/preset-mini-non-nested-theme-colors.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/* layer: default */
.bg-numbered321{--licl-bg-opacity:1;background-color:rgba(51,34,17,var(--licl-bg-opacity));}
.bg-with-hyphen{--licl-bg-opacity:1;background-color:rgba(18,52,86,var(--licl-bg-opacity));}
.text-numbered-123{--licl-text-opacity:1;color:rgba(17,34,51,var(--licl-text-opacity));}
.text-with-hyphen{--licl-text-opacity:1;color:rgba(18,52,86,var(--licl-text-opacity));}
Loading

0 comments on commit 143e7a1

Please sign in to comment.