
Product
Socket Now Supports pylock.toml Files
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
use-scroll-bar-style
Advanced tools
响应式可编程的滚动条样式 (vue3)
大多数人都会选择改掉 web
原生难看的滚动条样式,但是原生滚动条的选择器实在是复杂。所以有了这个库,当然得益于 vue3
的支持,一切都是响应式可编程的,例如你可以根据不同场景变换滚动条的样式,尤其是在 web
网站有多主题需求时,一切都会变得简单。
npm i use-scroll-bar-style
<script setup lang="ts">
import { useScrollBarStyle } from 'use-scroll-bar-style'
const {
width,
thumbBackgroundColor,
darkThumbBackgroundColor
// ... etc
} = useScrollBarStyle()
width.value = '10px' // 宽度
thumbBackgroundColor.value = 'red' // thumb 背景颜色
darkThumbBackgroundColor.value = 'blue' // 暗黑模式下 thumb 背景颜色
</script>
该组件由以下库搭建而成
该库由 vue3-exports 提供支持,vue-dark-switch 提供暗黑模式下的测试。
Made with markthree
Published under MIT License.
FAQs
响应式可编程的滚动条样式 (vue3)
The npm package use-scroll-bar-style receives a total of 0 weekly downloads. As such, use-scroll-bar-style popularity was classified as not popular.
We found that use-scroll-bar-style demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.
Research
Security News
Malicious Ruby gems typosquat Fastlane plugins to steal Telegram bot tokens, messages, and files, exploiting demand after Vietnam’s Telegram ban.