Skip to content

Commit

Permalink
[Docs] Update logo in docs (#4500)
Browse files Browse the repository at this point in the history
* WIP updating Elisa logo; issues with light/dark modes

* Fix SVG in navbar rendering by hardcoding SVG + defining text color in css

* Update readme images

* newline

---------

Co-authored-by: Zongheng Yang <[email protected]>
  • Loading branch information
romilbhardwaj and concretevitamin authored Dec 21, 2024
1 parent ee3cabd commit e596111
Show file tree
Hide file tree
Showing 9 changed files with 166 additions and 134 deletions.
118 changes: 54 additions & 64 deletions docs/source/_static/SkyPilot_wide_dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
119 changes: 55 additions & 64 deletions docs/source/_static/SkyPilot_wide_light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions docs/source/_static/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,15 @@ html[data-theme="light"] {
--pst-color-primary: #176de8;
--pst-color-secondary: var(--pst-color-primary);
--pst-color-text-base: #4c4c4d;
--logo-text-color: #0E2E65;
}

html[data-theme="dark"] {
--pst-color-link: #176de8;
--pst-color-primary: #176de8;
--pst-color-secondary: var(--pst-color-primary);
--pst-color-text-base: #d8d8d8;
--logo-text-color: #D8D8D8;

.bd-sidebar::-webkit-scrollbar {
width: 6px;
Expand Down
5 changes: 0 additions & 5 deletions docs/source/_static/custom.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,9 @@ document.addEventListener('DOMContentLoaded', function () {
document.addEventListener('DOMContentLoaded', () => {
// New items:
const newItems = [
{ selector: '.toctree-l1 > a', text: 'Managed Jobs' },
{ selector: '.toctree-l1 > a', text: 'Pixtral (Mistral AI)' },
{ selector: '.toctree-l1 > a', text: 'Many Parallel Jobs' },
{ selector: '.toctree-l1 > a', text: 'Reserved, Capacity Blocks, DWS' },
{ selector: '.toctree-l1 > a', text: 'Llama 3.2 (Meta)' },
{ selector: '.toctree-l1 > a', text: 'Admin Policy Enforcement' },
{ selector: '.toctree-l1 > a', text: 'Using Existing Machines' },
{ selector: '.toctree-l1 > a', text: 'Concept: Sky Computing' },
];
newItems.forEach(({ selector, text }) => {
document.querySelectorAll(selector).forEach((el) => {
Expand Down
Loading

0 comments on commit e596111

Please sign in to comment.