Skip to content

po4yka/RIPDPI / docs/design/rds

ripdpi-design

Verified

Use this skill to generate well-branded interfaces and assets for RIPDPI (an Android-native, Compose-first VPN and DPI-bypass app), either for production or throwaway prototypes/mocks/etc. Contains essential design guidelines, colors, type, fonts, brand-ship icons, and an interactive UI kit of every public composable from the live ui/components tree.

FileKindSize
COVERAGE.mdmarkdown23.0 KB
README.mdmarkdown19.6 KB
SKILL.mdskill md4.0 KB
assets/ic_launcher.pngbinary9.7 KB
assets/ic_launcher.svgother3.0 KB
assets/icons/ic_article_outline.svgother315 B
assets/icons/ic_launcher_foreground_ripdpi_clean.svgother3.0 KB
assets/icons/ic_launcher_foreground_ripdpi_cracked.svgother6.6 KB
assets/icons/ic_launcher_foreground_ripdpi_disintegrate.svgother9.5 KB
assets/icons/ic_launcher_foreground_ripdpi_glitch.svgother8.4 KB
assets/icons/ic_launcher_foreground_ripdpi_rubble.svgother7.8 KB
assets/icons/ic_launcher_foreground_ripdpi_stitch.svgother13.3 KB
assets/icons/ic_launcher_monochrome_ripdpi.svgother3.0 KB
assets/icons/ic_notification.svgother270 B
assets/icons/ic_settings_outline.svgother1.0 KB
assets/icons/ic_stop_outline.svgother153 B
assets/icons/ic_tune_outline.svgother244 B
assets/icons/ic_vpn_key_outline.svgother296 B
assets/icons/ripdpi_wordmark.svgother34.6 KB
assets/raw/ic_article_outline.xmlconfig552 B
assets/raw/ic_launcher_foreground_ripdpi_clean.xmlconfig3.4 KB
assets/raw/ic_launcher_foreground_ripdpi_cracked.xmlconfig7.0 KB
assets/raw/ic_launcher_foreground_ripdpi_disintegrate.xmlconfig10.1 KB
assets/raw/ic_launcher_foreground_ripdpi_glitch.xmlconfig8.7 KB
assets/raw/ic_launcher_foreground_ripdpi_rubble.xmlconfig8.4 KB
assets/raw/ic_launcher_foreground_ripdpi_stitch.xmlconfig13.5 KB
assets/raw/ic_launcher_monochrome_ripdpi.xmlconfig3.4 KB
assets/raw/ic_notification.xmlconfig3.4 KB
assets/raw/ic_settings_outline.xmlconfig1.2 KB
assets/raw/ic_stop_outline.xmlconfig338 B
assets/raw/ic_tune_outline.xmlconfig429 B
assets/raw/ic_vpn_key_outline.xmlconfig481 B
colors_and_type.cssother12.2 KB
diagnostic-reports-index.htmlother4.8 KB
fonts/geist_mono_bold.ttfbinary146.8 KB
fonts/geist_mono_medium.ttfbinary145.7 KB
fonts/geist_mono_regular.ttfbinary144.9 KB
fonts/geist_sans_bold.ttfbinary125.7 KB
fonts/geist_sans_medium.ttfbinary124.6 KB
fonts/geist_sans_regular.ttfbinary123.0 KB
mobile-diagnostic-report.htmlother12.0 KB
mobile-elements-showcase.htmlother19.3 KB
mobile-vpn-connection.htmlother12.2 KB
preview/a11y-color-contrast.htmlother8.3 KB
preview/a11y-focus-rings.htmlother6.5 KB
preview/android-crash-screen.htmlother2.3 KB
preview/android-customization.htmlother3.0 KB
preview/android-glance-widget.htmlother4.0 KB
preview/android-history.htmlother2.3 KB
preview/android-nav-bar.htmlother1.6 KB
preview/android-nav-rail.htmlother3.2 KB
preview/android-notif-foreground.htmlother3.4 KB
preview/android-notif-heads-up.htmlother2.5 KB
preview/android-notif-lock-screen.htmlother2.3 KB
preview/android-permission-rationale.htmlother3.0 KB
preview/android-qs-tile.htmlother2.3 KB
preview/android-scanner.htmlother1.9 KB
preview/android-splash.htmlother1.4 KB
preview/android-split-columns.htmlother2.1 KB
preview/android-status-bar.htmlother2.9 KB
preview/android-vpn-permission.htmlother2.0 KB
preview/brand-launcher-variants.htmlother4.7 KB
preview/brand-mark.htmlother3.4 KB
preview/color-anchors.htmlother2.0 KB
preview/color-destructive.htmlother1.9 KB
preview/color-edges.htmlother3.4 KB
preview/color-info.htmlother1.8 KB
preview/color-neutrals.htmlother3.3 KB
preview/color-restricted.htmlother1.9 KB
preview/color-success.htmlother1.8 KB
preview/color-warning.htmlother1.8 KB
preview/components-accordion.htmlother6.2 KB
preview/components-actuator-states.htmlother8.8 KB
preview/components-actuator.htmlother6.6 KB
preview/components-analysis-progress.htmlother2.1 KB
preview/components-bottom-nav.htmlother2.1 KB
preview/components-bottom-sheet.htmlother2.0 KB
preview/components-brand-badge.htmlother2.6 KB
preview/components-buttons.htmlother2.5 KB
preview/components-card.htmlother2.1 KB
preview/components-chips.htmlother1.6 KB
preview/components-cidr-input.htmlother5.0 KB
preview/components-combobox.htmlother6.8 KB
preview/components-command-palette.htmlother7.3 KB
preview/components-dialog.htmlother2.1 KB
preview/components-diff-viewer.htmlother6.6 KB
preview/components-dropdown.htmlother2.6 KB
preview/components-empty-state.htmlother1.5 KB
preview/components-filter-bar.htmlother5.9 KB
preview/components-heartbeat-indicator.htmlother6.4 KB
preview/components-icon-buttons.htmlother3.9 KB
preview/components-json-tree.htmlother7.7 KB
preview/components-kbd-shortcut.htmlother4.2 KB
preview/components-live-counter.htmlother7.3 KB
preview/components-log-row.htmlother2.5 KB
preview/components-log-stream.htmlother7.5 KB
preview/components-metric-pill.htmlother1.7 KB
preview/components-page-indicators.htmlother1.4 KB
preview/components-preset-card.htmlother2.0 KB
preview/components-progress-bar.htmlother4.8 KB
preview/components-section-header.htmlother1.7 KB
preview/components-segmented.htmlother4.3 KB
preview/components-settings-row.htmlother2.0 KB
preview/components-shimmer.htmlother3.9 KB
preview/components-slider.htmlother6.6 KB
preview/components-snackbar.htmlother3.0 KB
preview/components-spinner.htmlother1.8 KB
preview/components-stage-progress.htmlother1.9 KB
preview/components-stale-data-badge.htmlother5.8 KB
preview/components-status-indicator.htmlother1.9 KB
preview/components-stepper.htmlother7.0 KB
preview/components-switch.htmlother1.8 KB
preview/components-tabs.htmlother4.6 KB
preview/components-text-action.htmlother2.2 KB
preview/components-text-field.htmlother1.8 KB
preview/components-toggle-alternatives.htmlother2.4 KB
preview/components-tooltip.htmlother2.0 KB
preview/components-top-app-bar.htmlother2.3 KB
preview/components-warning-banner.htmlother3.1 KB
preview/diagnostic-censorship-signature.htmlother8.1 KB
preview/diagnostic-dns-resolvers.htmlother10.1 KB
preview/diagnostic-hop-trace.htmlother7.1 KB
preview/diagnostic-mtu-scan.htmlother7.4 KB
preview/diagnostic-port-matrix.htmlother7.5 KB
preview/diagnostic-report-summary.htmlother5.2 KB
preview/gesture-long-press-menu.htmlother6.9 KB
preview/gesture-pull-to-refresh.htmlother8.5 KB
preview/gesture-swipe-actions.htmlother7.4 KB
preview/icon-set.htmlother2.9 KB
preview/motion-connection-states.htmlother7.5 KB
preview/motion-data-ticker.htmlother5.5 KB
preview/motion-easing-curves.htmlother4.6 KB
preview/motion-page-transitions.htmlother6.0 KB
preview/motion-probe-pulse.htmlother5.4 KB
preview/motion-reduced-motion.htmlother6.7 KB
preview/motion-skeleton-shimmer.htmlother5.8 KB
preview/motion-toast-choreography.htmlother8.4 KB
preview/motion-tokens.htmlother2.8 KB
preview/onboarding-coach-mark.htmlother7.6 KB
preview/onboarding-tour-cards.htmlother5.6 KB
preview/preview.cssother1.9 KB
preview/radii.htmlother3.8 KB
preview/share-bottom-sheet.htmlother5.6 KB
preview/share-link-preview.htmlother5.1 KB
preview/share-qr-code.htmlother5.2 KB
preview/share-result-viewer.htmlother3.5 KB
preview/share-stats-card.htmlother3.5 KB
preview/spacing-scale.htmlother3.6 KB
preview/strokes.htmlother1.3 KB
preview/touch-targets.htmlother1.9 KB
preview/type-body.htmlother1.4 KB
preview/type-brand.htmlother1.1 KB
preview/type-display.htmlother1.4 KB
preview/type-mono.htmlother1.4 KB
preview/type-section-title.htmlother1.3 KB
preview/vpn-awg-editor.htmlother12.6 KB
preview/vpn-block-check.htmlother3.5 KB
preview/vpn-confirm-disconnect.htmlother2.4 KB
preview/vpn-data-transparency.htmlother3.9 KB
preview/vpn-degradation-strip.htmlother5.5 KB
preview/vpn-detection-check.htmlother3.7 KB
preview/vpn-dns-picker.htmlother3.4 KB
preview/vpn-export-consent.htmlother3.6 KB
preview/vpn-first-run-test.htmlother5.1 KB
preview/vpn-handshake-timeline.htmlother9.7 KB
preview/vpn-identity-card.htmlother2.8 KB
preview/vpn-in-app-browser.htmlother3.9 KB
preview/vpn-kill-switch.htmlother3.7 KB
preview/vpn-latency-graph.htmlother2.9 KB
preview/vpn-network-change.htmlother2.9 KB
preview/vpn-oom-recovery.htmlother2.4 KB
preview/vpn-pcap-viewer.htmlother3.1 KB
preview/vpn-per-app-routing.htmlother3.9 KB
preview/vpn-permission-summary.htmlother3.4 KB
preview/vpn-presets-gallery.htmlother3.3 KB
preview/vpn-probe-live.htmlother3.0 KB
preview/vpn-profile-switcher.htmlother2.9 KB
preview/vpn-quick-vs-advanced.htmlother3.0 KB
preview/vpn-reconnect-toast.htmlother5.9 KB
preview/vpn-relay-picker.htmlother4.0 KB
preview/vpn-replay-failure.htmlother3.6 KB
preview/vpn-session-card.htmlother7.2 KB
preview/vpn-snooze.htmlother2.9 KB
preview/vpn-state-history.htmlother9.2 KB
preview/vpn-state-machine.htmlother11.4 KB
preview/vpn-strategy-ab.htmlother5.0 KB
preview/vpn-strategy-editor.htmlother4.2 KB
preview/vpn-strategy-import.htmlother3.6 KB
preview/vpn-strategy-probe-wizard.htmlother3.8 KB
preview/vpn-throughput-graph.htmlother3.5 KB
preview/whats-new-card.htmlother6.1 KB
ui_kits/android/MobileDiagnosticReport.jsxother33.4 KB
ui_kits/android/MobileElements.jsxother34.1 KB
ui_kits/android/MobileVpnConnection.jsxother36.6 KB
ui_kits/android/README.mdmarkdown3.5 KB
ui_kits/android/RipDpiComponents.jsxother27.1 KB
ui_kits/android/RipDpiScreens.jsxother17.7 KB
ui_kits/android/android-frame.jsxother9.2 KB
ui_kits/android/index.htmlother14.2 KB

