|
4 | 4 | * work well for content-centric websites. |
5 | 5 | */ |
6 | 6 |
|
7 | | -/* @import url('https://fonts.cdnfonts.com/css/uber-move-text'); */ |
8 | | -/* @import url('https://fonts.cdnfonts.com/css/uber-move-2'); */ |
| 7 | +@import url('fonts.css'); |
9 | 8 |
|
10 | | -/* https://baseweb.design/guides/theming/#colors */ |
11 | 9 | :root { |
12 | | - --ifm-color-primary: #000000; |
13 | | - --ifm-color-primary-dark: #363636; |
14 | | - --ifm-color-primary-darker: #343434; |
15 | | - --ifm-color-primary-darkest: #161616; |
16 | | - --ifm-color-primary-light: #DEDEDE; |
17 | | - --ifm-color-primary-lighter: #DEDEDE; |
18 | | - --ifm-color-primary-lightest: #FFFFFF; |
19 | | - --ifm-code-font-size: 95%; |
20 | | - --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3); |
21 | | - |
22 | | - /* --ifm-font-family-base: '"UberMoveText", system-ui, "Helvetica Neue", Helvetica, Arial, sans-serif'; |
23 | | - --ifm-font-family-monospace: '"UberMove", UberMoveText, system-ui, "Helvetica Neue", Helvetica, Arial, sans-serif'; |
24 | | - --ifm-heading-font-family: '"UberMoveMono", "Lucida Console", Monaco, monospace'; */ |
25 | | -} |
| 10 | + /* |
| 11 | + Verdana could provide good fallback. |
| 12 | + UberMove-Bold used for headings, |
| 13 | + UberMoveText-Regular for body |
| 14 | + system-ui, Helvetica for fallback |
| 15 | + */ |
| 16 | + --ifm-font-family-base: UberMoveText, system-ui, "Helvetica Neue", Helvetica, Arial, sans-serif; |
| 17 | + --ifm-font-family-monospace: UberMoveMono, UberMove, UberMoveText, system-ui, "Helvetica Neue", Helvetica, Arial, sans-serif; |
| 18 | + --ifm-heading-font-family: UberMove, UberMoveMono, "Lucida Console", Monaco, monospace; |
| 19 | + |
| 20 | + --ifm-font-color-base: #000000; |
| 21 | + --ifm-link-color: #276ef1; |
26 | 22 |
|
| 23 | + --ifm-color-primary: #5B4636; /* A rich brown for primary text and key elements */ |
| 24 | + --ifm-color-primary-dark: #45362A; /* A darker shade for headings or important elements */ |
| 25 | + --ifm-color-primary-darker: #2E241C; /* Even darker for small accents or dividers */ |
| 26 | + --ifm-color-primary-darkest: #1A140E; /* The darkest shade for maximum contrast areas */ |
| 27 | + --ifm-color-primary-light: #FFF1D5; /* A slightly darker variant of Cosmic Latte for backgrounds */ |
| 28 | + --ifm-color-primary-lighter: #FFF5DB; /* A lighter variant for secondary UI areas */ |
| 29 | + --ifm-color-primary-lightest: #FFF8E7; /* Cosmic Latte as the base lightest color */ |
| 30 | + --ifm-code-font-size: 100%; /* Ensure code font size is clear and legible */ |
| 31 | + --docusaurus-highlighted-code-line-bg: rgba(91, 70, 54, 0.1); /* Subtle highlight for code lines */ |
| 32 | +} |
27 | 33 | [data-theme='dark'] { |
28 | | - --ifm-color-primary: #25c2a0; |
29 | | - --ifm-color-primary-dark: #DEDEDE; |
30 | | - --ifm-color-primary-darker: #868686; |
31 | | - --ifm-color-primary-darkest: #000000; |
32 | | - --ifm-color-primary-light: #868686; |
33 | | - --ifm-color-primary-lighter: #DEDEDE; |
34 | | - --ifm-color-primary-lightest: #FFFFFF; |
35 | | - --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3); |
| 34 | + |
| 35 | + --ifm-font-color-base: #FFE6CC; |
| 36 | + --ifm-link-color: #FFF8E7; |
| 37 | + |
| 38 | + --ifm-color-primary: #FFE6CC; /* A warm cream for primary text and key elements */ |
| 39 | + --ifm-color-primary-dark: #CCB3A1; /* A slightly muted cream for secondary text */ |
| 40 | + --ifm-color-primary-darker: #996F6F; /* A deeper, warm accent color */ |
| 41 | + --ifm-color-primary-darkest: #2E241C; /* Deep brown for the darkest contrast areas */ |
| 42 | + --ifm-color-primary-light: #4A3B2D; /* A subtle brown shade for UI elements */ |
| 43 | + --ifm-color-primary-lighter: #5B4636; /* Rich brown for secondary elements */ |
| 44 | + --ifm-color-primary-lightest: #FFF8E7; /* Cosmic Latte as the highlight */ |
| 45 | + --docusaurus-highlighted-code-line-bg: rgba(255, 230, 204, 0.1); /* Warm tone for code line highlights */ |
| 46 | +} |
| 47 | + |
| 48 | +.hero.hero--primary[data-theme='light'] { |
| 49 | + --ifm-hero-background-color: #1A140E; /* A warm background color for hero sections */ |
| 50 | +} |
| 51 | +.hero.hero--primary[data-theme='dark'] { |
| 52 | + --ifm-hero-background-color: #FFE6CC; /* A darker background color for dark mode hero sections */ |
| 53 | +} |
| 54 | + |
| 55 | +html[data-theme='light'] .DocSearch-Hit { |
| 56 | + --docsearch-highlight-color: #276ef1; /* Highlight color for search results */ |
| 57 | +} |
| 58 | + |
| 59 | +html[data-theme='dark'] .DocSearch-Hit,.DocSearch-Hit-path { |
| 60 | + --docsearch-highlight-color: #276ef1; /* Highlight color for search results */ |
36 | 61 | } |
0 commit comments