diff --git a/web/themes/custom/opdavies/assets/css/custom-base.pcss b/web/themes/custom/opdavies/assets/css/custom-base.pcss
index 12d4e0187..0c743f226 100644
--- a/web/themes/custom/opdavies/assets/css/custom-base.pcss
+++ b/web/themes/custom/opdavies/assets/css/custom-base.pcss
@@ -15,7 +15,7 @@ img {
}
a {
- @apply text-blue-700 no-underline hover:underline
+ @apply text-blue-500 no-underline hover:underline
}
blockquote {
diff --git a/web/themes/custom/opdavies/tailwind.config.js b/web/themes/custom/opdavies/tailwind.config.js
index f2970a89f..7504ee52b 100644
--- a/web/themes/custom/opdavies/tailwind.config.js
+++ b/web/themes/custom/opdavies/tailwind.config.js
@@ -55,6 +55,19 @@ module.exports = {
'pre code::before': false,
'pre code::after': false
}
+ },
+ dark: {
+ css: {
+ color: theme('colors.gray.200'),
+
+ h2: {
+ color: theme('colors.white')
+ },
+
+ strong: {
+ color: theme('colors.gray.200')
+ }
+ }
}
}),
extend: {
@@ -103,6 +116,7 @@ module.exports = {
borderStyle: [...variants.borderStyle, 'hover', 'focus'],
borderWidth: [...variants.borderWidth, 'hover', 'focus'],
margin: [...variants.margin, 'first', 'last', 'odd', 'even'],
+ typography: ['responsive', 'dark']
},
experimental: {
applyComplexClasses: true,
diff --git a/web/themes/custom/opdavies/templates/field/field--body.html.twig b/web/themes/custom/opdavies/templates/field/field--body.html.twig
index 76635a6c2..3486c8533 100644
--- a/web/themes/custom/opdavies/templates/field/field--body.html.twig
+++ b/web/themes/custom/opdavies/templates/field/field--body.html.twig
@@ -44,12 +44,12 @@
{% if multiple %}
{% for item in items %}
-
{{ item.content }}
+
{{ item.content }}
{% endfor %}
{% else %}
{% for item in items %}
- {{ item.content }}
+ {{ item.content }}
{% endfor %}
{% endif %}
{% else %}
@@ -59,7 +59,7 @@
{% endif %}
{% for item in items %}
-
{{ item.content }}
+
{{ item.content }}
{% endfor %}
{% if multiple %}
diff --git a/web/themes/custom/opdavies/templates/field/field--node--field-events--talk.html.twig b/web/themes/custom/opdavies/templates/field/field--node--field-events--talk.html.twig
index 176313212..7858944bb 100644
--- a/web/themes/custom/opdavies/templates/field/field--node--field-events--talk.html.twig
+++ b/web/themes/custom/opdavies/templates/field/field--node--field-events--talk.html.twig
@@ -42,7 +42,7 @@
]
%}
-
+
{{ label }}
diff --git a/web/themes/custom/opdavies/templates/node/node--talk.html.twig b/web/themes/custom/opdavies/templates/node/node--talk.html.twig
index e34b7c846..5f294465a 100644
--- a/web/themes/custom/opdavies/templates/node/node--talk.html.twig
+++ b/web/themes/custom/opdavies/templates/node/node--talk.html.twig
@@ -90,7 +90,7 @@
{% endif %}
-
+
{{ content }}
diff --git a/web/themes/custom/opdavies/templates/view/views-view--blog-posts.html.twig b/web/themes/custom/opdavies/templates/view/views-view--blog-posts.html.twig
index 700032203..f460baacb 100644
--- a/web/themes/custom/opdavies/templates/view/views-view--blog-posts.html.twig
+++ b/web/themes/custom/opdavies/templates/view/views-view--blog-posts.html.twig
@@ -41,7 +41,7 @@
{{ title_suffix }}
{% if header %}
-
+
{% endif %}
diff --git a/web/themes/custom/opdavies/templates/view/views-view--talks.html.twig b/web/themes/custom/opdavies/templates/view/views-view--talks.html.twig
index 700032203..f460baacb 100644
--- a/web/themes/custom/opdavies/templates/view/views-view--talks.html.twig
+++ b/web/themes/custom/opdavies/templates/view/views-view--talks.html.twig
@@ -41,7 +41,7 @@
{{ title_suffix }}
{% if header %}
-