Compare commits
2 Commits
54bc09a082
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| b85247d8b4 | |||
| db31ef84cf |
BIN
src/app/news/2026-04-02-endurance/endurance.png
Normal file
BIN
src/app/news/2026-04-02-endurance/endurance.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.7 MiB |
Binary file not shown.
|
Before Width: | Height: | Size: 56 KiB |
@@ -1,6 +1,6 @@
|
|||||||
import { ArticleLayout } from '@/components/ArticleLayout'
|
import { ArticleLayout } from '@/components/ArticleLayout'
|
||||||
import {MdxImage as Image } from '@/components/MdxImage'
|
import {MdxImage as Image } from '@/components/MdxImage'
|
||||||
import endurance from './endurance.webp'
|
import endurance from './endurance.png'
|
||||||
|
|
||||||
export const article = {
|
export const article = {
|
||||||
author: 'Leslie Brown',
|
author: 'Leslie Brown',
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
import typographyPlugin from '@tailwindcss/typography'
|
const typographyPlugin = require('@tailwindcss/typography')
|
||||||
import formsPlugin from '@tailwindcss/forms';
|
const formsPlugin = require('@tailwindcss/forms')
|
||||||
import { type Config } from 'tailwindcss'
|
|
||||||
|
|
||||||
import typographyStyles from './typography'
|
const typographyStyles = require('./typography')
|
||||||
|
|
||||||
export default {
|
/** @type {import('tailwindcss').Config} */
|
||||||
content: ['./src/**/*.{js,jsx,ts,tsx}'],
|
module.exports = {
|
||||||
|
content: ['./src/**/*.{js,jsx,mdx,ts,tsx}'],
|
||||||
darkMode: 'class',
|
darkMode: 'class',
|
||||||
plugins: [
|
plugins: [
|
||||||
typographyPlugin,
|
typographyPlugin,
|
||||||
@@ -29,4 +29,4 @@ export default {
|
|||||||
},
|
},
|
||||||
typography: typographyStyles,
|
typography: typographyStyles,
|
||||||
},
|
},
|
||||||
} satisfies Config
|
}
|
||||||
@@ -1,6 +1,4 @@
|
|||||||
import { type PluginUtils } from 'tailwindcss/types/config'
|
module.exports = function typographyStyles({ theme }) {
|
||||||
|
|
||||||
export default function typographyStyles({ theme }: PluginUtils) {
|
|
||||||
return {
|
return {
|
||||||
invert: {
|
invert: {
|
||||||
css: {
|
css: {
|
||||||
Reference in New Issue
Block a user