details:   https://code.tryton.org/communication/website/commit/7c513014f2ec
branch:    default
user:      Cédric Krier <[email protected]>
date:      Sun Jan 04 15:52:35 2026 +0100
description:
        Set text-dark when bg-light is used
diffstat:

 templates/events/layout.html.jinja            |  6 +++---
 templates/events/tsd2019.html.jinja           |  6 +++---
 templates/events/tsd2021.html.jinja           |  4 ++--
 templates/events/tub2023.html.jinja           |  4 ++--
 templates/events/tum2019.html.jinja           |  4 ++--
 templates/guidelines/documentation.html.jinja |  2 +-
 templates/guidelines/help.html.jinja          |  2 +-
 templates/success_stories/jorda.html.jinja    |  2 +-
 templates/success_stories/layout.html.jinja   |  2 +-
 9 files changed, 16 insertions(+), 16 deletions(-)

diffs (153 lines):

diff -r 58f5cfd2523c -r 7c513014f2ec templates/events/layout.html.jinja
--- a/templates/events/layout.html.jinja        Sun Jan 04 15:50:52 2026 +0100
+++ b/templates/events/layout.html.jinja        Sun Jan 04 15:52:35 2026 +0100
@@ -21,7 +21,7 @@
 {% endblock content %}
 {% block main %}
 {{ super() }}
-<div class="section bg-light">
+<div class="section bg-light text-dark">
     <div class="container text-center">
         {% block lead %}
         <a href="#register" class="btn btn-primary btn-lg">Register</a>
@@ -85,7 +85,7 @@
         {% endblock schedule %}
     </div>
 </section>
-<section class="section bg-light" id="register">
+<section class="section bg-light text-dark" id="register">
     <div class="container">
         <div class="section-header bg-light">
             <h2 class="ps-3 pe-3 text-uppercase">Register</h2>
@@ -103,7 +103,7 @@
         {% endblock venue %}
     </div>
 </section>
-<section class="section bg-light" id="accommodations">
+<section class="section bg-light text-dark" id="accommodations">
     <div class="container">
         <div class="section-header bg-light">
             <h2 class="ps-3 pe-3 text-uppercase">Accommodations <span 
class="material-icons">hotel</span></h2>
diff -r 58f5cfd2523c -r 7c513014f2ec templates/events/tsd2019.html.jinja
--- a/templates/events/tsd2019.html.jinja       Sun Jan 04 15:50:52 2026 +0100
+++ b/templates/events/tsd2019.html.jinja       Sun Jan 04 15:52:35 2026 +0100
@@ -72,14 +72,14 @@
 {% block schedule %}
 {{ super() }}
 {% if datetime.date.today() < datetime.date(2019, 11, 11) %}
-<div class="bg-light py-4 mb-4 text-center">
+<div class="bg-light text-dark py-4 mb-4 text-center">
     <p class="lead"><span class="material-icons align-middle">build</span> The 
unconference is built by its participants.</p>
     <a class="btn btn-primary text-uppercase my-4" 
href="mailto:[email protected]";>Submit a talk</a>
 </div>
 {% endif %}
-<div class="bg-light py-4 mb-4 text-center" id="video">
+<div class="bg-light text-dark py-4 mb-4 text-center" id="video">
     <p class="lead"><span class="material-icons align-middle">movie</span> The 
talks are recorded and live streamed on our Youtube channel.</p>
-    <a class="btn btn-lnk" 
href="https://www.youtube.com/playlist?list=PL4ydsflJkP9X0rCPZdEks4LMXOKz7FDrs";>Watch</a>
+    <a class="btn btn-lnk btn-dark" 
href="https://www.youtube.com/playlist?list=PL4ydsflJkP9X0rCPZdEks4LMXOKz7FDrs";>Watch</a>
 </div>
 {% endblock %}
 
diff -r 58f5cfd2523c -r 7c513014f2ec templates/events/tsd2021.html.jinja
--- a/templates/events/tsd2021.html.jinja       Sun Jan 04 15:50:52 2026 +0100
+++ b/templates/events/tsd2021.html.jinja       Sun Jan 04 15:52:35 2026 +0100
@@ -63,12 +63,12 @@
 {% block schedule %}
 {{ super() }}
 {% if datetime.date.today() < datetime.date(2021, 11, 11) %}
-<div class="bg-light py-4 mb-4 text-center">
+<div class="bg-light text-dark py-4 mb-4 text-center">
     <p class="lead"><span class="material-icons align-middle">build</span> The 
unconference is built by its participants.</p>
     <a class="btn btn-primary text-uppercase my-4" 
href="mailto:[email protected]";>Submit a talk</a>
 </div>
 {% endif %}
-<div class="bg-light py-4 mb-4 text-center" id="video">
+<div class="bg-light text-dark py-4 mb-4 text-center" id="video">
     <p class="lead"><span class="material-icons align-middle">movie</span> The 
talks will be recorded and live streamed on our Youtube channel.</p>
     <a class="btn btn-lnk" href="https://youtu.be/mKVEc0zpDNk";>Watch the First 
Day's Talks</a>
     <a class="btn btn-lnk" href="https://youtu.be/GbiSMd0rv80";>Watch the 
Second Day's Talks</a>
diff -r 58f5cfd2523c -r 7c513014f2ec templates/events/tub2023.html.jinja
--- a/templates/events/tub2023.html.jinja       Sun Jan 04 15:50:52 2026 +0100
+++ b/templates/events/tub2023.html.jinja       Sun Jan 04 15:52:35 2026 +0100
@@ -104,12 +104,12 @@
 {% block schedule %}
 {{ super() }}
 {% if datetime.date.today() < datetime.date(2023, 5, 15) %}
