← Back to Pull requests

feat: opt-in SVG icons, Unicode symbols and ASCII/box art #29

Open
unknown opened this pull request with 244 lines diff across 3 files
View on GitHub
unknown unknown commented on Nov 15, 2026 01:49 UTC
Author

Summary


  • Add zero-JS syntyr.symbols.css as an optional module for user-supplied inline SVG icons, Unicode markers, and scroll-safe ASCII/Unicode box-drawing text.

  • Add MIT documentation and a static symbol gallery, with accessible alternatives for decorative art and icon-only controls.

  • Integrate the new module into the reproducible CSS build, syntyr.all.css, Cloudflare allowlisted site, release packaging, and architecture contract.

  • Extend unit, browser, reflow and accessibility test coverage without adding consumer runtime dependencies.
  • Verification


  • python3 scripts/build.py --check: pass (all 9 CSS distributions)

  • python3 -m unittest discover -s tests -v: 160 tests passed

  • python3 scripts/package_release.py: passed

  • Cloudflare build and --check: passed

  • Browser-specific symbol demo: Chromium and Firefox at 320, 390 and 1280 px passed; 320–390 px reflow with 1×/1.5×/2× text scaling passed.

  • WebKit not claimed verified: installed cached WebKit browser exited during launch. Browser/axe/manual screen-reader release validation still needed.
  • Boundaries


    No icon pack, fonts, JS or external assets are bundled; no change to alpha.4 immutable release assets; no core component styling depends on symbols.

    <!-- This is an auto-generated comment: release notes by coderabbit.ai -->

    <!-- coderabbit-ai-generated:v1 -->

    Summary by CodeRabbit

    New Features
    Added an optional symbols stylesheet for styling user-provided SVG icons, Unicode symbols, and aligned ASCII or box-drawing art.
    Added a showcase demonstrating these styles, including accessibility-friendly examples.
    The symbols stylesheet is available separately or in the combined CSS bundle, and remains outside the core bundle.
    Documentation
    Added a guide covering usage, accessibility, and fallbacks, with links from the README and examples gallery.

    <!-- end of auto-generated comment: release notes by coderabbit.ai -->

    Diff: 244 lines (+183 / -61) across 3 files Reviewer: coderabbitai[bot] Review duration: 11m
    All Vouch review confidence checks passed
    Residual risk 0.22 = Change Risk (0.39) × (1 − Review Confidence (0.43)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.39 · 244 lines diff across 3 files
    0.39
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    42%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Shallow Review Depth shallow_review_depth
    0.344
    Diff Size diff_size
    0.329
    Real PR Conversation Timeline
    1 comments
    "Review active on #29"
    general weight: 0.35
    Assignees
    Unassigned
    Labels
    risk: low confidence: 43.0% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 38.8% (MEDIUM) · Higher = larger blast radius
    38.8%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 43.0% · Lower = rushed or shallow review
    43.0%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 22.1% · Safe to merge
    22.1%