ui_kits/android/android-frame.jsx

View on GitHub

// Android.jsx — Simplified Android (Material 3) device frame
// Status bar + top app bar + content + gesture nav + keyboard.
// Based on Figma M3 spec. No dependencies, no image assets.

const MD_C = {
  surface: '#f4fbf8',
  surfaceVariant: '#dae5e1',
  inverseOnSurface: '#ecf2ef',
  secondaryContainer: '#cde8e1',
  primaryFixedDim: '#83d5c6',
  onSurface: '#171d1b',
  onSurfaceVar: '#49454f',
  onPrimaryContainer: '#00201c',
  primary: '#006a60',
  frameBorder: 'rgba(116,119,117,0.5)',
};

// ─────────────────────────────────────────────────────────────
// Status bar (time left, wifi/cell/battery right)
// ─────────────────────────────────────────────────────────────
function AndroidStatusBar({ dark = false }) {
  const c = dark ? '#fff' : MD_C.onSurface;
  return (
    <div style={{
      height: 40, display: 'flex', alignItems: 'center',
      justifyContent: 'space-between', padding: '0 16px',
      position: 'relative',
      fontFamily: 'Roboto, system-ui, sans-serif',
    }}>
      {/* time left */}
      <div style={{ width: 128, display: 'flex', alignItems: 'center', gap: 8 }}>
        <span style={{ fontSize: 14, fontWeight: 400, letterSpacing: 0.25, lineHeight: '20px', color: c }}>9:30</span>
      </div>
      {/* camera punch-hole (center) */}
      <div style={{
        position: 'absolute', left: '50%', top: 8, transform: 'translateX(-50%)',
        width: 24, height: 24, borderRadius: 100, background: '#2e2e2e',
      }} />
      {/* status icons right */}
      <div style={{ display: 'flex', alignItems: 'center' }}>
        <div style={{ display: 'flex', paddingRight: 2 }}>
          <svg width="16" height="16" viewBox="0 0 16 16" style={{ marginRight: -2 }}>
            <path d="M8 13.3L.67 5.97a10.37 10.37 0 0114.66 0L8 13.3z" fill={c}/>
          </svg>
          <svg width="16" height="16" viewBox="0 0 16 16" style={{ marginRight: -2 }}>
            <path d="M14.67 14.67V1.33L1.33 14.67h13.34z" fill={c}/>
          </svg>
        </div>
        <svg width="16" height="16" viewBox="0 0 16 16">
          <rect x="3.75" y="2" width="8.5" height="13" rx="1.5" fill={c}/>
          <rect x="5.5" y="0.9" width="5" height="2" rx="0.5" fill={c}/>
        </svg>
      </div>
    </div>
  );
}

