- {% set definedDate = date %} {% include "components/date.njk" %} {% if tags.length >
- 1 %}
-
- {% for tag in tags %} {% if tag != "posts" %}
-
- {{ tag }}
-
- {% endif %} {% endfor %} {% endif %}
+ {% set definedDate = date %} {% include "components/date.njk" %}
+ {%
+ if tags.length >
+ 1
+ %}
+
+ {% for tag in tags %}{% if tag != "posts" %}
+ {{ tag }}
+ {% endif %}{% endfor %}
+ {% endif %}
- A list of sites based on / built with Eleventy Excellent.
-
- Add yours by submitting a
+ A list of sites based on / built with Eleventy Excellent. Add yours by submitting a
{{ designTokens.colors.description }}
- {%- for color in designTokens.colors.items %}
-
-
+ {%- for color in designTokens.colors.items -%}
+
+
-
- var(--color-{{ color.name | slugify }})
-
-
- {%- endfor %}
+
+ var(--color-{{ color.name | slugify }})
+
+
+ {%- endfor -%}
Custom colors
in variables.css. Some only change for dark theme.
- {%- for color in customColors %}
-
-
-
- {{ color.property }}
-
-
- {%- endfor %}
+ {%- for color in customColors -%}
+
+
+
+ {{ color.property }}
+
+
+ {%- endfor -%}
Gradients
- {%- for gradient in customGradients %}
-
-
+ {%- for gradient in customGradients -%}
+
+
-
- {{ gradient.property }}
-
-
-
-
- {%- endfor %}
+
+ {{ gradient.property }}
+
+
+
+
+ {%- endfor -%}
@@ -84,16 +84,16 @@ customGradients:
Fonts
- {%- for font in designTokens.fonts.items %}
-
-
- {{ font.name }}
-
-
{{ font.description }}
-
Font Families: {{ font.value | join(', ')}}
- var(--font-{{ font.name | slugify }})
-
- {%- endfor %}
+ {%- for font in designTokens.fonts.items -%}
+
+
+ {{ font.name }}
+
+
{{ font.description }}
+
Font Families: {{ font.value | join(', ') }}
+ var(--font-{{ font.name | slugify }})
+
+ {%- endfor -%}
@@ -107,22 +107,24 @@ customGradients:
- {%- for size in designTokens.sizes.items %}
-
-
-
{{ size.name }}
-
-
-
-
{{ size.min }}px to {{ size.max }}px
- var(--size-{{ size.name | slugify }})
-
-
-
-
{{ size.name }}
-
-
- {%- endfor %}
+ {%- for size in designTokens.sizes.items -%}
+
+
+
{{ size.name }}
+
+
+
+
{{ size.min }}px to {{ size.max }}px
+ var(--size-{{ size.name | slugify }})
+
+
+
+
+ {{ size.name }}
+
+
+
+ {%- endfor -%}
@@ -137,27 +139,25 @@ customGradients:
- {%- for space in designTokens.spacing.items %}
-
-
-
{{ space.name }}
-
-
-
-
{{ space.min }}px to {{ space.max }}px
- var(--space-{{ space.name | slugify }})
-
-
-
-
-
-
- {%- endfor %}
+ {%- for space in designTokens.spacing.items -%}
+
+
+
{{ space.name }}
+
+
+
+
{{ space.min }}px to {{ space.max }}px
+ var(--space-{{ space.name | slugify }})
+
+
+
+
+
+
+ {%- endfor -%}
diff --git a/src/posts/2023-01-25-opengraph-images.md b/src/posts/2023-01-25-opengraph-images.md
index e7b3a7f..404c06a 100644
--- a/src/posts/2023-01-25-opengraph-images.md
+++ b/src/posts/2023-01-25-opengraph-images.md
@@ -17,4 +17,4 @@ The fallback and default image for all other pages is the image set as `opengrap
{% eleventyImage "./src/" + meta.opengraph_default, meta.opengraph_default_alt, "This is what the general OG image for non-blog posts looks like" %}
-A more detailed explanation can be found in the [docs](/get-started/#docs).
\ No newline at end of file
+A more detailed explanation can be found in the [docs](/get-started/#open-graph-images).
diff --git a/tailwind.config.js b/tailwind.config.js
index edce48f..62fe7d6 100644
--- a/tailwind.config.js
+++ b/tailwind.config.js
@@ -66,8 +66,20 @@ module.exports = {
// Disables Tailwind's reset etc
corePlugins: {
- preflight: false
+ preflight: false,
+ textOpacity: false,
+ backgroundOpacity: false,
+ borderOpacity: false
},
+
+ // Prevents Tailwind's core components
+ blocklist: ['container'],
+
+ // Prevents Tailwind from generating that wall of empty custom properties
+ experimental: {
+ optimizeUniversalDefaults: true
+ },
+
plugins: [
// Generates custom property values from tailwind config
plugin(function ({addComponents, config}) {