Fix up first version and add Prettier and Docker
This commit is contained in:
parent
09a1919d36
commit
324050ee38
87 changed files with 2210 additions and 822 deletions
|
|
@ -1,66 +1,65 @@
|
|||
import defaultTheme from 'tailwindcss/defaultTheme'
|
||||
import defaultTheme from "tailwindcss/defaultTheme";
|
||||
|
||||
/** @type {import('tailwindcss').Config} */
|
||||
export default {
|
||||
darkMode: ['variant', '@media not print { .dark & }'],
|
||||
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
|
||||
darkMode: ["variant", "@media not print { .dark & }"],
|
||||
content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"],
|
||||
theme: {
|
||||
extend: {
|
||||
fontFamily: {
|
||||
sans: ['"Noto Sans Variable"', ...defaultTheme.fontFamily.sans],
|
||||
serif: ['"Noto Serif Variable"', ...defaultTheme.fontFamily.serif],
|
||||
},
|
||||
colors: {
|
||||
bm: {
|
||||
300: 'rgb(153 230 95 / <alpha-value>)',
|
||||
400: 'rgb(125 208 90 / <alpha-value>)',
|
||||
500: 'rgb(72 168 79 / <alpha-value>)',
|
||||
600: 'rgb(57 142 72 / <alpha-value>)',
|
||||
300: "rgb(153 230 95 / <alpha-value>)",
|
||||
400: "rgb(125 208 90 / <alpha-value>)",
|
||||
500: "rgb(72 168 79 / <alpha-value>)",
|
||||
600: "rgb(57 142 72 / <alpha-value>)",
|
||||
},
|
||||
},
|
||||
backgroundImage: {
|
||||
radial: 'radial-gradient(var(--tw-gradient-stops))',
|
||||
radial: "radial-gradient(var(--tw-gradient-stops))",
|
||||
},
|
||||
typography: ({ theme }) => ({
|
||||
story: {
|
||||
css: {
|
||||
'--tw-prose-body': theme('colors.stone[800]'),
|
||||
'--tw-prose-headings': theme('colors.stone[900]'),
|
||||
'--tw-prose-lead': theme('colors.stone[700]'),
|
||||
'--tw-prose-links': theme('colors.bm[500]'),
|
||||
'--tw-prose-bold': theme('colors.stone[900]'),
|
||||
'--tw-prose-counters': theme('colors.stone[600]'),
|
||||
'--tw-prose-bullets': theme('colors.stone[500]'),
|
||||
'--tw-prose-hr': theme('colors.stone[300]'),
|
||||
'--tw-prose-quotes': theme('colors.stone[900]'),
|
||||
'--tw-prose-quote-borders': theme('colors.stone[300]'),
|
||||
'--tw-prose-captions': theme('colors.stone[700]'),
|
||||
'--tw-prose-code': theme('colors.stone[900]'),
|
||||
'--tw-prose-pre-code': theme('colors.stone[100]'),
|
||||
'--tw-prose-pre-bg': theme('colors.stone[900]'),
|
||||
'--tw-prose-th-borders': theme('colors.stone[300]'),
|
||||
'--tw-prose-td-borders': theme('colors.stone[200]'),
|
||||
'--tw-prose-invert-body': theme('colors.stone[100]'),
|
||||
'--tw-prose-invert-headings': theme('colors.white'),
|
||||
'--tw-prose-invert-lead': theme('colors.stone[300]'),
|
||||
'--tw-prose-invert-links': theme('colors.bm[400]'),
|
||||
'--tw-prose-invert-bold': theme('colors.white'),
|
||||
'--tw-prose-invert-counters': theme('colors.stone[400]'),
|
||||
'--tw-prose-invert-bullets': theme('colors.stone[500]'),
|
||||
'--tw-prose-invert-hr': theme('colors.stone[700]'),
|
||||
'--tw-prose-invert-quotes': theme('colors.stone[100]'),
|
||||
'--tw-prose-invert-quote-borders': theme('colors.stone[700]'),
|
||||
'--tw-prose-invert-captions': theme('colors.stone[400]'),
|
||||
'--tw-prose-invert-code': theme('colors.white'),
|
||||
'--tw-prose-invert-pre-code': theme('colors.stone[300]'),
|
||||
'--tw-prose-invert-pre-bg': 'rgb(0 0 0 / 50%)',
|
||||
'--tw-prose-invert-th-borders': theme('colors.stone[600]'),
|
||||
'--tw-prose-invert-td-borders': theme('colors.stone[700]'),
|
||||
"--tw-prose-body": theme("colors.stone[800]"),
|
||||
"--tw-prose-headings": theme("colors.stone[900]"),
|
||||
"--tw-prose-lead": theme("colors.stone[700]"),
|
||||
"--tw-prose-links": theme("colors.bm[500]"),
|
||||
"--tw-prose-bold": theme("colors.stone[900]"),
|
||||
"--tw-prose-counters": theme("colors.stone[600]"),
|
||||
"--tw-prose-bullets": theme("colors.stone[500]"),
|
||||
"--tw-prose-hr": theme("colors.stone[300]"),
|
||||
"--tw-prose-quotes": theme("colors.stone[900]"),
|
||||
"--tw-prose-quote-borders": theme("colors.stone[300]"),
|
||||
"--tw-prose-captions": theme("colors.stone[700]"),
|
||||
"--tw-prose-code": theme("colors.stone[900]"),
|
||||
"--tw-prose-pre-code": theme("colors.stone[100]"),
|
||||
"--tw-prose-pre-bg": theme("colors.stone[900]"),
|
||||
"--tw-prose-th-borders": theme("colors.stone[300]"),
|
||||
"--tw-prose-td-borders": theme("colors.stone[200]"),
|
||||
"--tw-prose-invert-body": theme("colors.stone[100]"),
|
||||
"--tw-prose-invert-headings": theme("colors.white"),
|
||||
"--tw-prose-invert-lead": theme("colors.stone[300]"),
|
||||
"--tw-prose-invert-links": theme("colors.bm[400]"),
|
||||
"--tw-prose-invert-bold": theme("colors.white"),
|
||||
"--tw-prose-invert-counters": theme("colors.stone[400]"),
|
||||
"--tw-prose-invert-bullets": theme("colors.stone[500]"),
|
||||
"--tw-prose-invert-hr": theme("colors.stone[700]"),
|
||||
"--tw-prose-invert-quotes": theme("colors.stone[100]"),
|
||||
"--tw-prose-invert-quote-borders": theme("colors.stone[700]"),
|
||||
"--tw-prose-invert-captions": theme("colors.stone[400]"),
|
||||
"--tw-prose-invert-code": theme("colors.white"),
|
||||
"--tw-prose-invert-pre-code": theme("colors.stone[300]"),
|
||||
"--tw-prose-invert-pre-bg": "rgb(0 0 0 / 50%)",
|
||||
"--tw-prose-invert-th-borders": theme("colors.stone[600]"),
|
||||
"--tw-prose-invert-td-borders": theme("colors.stone[700]"),
|
||||
},
|
||||
},
|
||||
}),
|
||||
},
|
||||
},
|
||||
plugins: [
|
||||
require('@tailwindcss/typography'),
|
||||
],
|
||||
}
|
||||
plugins: [require("@tailwindcss/typography")],
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue