* docs: added manage reservations user guide (#4290) * docs: added manage reservations user guide * removed feature flag details * docs: added how-to for custom reservations (#4292) * docs: added how-to for custom reservations * eslint fixes * docs: added product module documentation (#4287) * docs: added product module documentation * added details about optional environment variables * small fixes * Remove reference link * added example usages * added link to sample project * address PR feedback * docs: moved product module guide + added product module tabs (#4307) * added product module tab * adjust design of badge * docs: added onboarding features (#4168) * added marketplace page * added subscription roadmap * added rating for onboarding * added learning path components * small fixes * fix build error * fix eslint errors * change roadmaps to recipes * small change in text * optimize learning path and notifications * fix tracking usage * fix eslint errors * added enter/exit animation * allow starting a path using a query parameter * fix gap between notifications * address vercel comments * fixed links issue * changed create-medusa-app docs steps * move troubleshooting section * improved tracking across docs * fix build errors * remove console * added a note about `boilerplate` option * added troubleshooting section for eagain * added invite option in cli reference * added track event for finished onboarding * update boilerplate option name * redesigned learning path component * docs: added how to create widget docs (#4318) * docs: added how to create widget docs * remove development guide * added types * docs: added details about createCustomAdminHooks (#4288) * docs: added details about createCustomAdminHooks * small improvement * added missing import * small changes * docs: added onboarding guide (#4320) * docs: added how to create widget docs * remove development guide * docs: added onboarding guide * added types * added recipes link * small adjustments * fixed eslint errors * styling fixes * change to singular product module * updated the what's new section * shorten down medusa react card * updated tailwind configurations * fix build error * fix newspaper icon * style fixes * change modal shadow * fix color of line numbers * fix code fade color * docs: updated admin documentations * eslint fixes * text changes * added a note about beta version * remove empty object argument * remove demo repo url * fix selection color for code headers * general fixes * fix eslint error * changed code theme * added preparation step * changes regarding beta version * Update docs/content/modules/products/serverless-module.md Co-authored-by: Riqwan Thamir <rmthamir@gmail.com> * Update docs/content/modules/products/serverless-module.md Co-authored-by: Riqwan Thamir <rmthamir@gmail.com> --------- Co-authored-by: Riqwan Thamir <rmthamir@gmail.com> Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>
199 lines
8.2 KiB
CSS
199 lines
8.2 KiB
CSS
/* You can override the default Infima variables here. */
|
|
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');
|
|
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono&display=swap');
|
|
|
|
:root {
|
|
/* Base Styles */
|
|
--ifm-hr-margin-vertical: theme(margin.2);
|
|
--ifm-leading: theme(lineHeight.DEFAULT);
|
|
--ifm-list-left-padding: theme(spacing.1);
|
|
|
|
/* Colors */
|
|
--ifm-color-primary: theme(colors.medusa.text.base.DEFAULT);
|
|
--ifm-background-color: theme(colors.medusa.bg.base.DEFAULT);
|
|
--ifm-background-surface-color: theme(colors.medusa.bg.subtle.DEFAULT);
|
|
--ifm-color-content: theme(colors.medusa.text.subtle.DEFAULT) !important;
|
|
--ifm-color-content-secondary: var(--ifm-color-content);
|
|
--ifm-base-border-color: theme(colors.medusa.border.base.DEFAULT);
|
|
--ifm-strong-border-color: theme(colors.medusa.border.strong.DEFAULT);
|
|
--ifm-hr-background-color: theme(colors.medusa.border.base.DEFAULT);
|
|
|
|
/* Fonts */
|
|
--ifm-code-font-size: theme(fontSize.body-regular[0]);
|
|
--ifm-font-family-base: theme(fontFamily.base);
|
|
--ifm-font-family-monospace: theme(fontFamily.monospace);
|
|
--ifm-font-size-base: theme(fontSize.body-regular[0]);
|
|
--ifm-line-height-base: theme(fontSize.body-regular[1].lineHeight);
|
|
--ifm-font-weight-base: theme(fontSize.body-regular[1].fontWeight);
|
|
|
|
/* Headings */
|
|
/** Due to how docusaurus styles headings, the styles are applied on h1, h2, and h3 again in _docusaurus **/
|
|
--ifm-color-headers: var(--ifm-color-primary);
|
|
--ifm-h1-font-size: theme(fontSize.h1[0]);
|
|
--ifm-h1-line-height: theme(fontSize.h1[1].lineHeight);
|
|
--ifm-h1-weight: theme(fontSize.h1[1].fontWeight);
|
|
--ifm-h2-font-size: theme(fontSize.h2[0]);
|
|
--ifm-h2-line-height: theme(fontSize.h2[1].lineHeight);
|
|
--ifm-h2-weight: theme(fontSize.h2[1].fontWeight);
|
|
--ifm-h3-font-size: theme(fontSize.h3[0]);
|
|
--ifm-h3-line-height: theme(fontSize.h3[1].lineHeight);
|
|
--ifm-h3-weight: theme(fontSize.h3[1].fontWeight);
|
|
--ifm-h4-font-size: var(--ifm-font-size-base);
|
|
|
|
/* Links */
|
|
--ifm-link-color: var(--ifm-color-primary);
|
|
--ifm-link-hover-color: var(--ifm-color-content);
|
|
--ifm-link-decoration: none;
|
|
--ifm-link-hover-decoration: none;
|
|
|
|
/* Sidebar */
|
|
--ifm-menu-link-padding-vertical: 6px;
|
|
--ifm-menu-link-padding-horizontal: theme(margin.1);
|
|
--ifm-menu-color: theme(colors.medusa.text.subtle.DEFAULT);
|
|
--ifm-menu-color-active: theme(colors.medusa.text.base.DEFAULT);
|
|
--ifm-menu-color-background-hover: theme(colors.medusa.bg.base.hover.DEFAULT);
|
|
--ifm-menu-color-background-active: theme(colors.medusa.bg.base.pressed.DEFAULT);
|
|
|
|
/* Toc */
|
|
--ifm-toc-border-color: theme(colors.medusa.border.base.DEFAULT);
|
|
--ifm-toc-link-color: theme(colors.medusa.text.subtle.DEFAULT);
|
|
--ifm-toc-padding-horizontal: theme(padding.1);
|
|
|
|
/* Navbar */
|
|
--ifm-navbar-background-color: var(--ifm-background-color);
|
|
--ifm-navbar-shadow: theme(boxShadow.navbar);
|
|
--ifm-navbar-padding-vertical: 12px;
|
|
--ifm-navbar-padding-horizontal: theme(padding[1.5]);
|
|
--ifm-navbar-item-padding-vertical: 6px;
|
|
--ifm-navbar-item-padding-horizontal: theme(padding[1]);
|
|
--ifm-navbar-height: theme(height.navbar);
|
|
--ifm-navbar-link-hover-color: theme(colors.medusa.text.base.DEFAULT);
|
|
--ifm-navbar-link-color: theme(colors.medusa.text.subtle.DEFAULT);
|
|
|
|
/* Inline Code */
|
|
--ifm-code-border-radius: theme(borderRadius.DEFAULT);
|
|
--ifm-code-padding-horizontal: theme(padding[0.5]);
|
|
--ifm-code-background: theme(colors.medusa.bg.subtle.DEFAULT) !important;
|
|
|
|
/* Code Blocks */
|
|
--ifm-pre-background: theme(colors.medusa.code.block.bg);
|
|
--ifm-pre-padding: theme(padding.1);
|
|
|
|
/* Tabs */
|
|
--ifm-tabs-color-active: var(--ifm-color-primary);
|
|
|
|
/* Tooltip */
|
|
--rt-opacity: theme(opacity.100) !important;
|
|
--rt-color-dark: theme(colors.medusa.bg.base.DEFAULT) !important;
|
|
--rt-color-white: var(--ifm-color-content) !important;
|
|
|
|
/* Footer */
|
|
--ifm-footer-color: theme(colors.medusa.text.muted.DEFAULT);
|
|
--ifm-footer-background-color: transparent;
|
|
--ifm-footer-padding-horizontal: 0;
|
|
--ifm-footer-link-color: var(--ifm-color-content);
|
|
|
|
/* Search */
|
|
--docsearch-searchbox-background: theme(colors.medusa.bg.field.DEFAULT) !important;
|
|
--docsearch-searchbox-focus-background: theme(colors.medusa.bg.field.hover.DEFAULT) !important;
|
|
--docsearch-searchbox-shadow: none !important;
|
|
--docsearch-modal-height: 472px !important;
|
|
--docsearch-modal-background: theme(colors.medusa.bg.base.DEFAULT) !important;
|
|
--docsearch-modal-shadow: theme(boxShadow.modal) !important;
|
|
--docsearch-container-background: theme(colors.medusa.bg.overlay.DEFAULT) !important;
|
|
--docsearch-key-gradient: theme(colors.medusa.bg.component.DEFAULT) !important;
|
|
--docsearch-muted-color: theme(colors.medusa.text.subtle.DEFAULT) !important;
|
|
--docsearch-spacing: 12px theme(spacing[1.5]) !important;
|
|
--docsearch-highlight-color: theme(colors.medusa.text.muted.DEFAULT) !important;
|
|
--docsearch-text-color: var(--ifm-color-primary) !important;
|
|
--docsearch-hit-background: var(--docsearch-modal-background) !important;
|
|
--docsearch-hit-height: auto !important;
|
|
--docsearch-hit-active-color: var(--docsearch-text-color) !important;
|
|
--docsearch-footer-height: 40px !important;
|
|
|
|
/* Announcement Bar */
|
|
--docusaurus-announcement-bar-height: auto !important;
|
|
|
|
/* Tables */
|
|
--ifm-table-border-color: theme(colors.medusa.border.base.DEFAULT);
|
|
--ifm-table-head-background: var(--ifm-background-surface-color);
|
|
--ifm-table-head-color: var(--ifm-color-primary);
|
|
--ifm-table-head-font-weight: theme(fontSize.body-regular-plus[1].fontWeight);
|
|
--ifm-table-stripe-background: var(--ifm-background-surface-color) !important;
|
|
}
|
|
|
|
html[data-theme="dark"] {
|
|
/* Colors */
|
|
--ifm-background-color: theme(colors.medusa.bg.subtle.dark);
|
|
--ifm-background-surface-color: theme(colors.medusa.bg.base.dark);
|
|
--ifm-hr-background-color: theme(colors.medusa.border.base.dark);
|
|
--ifm-color-primary: theme(colors.medusa.text.base.dark);
|
|
--ifm-color-content: theme(colors.medusa.text.subtle.dark) !important;
|
|
--ifm-base-border-color: theme(colors.medusa.border.base.dark);
|
|
--ifm-strong-border-color: theme(colors.medusa.border.strong.dark);
|
|
|
|
/* Sidebar */
|
|
--ifm-menu-color: theme(colors.medusa.text.subtle.dark);
|
|
--ifm-menu-color-active: theme(colors.medusa.text.base.dark);
|
|
--ifm-menu-color-background-hover: theme(colors.medusa.bg.subtle.hover.dark);
|
|
--ifm-menu-color-background-active: theme(colors.medusa.bg.subtle.pressed.dark);
|
|
|
|
/* Toc */
|
|
--ifm-toc-border-color: theme(colors.medusa.border.base.dark);
|
|
--ifm-toc-link-color: theme(colors.medusa.text.subtle.dark);
|
|
|
|
/* Navbar */
|
|
--ifm-navbar-shadow: theme(boxShadow.navbar-dark);
|
|
--ifm-navbar-link-hover-color: theme(colors.medusa.text.base.dark);
|
|
--ifm-navbar-link-color: theme(colors.medusa.text.subtle.dark);
|
|
|
|
/* Inline Code */
|
|
--ifm-code-background: theme(colors.medusa.bg.base.dark) !important;
|
|
|
|
/* Tooltip */
|
|
--rt-color-dark: theme(colors.medusa.bg.base.dark) !important;
|
|
|
|
/* Footer */
|
|
--ifm-footer-color: theme(colors.medusa.text.muted.dark);
|
|
|
|
/* Search */
|
|
--docsearch-searchbox-background: theme(colors.medusa.bg.field.dark) !important;
|
|
--docsearch-searchbox-focus-background: theme(colors.medusa.bg.field.hover.dark) !important;
|
|
--docsearch-modal-background: theme(colors.medusa.bg.base.dark) !important;
|
|
--docsearch-modal-shadow: theme(boxShadow.modal-dark) !important;
|
|
--docsearch-container-background: theme(colors.medusa.bg.overlay.dark) !important;
|
|
--docsearch-key-gradient: theme(colors.medusa.bg.component.dark) !important;
|
|
--docsearch-muted-color: theme(colors.medusa.text.subtle.dark) !important;
|
|
--docsearch-highlight-color: theme(colors.medusa.text.muted.dark) !important;
|
|
|
|
/* Tables */
|
|
--ifm-table-border-color: theme(colors.medusa.border.base.dark);
|
|
}
|
|
|
|
@media screen and (min-width: 1441px) {
|
|
:root {
|
|
/** Table of Content **/
|
|
--ifm-toc-width: calc(2 / 12 * 100%);
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 1440px) {
|
|
:root {
|
|
/** Table of Content **/
|
|
--ifm-toc-width: calc(3 / 12 * 100%);
|
|
}
|
|
}
|
|
|
|
@media (min-width: 997px) {
|
|
:root {
|
|
--docusaurus-announcement-bar-height: 30px;
|
|
}
|
|
}
|
|
|
|
.alert {
|
|
--ifm-code-background: theme(colors.medusa.bg.subtle.DEFAULT) !important;
|
|
}
|
|
|
|
html[data-theme="dark"] .alert {
|
|
--ifm-code-background: theme(colors.medusa.bg.base.dark) !important;
|
|
} |