diff --git a/github-markdown-dark.css b/github-markdown-dark.css index 529b678..3b09f5f 100644 --- a/github-markdown-dark.css +++ b/github-markdown-dark.css @@ -368,6 +368,34 @@ appearance: none; } +.markdown-body .color-fg-accent { + color: #2f81f7 !important; +} + +.markdown-body .color-fg-attention { + color: #d29922 !important; +} + +.markdown-body .color-fg-done { + color: #a371f7 !important; +} + +.markdown-body .flex-items-center { + align-items: center !important; +} + +.markdown-body .mb-1 { + margin-bottom: var(--base-size-4, 4px) !important; +} + +.markdown-body .text-semibold { + font-weight: var(--base-text-weight-medium, 500) !important; +} + +.markdown-body .d-inline-flex { + display: inline-flex !important; +} + .markdown-body::before { display: table; content: ""; @@ -1010,6 +1038,41 @@ clip: auto; } +.markdown-body .QueryBuilder .qb-entity { + color: #d2a8ff; +} + +.markdown-body .QueryBuilder .qb-constant { + color: #79c0ff; +} + .markdown-body ::-webkit-calendar-picker-indicator { filter: invert(50%); } + +.markdown-body .markdown-alert { + padding: 0 1em; + margin-bottom: 16px; + color: inherit; + border-left: .25em solid #30363d; +} + +.markdown-body .markdown-alert>:first-child { + margin-top: 0; +} + +.markdown-body .markdown-alert>:last-child { + margin-bottom: 0; +} + +.markdown-body .markdown-alert.markdown-alert-note { + border-left-color: #2f81f7; +} + +.markdown-body .markdown-alert.markdown-alert-important { + border-left-color: #a371f7; +} + +.markdown-body .markdown-alert.markdown-alert-warning { + border-left-color: #d29922; +} diff --git a/github-markdown-light.css b/github-markdown-light.css index 5fe7d9e..8cf3a7d 100644 --- a/github-markdown-light.css +++ b/github-markdown-light.css @@ -367,6 +367,34 @@ appearance: none; } +.markdown-body .color-fg-accent { + color: #0969da !important; +} + +.markdown-body .color-fg-attention { + color: #9a6700 !important; +} + +.markdown-body .color-fg-done { + color: #8250df !important; +} + +.markdown-body .flex-items-center { + align-items: center !important; +} + +.markdown-body .mb-1 { + margin-bottom: var(--base-size-4, 4px) !important; +} + +.markdown-body .text-semibold { + font-weight: var(--base-text-weight-medium, 500) !important; +} + +.markdown-body .d-inline-flex { + display: inline-flex !important; +} + .markdown-body::before { display: table; content: ""; @@ -1009,6 +1037,41 @@ clip: auto; } +.markdown-body .QueryBuilder .qb-entity { + color: #6639ba; +} + +.markdown-body .QueryBuilder .qb-constant { + color: #0550ae; +} + .markdown-body ::-webkit-calendar-picker-indicator { filter: invert(50%); } + +.markdown-body .markdown-alert { + padding: 0 1em; + margin-bottom: 16px; + color: inherit; + border-left: .25em solid #d0d7de; +} + +.markdown-body .markdown-alert>:first-child { + margin-top: 0; +} + +.markdown-body .markdown-alert>:last-child { + margin-bottom: 0; +} + +.markdown-body .markdown-alert.markdown-alert-note { + border-left-color: #0969da; +} + +.markdown-body .markdown-alert.markdown-alert-important { + border-left-color: #8250df; +} + +.markdown-body .markdown-alert.markdown-alert-warning { + border-left-color: #9a6700; +} diff --git a/github-markdown.css b/github-markdown.css index c79ea68..b9fdf29 100644 --- a/github-markdown.css +++ b/github-markdown.css @@ -43,8 +43,10 @@ --color-neutral-muted: rgba(110,118,129,0.4); --color-accent-fg: #2f81f7; --color-accent-emphasis: #1f6feb; + --color-attention-fg: #d29922; --color-attention-subtle: rgba(187,128,9,0.15); --color-danger-fg: #f85149; + --color-done-fg: #a371f7; } } @@ -93,8 +95,10 @@ --color-neutral-muted: rgba(175,184,193,0.2); --color-accent-fg: #0969da; --color-accent-emphasis: #0969da; + --color-attention-fg: #9a6700; --color-attention-subtle: #fff8c5; --color-danger-fg: #d1242f; + --color-done-fg: #8250df; --color-prettylights-syntax-comment: #6e7781; --color-prettylights-syntax-constant: #0550ae; --color-prettylights-syntax-entity: #6639ba; @@ -135,8 +139,10 @@ --color-neutral-muted: rgba(175,184,193,0.2); --color-accent-fg: #0969da; --color-accent-emphasis: #0969da; + --color-attention-fg: #9a6700; --color-attention-subtle: #fff8c5; --color-danger-fg: #d1242f; + --color-done-fg: #8250df; } } @@ -507,6 +513,34 @@ appearance: none; } +.markdown-body .color-fg-accent { + color: var(--color-accent-fg) !important; +} + +.markdown-body .color-fg-attention { + color: var(--color-attention-fg) !important; +} + +.markdown-body .color-fg-done { + color: var(--color-done-fg) !important; +} + +.markdown-body .flex-items-center { + align-items: center !important; +} + +.markdown-body .mb-1 { + margin-bottom: var(--base-size-4, 4px) !important; +} + +.markdown-body .text-semibold { + font-weight: var(--base-text-weight-medium, 500) !important; +} + +.markdown-body .d-inline-flex { + display: inline-flex !important; +} + .markdown-body::before { display: table; content: ""; @@ -1149,6 +1183,41 @@ clip: auto; } +.markdown-body .QueryBuilder .qb-entity { + color: var(--color-prettylights-syntax-entity); +} + +.markdown-body .QueryBuilder .qb-constant { + color: var(--color-prettylights-syntax-constant); +} + .markdown-body ::-webkit-calendar-picker-indicator { filter: invert(50%); } + +.markdown-body .markdown-alert { + padding: 0 1em; + margin-bottom: 16px; + color: inherit; + border-left: .25em solid var(--color-border-default); +} + +.markdown-body .markdown-alert>:first-child { + margin-top: 0; +} + +.markdown-body .markdown-alert>:last-child { + margin-bottom: 0; +} + +.markdown-body .markdown-alert.markdown-alert-note { + border-left-color: var(--color-accent-fg); +} + +.markdown-body .markdown-alert.markdown-alert-important { + border-left-color: var(--color-done-fg); +} + +.markdown-body .markdown-alert.markdown-alert-warning { + border-left-color: var(--color-attention-fg); +} diff --git a/package.json b/package.json index ccea0f4..24dbaa2 100644 --- a/package.json +++ b/package.json @@ -35,6 +35,6 @@ "stylesheet" ], "devDependencies": { - "generate-github-markdown-css": "^6.0.1" + "generate-github-markdown-css": "^6.1.0" } }