Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jan 2022 21:31:11 GMT
From:      Sergio Carlavilla Delgado <carlavilla@FreeBSD.org>
To:        doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org
Subject:   git: 85a79dd36c - main - Fix table heading font color in dark mode
Message-ID:  <202201292131.20TLVBxK069362@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by carlavilla:

URL: https://cgit.FreeBSD.org/doc/commit/?id=85a79dd36c2154cb34df002f9f644e3a1cf70017

commit 85a79dd36c2154cb34df002f9f644e3a1cf70017
Author:     Sergio Carlavilla Delgado <carlavilla@FreeBSD.org>
AuthorDate: 2022-01-29 21:29:45 +0000
Commit:     Sergio Carlavilla Delgado <carlavilla@FreeBSD.org>
CommitDate: 2022-01-29 21:29:45 +0000

    Fix table heading font color in dark mode
    
    PR:             261011
    Submitted by:   Jerry Jacobs <jerry.jacobs (AT) xor-gate.org>
---
 documentation/themes/beastie/assets/styles/global.scss    | 1 +
 documentation/themes/beastie/assets/styles/variables.scss | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/documentation/themes/beastie/assets/styles/global.scss b/documentation/themes/beastie/assets/styles/global.scss
index 1cf6d6f604..a8bc07873d 100644
--- a/documentation/themes/beastie/assets/styles/global.scss
+++ b/documentation/themes/beastie/assets/styles/global.scss
@@ -495,6 +495,7 @@ table.tableblock {
   th {
     text-align: left;
     background-color: var(--table-header-background-color);
+    color: var(--table-header-font-color);
     text-rendering: optimizeLegibility;
     padding: .5em .625em .625em;
     border: 0 solid #DEDEDE;
diff --git a/documentation/themes/beastie/assets/styles/variables.scss b/documentation/themes/beastie/assets/styles/variables.scss
index cc027d10ba..adb22109e1 100644
--- a/documentation/themes/beastie/assets/styles/variables.scss
+++ b/documentation/themes/beastie/assets/styles/variables.scss
@@ -53,6 +53,7 @@
   --card-background-color: #F0F1F5;
   --card-border-color: #F0F1F5;
   --table-header-background-color: #F1F3F1;
+  --table-header-font-color: #444;
   --footer-background: #F0F1F5;
   --footer-border-color: #F0F1F5;
   --lines-color: #E6ECF1;
@@ -87,6 +88,7 @@
   --card-background-color: #272727;
   --card-border-color: #272727;
   --table-header-background-color: #F1F3F1;
+  --table-header-font-color: #444;
   --footer-background: #2B2B2B;
   --footer-border-color: #2B2B2B;
   --lines-color: #4d4d4d;
@@ -121,6 +123,7 @@
   --card-background-color: #000;
   --card-border-color: #FFF;
   --table-header-background-color: #FFF;
+  --table-header-font-color: #000;
   --footer-background: #000;
   --footer-border-color: #FFF;
   --lines-color: #FFF;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202201292131.20TLVBxK069362>