diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gmdocument.c | 12 | ||||
-rw-r--r-- | src/ui/window.c | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/gmdocument.c b/src/gmdocument.c index 8029671b..16f71b34 100644 --- a/src/gmdocument.c +++ b/src/gmdocument.c | |||
@@ -585,15 +585,15 @@ void setThemeSeed_GmDocument(iGmDocument *d, const iBlock *seed) { | |||
585 | }; | 585 | }; |
586 | /* Default colors. */ { | 586 | /* Default colors. */ { |
587 | if (!isLightMode) { | 587 | if (!isLightMode) { |
588 | const iHSLColor base = { 0, 0, 0.15f, 1.0f }; | 588 | const iHSLColor base = { 200, 0, 0.15f, 1.0f }; |
589 | setHsl_Color(tmBackground_ColorId, base); | 589 | setHsl_Color(tmBackground_ColorId, base); |
590 | set_Color(tmParagraph_ColorId, get_Color(gray75_ColorId)); | 590 | set_Color(tmParagraph_ColorId, get_Color(gray75_ColorId)); |
591 | setHsl_Color(tmFirstParagraph_ColorId, addSatLum_HSLColor(base, 0, 0.75f)); | 591 | setHsl_Color(tmFirstParagraph_ColorId, addSatLum_HSLColor(base, 0, 0.75f)); |
592 | set_Color(tmQuote_ColorId, get_Color(cyan_ColorId)); | 592 | set_Color(tmQuote_ColorId, get_Color(cyan_ColorId)); |
593 | set_Color(tmPreformatted_ColorId, get_Color(cyan_ColorId)); | 593 | set_Color(tmPreformatted_ColorId, get_Color(cyan_ColorId)); |
594 | set_Color(tmHeading1_ColorId, get_Color(white_ColorId)); | 594 | set_Color(tmHeading1_ColorId, get_Color(white_ColorId)); |
595 | setHsl_Color(tmHeading2_ColorId, addSatLum_HSLColor(base, 0, 0.7f)); | 595 | setHsl_Color(tmHeading2_ColorId, addSatLum_HSLColor(base, 0.5f, 0.5f)); |
596 | setHsl_Color(tmHeading3_ColorId, addSatLum_HSLColor(base, 0, 0.6f)); | 596 | setHsl_Color(tmHeading3_ColorId, addSatLum_HSLColor(base, 1.0f, 0.4f)); |
597 | set_Color(tmBannerBackground_ColorId, get_Color(black_ColorId)); | 597 | set_Color(tmBannerBackground_ColorId, get_Color(black_ColorId)); |
598 | set_Color(tmBannerTitle_ColorId, get_Color(white_ColorId)); | 598 | set_Color(tmBannerTitle_ColorId, get_Color(white_ColorId)); |
599 | set_Color(tmBannerIcon_ColorId, get_Color(orange_ColorId)); | 599 | set_Color(tmBannerIcon_ColorId, get_Color(orange_ColorId)); |
@@ -618,15 +618,15 @@ void setThemeSeed_GmDocument(iGmDocument *d, const iBlock *seed) { | |||
618 | set_Color(tmGopherLinkLastVisitDate_ColorId, get_Color(blue_ColorId)); | 618 | set_Color(tmGopherLinkLastVisitDate_ColorId, get_Color(blue_ColorId)); |
619 | } | 619 | } |
620 | else { | 620 | else { |
621 | const iHSLColor base = { 0, 0, 1.0f, 1.0f }; | 621 | const iHSLColor base = { 40, 0, 1.0f, 1.0f }; |
622 | setHsl_Color(tmBackground_ColorId, base); | 622 | setHsl_Color(tmBackground_ColorId, base); |
623 | set_Color(tmParagraph_ColorId, get_Color(gray25_ColorId)); | 623 | set_Color(tmParagraph_ColorId, get_Color(gray25_ColorId)); |
624 | set_Color(tmFirstParagraph_ColorId, get_Color(black_ColorId)); | 624 | set_Color(tmFirstParagraph_ColorId, get_Color(black_ColorId)); |
625 | set_Color(tmQuote_ColorId, get_Color(brown_ColorId)); | 625 | set_Color(tmQuote_ColorId, get_Color(brown_ColorId)); |
626 | set_Color(tmPreformatted_ColorId, get_Color(brown_ColorId)); | 626 | set_Color(tmPreformatted_ColorId, get_Color(brown_ColorId)); |
627 | set_Color(tmHeading1_ColorId, get_Color(black_ColorId)); | 627 | set_Color(tmHeading1_ColorId, get_Color(black_ColorId)); |
628 | setHsl_Color(tmHeading2_ColorId, addSatLum_HSLColor(base, 0, -0.7f)); | 628 | setHsl_Color(tmHeading2_ColorId, addSatLum_HSLColor(base, 0.15f, -0.7f)); |
629 | setHsl_Color(tmHeading3_ColorId, addSatLum_HSLColor(base, 0, -0.6f)); | 629 | setHsl_Color(tmHeading3_ColorId, addSatLum_HSLColor(base, 0.3f, -0.6f)); |
630 | set_Color(tmBannerBackground_ColorId, get_Color(white_ColorId)); | 630 | set_Color(tmBannerBackground_ColorId, get_Color(white_ColorId)); |
631 | set_Color(tmBannerTitle_ColorId, get_Color(gray50_ColorId)); | 631 | set_Color(tmBannerTitle_ColorId, get_Color(gray50_ColorId)); |
632 | set_Color(tmBannerIcon_ColorId, get_Color(teal_ColorId)); | 632 | set_Color(tmBannerIcon_ColorId, get_Color(teal_ColorId)); |
diff --git a/src/ui/window.c b/src/ui/window.c index 71d383ab..3d9d98d1 100644 --- a/src/ui/window.c +++ b/src/ui/window.c | |||
@@ -181,7 +181,7 @@ static iBool handleNavBarCommands_(iWidget *navBar, const char *cmd) { | |||
181 | /* Update navbar according to the current tab. */ | 181 | /* Update navbar according to the current tab. */ |
182 | iDocumentWidget *doc = document_App(); | 182 | iDocumentWidget *doc = document_App(); |
183 | if (doc) { | 183 | if (doc) { |
184 | setText_InputWidget(findWidget_App("url"), url_DocumentWidget(doc)); | 184 | setText_InputWidget(findChild_Widget(navBar, "url"), url_DocumentWidget(doc)); |
185 | updateTextCStr_LabelWidget(findChild_Widget(navBar, "reload"), | 185 | updateTextCStr_LabelWidget(findChild_Widget(navBar, "reload"), |
186 | isRequestOngoing_DocumentWidget(doc) ? stopCStr_ : reloadCStr_); | 186 | isRequestOngoing_DocumentWidget(doc) ? stopCStr_ : reloadCStr_); |
187 | } | 187 | } |