Files
SupplierSystem/skills/design-kungfu/techniques/css-border-gradient.md
T
Ubuntu deb3e72750
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s
chore: 以 AI 生鲜配送系统 当前版本作为 SupplierSystem 起点
来源仓库:jxc/ai-fresh-delivery
来源提交:f0b1a180e2deb7e4673b9d1c8542619f7bc0f73d
快照树:  09f679334ff38f0ff25e907961c94a8223bcaedd(与来源 HEAD 工作树逐字节一致,3801 个文件)

按约定本仓库不带任何历史提交:来源仓库的历史中含真实凭据
(生产 SSH 私钥 deploy/id_rsa_tencent、server/.env、.env.tencent/.env.production/.env.gitea、
deploy/小程序AppSecret.txt,其中 MP_APPSECRET / S3 AccessKey 经哈希比对与线上同值),
整包推送会把这些凭据永久带入本仓库,故只取「当前版本」的单提交快照。
供应商系统后续开发自本提交开始。
2026-10-08 17:35:43 +08:00

2.4 KiB
Raw Blame History

name, type, version, source, source_url, tier, neuform_usage_count, neuform_rank, keywords, applicable_to, compatible_styles, ai_slop_risk, ai_slop_note
name type version source source_url tier neuform_usage_count neuform_rank keywords applicable_to compatible_styles ai_slop_risk ai_slop_note
css-border-gradient technique 1.0.0 neuform-skill https://neuform.ai/skill/css-border-gradient gold 10756 1
border
css
gradient
button
card
container
hero
vercel-style linear-style raycast-style framer-style supabase-style cyberpunk-neon sendwave-cold-outreach swiss-style brutalist-web bauhaus
yes yes yes yes yes yes yes no no no
medium 含 gradient 元素,可能与反 AI slop 风格产生紧张关系,建议低饱和、克制使用

Border Gradients

What

  • Border Gradients: Apply subtle gradient-border treatments for premium surfaces.

When to use

  • Use on premium hero cards, pricing cards, command palettes, and CTA containers that need a quiet edge highlight.
  • Use when the base style already accepts luminous or high-polish surfaces, especially dark SaaS, developer-tool, and cyber interface systems.
  • Avoid on strict Swiss, Bauhaus, or raw brutalist layouts where the border should stay flat, objective, and non-decorative.
  • Avoid full-page rainbow frames; the gradient should live on one or two focal surfaces only.

Recipe

  • Use a wrapper with p-px rounded-[inherit] bg-[linear-gradient(...)], then place the real surface inside with the same radius.
  • Keep stops close to the active style tokens: neutral gray plus one restrained primary/accent color.
  • Tailwind pattern: rounded-2xl bg-[linear-gradient(135deg,rgba(255,255,255,.22),rgba(255,255,255,.04),rgba(99,102,241,.28))] p-px.
  • Inner surface pattern: rounded-[calc(1rem-1px)] bg-[var(--surface)].
  • For buttons, animate opacity or background-position only; do not animate layout or border width.

Compatible Styles

  • Best fit: vercel-style, linear-style, raycast-style, framer-style, supabase-style, cyberpunk-neon, sendwave-cold-outreach.
  • Use sparingly with warm editorial systems such as claude-style: one hero input or one card stack is enough.
  • Do not apply to swiss-style, brutalist-web, or bauhaus; those systems rely on flat rules, hard borders, and minimal effects.

References