Skip to content

Commit

Permalink
Merge branch 'main' into fix/WEB-338-quote-blocks-alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
carlagn authored Aug 14, 2024
2 parents 5ce58c8 + 2d79108 commit ff96c7a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
5 changes: 5 additions & 0 deletions src/css/docsearch.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@
color: rgb(49, 130, 206) !important;
}

.DocSearch-Cancel {
--docsearch-highlight-color: var(--ifm-font-color-base);
margin: auto 0;
}

.DocSearch-HitsFooter > a {
display: none;
}
Expand Down
8 changes: 4 additions & 4 deletions src/css/theming.css
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ html[data-theme="dark"] {
--orm-card-bg: var(--gray-900);
--grid-border-color: var(--gray-700);
--community-bgd-color: var(--gray-900);
--shadow-card-bg: var(--gray-900);
--shadow-card-bg: var(--gray-1000);
--badge-color: rgb(247, 250, 252);
--badge-bg-color: rgb(45, 55, 72);
--ifm-card-background-color: var(--gray-900);
Expand All @@ -206,7 +206,7 @@ html[data-theme="dark"] {
--selection-bgd-color: #0c344b;
--white-color: #ffffff;
--link-color: #3182ce;
--code-bgd-color: #2d3748;
--code-bgd-color: #1A202C;
--code-inline-bgd-color: #2d3748;
--list-bullet-color: #a0aec0;
--search-highlight-bg-color: #ebf8ff;
Expand Down Expand Up @@ -410,7 +410,7 @@ html[data-theme="dark"] {
--orm-card-bg: var(--gray-900);
--grid-border-color: var(--gray-700);
--community-bgd-color: var(--gray-900);
--shadow-card-bg: var(--gray-900);
--shadow-card-bg: var(--gray-1000);
--badge-color: rgb(247, 250, 252);
--badge-bg-color: rgb(45, 55, 72);
--code-bg: #1a202c;
Expand All @@ -423,7 +423,7 @@ html[data-theme="dark"] {
--white-color: #ffffff;
--link-color: #3182ce;
--ifm-link-hover-color: #5196d7;
--code-bgd-color: #2d3748;
--code-bgd-color: #1A202C;
--code-inline-bgd-color: #2d3748;
--list-bullet-color: #a0aec0;
--search-highlight-bg-color: #ebf8ff;
Expand Down
3 changes: 2 additions & 1 deletion src/theme/MDXComponents.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,10 @@ const TopBlock: React.FC<React.PropsWithChildren> = ({
const CodeWithResult: React.FC<{ children: React.ReactElement[] }> = ({
children,
outputResultText,
expanded = false,
...rest
}: any) => {
const [show, setShow] = useState<boolean>(false);
const [show, setShow] = useState<boolean>(expanded);
return (
<div className={styles.codeWithResult} {...rest}>
<div className={styles.cmd}>{children[0]}</div>
Expand Down

0 comments on commit ff96c7a

Please sign in to comment.