Skip to content

Commit

Permalink
chore: way better landing page
Browse files Browse the repository at this point in the history
  • Loading branch information
paoloricciuti committed May 21, 2024
1 parent ad54844 commit 13ea9b8
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 18 deletions.
46 changes: 46 additions & 0 deletions docs/src/assets/bg.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/src/assets/houston.webp
Binary file not shown.
37 changes: 19 additions & 18 deletions docs/src/styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,36 +2,37 @@
:root {
--sl-color-accent-low: #421107;
--sl-color-accent: #bd2b00;
--sl-color-accent-high: #f7b7a7;
--sl-color-accent-high: #fff0eb;
--sl-color-white: #ffffff;
--sl-color-gray-1: #f1edea;
--sl-color-gray-2: #c5c1be;
--sl-color-gray-3: #928a84;
--sl-color-gray-4: #5e5651;
--sl-color-gray-5: #3e3732;
--sl-color-gray-6: #2c2521;
--sl-color-black: #1b1715;
--sl-color-gray-1: #eeeeee;
--sl-color-gray-2: #c2c2c2;
--sl-color-gray-3: #8b8b8b;
--sl-color-gray-4: #585858;
--sl-color-gray-5: #383838;
--sl-color-gray-6: #272727;
--sl-color-black: #181818;
}

/* Light mode colors. */
:root[data-theme='light'] {
--sl-color-accent-low: #fbcabe;
--sl-color-accent: #c02c00;
--sl-color-accent-high: #5f1100;
--sl-color-white: #1b1715;
--sl-color-gray-1: #2c2521;
--sl-color-gray-2: #3e3732;
--sl-color-gray-3: #5e5651;
--sl-color-gray-4: #928a84;
--sl-color-gray-5: #c5c1be;
--sl-color-gray-6: #f1edea;
--sl-color-gray-7: #f8f6f5;
--sl-color-accent-high: #521400;
--sl-color-white: #181818;
--sl-color-gray-1: #272727;
--sl-color-gray-2: #383838;
--sl-color-gray-3: #585858;
--sl-color-gray-4: #8b8b8b;
--sl-color-gray-5: #c2c2c2;
--sl-color-gray-6: #eeeeee;
--sl-color-gray-7: #f6f6f6;
--sl-color-black: #ffffff;
}

[data-has-hero] {
& body {
background: linear-gradient(var(--sl-color-bg), var(--sl-color-accent));
background-image: url(../assets/bg.svg);
background-size: cover;
}

& header {
Expand Down

0 comments on commit 13ea9b8

Please sign in to comment.