-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
751 changed files
with
75,654 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
const eleventySass = require("eleventy-sass"); | ||
|
||
const sass_options = { | ||
sass: { | ||
loadPaths: ["./node_modules/design-system/system"], | ||
style: "expanded", | ||
sourceMap: true, | ||
}, | ||
defaultEleventyEnv: "development" | ||
}; | ||
|
||
|
||
|
||
module.exports = function(eleventyConfig) { | ||
|
||
|
||
eleventyConfig.setBrowserSyncConfig({ | ||
files: './_site/css/**/*.css' | ||
}); | ||
|
||
eleventyConfig.addPlugin(eleventySass, sass_options); | ||
|
||
}; |
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,33 @@ | ||
name: Build Eleventy | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-20.04 | ||
|
||
strategy: | ||
matrix: | ||
node-version: [16.x] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: Install dependencies & build | ||
run: | | ||
npm install | ||
npm run build | ||
- name: Deploy | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
publish_dir: ./_site | ||
github_token: ${{ secrets.GITHUB_TOKEN }} |
Large diffs are not rendered by default.
Oops, something went wrong.
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,22 @@ | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<title>Page title</title> | ||
<link rel="stylesheet" href="/assets/css/styles.css"> | ||
<style> | ||
</style> | ||
|
||
</head> | ||
<body> | ||
<div class="ds-page"> | ||
<a class="ds-skip-link" href="#main">skip to content</a> | ||
<main id="main" tabindex="-1" class="ds-stack"> | ||
|
||
{{ content }} | ||
</main> | ||
<footer class="ds-footer">...</footer> | ||
</div> | ||
</body> |
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,109 @@ | ||
// Main files | ||
@import 'partials/_fonts.scss'; | ||
@import 'partials/_variables.scss'; | ||
@import 'partials/_type.scss'; | ||
@import 'partials/_forms.scss'; | ||
@import 'partials/_description-lists.scss'; | ||
@import 'partials/_button.scss'; | ||
@import 'partials/_call-to-action.scss'; | ||
@import 'partials/_details.scss'; | ||
@import 'partials/_stack.scss'; | ||
@import 'partials/_cluster.scss'; | ||
@import 'partials/_grid.scss'; | ||
@import 'partials/_sidebar.scss'; | ||
@import 'partials/_card.scss'; | ||
@import 'partials/_candidate.scss'; | ||
@import 'partials/_breadcrumbs.scss'; | ||
@import 'partials/_table.scss'; | ||
@import 'partials/_language.scss'; | ||
@import 'partials/_logo.scss'; | ||
@import 'partials/_header.scss'; | ||
@import 'partials/_subnav.scss'; | ||
@import 'partials/_footer.scss'; | ||
@import 'partials/_radio.scss'; | ||
@import 'partials/_checkbox.scss'; | ||
@import 'partials/_select.scss'; | ||
@import 'partials/_filter.scss'; | ||
@import 'partials/_status.scss'; | ||
@import 'partials/_codeblock.scss'; | ||
@import 'partials/_dark.scss'; | ||
@import 'partials/_page.scss'; | ||
@import 'partials/_utilities.scss'; | ||
|
||
// Generate atomic classes for documentation demos | ||
@import 'partials/_classes-colors.scss'; | ||
@import 'partials/_classes-scales.scss'; | ||
|
||
$scope: true; | ||
|
||
// Comment out the component styles | ||
// you don’t need | ||
@mixin optional-styles { | ||
@include description-lists; | ||
@include button; | ||
@include cta; | ||
@include cluster; | ||
@include grid; | ||
@include sidebar; | ||
@include details; | ||
@include card; | ||
@include candidate; | ||
@include breadcrumbs; | ||
@include table; | ||
@include language; | ||
@include logo; | ||
@include header; | ||
@include subnav; | ||
@include footer; | ||
@include radio; | ||
@include checkbox; | ||
@include select; | ||
@include filter; | ||
@include status; | ||
@include codeblock; | ||
} | ||
|
||
@if $scope { | ||
.ds-scope { | ||
font-size: clamp(#{$s1}, 2vw, #{$s2}); | ||
@include fontMain; | ||
@include type; | ||
@include forms; | ||
@include stack; | ||
@include optional-styles; | ||
@include dark; | ||
@include page; | ||
@include utilities; | ||
} | ||
|
||
.ds-scope *, | ||
.ds-scope *::before, | ||
.ds-scope *::after { | ||
box-sizing: border-box; | ||
} | ||
} @else { | ||
:root { | ||
font-size: clamp(#{$s1}, 2vw, #{$s2}); | ||
@include fontMain; | ||
} | ||
|
||
:root *, | ||
:root *::before, | ||
:root *::after { | ||
box-sizing: border-box; | ||
} | ||
|
||
body { | ||
margin: 0; | ||
} | ||
|
||
@include type; | ||
@include forms; | ||
@include stack; | ||
@include optional-styles; | ||
@include dark; | ||
@include page; | ||
@include utilities; | ||
} | ||
|
||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.