Skip to content

Commit 5bf2ae0

Browse files
committed
Add test coverage for custom theme variable to block-size
1 parent c892522 commit 5bf2ae0

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

tests/output/allPlugins.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5950,6 +5950,9 @@ module.exports = `
59505950
.bs-svh {
59515951
block-size: 100svh;
59525952
}
5953+
.bs-theme-variable {
5954+
block-size: calc(var(--spacing) * 35);
5955+
}
59535956
.divide-b-reverse {
59545957
& > :not(:last-child) {
59555958
--tw-divide-b-reverse: 1;

tests/output/blockSize.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,5 +410,8 @@ module.exports = `
410410
.bs-svh {
411411
block-size: 100svh;
412412
}
413+
.bs-theme-variable {
414+
block-size: calc(var(--spacing) * 35);
415+
}
413416
}
414417
`;

tests/templates/blockSize/blockSize.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,6 @@
5959
<div class="bs-min"></div>
6060
<div class="bs-max"></div>
6161
<div class="bs-fit"></div>
62+
<div class="bs-theme-variable"></div>
6263
</body>
6364
</html>

0 commit comments

Comments
 (0)