Skip to content

Commit

Permalink
Regenerate GitHub CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Nov 1, 2023
1 parent f45eec9 commit 1363826
Show file tree
Hide file tree
Showing 4 changed files with 196 additions and 1 deletion.
63 changes: 63 additions & 0 deletions github-markdown-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -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: "";
Expand Down Expand Up @@ -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;
}
63 changes: 63 additions & 0 deletions github-markdown-light.css
Original file line number Diff line number Diff line change
Expand Up @@ -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: "";
Expand Down Expand Up @@ -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;
}
69 changes: 69 additions & 0 deletions github-markdown.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
}
}

Expand Down Expand Up @@ -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: "";
Expand Down Expand Up @@ -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);
}
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.0.1"
"generate-github-markdown-css": "^6.1.0"
}
}

0 comments on commit 1363826

Please sign in to comment.