Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! Change…
Browse files Browse the repository at this point in the history
… documentation platform from Docz to Docoff
  • Loading branch information
davidurban committed Jan 10, 2023
1 parent 1912b56 commit 47c9265
Showing 1 changed file with 24 additions and 28 deletions.
52 changes: 24 additions & 28 deletions src/docs/_assets/stylesheets/extra.css
Original file line number Diff line number Diff line change
@@ -1,32 +1,37 @@
@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400;1,600;1,700&display=swap');

:root {
/* Visual configuration of the `<docoff-react-preview>` and `<docoff-react-base>` code */
/* The Prism theme CSS file, for options see: https://unpkg.com/browse/prismjs/themes/ */
--docoff-code-prism-css: https://unpkg.com/[email protected]/themes/prism-twilight.min.css;
--docoff-code-font-size: 0.7rem;
--docoff-code-line-height: 1.5;
--docoff-code-font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;


/* Visual configuration of the `<docoff-react-preview>` live preview */
--docoff-preview-border-color: rgb(206, 212, 222);
--docoff-preview-border-radius: 0.35em;
:root > * {
--md-primary-fg-color: #00778b;
--md-primary-fg-color--light: #fff;
--md-primary-fg-color--dark: #006b7d;
--md-typeset-color: #1a1a1a;

/* Visual configuration */
--docoff-border-color: rgb(206, 212, 222);
--docoff-border-radius: 0.35em;
--docoff-background-color: rgba(179, 179, 179, 0.1);

/* To simplify multiple component presentation we add margin to all top level elements*/
--docoff-preview-children-margin: 0.25em;

/* To improve component presentation we add padding inside the shadow DOM */
--docoff-preview-padding: 1em;
/*Custom preview CSS file, typically this would be the CSS of your component */
--docoff-preview-css: /docs/_assets/generated/reactui.css;

/*
The Prism theme CSS file
For options see: https://unpkg.com/browse/[email protected]/themes/
*/
--docoff-prism-css: https://unpkg.com/[email protected]/themes/prism-twilight.min.css;

/*
Custom preview CSS file
Typically this would be the CSS of your component
*/
--docoff-preview-css: /docs/_assets/generated/reactui.css;

/* Visual configuration of the `<docoff-placeholder>` element */
--docoff-placeholder-background-dark: #4d4d4d;
--docoff-placeholder-background-light: #fff;
--docoff-placeholder-border-color: #ccc;
--docoff-placeholder-border-width: 2px;
}


[data-md-color-scheme="default"] {
--md-primary-fg-color: #00778b;
--md-primary-fg-color--light: #fff;
Expand Down Expand Up @@ -67,16 +72,7 @@ body {
text-decoration: underline;
}

pre[class*="language-"] {
background: rgb(40, 40, 40);
border-radius: 0.35em;
border: none;
overflow: hidden;
margin: 0 !important;
}

code[class*="language-"], pre[class*="language-"] {
text-shadow: none;
font-size: 0.7rem;
}

Expand Down

0 comments on commit 47c9265

Please sign in to comment.