Updates before the Bristol Software meetup

This commit is contained in:
Oliver Davies 2023-02-16 11:39:19 +00:00
parent e392af7acf
commit 7dd48f3880
29 changed files with 1594 additions and 398 deletions

View file

@ -1,5 +1,3 @@
{# base.html.twig #}
{% for item in navItems %}
<a
class="block py-3 px-4 text-sm text-gray-800"
@ -7,4 +5,4 @@
>
{{ item.title }}
</a>
{% endfor %}
{% endfor %}

View file

@ -1,12 +1,12 @@
{# classes.html.twig #}
<h2>Adults</h2>
{% include 'class-list' with {
classes: page.classes,
type: 'adults',
} %}
<h2>Kids</h2>
{% include 'class-list' with {
classes: page.classes,
type: 'kids',

View file

@ -1,14 +1 @@
module.exports = {
important: true,
prefix: '',
separator: ':',
purge: [],
darkMode: false, // or 'media' or 'class'
theme: {
colors: {
inherit: 'inherit'
},
extend: {},
},
// ...
}
aa

View file

@ -1,6 +1,6 @@
/** @type {import('tailwindcss').Config} */
module.exports = {
purge: [],
darkMode: false, // or 'media' or 'class'
content: [],
theme: {
extend: {
colors: {
@ -8,5 +8,5 @@ module.exports = {
}
},
},
// ...
plugins: [],
}

View file

@ -1,11 +1,11 @@
/** @type {import('tailwindcss').Config} */
module.exports = {
purge: [],
darkMode: false, // or 'media' or 'class'
content: [],
theme: {
colors: {
inherit: 'inherit'
},
extend: {},
},
// ...
plugins: [],
}

View file

@ -1,13 +1,10 @@
// index.js
const plugin = require("tailwindcss/plugin");
module.exports = variants => ({ addUtilities }) => {
addUtilities(
{
'.list-reset': {
listStyle: 'none',
padding: 0,
},
plugin(function({ addUtilities }) {
addUtilities({
'.list-reset': {
listStyle: 'none',
padding: 0,
},
variants,
)
}
})
})

View file

@ -1,11 +1,8 @@
/** @type {import('tailwindcss').Config} */
module.exports = {
purge: [],
darkMode: false, // or 'media' or 'class'
content: [],
theme: {
extend: {},
},
variants: {
extend: {},
},
plugins: [],
}

View file

@ -0,0 +1,7 @@
// tailwind.config.js
module.exports = {
mode: "jit",
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
// ...
}