Back to list
acambitsis

ui-design

by acambitsis

1🍴 0📅 Jan 24, 2026

SKILL.md


name: ui-design description: Apply MarkM8 design system. Use when building UI components, updating pages, adding animations, or styling. Covers colors, typography, motion, and component patterns.

MarkM8 UI Design System

Colors

TokenUsage
primaryCTAs, links, focus rings
mutedBackgrounds, disabled states
cardCard backgrounds
borderBorders, dividers

Grade colors (by letter):

  • A: green-500/600 | B: blue-500/600 | C: yellow-500/600 | D: orange-500/600 | F: red-500/600

Typography

  • Font: Geist Sans (font-sans), Geist Mono (font-mono)
  • Hierarchy: Use text-2xl font-boldtext-lg font-mediumtext-sm text-muted-foreground

Animation (Framer Motion)

Components in src/components/motion/:

ComponentWhen to use
PageTransitionWrap page content
FadeInSingle element entrance
FadeInStaggerParent for staggered children
SlideInDirectional entrance (`from="left
ScaleInPop-in effect
StaggerContainer + StaggerItemLists, grids
AnimatedNumberCounting numbers

Timing: Use ease: [0.25, 0.1, 0.25, 1] for smooth transitions. Stagger: 0.08-0.15s between items.

Component Patterns

Cards: Border-left accent for categories

<Card className="border-l-4 border-l-green-500">

Empty states: Use <EmptyState icon="essays|credits" title="..." description="..." action={{label, href}} />

Loading: Use <Skeleton className="h-4 w-32" /> or specific patterns (SkeletonCard, SkeletonListItem)

Score display: <ScoreGauge score={75} size="sm|md|lg" />

Step progress: <StepIndicator steps={[...]} currentStep={0} />

Layout Patterns

Hero sections: Gradient background with decorative blurs

<section className="relative overflow-hidden rounded-2xl bg-gradient-to-br from-primary/5 via-primary/10 to-primary/5 p-8">
  <div className="pointer-events-none absolute -right-20 -top-20 size-64 rounded-full bg-primary/10 blur-3xl" />

Stats bar: Horizontal cards with icon + label + value

Quick actions: Grid of cards with icons, hover states (card-hover class)

Do

  • Wrap pages in <PageTransition>
  • Use StaggerContainer for lists
  • Add border-l-4 border-l-{color} for category cards
  • Use semantic colors from design tokens
  • Progressive disclosure (collapsibles for details)

Don't

  • Raw useState for animations (use Framer Motion)
  • Hardcoded colors (use tokens)
  • Skip loading states
  • Animate everything (be selective)

Reference Files

  • src/styles/global.css - Design tokens, keyframes, utilities
  • src/components/motion/ - Animation components
  • src/components/ScoreGauge.tsx - Animated gauge
  • src/features/dashboard/RecentEssaysV2.tsx - List pattern example
  • src/features/grading/GradeResultsV2.tsx - Card sections example

Score

Total Score

60/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon