chore: bug fixes

This commit is contained in:
Hakadao
2023-08-03 01:54:45 +08:00
parent bf5c6deeab
commit 8fa9be4212
3 changed files with 5 additions and 4 deletions

View File

@@ -23,7 +23,7 @@ onMounted(() => {
<span
inline-block w="$b-button-width" h="$b-button-height" bg="$bew-fill-1" rounded="[calc(var(--b-button-height)/2)]"
relative border="size-$b-border-width color-$bew-border-color"
after:content-none after:inline-block after:bg="white" after:rounded="[calc(var(--b-button-height)/2)]"
after:content-empty after:inline-block after:bg-white after:rounded="[calc(var(--b-button-height)/2)]"
after:w="[calc(var(--b-button-height)-var(--b-border-width))]" after:h="[calc(var(--b-button-height)-var(--b-border-width))]"
after:border="size-$b-border-width color-$bew-border-color"
after:pos="absolute top-[calc(0px-var(--b-border-width)/2)]"

View File

@@ -2,8 +2,8 @@
import type { Ref } from 'vue'
interface Props {
min: number
max: number
min?: number
max?: number
value: number
label: string
}

View File

@@ -1,11 +1,12 @@
import { defineConfig } from 'unocss/vite'
import { presetAttributify, presetIcons, presetUno, transformerDirectives } from 'unocss'
import { presetAttributify, presetIcons, presetTypography, presetUno, transformerDirectives } from 'unocss'
export default defineConfig({
presets: [
presetUno(),
presetAttributify(),
presetIcons(),
presetTypography(),
],
transformers: [
transformerDirectives(),