本页出处
设计风格资料库
内容来自 luckymaomi 的 UI 风格库(复刻版),以 MIT 许可 提供。本站镜像收录,仅作学习参考;这一页的原始地址是 原站页面。
← 回到导览访问原站仓库
返回配方目录
Linear Style

Linear 风格组件配方

font-medium text-sm rounded-lg transition-opacity duration-150 bg-gradient-to-r from-[#5e6ad2] to-[#8b5cf6] text-white hover:opacity-90 active:opacity-80
button

按钮

Linear-style gradient button with restrained hover opacity

基础骨架
font-medium text-sm rounded-lg transition-opacity duration-150
变体
主要、次要、幽灵
状态
hover、active、disabled
card

卡片

Linear-style dark card with subtle border and surface background

基础骨架
rounded-lg border border-white/10 bg-white/[0.03] transition-colors duration-150
变体
默认、浮起
状态
hover
input

输入框

Linear-style dark input with subtle border and focus accent

基础骨架
w-full rounded-lg border border-white/10 bg-white/[0.03] text-white text-sm placeholder:text-zinc-600 focus:outline-none transition-all duration-150
变体
默认
状态
focus、disabled