set default viewport size css variables

This commit is contained in:
hippoz 2022-09-20 18:18:15 +03:00
parent b58c7b4604
commit 9f5d51962c
No known key found for this signature in database
GPG key ID: 7C52899193467641

View file

@ -66,6 +66,10 @@
--radius-lg: calc(2 * var(--radius-unit)); --radius-lg: calc(2 * var(--radius-unit));
--radius-xl: calc(3.25 * var(--radius-unit)); --radius-xl: calc(3.25 * var(--radius-unit));
--radius-xxl: calc(5.25 * var(--sradius-unit)); --radius-xxl: calc(5.25 * var(--sradius-unit));
/* initial values. these will be modified by javascript */
--viewportWidth: 100vw;
--viewportHeight: 100vh;
} }
html, body { html, body {