Skip to content

Commit 6f770b2

Browse files
committed
Add colors for new thread-safety levels
1 parent 6aea657 commit 6f770b2

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

python_docs_theme/static/pydoctheme.css

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,9 @@ div.footer a:hover {
448448
:root {
449449
--threadsafety-incompatible: var(--bad-color);
450450
--threadsafety-compatible: var(--middle-color);
451-
--threadsafety-safe: var(--good-color);
451+
--threadsafety-distinct: var(--middle-color);
452+
--threadsafety-shared: var(--good-color);
453+
--threadsafety-atomic: var(--good-color);
452454
}
453455

454456
.threadsafety.threadsafety-incompatible {
@@ -459,8 +461,16 @@ div.footer a:hover {
459461
color: var(--threadsafety-compatible);
460462
}
461463

462-
.threadsafety.threadsafety-safe {
463-
color: var(--threadsafety-safe);
464+
.threadsafety.threadsafety-distinct {
465+
color: var(--threadsafety-distinct);
466+
}
467+
468+
.threadsafety.threadsafety-shared {
469+
color: var(--threadsafety-shared);
470+
}
471+
472+
.threadsafety.threadsafety-atomic {
473+
color: var(--threadsafety-atomic);
464474
}
465475

466476

0 commit comments

Comments
 (0)