// ─────────────────────────────────────────────────────────────
// Top app bar (Material 3 small/medium)
// ─────────────────────────────────────────────────────────────
function AndroidAppBar({ title = 'Title', large = false }) {
  const iconDot = (
    <div style={{
      width: 48, height: 48, display: 'flex', alignItems: 'center', justifyContent: 'center',
    }}>
      <div style={{ width: 22, height: 22, borderRadius: '50%', background: MD_C.onSurfaceVar, opacity: 0.3 }} />
    </div>
  );
  return (
    <div style={{ background: MD_C.surface, padding: '4px 4px 0' }}>
      <div style={{ height: 56, display: 'flex', alignItems: 'center', gap: 4 }}>
        {iconDot}
        {!large && (
          <span style={{
            flex: 1, fontSize: 22, fontWeight: 400, color: MD_C.onSurface,
            fontFamily: 'Roboto, system-ui, sans-serif',
          }}>{title}</span>
        )}
        {large && <div style={{ flex: 1 }} />}
        {iconDot}
      </div>
      {large && (
        <div style={{
          padding: '16px 16px 20px',
          fontSize: 28, fontWeight: 400, color: MD_C.onSurface,
          fontFamily: 'Roboto, system-ui, sans-serif',
        }}>{title}</div>
      )}
    </div>
  );
}

