diff --git a/src/themes/_utility.css b/src/themes/_utility.css deleted file mode 100644 index 84b7559f6..000000000 --- a/src/themes/_utility.css +++ /dev/null @@ -1,23 +0,0 @@ -/* - * This file contains utility classes that can't be contained in a component and must be applied to the light DOM. None - * of the rules in this stylesheet should target component tags or HTML tags, and all classes *must* start with ".wa-" - * to reduce the possibility of collisions. - */ - -@supports (scrollbar-gutter: stable) { - .wa-scroll-lock { - scrollbar-gutter: var(--wa-scroll-lock-gutter) !important; - } - - .wa-scroll-lock body { - overflow: hidden !important; - } -} - -/** This can go away once Safari has scrollbar-gutter support. */ -@supports not (scrollbar-gutter: stable) { - .wa-scroll-lock body { - padding-right: var(--wa-scroll-lock-size) !important; - overflow: hidden !important; - } -} diff --git a/src/themes/active.css b/src/themes/active.css index 74f5150ff..372993de9 100644 --- a/src/themes/active.css +++ b/src/themes/active.css @@ -1,4 +1,3 @@ -@import '_utility.css'; @import 'depth_3_punchy.css'; /* depth_0_flat.css, depth_1_semiflat.css, depth_2_chunky.css, depth_3_punchy.css, depth_4_glossy.css */ :root, diff --git a/src/themes/brutalist.css b/src/themes/brutalist.css index 662ac02ae..01e7e72cb 100644 --- a/src/themes/brutalist.css +++ b/src/themes/brutalist.css @@ -1,4 +1,3 @@ -@import '_utility.css'; @import 'depth_2_chunky.css'; @import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Condensed:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Space+Grotesk:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap'); diff --git a/src/themes/classic.css b/src/themes/classic.css index 0d1f836c1..31c6ce0f8 100644 --- a/src/themes/classic.css +++ b/src/themes/classic.css @@ -1,4 +1,3 @@ -@import '_utility.css'; @import 'depth_1_semiflat.css'; /* depth_0_flat.css, depth_1_semiflat.css, depth_2_chunky.css, depth_3_punchy.css, depth_4_glossy.css */ @import 'classic_components.css'; diff --git a/src/themes/default.css b/src/themes/default.css index 67d86bed8..688c1b52b 100644 --- a/src/themes/default.css +++ b/src/themes/default.css @@ -1,4 +1,3 @@ -@import '_utility.css'; @import 'depth_1_semiflat.css'; /* depth_0_flat.css, depth_1_semiflat.css, depth_2_chunky.css, depth_3_punchy.css, depth_4_glossy.css */ :root, diff --git a/src/themes/fa.css b/src/themes/fa.css index f58204d00..b80076f35 100644 --- a/src/themes/fa.css +++ b/src/themes/fa.css @@ -1,4 +1,3 @@ -@import '_utility.css'; @import 'depth_2_chunky.css'; @import 'cera_typeface.css'; diff --git a/src/themes/glassy.css b/src/themes/glassy.css index 78733989f..23202e7ff 100644 --- a/src/themes/glassy.css +++ b/src/themes/glassy.css @@ -1,4 +1,3 @@ -@import '_utility.css'; @import 'depth_4_glossy.css'; :root, diff --git a/src/themes/mellow.css b/src/themes/mellow.css index 8ef5678b8..10aa1c4fb 100644 --- a/src/themes/mellow.css +++ b/src/themes/mellow.css @@ -1,4 +1,3 @@ -@import '_utility.css'; @import 'depth_0_flat.css'; :root, diff --git a/src/themes/migration.css b/src/themes/migration.css index deb8000fc..25ad93ee4 100644 --- a/src/themes/migration.css +++ b/src/themes/migration.css @@ -1,4 +1,3 @@ -@import '_utility.css'; @import 'depth_1_semiflat.css'; :root, diff --git a/src/themes/playful.css b/src/themes/playful.css index 4eb51f17a..2c306ba51 100644 --- a/src/themes/playful.css +++ b/src/themes/playful.css @@ -1,4 +1,3 @@ -@import '_utility.css'; @import 'depth_1_semiflat.css'; @import url('https://fonts.googleapis.com/css2?family=Azeret+Mono:ital@0;1&family=Fredoka:wght@300;400;500;600;700&family=Nunito:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap'); diff --git a/src/themes/premium.css b/src/themes/premium.css index 3f2d3b322..96a247f46 100644 --- a/src/themes/premium.css +++ b/src/themes/premium.css @@ -1,4 +1,3 @@ -@import '_utility.css'; @import 'depth_1_semiflat.css'; @import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap');