From eb15d9072e9ccbac859da05c4ef5311b60b39c85 Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Tue, 18 Jun 2024 00:51:04 +0200 Subject: [PATCH] Regenerate GitHub CSS --- github-markdown.css | 24 ++++++++++-------------- package.json | 2 +- 2 files changed, 11 insertions(+), 15 deletions(-) diff --git a/github-markdown.css b/github-markdown.css index 59bc0c4..ebfca67 100644 --- a/github-markdown.css +++ b/github-markdown.css @@ -1,15 +1,18 @@ +.markdown-body { + --base-size-4: 0.25rem; + --base-size-8: 0.5rem; + --base-size-16: 1rem; + --base-text-weight-normal: 400; + --base-text-weight-medium: 500; + --base-text-weight-semibold: 600; + --fontStack-monospace: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace; +} + @media (prefers-color-scheme: dark) { .markdown-body, [data-theme="dark"] { /*dark*/ color-scheme: dark; - --fontStack-monospace: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace; - --base-text-weight-semibold: 600; - --base-text-weight-medium: 500; - --base-text-weight-normal: 400; - --base-size-16: 1rem; - --base-size-8: 0.5rem; - --base-size-4: 0.25rem; --focus-outlineColor: #1f6feb; --fgColor-default: #e6edf3; --fgColor-muted: #8d96a0; @@ -68,13 +71,6 @@ [data-theme="light"] { /*light*/ color-scheme: light; - --fontStack-monospace: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace; - --base-text-weight-semibold: 600; - --base-text-weight-medium: 500; - --base-text-weight-normal: 400; - --base-size-16: 1rem; - --base-size-8: 0.5rem; - --base-size-4: 0.25rem; --focus-outlineColor: #0969da; --fgColor-default: #1f2328; --fgColor-muted: #636c76; diff --git a/package.json b/package.json index 9f81865..21c3614 100644 --- a/package.json +++ b/package.json @@ -35,6 +35,6 @@ "stylesheet" ], "devDependencies": { - "generate-github-markdown-css": "^6.2.2" + "generate-github-markdown-css": "^6.3.0" } }