-<div class="bg-light py-4 mb-4 text-center">
+<div class="bg-light text-dark py-4 mb-4 text-center">
     <p class="lead"><span class="material-icons align-middle">build</span> The 
unconference is built by its participants.</p>
     <a class="btn btn-primary text-uppercase my-4" 
href="mailto:[email protected]";>Submit a talk</a>
 </div>
 {% endif %}
-<div class="bg-light py-4 mb-4 text-center" id="video">
+<div class="bg-light text-dark py-4 mb-4 text-center" id="video">
     <p class="lead"><span class="material-icons align-middle">movie</span> 
Talks will be recorded and live streamed on our Youtube channel.</p>
     <a class="btn btn-primary text-uppercase my-4" 
href="https://www.youtube.com/@TrytonSoftware";>Subscribe</a>
 </div>
diff -r 58f5cfd2523c -r 7c513014f2ec templates/events/tum2019.html.jinja
--- a/templates/events/tum2019.html.jinja       Sun Jan 04 15:50:52 2026 +0100
+++ b/templates/events/tum2019.html.jinja       Sun Jan 04 15:52:35 2026 +0100
@@ -78,12 +78,12 @@
 {% block schedule %}
 {{ super() }}
 {% if datetime.date.today() < datetime.date(2019, 5, 30) %}
-<div class="bg-light py-4 mb-4 text-center">
+<div class="bg-light text-dark py-4 mb-4 text-center">
     <p class="lead"><span class="material-icons align-middle">build</span> The 
unconference is built by its participants.</p>
     <a class="btn btn-primary text-uppercase my-4" 
href="mailto:[email protected]";>Submit a talk</a>
 </div>
 {% endif %}
-<div class="bg-light py-4 mb-4 text-center" id="video">
+<div class="bg-light text-dark py-4 mb-4 text-center" id="video">
     <p class="lead"><span class="material-icons align-middle">movie</span> The 
talks are recorded and life streamed on our Youtube channel.</p>
     <a class="btn btn-lnk" 
href="https://www.youtube.com/playlist?list=PL4ydsflJkP9XEFW5YZqJfB3lMa8WWRj9A";>Watch</a>
 </div>
diff -r 58f5cfd2523c -r 7c513014f2ec 
templates/guidelines/documentation.html.jinja
--- a/templates/guidelines/documentation.html.jinja     Sun Jan 04 15:50:52 
2026 +0100
+++ b/templates/guidelines/documentation.html.jinja     Sun Jan 04 15:52:35 
2026 +0100
@@ -86,7 +86,7 @@
         <li>Except for the names of objects. In section titles these should 
use title case.</li>
     </ul>
     <p>To ensure consistency for certain words and terms always use:</p>
-    <dl class="bg-light p-2">
+    <dl class="bg-light text-dark p-2">
         <dt>Tryton</dt>
         <dd class="ps-4">This is always capitalised, unless referring to the 
<span class="text-monospace">tryton</span> command for the desktop client.</dd>
     </dl>
diff -r 58f5cfd2523c -r 7c513014f2ec templates/guidelines/help.html.jinja
--- a/templates/guidelines/help.html.jinja      Sun Jan 04 15:50:52 2026 +0100
+++ b/templates/guidelines/help.html.jinja      Sun Jan 04 15:52:35 2026 +0100
@@ -36,7 +36,7 @@
     They are also close to the code, as they are defined in the 
<code>help</code> parameters to fields, which helps developers keep them up to 
date, and allows them to be shown in the user's language.</p>
     <p>These guidelines provide some clear rules on how to write this help 
text, so it is kept consistent and accurate across the whole application.</p>
     <p>The help text should answer the question:</p>
-    <p class="bg-light font-weight-bold p-2">What is this, or what is it 
for?</p>
+    <p class="bg-light text-dark font-weight-bold p-2">What is this, or what 
is it for?</p>
     <p>If it is obvious what it is for, or what it does, then it is often 
better not to add any help text.</p>
 </section>
 <section>
diff -r 58f5cfd2523c -r 7c513014f2ec templates/success_stories/jorda.html.jinja
--- a/templates/success_stories/jorda.html.jinja        Sun Jan 04 15:50:52 
2026 +0100
+++ b/templates/success_stories/jorda.html.jinja        Sun Jan 04 15:52:35 
2026 +0100
@@ -34,7 +34,7 @@
 <p>
 A mobile application for Android devices was developed using <a 
href="https://cordova.apache.org/";>Apache Cordova</a>, <a 
href="https://onsen.io/";>Onsen UI</a> and <a 
href="https://vuejs.org/";>Vue.js</a>.
 </p>
-<img src="{{ url_for('static', 
filename='images/success-stories/jorda/application.webp') }}" class="img-fluid 
mx-auto d-block border p-2 bg-light mb-3" alt="Jordà mobile application" 
loading="lazy" width="280" height="498">
+<img src="{{ url_for('static', 
filename='images/success-stories/jorda/application.webp') }}" class="img-fluid 
mx-auto d-block border p-2 bg-light text-dark mb-3" alt="Jordà mobile 
application" loading="lazy" width="280" height="498">
 <p>
 It allows the technicians to perform the following actions:
 </p>
diff -r 58f5cfd2523c -r 7c513014f2ec templates/success_stories/layout.html.jinja
--- a/templates/success_stories/layout.html.jinja       Sun Jan 04 15:50:52 
2026 +0100
+++ b/templates/success_stories/layout.html.jinja       Sun Jan 04 15:52:35 
2026 +0100
@@ -53,7 +53,7 @@
         </div>
     </div>
 </div>
-<div class="section bg-light text-center">
+<div class="section bg-light text-dark text-center">
     {{ case_card(next_case, classes='bounce') }}
 </div>
 {% endblock content %}

Reply via email to