Skip to content

Commit

Permalink
fix(reset)!: remove antfu.css reset (#2254)
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Apr 9, 2023
1 parent cb009f4 commit 08d6ca6
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 198 deletions.
24 changes: 23 additions & 1 deletion interactive/app.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script setup>
import '@unocss/reset/antfu.css'
import '@unocss/reset/tailwind.css'
import './markdown.css'
import 'uno.css'
Expand Down Expand Up @@ -38,10 +38,14 @@ useHead({
</template>

<style>
html {
scrollbar-gutter: stable;
}
html, body , #__nuxt {
height: 100vh;
}
html.dark {
color-scheme: dark;
background: #121212;
color: white;
}
Expand All @@ -51,4 +55,22 @@ html.dark .shiki-light {
html:not(.dark) .shiki-dark {
display: none;
}
html.dark ::-moz-selection {
background: #444;
}
html.dark ::selection {
background: #444;
}
/* Flexbox default changes */
div {
display: flex;
flex-direction: column;
}
div[row=""] {
display: flex;
flex-direction: row;
}
div[block=""] {
display: block;
}
</style>
4 changes: 0 additions & 4 deletions packages/reset/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ import '@unocss/reset/tailwind.css'
// based on tailwind preflights, with some clean up to avoid conflicts with UI frameworks.
// https://github.com/unocss/unocss/blob/main/packages/reset/tailwind-compat.md
import '@unocss/reset/tailwind-compat.css'

// opinionated reset by Anthony Fu
// https://github.com/unocss/unocss/blob/main/packages/reset/antfu.md
import '@unocss/reset/antfu.css'
```


164 changes: 0 additions & 164 deletions packages/reset/antfu.css

This file was deleted.

29 changes: 0 additions & 29 deletions packages/reset/antfu.md

This file was deleted.

0 comments on commit 08d6ca6

Please sign in to comment.