|
| 1 | +/*! |
| 2 | + * Based on GitHub's light theme variables used by giscus, with small |
| 3 | + * adjustments so the widget sits more naturally inside the MyST site layout. |
| 4 | + * Original theme variables are MIT-licensed by GitHub Inc. |
| 5 | + */ |
| 6 | + |
| 7 | +main { |
| 8 | + --color-prettylights-syntax-comment: #6e7781; |
| 9 | + --color-prettylights-syntax-constant: #0550ae; |
| 10 | + --color-prettylights-syntax-entity: #8250df; |
| 11 | + --color-prettylights-syntax-storage-modifier-import: #24292f; |
| 12 | + --color-prettylights-syntax-entity-tag: #116329; |
| 13 | + --color-prettylights-syntax-keyword: #cf222e; |
| 14 | + --color-prettylights-syntax-string: #0a3069; |
| 15 | + --color-prettylights-syntax-variable: #953800; |
| 16 | + --color-prettylights-syntax-brackethighlighter-unmatched: #82071e; |
| 17 | + --color-prettylights-syntax-invalid-illegal-text: #f6f8fa; |
| 18 | + --color-prettylights-syntax-invalid-illegal-bg: #82071e; |
| 19 | + --color-prettylights-syntax-carriage-return-text: #f6f8fa; |
| 20 | + --color-prettylights-syntax-carriage-return-bg: #cf222e; |
| 21 | + --color-prettylights-syntax-string-regexp: #116329; |
| 22 | + --color-prettylights-syntax-markup-list: #3b2300; |
| 23 | + --color-prettylights-syntax-markup-heading: #0550ae; |
| 24 | + --color-prettylights-syntax-markup-italic: #24292f; |
| 25 | + --color-prettylights-syntax-markup-bold: #24292f; |
| 26 | + --color-prettylights-syntax-markup-deleted-text: #82071e; |
| 27 | + --color-prettylights-syntax-markup-deleted-bg: #ffebe9; |
| 28 | + --color-prettylights-syntax-markup-inserted-text: #116329; |
| 29 | + --color-prettylights-syntax-markup-inserted-bg: #dafbe1; |
| 30 | + --color-prettylights-syntax-markup-changed-text: #953800; |
| 31 | + --color-prettylights-syntax-markup-changed-bg: #ffd8b5; |
| 32 | + --color-prettylights-syntax-markup-ignored-text: #eaeef2; |
| 33 | + --color-prettylights-syntax-markup-ignored-bg: #0550ae; |
| 34 | + --color-prettylights-syntax-meta-diff-range: #8250df; |
| 35 | + --color-prettylights-syntax-brackethighlighter-angle: #57606a; |
| 36 | + --color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f; |
| 37 | + --color-prettylights-syntax-constant-other-reference-link: #0a3069; |
| 38 | + --color-btn-text: #24292f; |
| 39 | + --color-btn-bg: #f4f2ef; |
| 40 | + --color-btn-border: rgb(31 35 40 / 15%); |
| 41 | + --color-btn-shadow: 0 1px 0 rgb(31 35 40 / 4%); |
| 42 | + --color-btn-inset-shadow: inset 0 1px 0 rgb(255 255 255 / 25%); |
| 43 | + --color-btn-hover-bg: #ebe7e2; |
| 44 | + --color-btn-hover-border: rgb(31 35 40 / 15%); |
| 45 | + --color-btn-active-bg: #e6e1dc; |
| 46 | + --color-btn-active-border: rgb(31 35 40 / 15%); |
| 47 | + --color-btn-selected-bg: #ece8e4; |
| 48 | + --color-btn-primary-text: #fff; |
| 49 | + --color-btn-primary-bg: #1f883d; |
| 50 | + --color-btn-primary-border: rgb(31 35 40 / 15%); |
| 51 | + --color-btn-primary-shadow: 0 1px 0 rgb(31 35 40 / 10%); |
| 52 | + --color-btn-primary-inset-shadow: inset 0 1px 0 rgb(255 255 255 / 3%); |
| 53 | + --color-btn-primary-hover-bg: #1a7f37; |
| 54 | + --color-btn-primary-hover-border: rgb(31 35 40 / 15%); |
| 55 | + --color-btn-primary-selected-bg: #176f31; |
| 56 | + --color-btn-primary-selected-shadow: inset 0 1px 0 rgb(0 45 17 / 20%); |
| 57 | + --color-btn-primary-disabled-text: rgb(255 255 255 / 80%); |
| 58 | + --color-btn-primary-disabled-bg: #94d3a2; |
| 59 | + --color-btn-primary-disabled-border: rgb(31 35 40 / 15%); |
| 60 | + --color-action-list-item-default-hover-bg: rgb(208 215 222 / 32%); |
| 61 | + --color-segmented-control-bg: #e8e2dc; |
| 62 | + --color-segmented-control-button-bg: #fbfaf8; |
| 63 | + --color-segmented-control-button-selected-border: #8c959f; |
| 64 | + --color-fg-default: #2a2622; |
| 65 | + --color-fg-muted: #6d635a; |
| 66 | + --color-fg-subtle: #7b726a; |
| 67 | + --color-canvas-default: #fbfaf8; |
| 68 | + --color-canvas-overlay: #ffffff; |
| 69 | + --color-canvas-inset: #f4f1ec; |
| 70 | + --color-canvas-subtle: #f7f4ef; |
| 71 | + --color-border-default: #d8d1c8; |
| 72 | + --color-border-muted: #e6e0d8; |
| 73 | + --color-neutral-muted: rgb(175 184 193 / 20%); |
| 74 | + --color-accent-fg: #0b66d0; |
| 75 | + --color-accent-emphasis: #0b66d0; |
| 76 | + --color-accent-muted: rgb(84 174 255 / 40%); |
| 77 | + --color-accent-subtle: #e3f1ff; |
| 78 | + --color-success-fg: #1a7f37; |
| 79 | + --color-attention-fg: #9a6700; |
| 80 | + --color-attention-muted: rgb(212 167 44 / 40%); |
| 81 | + --color-attention-subtle: #fff8c5; |
| 82 | + --color-danger-fg: #d1242f; |
| 83 | + --color-danger-muted: rgb(255 129 130 / 40%); |
| 84 | + --color-danger-subtle: #ffebe9; |
| 85 | + --color-primer-shadow-inset: inset 0 1px 0 rgb(208 215 222 / 20%); |
| 86 | + --color-scale-gray-1: #ece7e0; |
| 87 | + --color-scale-blue-1: #b6e3ff; |
| 88 | + --color-social-reaction-bg-hover: var(--color-scale-gray-1); |
| 89 | + --color-social-reaction-bg-reacted-hover: var(--color-scale-blue-1); |
| 90 | +} |
| 91 | + |
| 92 | +main { |
| 93 | + color-scheme: light; |
| 94 | +} |
| 95 | + |
| 96 | +main .pagination-loader-container { |
| 97 | + background-image: url("https://github.com/images/modules/pulls/progressive-disclosure-line.svg"); |
| 98 | +} |
| 99 | + |
| 100 | +main .gsc-loading-image { |
| 101 | + background-image: url("https://github.githubassets.com/images/mona-loading-default.gif"); |
| 102 | +} |
| 103 | + |
| 104 | +.gsc-reactions-count { |
| 105 | + font-weight: 600; |
| 106 | +} |
| 107 | + |
| 108 | +.gsc-comment-box { |
| 109 | + border-radius: 10px; |
| 110 | + box-shadow: 0 10px 30px rgb(31 35 40 / 8%); |
| 111 | +} |
| 112 | + |
| 113 | +.gsc-comment-box-textarea, |
| 114 | +.gsc-comment-box-tabs, |
| 115 | +.gsc-comment-box-bottom { |
| 116 | + background-color: var(--color-canvas-overlay); |
| 117 | +} |
| 118 | + |
| 119 | +.gsc-comment-box-textarea:focus-within { |
| 120 | + border-color: var(--color-accent-emphasis); |
| 121 | + box-shadow: 0 0 0 3px rgb(9 105 218 / 12%); |
| 122 | +} |
0 commit comments