diff --git a/GitHubDarkMode Extension/script.js b/GitHubDarkMode Extension/script.js index c6d4cc7..0bf28f2 100644 --- a/GitHubDarkMode Extension/script.js +++ b/GitHubDarkMode Extension/script.js @@ -9,988 +9,110 @@ document.addEventListener("DOMContentLoaded", function(event) { var style = document.createElement('style'); // Set \`style.innerHTML\` to the compressed [CSS](../styles/styles.css). style.innerHTML = `@media (prefers-color-scheme: dark) { - .bg-gray-light { - background-color: #24292e!important; - } - .text-gray { - color: #c7d2de!important; - } - a { - color: #6aaaf3; - } - .UnderlineNav-octicon { - color: #d8e2ec; - } - .UnderlineNav-item { - color: #d8e2ec; - } - .Counter { - color: #d8e2ec; - background-color: rgb(124 127 132 / 50%); - } - .btn { - color: #d8e2ec; - background-color: #24292e; - box-shadow: 0 1px 0 rgb(21 24 27 / 4%), inset 0 1px 0 hsl(0deg 0% 34% / 25%); - } - .social-count { - color: #d8e2ec; - background-color: #24292e; - } - body { - color: #d8e2ec; - background-color: #1f2327; - } - .signup-prompt-bg { - background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, #151515), linear-gradient(70deg, #1a1f23 32%, #202721); - } - .link-gray { - color: #7f8b98!important; - } - .btn.hover, .btn:hover, [open]>.btn { - background-color: #2d333a; - } - .topic-tag { - background-color: #2b3035; - } - .delete-topic-button, .topic-tag, .topic-tag-action { - color: #6aaaf3; - } - .Box-header--blue { - background-color: #24292e; - border-color: #3d4650; - } - .team-mention, .user-mention { - color: #acc3da; - } - .link-gray-dark { - color: #24292e!important; - } - .Box-row--focus-gray.navigation-focus { - background-color: #2b3035; - } - .Box-row { - border-top: 1px solid #343435; - } - .link-gray-dark { - color: #9ab4ce!important; - } - .Box { - background-color: #24292e; - border: 1px solid #45474a; - border-radius: 6px; - } - .bg-white { - background-color: #1f2327!important; - } - .markdown-body h1, .markdown-body h2 { - border-bottom: 1px solid #646669; - } - .link-gray:hover { - color: #6aaaf3!important; - } - .BorderGrid-cell { - border: 1px solid #676869; - } - .muted-link { - color: #8894a2!important; - } - .Progress { - background-color: #323940; - } - .text-gray-dark { - color: #a5bbd2!important; - } - .markdown-body .highlight pre, .markdown-body pre { - background-color: #1f2327; - } - .pl-pds, .pl-s, .pl-s .pl-pse .pl-s1, .pl-sr, .pl-sr .pl-cce, .pl-sr .pl-sra, .pl-sr .pl-sre { - color: #2c7bd8; - } - .border-gray-light { - border-color: #545658!important; - } - .Box-body { - border-bottom: 1px solid #424346; - } - .social-count:hover { - color: #6aaaf3; - } - .link-gray-dark:hover, .link-hover-blue:hover { - color: #6aaaf3!important; - } - .hx_avatar_stack_commit .AvatarStack-body { - background-color: transparent; - } - .UnderlineNav { - box-shadow: inset 0 -1px 0 #484a4c; - } - .UnderlineNav-item:focus, .UnderlineNav-item:hover { - border-bottom-color: #484a4c; - } - .topic-tag-link:hover { - background-color: #626b73; - } - .form-control, .form-select { - color: #d8e2ec; - background-color: #1f2327; - border: 1px solid #45474a; - box-shadow: inset 0 1px 0 rgba(56, 57, 58, 0.2); - } - .border-bottom { - border-bottom: 1px solid #424346!important; - } - .border-top { - border-top: 1px solid #424346!important; - } - .dropdown-menu { - background-color: #24292e; - border: 1px solid #424346; - box-shadow: 0 8px 24px rgb(50 53 56 / 20%); - } - .dropdown-menu:after { - border-bottom-color: #24292e; - } - .dropdown-item { - color: #c7d2de; - } - .dropdown-item:focus, .dropdown-item:hover { - background-color: #054690; - } - .header-nav-current-user .user-profile-link { - color: #c7d2de; - } - .dropdown-divider { - border-top: 1px solid #424346; - } - .border { - border: 1px solid #424346!important; - } - .bg-gray { - background-color: #1f2327!important; - } - .form-group .form-control { - background-color: #1f2327; - } - .border-right { - border-right: 1px solid #424346!important; - } - .ajax-pagination-form .ajax-pagination-btn { - color: #6aaaf3; - background: #24292e; - border: 1px solid #424346!important; - } - .ajax-pagination-form .ajax-pagination-btn:focus, .ajax-pagination-form .ajax-pagination-btn:hover { - color: #6aaaf3; - background-color: #2d333a; - } - .btn-primary { - background-color: #27713c; - } - .subnav-item { - color: #d8e2ec; - border: 1px solid #424346; - } - .Box-header { - background-color: #24292e; - border: 1px solid #3d4650; - } - .table-list-header-toggle .btn-link.selected, .table-list-header-toggle .btn-link.selected:hover { - color: #d8e2ec; - } - .table-list-header-toggle .btn-link { - color: #bac1c7; - } - .table-list-header-toggle .btn-link:hover { - color: #d8e2ec; - } - @media (min-width: 544px) { - .SelectMenu-modal { - border: 1px solid #424346; - box-shadow: 0 8px 24px rgb(54 58 62 / 20%); - } - .project-header { + body { background-color: #1f2327; } - } - .SelectMenu-modal { - background-color: #24292e; - } - .SelectMenu-item { - background-color: #24292e; - border-bottom: 1px solid #424346; - color: #d8e2ec; - } - .SelectMenu-header { - border-bottom: 1px solid #424346; - } - @media (hover: hover) { - .SelectMenu-item:hover, body:not(.intent-mouse) .SelectMenu-item:focus { - background-color: #404242; + :root { + /* --color-text- */ + --color-text-primary: #d8e2ec; + --color-text-secondary: #99a6b5; + --color-text-tertiary: #d8e2ec; + --color-text-link: #5fafff; + /* --color-bg- */ + --color-bg-primary: #1f2327; + --color-bg-secondary: #24292e; + --color-bg-tertiary: #24292e; + --color-bg-overlay: #24292e; + --color-bg-info: #1f2327; + --color-bg-canvas: #24292e; + --color-bg-canvas-inset: #1f2327; + /* --color-border- */ + --color-border-primary: #424346; + --color-border-secondary: #424346; + --color-border-tertiary: #5e5f63; + --color-border-overlay: #424346; + /* --color-btn- */ + --color-btn-text: #d8e2ec; + --color-btn-bg: #24292e; + --color-btn-hover-bg: #323940; + --color-btn-selected-bg: #505b67; + --color-box-header-blue-bg: #1a334c; + --color-box-header-blue-border: #27496b; + --color-btn-outline-text: #5fafff; + --color-btn-outline-hover-bg: #004ea7; + --color-btn-primary-bg: #217d3b; + /* --color-input- */ + --color-input-bg: #24292e; + --color-input-contrast-bg: #24292e; + --color-input-border: #424346; + /* --color-box- */ + --color-box-bg-info: #24292e; + --color-box-row-blue-bg: #45474a; + /* --color-underlinenav- */ + --color-underlinenav-text: #959DA5; + --color-underlinenav-text-active: #d8e2ec; + --color-underlinenav-text-hover: #d8e2ec; + /* --color-tabnav- */ + --color-tabnav-selected-bg: #24292e; + /* --color-sidenav- */ + --color-sidenav-selected-bg: #2b3138; + /* --color-dropdown- */ + --color-dropdown-shadow: rgb(31, 35, 39) 0px 8px 24px 0px; + /* --color-branch- */ + --color-branch-name-bg: #00396d; + --color-branch-name-link-bg: #45474a; + /* --color-auto- */ + --color-auto-gray-1: #24292e; + --color-auto-gray-2: #424346; + --color-auto-gray-3: #424346; + --color-auto-gray-7: #8b939a; + --color-auto-gray-8: #9fa7af; + --color-auto-gray-9: #d8e2ec; + --color-auto-blue-0: #24292e; + --color-auto-blue-2: rgba(3, 102, 214, 0.2); + --color-auto-blue-9: #5fafff; + --color-auto-green-2: #3f5244; + /* --color-topic- */ + --color-topic-tag-text: var(--color-text-link); + --color-topic-tag-bg: #292e33; + /* --color-timeline- */ + --color-timeline-badge-bg: #24292e; + --color-timeline-text: #99a6b5; + /* --color-state- */ + --color-state-hover-primary-bg: #0256b5; + --color-state-hover-secondary-bg: #2b3138; + /* --color-social- */ + --color-social-count-bg: #24292e; + /* --color-calendar-graph- */ + --color-calendar-graph-day-bg: #24292e; + /* --color-previewable- */ + --color-previewable-comment-form-bg: #24292e; + /* --color-verified- */ + --color-verified-badge-bg: #24292e; + --color-verified-badge-border: #424346; + /* --color-select- */ + --color-select-menu-border-secondary: #424346; + /* --color-diff- */ + --color-diff-blob-num-text: rgba(190, 223, 255, 0.3); + --color-diff-blob-hunk-text: rgba(220, 237, 255, 0.7); + --color-diff-blob-hunk-line-bg: #31373e; + --color-diff-blob-hunk-num-bg: #505b67; + --color-diff-blob-addition-line-bg: #314235; + --color-diff-blob-addition-num-bg: #3f5244; + --color-diff-blob-addition-word-bg: #64906f; + --color-diff-blob-deletion-line-bg: #443e3f; + --color-diff-blob-deletion-num-bg: #635758; + --color-diff-blob-deletion-word-bg: #a7787d; + /* --color-shadow- */ + --color-shadow-large: #1f2327 0px 8px 24px; } - } - .subnav-item:focus, .subnav-item:hover { - background-color: #404242; - } - .input-contrast:focus { - background-color: #24292e; - } - kbd { - color: #d8e2e0; - background-color: #24292e; - border: 1px solid #424346; - box-shadow: inset 0 -1px 0 #46484a; - } - .MarketplaceBackground-buffer { - background: #1f2327; - } - .box-shadow-extra-large { - box-shadow: 0 12px 48px rgba(56, 57, 58, .3)!important; - } - .filter-item:hover { - background-color: #3f4448; - } - .muted-link:hover { - color: #c8e1ff!important; - } - .profile-timeline-card-wrapper { - border-top: 2px solid #1f2327; - border-bottom: 2px solid #1f2327; - } - .discussion-item-icon { - color: #d8e2ec; - background-color: #24292e; - border: 2px solid #424346; - } - .profile-timeline.discussion-timeline:before { - background-color: #424346; - } - .profile-rollup-wrapper+.profile-rollup-wrapper { - border-top: 1px solid #424346; - } - .profile-timeline.discussion-timeline .profile-timeline-month-heading:after { - background-color: #424346; - } - .SelectMenu-item[aria-checked=true] { - color: #a2d0ff; - } - .btn-primary.hover, .btn-primary:hover, [open]>.btn-primary { - background-color: #165a2a; - } - .CopyBlock:active, .CopyBlock:focus, .CopyBlock:hover { - background-color: #24292e; - } - .SelectMenu-filter { - border-bottom: 1px solid #424346; - } - .ellipsis-expander, .hidden-text-expander a { - color: #d8e2ec; - background: #24292e; - } - .notifications-list-item:hover { - background-color: #24292e!important; - } - .notifications-list-item .notification-list-item-link { - color: #dce2ec!important; - } - .notifications-list-item:hover .notification-list-item-link { - color: #bcd5ff!important; - } - .btn.selected, .btn:active, .btn[aria-selected=true] { - background-color: #424648; - box-shadow: inset 0 1px 0 rgb(31 35 39); - } - .btn-outline.disabled, .btn-outline:disabled, .btn-outline[aria-disabled=true] { - color: rgba(3, 102, 214, .5); - background-color: #24292e; - border-color: rgb(66 67 70 / 0.15); - box-shadow: 0 1px 0 rgba(27, 31, 35, .04), inset 0 1px 0 hsl(0deg 0% 0% / 25%); - } - .form-control[disabled], .form-select[disabled] { - background-color: #24292e; - } - .text-gray-light { - color: #93a4b7!important; - } - .flash { - color: #afcae4; - background-color: rgba(39, 58, 78, .8); - border-color: rgba(4, 66, 137, .2); - backdrop-filter: blur(16px); - } - .form-group .form-control:focus { - background-color: #24292e; - } - .Box-row--hover-gray:hover { - background-color: #2b3035; - } - .TimelineItem--condensed .TimelineItem-badge { - background-color: #24292e; - border-radius: 32px; - border: 2px solid #424346; - color: #d8e2ec; - } - .TimelineItem:before { - background-color: #424346; - } - .signed-commit-badge-large, .signed-commit-badge-medium, .signed-commit-badge-small { - border: 1px solid #6b6c71; - } - .markdown-body img { - background-color: transparent; - } - .blob-code-inner { - color: #dce6f1; - } - .breadcrumb strong.final-path { - color: #d8e2ec; - } - .markdown-body table tr { - background-color: #1f2327; - } - .orghead { - background-color: #24292e; - } - .Label--gray, .Label--outline { - border-color: #768084; - } - .select-menu-filters, .select-menu-header { - background-color: #24292e; - border-bottom: 1px solid #424346; - } - .select-menu-modal { - color: #d8e2ec; - background-color: #24292e; - border: 1px solid #424346; - box-shadow: 0 8px 24px rgb(54 58 62 / 20%); - } - .select-menu-divider, .select-menu-header .select-menu-title { - color: #d8e2ec; - } - .select-menu-item { - background-color: #24292e; - border-bottom: 1px solid #424346; - } - .select-menu-item.selected, details-menu .select-menu-item[aria-checked=true], details-menu .select-menu-item[aria-selected=true] { - color: #68b4ff; - } - .select-menu-item.navigation-focus, .select-menu-item.navigation-focus .description-inline, .select-menu-item.navigation-focus.select-menu-action, .select-menu-item.navigation-focus.selected, .select-menu-item.navigation-focus[aria-checked=true], .select-menu-item:focus, .select-menu-item:focus .description-inline, .select-menu-item:focus.select-menu-action, .select-menu-item:focus.selected, .select-menu-item:hover, .select-menu-item:hover .description-inline, .select-menu-item:hover.select-menu-action, .select-menu-item:hover.selected, .select-menu-item[aria-checked=true]:focus, .select-menu-item[aria-checked=true]:hover, .select-menu-item[aria-selected=true] .description-inline, .select-menu-item[aria-selected=true].select-menu-action, .select-menu-item[aria-selected=true]:focus, .select-menu-item[aria-selected=true]:hover { - background-color: #054690; - } - .menu { - background-color: #24292e; - border: 1px solid #45474a; - } - .menu-heading { - color: #d8e2ec; - border-bottom: 1px solid #45474a; - } - .menu-item { - color: #c6d1dc; - border-color: #424346; - } - .table-list { - border-bottom: 1px solid #424346; - } - .menu-item:focus, .menu-item:hover { - background-color: #34393c; - } - .Header { - color: hsl(0deg 0% 0% / 70%); - } - .header-search-current .header-search-wrapper.focus { - background-color: hsl(0deg 0% 0% / 18%); - } - .header-search-current .jump-to-field-active { - color: #d8e2ec!important; - background-color: #373a3e; - } - .header-search-current .jump-to-suggestions-results-container .navigation-item { - border-bottom: 1px solid #424346; - } - .header-search-current .jump-to-suggestions-path { - color: #d8e2ec; - } - .header-search-current .jump-to-suggestions-results-container .navigation-focus .jump-to-suggestions-path, .header-search-current .jump-to-suggestions-results-container [aria-selected=true] .jump-to-suggestions-path { - background: #054690; - } - .rule, hr { - border-bottom: 1px solid #424346; - } - .file-header { - background-color: #24292e; - border-bottom: 1px solid #424346; - } - .tabnav-tab { - color: #d8e2ec; - } - .tabnav-tab.selected, .tabnav-tab[aria-current]:not([aria-current=false]), .tabnav-tab[aria-selected=true] { - color: #d8e2ec; - background-color: #24292e; - border-color: #424346; - } - .file { - border: 1px solid #424346; - } - .cm-s-github-light.CodeMirror { - background: #24292e; - color: #d8e2ec; - } - .cm-s-github-light .CodeMirror-gutters { - background: #1f2327; - } - .cm-s-github-light .CodeMirror-lines { - background: #24292e; - } - .cm-s-github-light .cm-string { - color: #96bae4; - } - @media (min-width: 1012px) { - .border-lg-top, .border-lg-left, .border-lg-right, .border-lg-bottom { - border-color: #424346!important; + .navigation-focus .AvatarStack-body, [aria-selected=true] .AvatarStack-body { + background: transparent; } - } - .commit-form:before { - border-right-color: #424346; - } - .commit-form:after { - border-right-color: #1f2327; - } - .btn-outline:hover, [open]>.btn-outline { - background-color: #003e84; - } - .timeline-comment { - color: #d8e2ec; - background-color: #24292e; - } - .new-discussion-timeline .composer .comment-form-head.tabnav { - background-color: #24292e; - } - .drag-and-drop { - border-color: #424346; - background-color: #24292e; - } - @media (min-width: 768px) { - .composer.composer-responsive .timeline-comment:before { - border-right-color: #424346; - } - .composer.composer-responsive .timeline-comment:after { - border-right-color: #24292e; - } - .composer.composer-responsive .timeline-comment { - border: 1px solid #424346; + .signup-prompt-bg { + background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, #151515), linear-gradient(70deg, #1a1f23 32%, #202721); } - .page-responsive .previewable-comment-form .comment-form-head.tabnav { - background: #24292e; - } - .border-md { - border: 1px solid #424346!important; - } - } - .gh-header { - background-color: #1f2327; - } - .gh-header-meta { - border-color: #424346; - } - .discussion-sidebar-item+.discussion-sidebar-item { - border-color: #424346; - } - .timeline-comment, .timeline-comment-header { - border-color: #424346; - } - .timeline-comment-header { - background-color: #24292e; - } - .gh-header .gh-header-sticky.is-stuck+.gh-header-shadow { - background-color: rgb(36 41 46 / 0.8); - border-bottom: 1px solid rgb(255 255 255 / 15%); - backdrop-filter: blur(16px); - } - .pagination-loader-container { - background-color: #1f2327; - background-image: none; - } - .discussion-timeline-actions { - background-color: #1f2327; - border-top: 2px solid #424346; - } - .timeline-comment-wrapper { - border-color: #424346; - } - .pl-k { - color: #ff5565; - } - .pl-e, .pl-en { - color: #8d5fe0; - } - .pl-s .pl-s1, .pl-smi { - color: #cde4fb; - } - .pl-ent { - color: #36ca59; - } - .pl-c1, .pl-s .pl-v { - color: #3f91ef; - } - .subnav-link.selected { - color: #d8e2ec!important; - } - .subnav-link { - color: #b6c0ca; - } - .box-shadow-medium { - box-shadow: 0 3px 6px rgb(31 35 39 / 0.15)!important; - } - .tabnav { - border-color: #424346; - } - .Box-footer { - border-color: #424346; - } - .box-shadow-large { - box-shadow: 0 8px 24px rgb(31 35 39 / 0.2)!important; - } - .Popover-message--bottom-left:after, .Popover-message--bottom-right:after, .Popover-message--bottom:after { - border-top-color: #24292e; - } - .TimelineItem-break { - background-color: #1f2327; - border-color: #424346; - } - .page-responsive .previewable-comment-form .comment-form-head.tabnav .toolbar-commenting { - background: #1f2327; - } - .bg-blue-light { - background-color: #1b3752!important; - } - .setup-info-module { - background-color: #24292e; - border-color: #424346; - } - .setup-info-module h2 { - border-color: #424346; - } - .setup-header { - border-color: #424346; - } - .setup-header .lead { - color: #a9b0b7; - } - .note { - color: #a9b0b7; - } - .select-menu-text-filter input { - border-color: #424346; - } - .select-menu-text-filter:first-child:last-child { - border-color: #424346; - } - .subnav-link:hover { - color: #a9b0b7; - } - .Subhead { - border-color: #424346; - } - mark { - color: #aed6ff; - } - .filter-item { - color: #a9b0b7; - } - .markdown-body table td, .markdown-body table th { - border-color: #424346; - } - .markdown-body table tr:nth-child(2n) { - background-color: #24292e; - } - .markdown-body hr { - background-color: #424346; - } - .codesearch-results .repo-list-item+.repo-list-item { - border-top: 1px solid #424346; - } - .pagination a, .pagination em, .pagination span { - color: #d8e2e6; - } - .site-subnav-sticky { - background-color: rgb(31 35 39 / 0.8)!important; - backdrop-filter: blur(16px); - } - .fade-img-to-white-bg:before { - background: linear-gradient(180deg, #1f2327 0, hsl(210 11% 14% / 0)); - } - .fade-img-to-white-bg:after { - background: linear-gradient(0deg, #1f2327 0, hsl(210 11% 14% / 0)); - } - .Box-row--gray { - background-color: #24292e; - } - .pinned-item-name { - color: #d8e2ec; - } - .pinned-item-checkbox:checked+.pinned-item-name { - color: #6aaaf3; - background-color: #24292e; - } - .tabnav-pr .tabnav-tab { - color: #b8c1cc; - } - .tabnav-pr .tabnav-tab.selected { - color: #d8e2ec; - border-color: #424346; - } - .TimelineItem-body { - color: #d8e2ec; - } - .thread-subscription-status { - background-color: #1f2327; - } - .discussion-sidebar-heading { - color: #d8e2ec; - } - .discussion-sidebar-item { - color: #b2bcc5; - } - .branch-action-body { - background-color: #24292e; - } - .branch-action-state-clean .branch-action-body { - border-color: #2b6538; - } - .merge-status-list { - border-color: #424346; - } - .merge-status-item { - background-color: #24292e; - border-color: #424346; - } - .text-emphasized { - color: #b2bcc5; - } - .status-meta { - color: #b2bcc5; - } - .branch-action-body .merge-branch-form, .branch-action-body .merge-message { - background-color: #24292e; - border-color: #424346; - } - .btn-link { - color: #6aaaf3; - } - .previewable-comment-form .comment-form-head.tabnav { - background: #24292e; - } - .timeline-comment-label { - border-color: #424346; - } - .timeline-comment--caret:before { - border-right-color: #424346; - } - .timeline-comment--caret:after { - border-right-color: #24292e; - } - .diffbar { - background-color: #1f2327; - } - .blob-num-expandable, .blob-num-hunk { - background-color: #24292e; - } - .blob-code-hunk { - background-color: #24292e; - } - .blob-num-addition { - background-color: #2f4032; - border-color: #2f4032; - } - .blob-code-addition { - background-color: #2f4032; - } - .blob-num { - color: rgb(199 227 255 / 30%); - } - .blob-num-deletion { - background-color: #483f40; - border-color: #483f40; - } - .blob-code-deletion { - background-color: #483f40; - } - .pr-toolbar.is-stuck { - background-color: #1f2327; - } - .commit-ref { - background-color: #274466; - } - .timeline-comment.current-user .timeline-comment-header { - background-color: #24292e; - border-bottom-color: #424346; - } - .timeline-comment.current-user { - border-color: #424346; - } - .branch-action-body, .branch-action-state-closed-dirty .branch-action-body, .branch-action-state-dirty .branch-action-body, .is-rebasing .branch-action-state-dirty-if-rebasing .branch-action-body { - border-color: #424346; - } - .branch-action-item+.branch-action-item, .branch-action-item+.mergeability-details { - border-color: #424346; - } - .btn.disabled, .btn:disabled, .btn[aria-disabled=true] { - color: #d8e2ec; - background-color: #292f35; - } - .discussion-timeline.team-discussion-timeline .blankslate { - background: #24292e; - } - .range-editor { - background-color: #24292e; - border-color: #424346; - } - .file-diff-split .blob-code+.blob-num { - border-color: #424346; - } - .table-list-header { - background-color: #24292e; - border-color: #424346; - } - .table-list { - border-color: #424346; - } - .table-list-bordered .table-list-cell:first-child { - border-color: #424346; - } - .table-list-bordered .table-list-cell:last-child { - border-color: #424346; - } - .table-list-cell { - border-color: #424346; - } - .orgs-help-shelf { - border-color: #424346; - } - .orgs-help-item-octicon { - background-color: #24292e; - border-color: #424346; - } - .review-thread-reply { - background-color: #24292e; - border-color: #424346; - } - .discussion-post .timeline-inline-comments { - background: transparent; - } - .task-progress .progress-bar { - background-color: #424346; - } - .markdown-body blockquote { - border-color: #424346; - } - .review-thread-reply { - background-color: #24292e; - border-color: #424346; - } - .TimelineItem-badge { - color: #d8e2ec; - background-color: #24292e; - border-color: #424346; - } - .review-comment .reaction-summary-item:not(.add-reaction-btn) { - border-color: #424346; - } - .copyable-terminal { - background-color: #1f2327; - } - .review-thread-reply .inline-comment-form { - background-color: #24292e; - } - .form-group.errored .error { - background-color: #463434; - border-color: #77454b; - } - .home-enterprise-wrapper:before { - background-color: #2b3137; - } - .timeline-comment--caret.current-user:before { - border-right-color: #424346; - } - .timeline-comment--caret.current-user:after { - border-right-color: #24292e; - } - .timeline-comment.current-user .timeline-comment-label { - border-color: #424346; - } - .project-column { - background-color: #24292E; - } - .project-card:hover { - border-color: #727479!important; - } - .comment-reactions.has-reactions { - border-color: #424346; - } - .reaction-summary-item { - border-color: #424346; - } - .project-pane { - background-color: rgba(36, 41, 46, 0.8)!important; - backdrop-filter: blur(16px); - } - .project-issue-body-blur { - background: linear-gradient(0deg, #23282d, hsl(210deg 12% 16% / 0%)); - } - .comment-reactions.has-reactions { - border-color: #424346; - } - .comment-reactions .user-has-reacted { - background-color: #24292e; - } - .reaction-summary-item { - border-color: #424346; - } - .full-commit { - background: #24292e; - border-color: #424346; - } - .full-commit p.commit-title { - color: #acc3da; - } - .full-commit .commit-meta { - background: #1f2327; - border-color: #424346; - } - .commit-sha { - background-color: #24292e; - border-color: #424346; - } - .thread-subscription-status { - border-color: #424346; - } - .upload-enabled textarea { - border-color: #424346; - } - @media (min-width: 768px) { - .border-md-top { - border-color: #424346!important; - } - } - .discussion-post .reply-comment:first-child { - border-color: #424346; - } - .discussion-post .reply-comments-holder:before { - background-color: #424346; - } - .review-comment { - color: #d8e2ec; - } - .notifications-list-item.notification-unread { - background-color: #24292e; - } - .notifications-list-item.notification-unread .notification-list-item-link { - color: #d8e2ec!important; - } - .timeline-comment-header { - color: #d8e2ec; - } - .Popover-message:after { - border-bottom-color: #24292e; - } - .Popover-message:before { - border-bottom-color: #424346; - } - .file-diff-split .empty-cell { - background-color: #24292E; - } - .diff-table tr:not(:last-child) .line-comments { - border-color: #424346; - } - .inline-comment-form { - border-color: #424346; - } - .CheckRun-header { - border-top-color: #424346; - } - .commit-ref { - color: #6aaaf3; - } - .commit-ref .user { - color: #6aaaf3; - } - .user-status-circle-badge { - background-color: #24292e; - border-color: #424346; - } - .session-authentication { - background-color: #1f2327; - } - .session-authentication .auth-form-header { - color: #d8e2ec; - } - .auth-form-body { - background-color: #24292E; - border-color: #424346; - } - .session-authentication .auth-form-body { - border-color: #424346; - } - .subnav-bordered { - border-color: #424346; - } - .org-user-notice-content strong { - color: #fff; - } - .markdown-body h1 .octicon-link, .markdown-body h2 .octicon-link, .markdown-body h3 .octicon-link, .markdown-body h4 .octicon-link, .markdown-body h5 .octicon-link, .markdown-body h6 .octicon-link { - color: #c7d2de; - } - .border-left { - border-left: 1px solid #424346!important; - } - .SelectMenu-footer { - border-color: #424346; - } - .SelectMenu-tabs { - box-shadow: inset 0 -1px 0 #424346; - } - .SelectMenu-tab { - box-shadow: inset 0 -1px 0 #424346; - } - .SelectMenu-tab[aria-selected=true] { - color: #d8e2ec; - background-color: #24292e; - box-shadow: 0 0 0 1px #424346; - } - @media (min-width: 544px) { - .SelectMenu-tab[aria-selected=true] { - border-color: #424346; - } - } - @media (hover: hover) { - .SelectMenu-tab:hover { - color: #d8e2ec; - } - } - .SelectMenu-message { - background-color: #24292e; - border-bottom: 1px solid #424346; - } - .AvatarStack-body { - background: transparent; - } - .branch-name { - background-color: #274466; - } - a.branch-name { - color: #6aaaf3; - } - .UnderlineNav-item.selected, .UnderlineNav-item[aria-current]:not([aria-current=false]), .UnderlineNav-item[role=tab][aria-selected=true] { - color: #d8e2ec; - } - .tabnav-tab:focus, .tabnav-tab:hover { - color: #f0f7ff; - } - .UnderlineNav .Counter { - color: #aeb9c3; - } - }`; + }`; // Append to body.appendChild(style); // If at Explore page diff --git a/GitHubDarkMode.xcodeproj/project.pbxproj b/GitHubDarkMode.xcodeproj/project.pbxproj index 8ca76e6..9a873bf 100644 --- a/GitHubDarkMode.xcodeproj/project.pbxproj +++ b/GitHubDarkMode.xcodeproj/project.pbxproj @@ -397,7 +397,7 @@ CODE_SIGN_ENTITLEMENTS = "GitHubDarkMode Extension/GitHubDarkMode_Extension.entitlements"; CODE_SIGN_IDENTITY = "-"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; + CURRENT_PROJECT_VERSION = 11; DEVELOPMENT_TEAM = N5R4643XP6; ENABLE_HARDENED_RUNTIME = YES; INFOPLIST_FILE = "GitHubDarkMode Extension/Info.plist"; @@ -406,7 +406,7 @@ "@executable_path/../Frameworks", "@executable_path/../../../../Frameworks", ); - MARKETING_VERSION = 0.1.1; + MARKETING_VERSION = 0.2.0; PRODUCT_BUNDLE_IDENTIFIER = "com.louisstudio.GitHubDarkMode-Extension"; PRODUCT_NAME = "$(TARGET_NAME)"; SKIP_INSTALL = YES; @@ -420,7 +420,7 @@ CODE_SIGN_ENTITLEMENTS = "GitHubDarkMode Extension/GitHubDarkMode_Extension.entitlements"; CODE_SIGN_IDENTITY = "-"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; + CURRENT_PROJECT_VERSION = 11; DEVELOPMENT_TEAM = N5R4643XP6; ENABLE_HARDENED_RUNTIME = YES; INFOPLIST_FILE = "GitHubDarkMode Extension/Info.plist"; @@ -429,7 +429,7 @@ "@executable_path/../Frameworks", "@executable_path/../../../../Frameworks", ); - MARKETING_VERSION = 0.1.1; + MARKETING_VERSION = 0.2.0; PRODUCT_BUNDLE_IDENTIFIER = "com.louisstudio.GitHubDarkMode-Extension"; PRODUCT_NAME = "$(TARGET_NAME)"; SKIP_INSTALL = YES; @@ -446,7 +446,7 @@ CODE_SIGN_IDENTITY = "-"; CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 10; + CURRENT_PROJECT_VERSION = 11; DEVELOPMENT_TEAM = N5R4643XP6; ENABLE_HARDENED_RUNTIME = YES; INFOPLIST_FILE = GitHubDarkMode/Info.plist; @@ -454,7 +454,7 @@ "$(inherited)", "@executable_path/../Frameworks", ); - MARKETING_VERSION = 0.1.3; + MARKETING_VERSION = 0.2.0; PRODUCT_BUNDLE_IDENTIFIER = com.louisstudio.GitHubDarkMode; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; @@ -470,7 +470,7 @@ CODE_SIGN_IDENTITY = "-"; CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 10; + CURRENT_PROJECT_VERSION = 11; DEVELOPMENT_TEAM = N5R4643XP6; ENABLE_HARDENED_RUNTIME = YES; INFOPLIST_FILE = GitHubDarkMode/Info.plist; @@ -478,7 +478,7 @@ "$(inherited)", "@executable_path/../Frameworks", ); - MARKETING_VERSION = 0.1.3; + MARKETING_VERSION = 0.2.0; PRODUCT_BUNDLE_IDENTIFIER = com.louisstudio.GitHubDarkMode; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0;