mirror of
https://github.com/onkelbeh/cheatsheets.git
synced 2025-10-15 15:08:27 +02:00
This PR updates the headings to avoid thin font weights and low constrast ratios. <table> <tr> <th>Before</th> <th>After</th> </tr> <tr> <td>  </td> <td>  </td> </tr> <tr> <td>  </td> <td>  </td> </tr> </table>
35 lines
718 B
JavaScript
35 lines
718 B
JavaScript
import { defineConfig } from 'astro/config'
|
|
import partytown from '@astrojs/partytown'
|
|
|
|
/*
|
|
* https://astro.build/config
|
|
*/
|
|
import tailwind from '@astrojs/tailwind'
|
|
|
|
// https://astro.build/config
|
|
export default defineConfig({
|
|
site: 'https://devhints.io',
|
|
build: {
|
|
format: 'file' /* generate /my-post.html instead of /my-post/index.html */,
|
|
inlineStylesheets: 'always'
|
|
},
|
|
prefetch: {
|
|
prefetchAll: true
|
|
},
|
|
server: {
|
|
host: true
|
|
} /* access from https://192.168.x.x/ */,
|
|
integrations: [
|
|
partytown({
|
|
config: {
|
|
forward: ['dataLayer.push']
|
|
}
|
|
}),
|
|
tailwind()
|
|
],
|
|
markdown: {
|
|
// Syntax highlighting is handled by render()
|
|
syntaxHighlight: false
|
|
}
|
|
})
|