![]() One interesting element is that this problem seems less obvious when presented without the full context of the UI: If you're not following, I feel this is made more obvious when there are lighter elements on the screen, such as when hovering over the codeblock: More so, the codeblocks themselves seem almost alien against the background - like they really don't belong there. Here are a few screenshots demonstrating what I mean.Īs you can see from the above screenshot, the syntax highlighting in the codeblocks is fighting for the attention of the viewer, and almost seems to shimmer due to the stark contrast against the codeblock's dark background. I think this off-ness is rooted in the contrast between the background of the code-block, and the background of the message. I think this is most obvious when hovering over the codeblock, but still noticably not great when just looking at them. In case html is used, no other options should be provided.This is totally a subjective thing, but I find the background coloring of the code blocks in darktheme to be a bit off, at least when compared to the rest of the app. Renders the html pass-through instead of a simple link. The baseUrl will be automatically prepended to this value.Ī full-page navigation, used for navigating outside of the website. NameĬlient-side routing, used for navigating within the website. Multi-column footer links have a title and a list of FooterItems for each column. There are two types of footer configurations: multi-column footers and simple footers. The target attribute of the link controls whether the link is opened in a new tab, the current one, or otherwise. Link to navigate to when the logo is clicked.Ĭalculated based on href (external links will open in a new tab, all others in the current one). Base URL is appended by default.Īn alternative image URL to use in dark mode. To improve dark mode support, you can also set a different logo for this mode. ![]() In addition, you can override a value for the target attribute of logo link, it can come in handy if you are hosting docs website in a subdirectory of your main website, and in which case you probably do not need a link in the logo to the main website will open in a new tab. Although you can specify your own URL for the logo, if it is an external link, it will open in a new tab. Logo URL is set to base URL of your site by default. Sets the navbar style, ignoring the dark/light theme. ![]() Whether the navbar is hidden when the user scrolls down. 'We are looking to revamp our docs, please fill this survey' ,Ī list of navbar items. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |