Skip to content

VidyFoo/antigravity-skill-engine / .agent/skills/4-tools/visual-designing

visual-designing

Unverified

视觉设计工具箱 - Canvas / Themes / Design System / Artifacts。The unified Visual Design Engine for Antigravity.

resources/glass-components.md

View on GitHub
# Glassmorphism Components

The signature look of modern "Premium" apps.

## 1. The Glass Card
A card that blurs the background behind it.

```jsx
<div className="
  relative overflow-hidden
  rounded-2xl
  bg-white/10        /* Translucent white */
  backdrop-blur-md   /* The blur magic */
  border border-white/20 /* Subtle border */
  shadow-xl
  p-6
">
  <div className="absolute inset-0 bg-gradient-to-br from-white/5 to-transparent pointer-events-none" />
  <h2 className="text-white font-bold text-xl relative z-10">Glass Card</h2>
</div>
```

## 2. Neo-Brutalism Label (Alternative Style)
High contrast, sharp shadows. Use for "Geeky" or "Retro" tools.

```jsx
<div className="
  bg-yellow-400
  text-black font-bold
  border-2 border-black
  shadow-[4px_4px_0px_0px_rgba(0,0,0,1)]
  px-4 py-2
  active:shadow-none active:translate-x-[4px] active:translate-y-[4px]
  transition-all
">
  Hard Shadow Button
</div>
```

## 3. Spotlight Hover Effect
A radial gradient that follows the mouse cursor (requires JS for mouse tracking, or pure CSS group-hover hack).

```css
/* Simple CSS version (static spotlight) */
.spotlight-card:hover::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(255,255,255,0.06), transparent 40%);
  z-index: 3;
}
```
brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).Stars: 322kUpdated Claude CodeCodexVerifiedInstall
brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).Stars: 198kUpdated Claude CodeCodexVerifiedInstall