Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
227 changes: 227 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 12 additions & 6 deletions src/css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ body {

body {
color: var(--color-text);
font-family: "Open Sans", sans-serif;
/* font-family: "Gotham", sans-serif; */
font-family: "Source Sans Pro", sans-serif;
line-height: var(--line-height-body);
margin: 0;
}
Expand Down Expand Up @@ -59,14 +58,14 @@ button::-moz-focus-inner {
code,
kbd,
pre {
/* font-family: "Roboto Mono", monospace; */
font-family: "Source Code Pro", sans-serif;
font-family: 'Source Code Pro', monospace;
}

code {
color: var(--color-brand-black);
font-size: var(--font-base);
background-color: #0074e00e;
font-size: var(--font-small);
word-spacing: -0.125em;
color: var(--color-brand-gray1);
}

html code {
Expand All @@ -82,6 +81,13 @@ small {
font-size: 0.8em;
}

em,
i {
font-style: italic;
font-family: "Open Sans", sans-serif;
font-weight: 400;
}

.container,
.container-fluid {
margin: 0 auto;
Expand Down
6 changes: 2 additions & 4 deletions src/css/component-frame.css
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,10 @@
border-left: 3px solid var(--color-brand-gray8);
}

.frame-dropdown ul.frame-dropdown-list li,
/* .frame-dropdown ul.frame-dropdown-list li,
.frame-dropdown ul.related li {
border-bottom: 1px solid var(--color-brand-gray8);
/* padding-bottom: 5px; */
/* margin-bottom: 5px; */
}
} */

ul.frame-dropdown-list li:last-child,
.frame-dropdown ul.related li:last-child {
Expand Down
31 changes: 15 additions & 16 deletions src/css/doc.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
font-weight: var(--weight-semibold);
letter-spacing: -0.025rem;
line-height: var(--line-height-heading);
margin: 1.5rem 0 -0.25rem;
margin: 1.5rem 0 1rem;
}

.doc h1 {
Expand All @@ -32,21 +32,20 @@

.doc h2 {
font-size: var(--heading-h2);
margin: 1.5rem 0 1.5rem;
max-width: fit-content;
display: inline-block;
width: 100%;
/* NOTE used to restrict width of key line */
}

.doc h2::after {
/* .doc h2::after {
content: "";
display: block;
max-width: 5.75rem;
height: 0;
outline: 0.5px solid currentColor;
margin-top: 1.0625rem;
}
} */

.doc h3 {
font-size: var(--heading-h3);
Expand Down Expand Up @@ -109,10 +108,10 @@
text-decoration: underline;
}

.doc code {
/* .doc code {
color: var(--color-text);
font-weight: var(--weight-medium);
}
} */

.doc pre code {
display: block;
Expand Down Expand Up @@ -484,9 +483,9 @@
}

.doc .exampleblock > .content {
/* background-color: var(--color-shade); */
box-shadow: inset 0 0 1px #bec0c1;
/* padding: 1rem 1.25rem; */
box-shadow: 0 3px 10px #0000000f;
padding: 20px;
border: 1px solid var(--color-brand-gray8);
}

.doc .exampleblock > .content > :first-child {
Expand Down Expand Up @@ -540,17 +539,17 @@
position: relative;
}

.doc pre.highlight .hljs-attr {
/* .doc pre.highlight .hljs-attr {
color: var(--hljs-attr);
}
} */

.doc pre.highlight .hljs-string {
/* .doc pre.highlight .hljs-string {
color: var(--hljs-string);
}
} */

.doc pre.highlight .hljs-number {
/* .doc pre.highlight .hljs-number {
color: var(--hljs-number);
}
} */

/* .doc .listingblock code[data-lang]::before {
content: attr(data-lang);
Expand Down Expand Up @@ -590,14 +589,14 @@
font-family: "Source Sans Pro", sans-serif;
padding-right: 0.5rem;
border-right: 1px solid var(--color-brand-gray9);
z-index: 1;
}

.doc .listingblock:hover code[data-lang] + .data-source {
display: block;
}

.doc .listingblock pre .fade-shadow {
content: "";
display: inline-block;
background:
transparent
Expand Down
Loading