// ─────────────────────────────────────────────────────────────
// List item (Material 3)
// ─────────────────────────────────────────────────────────────
function AndroidListItem({ headline, supporting, leading }) {
  return (
    <div style={{
      display: 'flex', alignItems: 'center', gap: 16,
      padding: '12px 16px', minHeight: 56, boxSizing: 'border-box',
      fontFamily: 'Roboto, system-ui, sans-serif',
    }}>
      {leading && (
        <div style={{
          width: 40, height: 40, borderRadius: '50%',
          background: MD_C.primary, color: '#fff',
          display: 'flex', alignItems: 'center', justifyContent: 'center',
          fontSize: 18, fontWeight: 500, flexShrink: 0,
        }}>{leading}</div>
      )}
      <div style={{ flex: 1, minWidth: 0 }}>
        <div style={{ fontSize: 16, color: MD_C.onSurface, lineHeight: '24px' }}>{headline}</div>
        {supporting && (
          <div style={{ fontSize: 14, color: MD_C.onSurfaceVar, lineHeight: '20px' }}>{supporting}</div>
        )}
      </div>
    </div>
  );
}

// ─────────────────────────────────────────────────────────────
// Gesture nav bar (pill)
// ─────────────────────────────────────────────────────────────
function AndroidNavBar({ dark = false }) {
  return (
    <div style={{
      height: 24, display: 'flex', alignItems: 'center', justifyContent: 'center',
    }}>
      <div style={{
        width: 108, height: 4, borderRadius: 2,
        background: dark ? '#fff' : MD_C.onSurface, opacity: 0.4,
      }} />
    </div>
  );
}

