Skip to content

Commit c3ecce9

Browse files
authored
Merge pull request #843 from Chia-Network/rebrand-fixes
fix admonition icon and link colors
2 parents 2947d04 + 7c50d02 commit c3ecce9

File tree

1 file changed

+38
-13
lines changed

1 file changed

+38
-13
lines changed

src/css/custom.css

Lines changed: 38 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -450,20 +450,10 @@ html[data-theme='dark'] .docusaurus-highlight-code-line {
450450
color: #2C323C;
451451
}
452452

453-
/* Warning boxes - Periwinkle Pursuit theme */
453+
/* Warning boxes - red theme */
454454
.theme-admonition-warning {
455-
background-color: #A8BEF1;
456-
border-color: #A8BEF1;
457-
color: #2C323C;
458-
}
459-
460-
[data-theme='dark'] .theme-admonition-warning {
461-
border-color: #42506C;
462-
}
463-
464-
[data-theme='light'] .theme-admonition-warning {
465-
background-color: #F0F4FF;
466-
border-color: #A8BEF1;
455+
background-color: #FF6B6B;
456+
border-color: #FF6B6B;
467457
color: #2C323C;
468458
}
469459

@@ -478,6 +468,15 @@ html[data-theme='dark'] .docusaurus-highlight-code-line {
478468
border-color: #42506C;
479469
}
480470

471+
[data-theme='dark'] .theme-admonition-note a {
472+
color: #42506C !important;
473+
}
474+
475+
[data-theme='dark'] .theme-admonition-note a:hover {
476+
color: #2C323C !important;
477+
text-decoration: underline;
478+
}
479+
481480
[data-theme='light'] .theme-admonition-note {
482481
background-color: #F0F4FF;
483482
border-color: #A8BEF1;
@@ -495,6 +494,19 @@ html[data-theme='dark'] .docusaurus-highlight-code-line {
495494
border-color: #42506C;
496495
}
497496

497+
[data-theme='dark'] .theme-admonition-tip a {
498+
color: #42506C !important;
499+
}
500+
501+
[data-theme='dark'] .theme-admonition-tip a:hover {
502+
color: #2C323C !important;
503+
text-decoration: underline;
504+
}
505+
506+
[data-theme="dark"] .theme-admonition-tip svg {
507+
fill: #2C323C;
508+
}
509+
498510
[data-theme='light'] .theme-admonition-tip {
499511
background-color: #FDFFEB;
500512
border-color: #E5FE75;
@@ -512,6 +524,19 @@ html[data-theme='dark'] .docusaurus-highlight-code-line {
512524
border-color: #42506C;
513525
}
514526

527+
[data-theme='dark'] .theme-admonition-caution a {
528+
color: #42506C !important;
529+
}
530+
531+
[data-theme='dark'] .theme-admonition-caution a:hover {
532+
color: #2C323C !important;
533+
text-decoration: underline;
534+
}
535+
536+
[data-theme="dark"] .theme-admonition-caution svg {
537+
fill: #2C323C;
538+
}
539+
515540
[data-theme='light'] .theme-admonition-caution {
516541
background-color: #FFF8E1;
517542
border-color: #E5FE75;

0 commit comments

Comments
 (0)