8000 Replace rgba with hex, prefer short hex · python/python-docs-theme@338ed55 · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 338ed55

Browse files
committed
Replace rgba with hex, prefer short hex
1 parent 93453ad commit 338ed55

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

python_docs_theme/static/pydoctheme.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,15 +250,15 @@ div.body pre {
250250
--attention-background: #bbddff5c;
251251
--attention-border: #0000ff36;
252252
--caution-background: #ffc;
253-
--caution-border: #dddd66;
253+
--caution-border: #dd6;
254254
--danger-background: #ffe4e4;
255255
--danger-border: red;
256256
--error-background: #ffe4e4;
257257
--error-border: red;
258258
--hint-background: #dfd;
259259
--hint-border: green;
260260
--seealso-background: #ffc;
261-
--seealso-border: #dddd66;
261+
--seealso-border: #dd6;
262262
--tip-background: #dfd;
263263
--tip-border: green;
264264
--warning-background: #ffe4e4;

python_docs_theme/static/pydoctheme_dark.css

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -115,25 +115,25 @@ div.warning {
115115

116116
/* Admonitions */
117117
:root {
118-
--admonition-background: rgba(255, 255, 255, 0.1);
118+
--admonition-background: #ffffff1a;
119119
--admonition-border: currentColor;
120-
--admonition-color: rgba(255, 255, 255, 0.87);
121-
--attention-background: rgba(255, 255, 255, 0.1);
120+
--admonition-color: #ffffffde;
121+
--attention-background: #ffffff1a;
122122
--attention-border: currentColor;
123-
--caution-background: rgba(255, 255, 0, 0.1);
123+
--caution-background: #ffff001a;
124124
--caution-border: #dd6;
125-
--danger-background: rgba(255, 0, 0, 0.2);
125+
--danger-background: #f003;
126126
--danger-border: #f66;
127-
--error-background: rgba(255, 0, 0, 0.2);
127+
--error-background: #f003;
128128
--error-border: #f66;
129129
--hint-background: #0044117a;
130130
--hint-border: green;
131-
--seealso-background: rgba(255, 255, 0, 0.1);
131+
--seealso-background: #ffff001a;
132132
--seealso-border: #dd6;
133133
--tip-background: #0044117a;
134134
--tip-border: green;
135-
--warning-background: rgba(255, 0, 0, 0.2);
136-
--warning-border: #f66;
135+
--warning-background: #ff000033;
136+
--warning-border: #ff6666;
137137
}
138138

139139
aside.topic,

0 commit comments

Comments
 (0)
0