superhighfives/pika
64.6
Adequate · 14 November 2026
14.9k
lines of production code
Swift
primary language
5
measurements over time
What this system is
Pika is a native macOS color picker application that allows users to capture, manage, and export colors from the screen. It supports multiple color formats including Hex, RGB, HSL, LAB, and OKLCH, and provides accessibility compliance checks via WCAG and APCA standards. The system features a flexible interface with menu-bar popover and dock modes, persistent color history with palette management, and comprehensive localization across several languages.
How it got here
2020 — Initial release and SwiftUI migration
6 changes.
This period marks the initial release of Pika, a native macOS color picker, establishing the core project structure, dependencies, and adaptive UI components. The work culminated in a comprehensive migration to SwiftUI, introducing a menu-bar popover mode and modernizing the interface to replace the previous storyboard-based implementation.
2021 — Localization and accessibility expansion
7 changes.
This period focused on expanding Pika's core functionality by adding support for modern color spaces like OKLCH and accessibility standards such as APCA. The team also implemented comprehensive localization for English, French, and German, while introducing Touch Bar support and consolidating app configuration into a centralized constants module.
2023–2026 — Localization expansion and history management
8 changes.
This period focused on expanding Pika's internationalization by adding support for Spanish, Polish, Chinese, Croatian, and Japanese. It also introduced comprehensive color history and palette management with undo/redo capabilities, alongside new custom SwiftUI button styles and a robust unit test suite for color processing logic.
Features
Add Japanese language support
Pika now includes a Japanese (ja) localization, translating the user interface, preferences, and menu items into Japanese for users who select this language in their system settings.
Pika/Assets/ja.lproj · high confidence
Added French and German localization files
Pika now includes complete French and German translations for its interface. Users selecting these languages will see localized text in the menu bar, preferences, and color picker, covering settings for copy formats, appearance, and accessibility compliance.
Pika/Assets/fr.lproj · high confidence
Added Simplified and Traditional Chinese localization files
Added Localizable.strings and Main.strings files for Simplified Chinese (zh-Hans) and Traditional Chinese (zh-Hant) to provide translated UI text, menu items, and preferences descriptions for these locales.
Pika/Assets/zh-Hans.lproj, Pika/Assets/zh-Hant.lproj · high confidence
Added Spanish and Polish localization for Pika
Spanish and Polish language support has been added to Pika. Users can now see the app interface, preferences, menu items, and color format labels (including OKLCH, WCAG, and APCA descriptions) in Spanish and Polish, covering both the main application strings and storyboard menu titles.
Pika/Assets/es.lproj · high confidence
Croatian localization added
Added Croatian (hr) language support for the Pika application, including translations for the main menu, preferences, color format options (such as OKLCH, HSL, RGB), and accessibility contrast descriptions.
Pika/Assets/hr.lproj · high confidence
Expanded color science support and accessibility compliance tools
The Pika/Extensions module now provides comprehensive support for modern color spaces and accessibility standards. Users can convert colors to CIE-LAB and OKLCH formats, in addition to existing RGB, HSL, and Hex representations. The module also introduces APCA (Accessible Per-Color Contrast) compliance calculations alongside existing WCAG contrast ratio checks, allowing for more accurate readability assessments. Utility extensions for NSWindow fading, SwiftUI binding changes, and App Store version checking have also been added to support the application's UI and update logic.
Pika/Extensions · high confidence
Initial English localization for Pika interface and preferences
This change introduces the complete English language strings for the Pika application, establishing the user-facing text for menus, preferences, and settings. The \Localizable.strings\ file defines configuration options such as export formats (CSS, SwiftUI, Design Software), color space settings, and appearance controls like window shadow and contrast calculation standards (WCAG and APCA). The \Main.strings\ file provides the labels for the application menu bar, including actions for picking foreground and background colors, history navigation, and help resources. This localization layer enables users to interact with the app's core features, such as color copying, history management, and preference customization, in English.
Pika/Assets/en.lproj · high confidence
Initial release of Pika macOS colour picker
This commit introduces the initial version of Pika, a native macOS colour picker application. The repository now includes the core project structure, including an Xcode project, a .gitignore tailored for macOS development, and a Swift 5.3 version file. It establishes the build toolchain via a Mintfile specifying SwiftLint and SwiftFormat, and configures code style rules in .swiftlint.yml. The project is licensed under the MIT License and includes a comprehensive README detailing features such as screen color picking, multiple format support (Hex, RGB, HSB, HSL, LAB, OpenGL, OKLCH), keyboard shortcuts, and URL scheme triggers for automation.
(repo-wide) · high confidence
Introduce Touch Bar support with color picking and contrast display
Pika now supports macOS Touch Bar, providing quick access to foreground and background color picking, copying, and contrast ratio display. The Touch Bar includes an icon, eyedropper buttons for both colors, and a dynamic contrast ratio item that updates based on the selected WCAG or APCA standard. A splash screen is also displayed on the Touch Bar during app launch.
Pika/TouchBar · high confidence
Introduces adaptive window layout and new UI components for color management
The Pika/Views area now implements an adaptive layout system that automatically hides or shrinks interface elements (such as the color history drawer, compliance footer, and preview pill) when the window is resized below specific thresholds, ensuring the core color pickers remain usable in compact spaces. This change also introduces several new view components: a Metal-powered animated splash screen (VisualisationHeader), a dedicated About view with app versioning and external links, app mode selection buttons (Menubar, Dock, Popover), and a comprehensive color history drawer with palette management. Additionally, it adds a unified SwapPreviewButton for swapping foreground/background colors, a color pick overlay with crosshair, and compliance preview tiles that scale to fit their containers without truncating WCAG/APCA badges.
Pika/Views · high confidence
Introduces comprehensive color history, palette management, and undo/redo capabilities
This change adds a full history and palette system to the color picking workflow. Users can now save foreground/background color pairs into named palettes or an automatic history list, with the ability to swap, delete, and navigate through previous selections. The system supports a complete undo/redo stack for history modifications, ensuring that accidental deletions or swaps can be reversed. Additionally, color pairs are persisted as hex values in a consistent color space to ensure accurate round-tripping, and the history drawer can be controlled via keyboard shortcuts or URL scheme triggers.
Pika/Services · high confidence
New custom button styles for palette and control interactions
The Pika app introduces four new SwiftUI button styles to enhance the visual feedback and interaction design of palette controls. AppearanceButtonStyle provides rectangular buttons with gradient backgrounds, side overlays, and selection indicators for visualisation settings. CircleButtonStyle offers circular toggle buttons with dynamic shadows and opacity changes on press. EyedropperButtonStyle styles color-picking buttons with a simple background fill and press animation. SwapButtonStyle implements complex hover-driven animations with cooldowns and cancellation guards to smoothly expand/collapse alternative text labels without flicker, supporting both left-to-right and right-to-left layouts.
Pika/ButtonStyles · high confidence
Architecture
Centralized app configuration and localization constants
Pika now consolidates its core configuration, user-facing text, and keyboard shortcuts into a dedicated Constants module. This change introduces a unified source for app preferences (such as color formats, contrast standards, and window behavior), standardizes all UI strings for localization, and defines the complete set of keyboard shortcuts and notification triggers used throughout the application.
Pika/Constants · high confidence
Behavioural changes
Added Mac App Store build scheme and playground schemes
The Xcode scheme management file now includes a dedicated 'Pika (Mac App Store)' scheme, allowing users to build and run the app specifically for Mac App Store distribution. Additionally, several playground schemes for 'AnyCodable' and 'Example' targets have been added to the scheme list, and buildable autocreation suppression keys have been configured for specific project identifiers.
Pika.xcodeproj/xcuserdata · high confidence
ColorNames.json is now refreshed manually before release
The offline color name list bundled with the app is no longer updated automatically on a weekly schedule; instead, it is refreshed manually by running the new \scripts/update-color-names\ script before each release. This script downloads the latest color data from the upstream source, validates it, and updates \Pika/Assets/ColorNames.json\, ensuring the bundled fallback list remains current without relying on automated background updates.
scripts · high confidence
Pika migrates to SwiftUI and introduces menu-bar popover mode
Pika has been rebuilt using SwiftUI, replacing the previous storyboard-based interface and removing the legacy \ContentView\ placeholder. This change introduces a new menu-bar popover display mode, allowing the color picker to appear as a floating panel from the status bar rather than a traditional dock-based window. The app now uses \NSStatusItem\ for this popover mode, which resolves issues with the dock icon appearing incorrectly and allows for a more compact, always-accessible interface. The migration also includes a new command structure for keyboard shortcuts, updated URL scheme handling for the \pika://\ protocol, and integration with Sparkle for automatic updates.
Pika · high confidence
Project structure updated for macOS 11+ and new features
The Xcode project file has been upgraded to object version 54, reflecting support for newer Xcode toolchains and macOS 11+. This update integrates numerous new source files and resources into the build, including support for a Metal-based splash screen, Touch Bar visualizations, URL scheme handling, and a color history drawer. It also adds frameworks for testing (XCTest), automatic updates (Sparkle), and keyboard shortcuts, while reorganizing existing components like the eyedropper and compliance tools to align with the app's evolving architecture.
Pika.xcodeproj · high confidence
Updated main menu with new color tools and history controls
The main application menu now includes new options for copying foreground and background colors, swapping colors, and navigating the undo/redo history. Users can also pick colors using the system picker and toggle between Hex, RGB, HSB, and HSL formats directly from the menu.
Pika/Assets/Base.lproj · high confidence
Fixes
Added Xcode schemes for Mac App Store distribution and testing
The project now includes dedicated Xcode scheme files to support Mac App Store submissions and streamlined local testing. A new scheme, 'Pika (Mac App Store)', is configured specifically for archiving and building the Mac App Store target, while the main 'Pika' scheme has been updated to explicitly include the 'PikaTests' test bundle in its build and test actions, ensuring tests run alongside the application during development.
Pika.xcodeproj/xcshareddata · high confidence
Test coverage
Added unit test suite for color processing and export logic
The PikaTests target now includes a comprehensive set of unit tests covering core color functionality. These tests verify the correctness of color space conversions (RGB, HSB, HSL, Lab, OKLCH, OpenGL), hex string formatting and parsing, and the stability of sRGB normalization to prevent channel drift. They also validate the APCA and WCAG contrast ratio calculations, the nearest-neighbor color naming logic, the generic sequence deduplication helper, and the JSON export contract for palettes, ensuring that exported data maintains correct structure, ordering, and locale-aware formatting.
PikaTests · high confidence
Dependencies
Initial Swift Package Manager dependency resolution
The project now includes a Package.resolved file that pins the versions of its Swift Package Manager dependencies. This file explicitly locks the Defaults library to version 4.2.2, KeyboardShortcuts to 2.3.0, LaunchAtLogin to 5.0.2, and Sparkle to a specific commit revision, ensuring reproducible builds by fixing these third-party libraries.
(dependencies) · high confidence
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 63 → 65 (+1.6)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.
Lenses
- Code Health 73 → 73 (-0.9)
- Architecture 91 → 99 (+8.2)
- Maturity 50 → 54 (+4.1)
- Readiness 64 → 64 (+0.0)
- Security 93 → 85 (-7.3)
- Performance 100 → 100 (+0.0)
Resolved (5)
- Duplicated block (11 lines × 2) (Pika/Services/Eyedroppers.swift)
- Duplicated block (9 lines × 2) (Pika/Extensions/NSColor+Lab.swift)
- Duplicated block (9 lines × 2) (Pika/Services/Exporter.swift)
- No ADRs found
- Projects may be oversized for their cohesion
New (12)
- Edited copies of one member (3 members, 24+ corresponding lines) (Pika/Services/PickerLoupePanel.swift)
- Edited copy of a member (12 corresponding lines) (Pika/Services/Eyedroppers.swift)
- Edited copy of a member (16 corresponding lines) (Pika/Extensions/NSColor+HSL.swift)
- Edited copy of a member (16 corresponding lines) (Pika/Services/WindowCoordinator.swift)
- Edited copy of a member (18 corresponding lines) (Pika/Services/WindowCoordinator.swift)
- Edited copy of a member (25 corresponding lines) (Pika/Services/ColorPickOverlayWindow.swift)
- Edited copy of a member (26 corresponding lines) (Pika/Views/HelpRows.swift)
- Edited copy of a member (5 corresponding lines) (Pika/Views/ColorMatchView.swift)
- Edited copy of a member (5 corresponding lines) (Pika/Views/Footer.swift)
- Edited copy of a member (6 corresponding lines) (Pika/TouchBar/PikaTouchBar.swift)
- Edited copy of a member (9 corresponding lines) (Pika/Services/URLSchemeHandler.swift)
- No ADRs found (Pika.xcodeproj/project.pbxproj)
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
superhighfives/pika was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 14 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit 1e16dfd2860ae19cc6949c16d7ea0f721e9b37eb — the exact code this score is about.
- Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.65+preprod-3c33c1882dc1.