formatting
This commit is contained in:
@@ -36,7 +36,7 @@ Static assets, like favicons, can be placed in the `public/` directory.
|
|||||||
All commands are run from the root of the project, from a terminal:
|
All commands are run from the root of the project, from a terminal:
|
||||||
|
|
||||||
| Command | Action |
|
| Command | Action |
|
||||||
| :------------------------ | :----------------------------------------------- |
|
| :--------------------- | :----------------------------------------------- |
|
||||||
| `pnpm install` | Installs dependencies |
|
| `pnpm install` | Installs dependencies |
|
||||||
| `pnpm dev` | Starts local dev server at `localhost:4321` |
|
| `pnpm dev` | Starts local dev server at `localhost:4321` |
|
||||||
| `pnpm build` | Build your production site to `./dist/` |
|
| `pnpm build` | Build your production site to `./dist/` |
|
||||||
|
@@ -2,57 +2,6 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}', '*.{js,ts,jsx,tsx,mdx}'],
|
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}', '*.{js,ts,jsx,tsx,mdx}'],
|
||||||
darkMode: 'class',
|
darkMode: 'class',
|
||||||
theme: {
|
theme: {},
|
||||||
extend: {
|
|
||||||
typography: (theme) => ({
|
|
||||||
DEFAULT: {
|
|
||||||
css: {
|
|
||||||
a: {
|
|
||||||
color: theme('colors.zinc.900'),
|
|
||||||
'&:hover': {
|
|
||||||
color: theme('colors.zinc.700'),
|
|
||||||
},
|
|
||||||
textDecoration: 'underline',
|
|
||||||
textDecorationColor: theme('colors.zinc.400'),
|
|
||||||
textUnderlineOffset: '2px',
|
|
||||||
},
|
|
||||||
'h1, h2, h3, h4, h5, h6': {
|
|
||||||
color: theme('colors.zinc.900'),
|
|
||||||
},
|
|
||||||
code: {
|
|
||||||
color: theme('colors.zinc.900'),
|
|
||||||
backgroundColor: theme('colors.zinc.100'),
|
|
||||||
borderRadius: theme('borderRadius.md'),
|
|
||||||
padding: `${theme('padding.1')} ${theme('padding.1.5')}`,
|
|
||||||
},
|
|
||||||
'code::before': {
|
|
||||||
content: '""',
|
|
||||||
},
|
|
||||||
'code::after': {
|
|
||||||
content: '""',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
invert: {
|
|
||||||
css: {
|
|
||||||
a: {
|
|
||||||
color: theme('colors.zinc.100'),
|
|
||||||
'&:hover': {
|
|
||||||
color: theme('colors.zinc.300'),
|
|
||||||
},
|
|
||||||
textDecorationColor: theme('colors.zinc.700'),
|
|
||||||
},
|
|
||||||
'h1, h2, h3, h4, h5, h6': {
|
|
||||||
color: theme('colors.zinc.100'),
|
|
||||||
},
|
|
||||||
code: {
|
|
||||||
color: theme('colors.zinc.100'),
|
|
||||||
backgroundColor: theme('colors.zinc.800'),
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}),
|
|
||||||
},
|
|
||||||
},
|
|
||||||
plugins: [require('@tailwindcss/typography')],
|
plugins: [require('@tailwindcss/typography')],
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user