-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
implement custom uswds settings, increase container width from 'deskt…
…op' to 'widescreen'
- Loading branch information
1 parent
8e939d5
commit 1504bd2
Showing
4 changed files
with
29 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
import type { Metadata } from 'next'; | ||
import './globals.css'; | ||
import Script from 'next/script'; | ||
import Header from './components/Header'; | ||
import Footer from './components/Footer'; | ||
import USABanner from './components/UsaBanner'; | ||
import { basePath } from './utils/constants'; | ||
import './globals.scss'; | ||
|
||
export const metadata: Metadata = { | ||
title: 'DIBBS Site', | ||
|
@@ -27,7 +26,6 @@ export default function RootLayout({ | |
<main id="main-content">{children}</main> | ||
<Footer /> | ||
</div> | ||
<Script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/uswds.min.js" /> | ||
</body> | ||
</html> | ||
); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
@use "uswds-core" with ( | ||
// General | ||
$theme-show-compile-warnings: true, | ||
$theme-show-notifications: false, | ||
$theme-image-path: "../../../../../../dist/img", | ||
|
||
// Color | ||
// Component | ||
$theme-hero-image: "../../../../dist/img/hero.jpg", | ||
$theme-accordion-button-background-color: "blue-cool-60", | ||
|
||
// Spacing | ||
$theme-grid-container-max-width: "widescreen", | ||
$theme-header-max-width: "widescreen", | ||
|
||
|
||
// Typography | ||
$theme-font-path: "../../../../../../dist/fonts", | ||
|
||
// Utilities | ||
); |