// ─────────────────────────────────────────────────────────────
// Device frame — wraps everything
// ─────────────────────────────────────────────────────────────
function AndroidDevice({
  children, width = 412, height = 892, dark = false,
  title, large = false, keyboard = false,
}) {
  return (
    <div style={{
      width, height, borderRadius: 18, overflow: 'hidden',
      background: dark ? '#1d1b20' : MD_C.surface,
      border: `8px solid ${MD_C.frameBorder}`,
      boxShadow: '0 30px 80px rgba(0,0,0,0.25)',
      display: 'flex', flexDirection: 'column', boxSizing: 'border-box',
    }}>
      <AndroidStatusBar dark={dark} />
      {title !== undefined && <AndroidAppBar title={title} large={large} />}
      <div style={{ flex: 1, overflow: 'auto' }}>
        {children}
      </div>
      {keyboard && <AndroidKeyboard />}
      <AndroidNavBar dark={dark} />
    </div>
  );
}

// ─────────────────────────────────────────────────────────────
// Keyboard — Gboard (Material 3)
// ─────────────────────────────────────────────────────────────
function AndroidKeyboard() {
  let _k = 0;
  const key = (l, { flex = 1, bg = MD_C.surface, r = 6, minW, fs = 21 } = {}) => (
    <div key={_k++} style={{
      height: 46, borderRadius: r, flex, minWidth: minW,
      background: bg, display: 'flex', alignItems: 'center', justifyContent: 'center',
      fontFamily: 'Roboto, system-ui', fontSize: fs,
      color: MD_C.onPrimaryContainer,
    }}>{l}</div>
  );
  const row = (keys, style = {}) => (
    <div style={{ display: 'flex', gap: 6, justifyContent: 'center', ...style }}>
      {keys.map(l => key(l))}
    </div>
  );
  return (
    <div style={{
      background: MD_C.inverseOnSurface, padding: '0 8px 8px',
      display: 'flex', flexDirection: 'column', gap: 4,
    }}>
      {/* navbar spacer (icons omitted) */}
      <div style={{ height: 44 }} />
      {/* key rows */}
      <div style={{ display: 'flex', flexDirection: 'column', gap: 12 }}>
        {row(['q','w','e','r','t','y','u','i','o','p'])}
        {row(['a','s','d','f','g','h','j','k','l'], { padding: '0 20px' })}
        <div style={{ display: 'flex', gap: 6 }}>
          {key('', { bg: MD_C.surfaceVariant })}
          <div style={{ display: 'flex', gap: 6, flex: 7, minWidth: 274 }}>
            {['z','x','c','v','b','n','m'].map(l => key(l))}
          </div>
          {key('', { bg: MD_C.surfaceVariant })}
        </div>
        <div style={{ display: 'flex', gap: 6 }}>
          {key('?123', { bg: MD_C.secondaryContainer, r: 100, minW: 58, fs: 14 })}
          {key(',', { bg: MD_C.surfaceVariant })}
          {key('', { flex: 3, minW: 154 })}
          {key('.', { bg: MD_C.surfaceVariant })}
          {key('', { bg: MD_C.primaryFixedDim, r: 100, minW: 58 })}
        </div>
      </div>
    </div>
  );
}

Object.assign(window, {
  AndroidDevice, AndroidStatusBar, AndroidAppBar, AndroidListItem, AndroidNavBar, AndroidKeyboard,
});
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