Skip to content

Commit

Permalink
Fix linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Vadym Mykhailov committed Nov 27, 2024
1 parent 1f13a2c commit 683efd8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
4 changes: 2 additions & 2 deletions styles/fonts.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@

/* Brand fonts */
@font-face {
font-family: 'Frutiger';
font-family: frutiger;
src: url('../fonts/FrutigerLTW01-45Light.woff2') format('woff2');
font-weight: 400;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'Frutiger';
font-family: frutiger;
src: url('../fonts/FrutigerLTW01-65Bold.woff2') format('woff2');
font-weight: 700;
font-style: normal;
Expand Down
16 changes: 6 additions & 10 deletions styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@

:root {
/* fonts */
--body-font-family: Frutiger, frutiger-fallback, sans-serif;
--heading-font-family: Frutiger, frutiger-fallback, sans-serif;
--body-font-family: frutiger, frutiger-fallback, sans-serif;
--heading-font-family: frutiger, frutiger-fallback, sans-serif;

/* body sizes */
--body-font-size-m: 16px;
Expand All @@ -32,7 +32,6 @@
--nav-height: 64px;

/* DN Theme variables */

/* Primary */
--col-white: #FFF;
--col-black: #000;
Expand Down Expand Up @@ -93,7 +92,6 @@

/* Breakpoints */
--b-print: 'only print';

--b-768: 768px;
--b-1280: 1280px;

Expand All @@ -102,20 +100,18 @@
--b-1279: 1279px;

/* min-width aliases. */
--bp-s: --b-768;
--bp-l: --b-1280;
--bp-s: var(--b-768);
--bp-l: var(--b-1280);

/* max-width aliases. */
--bp-s-max: --b-767;
--bp-l-max: --b-1279;
--bp-s-max: var(--b-767);
--bp-l-max: var(--b-1279);

/* Spacing */
--grid-max-width: 1290px;

--grid-container-width-xs: 20px;
--grid-container-width-sm: 42px;
--grid-container-width-xl: 75px;

--spacing-component-main-xs: 20px;
--spacing-component-main-sm: 32px;
--spacing-component-main-xl: 40px;
Expand Down

0 comments on commit 683efd8

Please sign in to comment.