From fa12eacc014aae8094d108634371640f2695bf9f Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 27 May 2021 17:45:36 +0200 Subject: Move to sass @use --- client/src/app/header/header.component.scss | 4 ++-- client/src/app/header/search-typeahead.component.scss | 6 ++---- client/src/app/header/suggestion.component.scss | 2 +- 3 files changed, 5 insertions(+), 7 deletions(-) (limited to 'client/src/app/header') diff --git a/client/src/app/header/header.component.scss b/client/src/app/header/header.component.scss index 45cef7b9a..e335f136a 100644 --- a/client/src/app/header/header.component.scss +++ b/client/src/app/header/header.component.scss @@ -1,5 +1,5 @@ -@import '_variables'; -@import '_mixins'; +@use '_variables'; +@use '_mixins'; my-search-typeahead { @include margin-right(15px); diff --git a/client/src/app/header/search-typeahead.component.scss b/client/src/app/header/search-typeahead.component.scss index ed7f3bd65..d6ce6eca4 100644 --- a/client/src/app/header/search-typeahead.component.scss +++ b/client/src/app/header/search-typeahead.component.scss @@ -1,7 +1,5 @@ -@import '_mixins'; -@import '_variables'; -@import '_bootstrap-variables'; -@import '~bootstrap/scss/mixins/_breakpoints'; +@use '_mixins'; +@use '_variables'; #search-video { @include peertube-input-text($search-input-width); diff --git a/client/src/app/header/suggestion.component.scss b/client/src/app/header/suggestion.component.scss index 9163de0b1..626b87c3c 100644 --- a/client/src/app/header/suggestion.component.scss +++ b/client/src/app/header/suggestion.component.scss @@ -1,4 +1,4 @@ -@import '_mixins'; +@use '_mixins'; a { @include disable-default-a-behaviour; -- cgit v1.2.3