[gi-docgen/ebassi/argument-annotation: 7/8] template: Style generated text differently




commit edfa3a1cf30ecdb42a1fbfe1a4fdd6fe77c318f4
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Fri May 21 14:59:00 2021 +0100

    template: Style generated text differently
    
    Use the muted text color for the generated content, while keeping the
    full text color for the description and name.

 gidocgen/templates/basic/style.css | 12 ++++++++++++
 1 file changed, 12 insertions(+)
---
diff --git a/gidocgen/templates/basic/style.css b/gidocgen/templates/basic/style.css
index b4e9722..123d9ab 100644
--- a/gidocgen/templates/basic/style.css
+++ b/gidocgen/templates/basic/style.css
@@ -757,6 +757,18 @@ table.results tr td code {
   font-size: 100%;
 }
 
+table.arguments tr td,
+table.returns tr td {
+  color: var(--text-color-muted);
+}
+
+table.arguments tr.arg-name td,
+table.arguments tr.arg-description td,
+table.returns tr.arg-name td,
+table.returns tr.arg-description td {
+  color: var(--text-color);
+}
+
 .docblock ul li,
 .docblock ol li {
   padding-top: 0.15rem;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]