From 6c5915c04659a992635742074b2ad92d3e97a9df Mon Sep 17 00:00:00 2001 From: Jieiku Date: Mon, 1 May 2023 15:08:23 -0700 Subject: Replace import with use --- sass/include/_nav.scss | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sass/include/_nav.scss') diff --git a/sass/include/_nav.scss b/sass/include/_nav.scss index be98892..efad0ec 100644 --- a/sass/include/_nav.scss +++ b/sass/include/_nav.scss @@ -2,6 +2,7 @@ * Horizontal Nav * https://github.com/raj457036/attriCSS */ +@use "../variables" as variables; main nav a, main nav a:visited {//pagination link styling @@ -118,8 +119,8 @@ footer nav { } } // breakpoint makes header responsive for mobile layouts -@if map-get($breakpoints, "md") { - @media (max-width: map-get($breakpoints, "md")) { +@if map-get(variables.$breakpoints, "md") { + @media (max-width: map-get(variables.$breakpoints, "md")) { header nav { display: flex; flex-direction: column; -- cgit v1.3.1