Skip to content

Commit

Permalink
Merge branch 'docs/revamp' into erin/seed-sidenav
Browse files Browse the repository at this point in the history
  • Loading branch information
erinkcochran87 authored Aug 12, 2024
2 parents 1c505bd + 7b896fe commit e7693f7
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/docs-next/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*
*.sqlite
23 changes: 21 additions & 2 deletions docs/docs-next/src/styles/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,24 @@
* bundles Infima by default. Infima is a CSS framework designed to
* work well for content-centric websites.
*/
@font-face {
font-family: 'Geist';
src: url('/fonts/GeistVF.woff') format('woff');
}

@font-face {
font-family: 'Geist-Mono';
src: url('/fonts/GeistMonoVF.woff') format('woff');
}

/* You can override the default Infima variables here. */
/* Some styles heavily influenced from: https://github.com/electron/website/blob/main/src/css/custom.scss */
:root {

--ifm-font-family-base: 'Geist';
--ifm-heading-font-family: 'Geist';
--ifm-font-family-monospace: 'Geist-Mono';

// modified base colors
--ifm-color-primary: var(--dagster-color-primary-500);
--ifm-color-primary-dark: var(--dagster-color-primary-700);
Expand All @@ -17,7 +31,7 @@
--ifm-color-primary-lightest: var(--dagster-color-gray-50);

// modified base vars
--ifm-code-font-size: 95%;
--ifm-code-font-size: 90%;
--ifm-navbar-height: 70px;

// brand-specific colors
Expand Down Expand Up @@ -71,7 +85,7 @@
--ifm-menu-color-active: var(--dagster-color-dark);
// these require !important because of some weirdness in CSS ordering
// see: https://github.com/facebook/docusaurus/issues/3678
--docusaurus-highlighted-code-line-bg: rgb(217, 220, 222);
--docusaurus-highlighted-code-line-bg: var(--dagster-color-yellow-50);

// infima shadow levels
// generated from https://www.joshwcomeau.com/shadow-palette/
Expand Down Expand Up @@ -123,6 +137,7 @@
--dagster-inline-code: var(--dagster-color-secondary-light);
}


/* Main content */
.theme-doc-markdown {
max-width: 900px;
Expand Down Expand Up @@ -179,6 +194,10 @@ a.pyobject {
.markdown {
line-height: 150%;

code {
font-size: var(--ifm-code-font-size)
}

a {
font-weight: var(--ifm-font-weight-semibold);
code {
Expand Down
Binary file added docs/docs-next/static/fonts/GeistMonoVF.woff
Binary file not shown.
Binary file added docs/docs-next/static/fonts/GeistVF.woff
Binary file not shown.

0 comments on commit e7693f7

Please sign in to comment.