Skip to content

Commit

Permalink
Regenerate GitHub CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Jun 17, 2024
1 parent e9d22b2 commit eb15d90
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 15 deletions.
24 changes: 10 additions & 14 deletions github-markdown.css
Original file line number Diff line number Diff line change
@@ -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;
Expand Down Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@
"stylesheet"
],
"devDependencies": {
"generate-github-markdown-css": "^6.2.2"
"generate-github-markdown-css": "^6.3.0"
}
}

0 comments on commit eb15d90

Please sign in to comment.