Files
Memoh/packages/ui
Acbox 6b931d9139 style(ui): theme-aware custom scrollbar to fix dark-mode contrast
Default OS scrollbars look out of place in dark mode. Introduce
--scrollbar-thumb / --scrollbar-thumb-hover tokens with translucent
black/white per theme, and apply them globally via scrollbar-color
(Firefox) and ::-webkit-scrollbar rules (WebKit) with a thin rounded
thumb on a transparent track.
2026-04-26 15:38:22 +08:00
..
2026-04-23 21:01:57 +08:00

@memohai/ui

UI components for Memoh.

Installation

npm install @memohai/ui

Usage

Import the CSS file in your style.css file.

@import "tailwindcss";
@import "tw-animate-css";
@import "@memohai/ui/style.css";

And then you can use the components in your Vue components.

<script setup>
import { Button } from '@memohai/ui';
</script>

<template>
  <Button>Click me</Button>
</template>