feat(apollo-vertex): add AiMark and AiGlow primitives#843
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Dependency License Review
License distribution
Excluded packages
|
There was a problem hiding this comment.
Pull request overview
Adds two shared “AI visual expression” primitives to the apollo-vertex registry to be reused by upcoming AI-variant component PRs and guidance content.
Changes:
- Introduces
AiMark, an inline SVG “astroid” mark that fills withcurrentColoror an external SVG gradient viagradientId. - Introduces
AiGlow, a decorative background glow withcardandgroupvariants driven by--ai-glow-*theme tokens.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| apps/apollo-vertex/registry/ai-mark/ai-mark.tsx | Adds AiMark SVG primitive with optional gradient fill support. |
| apps/apollo-vertex/registry/ai-glow/ai-glow.tsx | Adds AiGlow decorative glow primitive with card and group variants using theme tokens. |
| import { cva, type VariantProps } from "class-variance-authority"; | ||
| import { useId } from "react"; | ||
| import { cn } from "@/lib/utils"; |
📊 Coverage + size by packagePer-package bundle size on this PR (no JS/TS source changes detected under
"Coverage" is each package's own |
Two shared building blocks for the AI visual expression: AiMark (filled astroid, currentColor or gradient via gradientId) and AiGlow (card/group glow on the theme-aware --ai-glow-* tokens). Not yet in registry.json pending a home decision. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
737e91a to
f4bd30e
Compare
Summary
Two shared building blocks for the AI visual expression, used by the per-component AI PRs and the AI Toolkit page.
registry/ai-mark/ai-mark.tsx): the filled astroid mark (currentColor, or a gradient viagradientId).registry/ai-glow/ai-glow.tsx): a decorative card/group glow on the theme-aware--ai-glow-*tokens (Insight to Primary).Dependencies
Stacked on #844 (Foundation) for the AI tokens. Base retargets to
mainafter #844 merges.Open decision for the dev team
Both primitives are intentionally not registered in
registry.jsonand have no@/components/ui/*alias yet (imported via@/registry/...). Their canonical home is deferred. Wire the registry entry and alias once decided.Part of a set
One of a set splitting the AI visual expression work (originally draft #840). Full set linked below.
The full set
Merge order (each stacked PR retargets to
mainonce its base merges):main(ROOT)