Skip to content

Commit

Permalink
Replace rgba with hex, prefer short hex
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Jun 13, 2024
1 parent 93453ad commit 338ed55
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions python_docs_theme/static/pydoctheme.css
Original file line number Diff line number Diff line change
Expand Up @@ -250,15 +250,15 @@ div.body pre {
--attention-background: #bbddff5c;
--attention-border: #0000ff36;
--caution-background: #ffc;
--caution-border: #dddd66;
--caution-border: #dd6;
--danger-background: #ffe4e4;
--danger-border: red;
--error-background: #ffe4e4;
--error-border: red;
--hint-background: #dfd;
--hint-border: green;
--seealso-background: #ffc;
--seealso-border: #dddd66;
--seealso-border: #dd6;
--tip-background: #dfd;
--tip-border: green;
--warning-background: #ffe4e4;
Expand Down
18 changes: 9 additions & 9 deletions python_docs_theme/static/pydoctheme_dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -115,25 +115,25 @@ div.warning {

/* Admonitions */
:root {
--admonition-background: rgba(255, 255, 255, 0.1);
--admonition-background: #ffffff1a;
--admonition-border: currentColor;
--admonition-color: rgba(255, 255, 255, 0.87);
--attention-background: rgba(255, 255, 255, 0.1);
--admonition-color: #ffffffde;
--attention-background: #ffffff1a;
--attention-border: currentColor;
--caution-background: rgba(255, 255, 0, 0.1);
--caution-background: #ffff001a;
--caution-border: #dd6;
--danger-background: rgba(255, 0, 0, 0.2);
--danger-background: #f003;
--danger-border: #f66;
--error-background: rgba(255, 0, 0, 0.2);
--error-background: #f003;
--error-border: #f66;
--hint-background: #0044117a;
--hint-border: green;
--seealso-background: rgba(255, 255, 0, 0.1);
--seealso-background: #ffff001a;
--seealso-border: #dd6;
--tip-background: #0044117a;
--tip-border: green;
--warning-background: rgba(255, 0, 0, 0.2);
--warning-border: #f66;
--warning-background: #ff000033;
--warning-border: #ff6666;
}

aside.topic,
Expand Down

0 comments on commit 338ed55

Please sign in to comment.