diff --git a/sass/includes/_main.sass b/sass/includes/_main.sass index c2a076f..72f2c17 100644 --- a/sass/includes/_main.sass +++ b/sass/includes/_main.sass @@ -10,6 +10,7 @@ $_theme: () !default @use "base" with ($_theme: $_theme) @use "video-page" with ($_theme: $_theme) +@use "video-embed" with ($_theme: $_theme) @use "search-page" with ($_theme: $_theme) @use "home-page" with ($_theme: $_theme) @use "channel-page" with ($_theme: $_theme) diff --git a/sass/includes/video-embed.sass b/sass/includes/_video-embed.sass similarity index 67% rename from sass/includes/video-embed.sass rename to sass/includes/_video-embed.sass index 4a5f5c8..7e13cc7 100644 --- a/sass/includes/video-embed.sass +++ b/sass/includes/_video-embed.sass @@ -1,5 +1,7 @@ -@use "colors.sass" as c -@use "video-list-item.sass" as * +$_theme: () !default + +@use "sass:map" +@use "video-list-item" as * .video-embed-page display: block @@ -16,5 +18,5 @@ width: 100% .stream-notice - background: c.$bg-darkest + background: map.get($_theme, "bg-0") padding: 4px diff --git a/sass/main.sass b/sass/main.sass deleted file mode 100644 index 9e11395..0000000 --- a/sass/main.sass +++ /dev/null @@ -1,31 +0,0 @@ -@use "includes/colors.sass" as c - -@use "includes/base.sass" -@use "sass:selector" -@use "includes/video-page.sass" -@use "includes/video-embed.sass" -@use "includes/search-page.sass" -@use "includes/home-page.sass" -@use "includes/channel-page.sass" -@use "includes/subscriptions-page.sass" -@use "includes/settings-page.sass" -@use "includes/cant-think-page.sass" -@use "includes/privacy-page.sass" -@use "includes/licenses-page.sass" -@use "includes/filters-page.sass" -@use "includes/takedown-page.sass" -@use "includes/forms.sass" -@use "includes/nav.sass" -@use "includes/footer.sass" - -@font-face - font-family: "Bariol" - src: url(/static/fonts/bariol.woff?statichash=1) - -.icon-link:hover, .icon-link:focus - .icon - filter: brightness(2) - -.button-container - display: flex - flex-wrap: wrap