chore: cleanup

This commit is contained in:
Anthony Fu 2021-07-20 14:20:55 +08:00
parent dd97f5b8f0
commit a88b28a17b
3 changed files with 2 additions and 40 deletions

View File

@ -3,7 +3,7 @@
</p>
<h6 align='center'>
<a href="https://vitesse.netlify.app/">Live Demo</a>
<a href="https://vitesse-lite.netlify.app/">Live Demo</a>
</h6>
<h5 align='center'>
@ -47,7 +47,6 @@ See [Vitesse](https://github.com/antfu/vitesse) for full featureset.
### UI Frameworks
- [Windi CSS](https://github.com/windicss/windicss) (On-demand [TailwindCSS](https://tailwindcss.com/)) - lighter and faster, with a bunch of additional features!
- [Windi CSS Typography](https://windicss.org/plugins/official/typography.html)
### Icons

View File

@ -15,8 +15,7 @@
"forceConsistentCasingInFileNames": true,
"types": [
"vite/client",
"vite-plugin-pages/client",
"vite-plugin-vue-layouts/client"
"vite-plugin-pages/client"
],
"paths": {
"~/*": ["src/*"]

View File

@ -1,43 +1,7 @@
import { defineConfig } from 'windicss/helpers'
import colors from 'windicss/colors'
import typography from 'windicss/plugin/typography'
export default defineConfig({
darkMode: 'class',
// https://windicss.org/posts/v30.html#attributify-mode
attributify: true,
plugins: [
typography(),
],
theme: {
extend: {
typography: {
DEFAULT: {
css: {
maxWidth: '65ch',
color: 'inherit',
a: {
'color': 'inherit',
'opacity': 0.75,
'fontWeight': '500',
'textDecoration': 'underline',
'&:hover': {
opacity: 1,
color: colors.teal[600],
},
},
b: { color: 'inherit' },
strong: { color: 'inherit' },
em: { color: 'inherit' },
h1: { color: 'inherit' },
h2: { color: 'inherit' },
h3: { color: 'inherit' },
h4: { color: 'inherit' },
code: { color: 'inherit' },
},
},
},
},
},
})