Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Dune_Favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
44 changes: 0 additions & 44 deletions custom.js
Original file line number Diff line number Diff line change
@@ -1,47 +1,3 @@
(function loadIBMPlexSans() {
const head = document.head;

[
{ rel: "preconnect", href: "https://fonts.googleapis.com" },
{ rel: "preconnect", href: "https://fonts.gstatic.com", crossorigin: "" },
].forEach((attrs) => {
const link = Object.assign(document.createElement("link"), attrs);
head.appendChild(link);
});

const fontLink = document.createElement("link");
fontLink.rel = "stylesheet";
fontLink.href =
"https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600;700&display=swap";
head.appendChild(fontLink);

const style = document.createElement("style");
style.textContent = `
:root {
--font-sans: "IBM Plex Sans", system-ui, -apple-system, BlinkMacSystemFont,
"Segoe UI", Roboto, Helvetica, Arial, sans-serif;
--font-mono: "IBM Plex Mono", monospace;
}

body, #content-area, #sidebar, #navbar {
font-family: var(--font-sans);
}

h1, h2, h3, h4, h5, h6 {
font-family: var(--font-sans);
font-weight: 600;
}

code, kbd, pre, samp {
font-family: var(--font-mono);
font-feature-settings: normal;
font-variation-settings: normal;
font-size: 1em;
}
`;
head.appendChild(style);
})();

(function hideDefaultGrayLabels() {
// We include default values in OpenAPI endpoints. Hide the "default:" label on the API page; it should only appear in the playground.
const classSelector = '.text-gray-400.dark\\:text-gray-500';
Expand Down
19 changes: 11 additions & 8 deletions docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,18 @@
"$schema": "https://mintlify.com/docs.json",
"theme": "mint",
"name": "Sim by Dune",
"favicon": "/dune.png",
"favicon": "/Dune_Favicon.svg",
"colors": {
"primary": "#000000",
"light": "#FFFFFF",
"dark": "#000000"
"primary": "#0f0f15",
"light": "#ffffff",
"dark": "#0f0f15"
},
"logo": {
"light": "/logo/sim-logo-new-light.svg",
"dark": "/logo/sim-logo-new-dark.svg"
},
"fonts": {
"family": "Geist"
},
"navigation": {
"tabs": [
Expand Down Expand Up @@ -186,10 +193,6 @@
"file": "svm/openapi/transactions.json"
}
],
"logo": {
"light": "/logo/sim-logo-light.svg",
"dark": "/logo/sim-logo-dark.svg"
},
"navbar": {
"links": [],
"primary": {
Expand Down
7 changes: 7 additions & 0 deletions logo/sim-logo-new-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions logo/sim-logo-new-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,23 @@ a.link:not(.nav-tabs-item){
#table-of-contents .toc-item.relative[data-depth="1"] {
display: none;
}

/* Styles for the new brand */

#topbar-cta-button > a > span,
#navigation-items .sidebar-group > li > a,
#sidebar-group > li > a,
#search-bar-entry,
.chat-assistant-floating-input > div {
border-radius: 9999px;
}

#page-context-menu > button:first-child {
border-top-left-radius: 9999px;
border-bottom-left-radius: 9999px;
}

#page-context-menu > button:last-child {
border-top-right-radius: 9999px;
border-bottom-right-radius: 9999px;
}