Skip to content

Commit 824cfb9

Browse files
authored
Merge pull request #10968 from marmelab/headless-doc-logo
[Doc] Add logo to `ra-core` documentation
2 parents 827f064 + d1de5c7 commit 824cfb9

File tree

4 files changed

+9
-1
lines changed

4 files changed

+9
-1
lines changed

docs_headless/astro.config.mjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ export default defineConfig({
2424
href: 'https://github.com/marmelab/react-admin',
2525
},
2626
],
27+
logo: {
28+
light: './public/logo-light.svg',
29+
dark: './public/logo-dark.svg',
30+
alt: 'ra-core',
31+
},
2732
head: [
2833
// add Umami analytics script tag.
2934
{

docs_headless/public/logo-dark.svg

Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading

docs_headless/src/styles/global.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,12 @@
88
--sl-color-bg-nav: var(--sl-color-black);
99
--sl-color-bg: var(--sl-color-black);
1010
--sl-color-bg-sidebar: var(--sl-color-black);
11+
--sl-color-hairline-shade: var(--sl-color-gray-6);
1112
--sl-color-accent: #bd0249;
1213
--sl-color-accent-high: #ff78ac;
1314
}
1415

15-
img.icon {
16+
img.icon {
1617
display: inline;
1718
box-shadow: none;
1819
margin: 0;

0 commit comments

Comments
 (0)