docs,api-ref: fix kbd styling (#4995)
* docs: fix kbd styling * additional fixes
This commit is contained in:
@@ -181,11 +181,6 @@ details summary {
|
||||
@apply hidden;
|
||||
}
|
||||
|
||||
.markdown kbd {
|
||||
@apply !font-monospace !bg-medusa-bg-component dark:!bg-medusa-bg-component-dark !text-medusa-fg-subtle dark:!text-medusa-fg-subtle-dark;
|
||||
@apply !rounded-md !border-medusa-border-strong dark:!border-medusa-border-strong-dark !shadow-none;
|
||||
}
|
||||
|
||||
.theme-doc-footer {
|
||||
@apply !mt-0 border-0 !border-t border-solid !border-medusa-border-base dark:!border-medusa-border-base-dark;
|
||||
@apply pt-2;
|
||||
|
||||
@@ -75,7 +75,7 @@
|
||||
/* 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;
|
||||
--ifm-code-background: theme(colors.medusa.tag.neutral.bg.DEFAULT) !important;
|
||||
|
||||
/* Code Blocks */
|
||||
--ifm-pre-background: theme(colors.medusa.code.bg.base.DEFAULT);
|
||||
@@ -154,7 +154,7 @@ html[data-theme="dark"] {
|
||||
--ifm-navbar-link-color: theme(colors.medusa.fg.subtle.dark);
|
||||
|
||||
/* Inline Code */
|
||||
--ifm-code-background: theme(colors.medusa.bg.base.dark) !important;
|
||||
--ifm-code-background: theme(colors.medusa.tag.neutral.bg.dark) !important;
|
||||
|
||||
/* Code Blocks */
|
||||
--ifm-pre-background: theme(colors.medusa.code.bg.base.dark);
|
||||
@@ -200,9 +200,9 @@ html[data-theme="dark"] {
|
||||
}
|
||||
|
||||
.alert {
|
||||
--ifm-code-background: theme(colors.medusa.bg.subtle.DEFAULT) !important;
|
||||
--ifm-code-background: theme(colors.medusa.tag.neutral.bg.DEFAULT) !important;
|
||||
}
|
||||
|
||||
html[data-theme="dark"] .alert {
|
||||
--ifm-code-background: theme(colors.medusa.bg.subtle.dark) !important;
|
||||
--ifm-code-background: theme(colors.medusa.tag.neutral.bg.dark) !important;
|
||||
}
|
||||
Reference in New Issue
Block a user