Files
clide/app/pubspec.yaml
T
jpmschweitzerandClaude c1ad33f1b0 bundle Josefin Sans as the default UI face at weight 300
Vendor the JosefinSans variable font (upright + italic, weight range
100-700), OFL licensed. _AppRoot installs it as the ambient
DefaultTextStyle at weight w300 (Light); ClideText inherits rather
than re-specifying the family, so Alchemist's Ahem injection keeps
goldens deterministic per D-024 while production renders the
intended face.

typography.dart gains clideUiFamily + clideUiFamilyFallback
alongside the existing mono constants; .gitignore learns about
Alchemist's failures/ diff output dir so local re-runs don't leak
into `git status`.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-04-22 08:18:15 +02:00

82 lines
2.5 KiB
YAML

# clide_app — Flutter desktop UI.
#
# Renders clide's IDE surfaces; depends on the root `clide` Dart core
# package (shared with the CLI + daemon). Prefer-zero-deps; every
# third-party entry below is exact-pinned and justified. No carets.
name: clide_app
description: >-
Flutter desktop IDE for Claude Code — renders the UI. Talks to the
Dart core (CLI + daemon) via IPC; all PTY/subprocess/filesystem work
lives in the daemon (ADR 0005).
publish_to: none
version: 2.0.0-dev
repository: https://git.schweitz.net/jpmschweitzer/clide
environment:
sdk: ">=3.5.0 <4.0.0"
flutter: ">=3.19.0"
dependencies:
flutter:
sdk: flutter
# Dart core — shared types, IPC protocol, anything CLI + daemon + app
# all import. Kept Flutter-free so `dart compile exe` produces a lean
# static binary (see ADR 0005).
clide:
path: ../
# YAML — the one justified exception to prefer-zero-deps. Dart-team
# maintained, used for theme files and extension manifests.
yaml: 3.1.3
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: 6.0.0
# Integration tests for the real-app startup-regression gate.
integration_test:
sdk: flutter
# Mocks at IO/IPC boundaries; hand-rolled fakes for ChangeNotifiers.
mocktail: 1.0.4
# Golden-test framework (Ahem font, cross-platform pixel stability).
# Used only for widget primitives, not compositions.
alchemist: 0.12.1
flutter:
uses-material-design: false
assets:
- lib/kernel/src/theme/themes/
- lib/kernel/src/i18n/catalog/
# Bundled fonts. OFL-licensed; license files live alongside each.
#
# JosefinSans — UI default. Variable font covers weights 100-700
# plus an italic axis companion; we default to Light (300) per the
# project's aesthetic direction.
#
# JetBrainsMono — terminal / code surfaces. Static weights keep
# rendering predictable across xterm.dart, goldens, and CI.
fonts:
- family: JosefinSans
fonts:
- asset: assets/fonts/josefin_sans/JosefinSans-VariableFont.ttf
- asset: assets/fonts/josefin_sans/JosefinSans-Italic-VariableFont.ttf
style: italic
- family: JetBrainsMono
fonts:
- asset: assets/fonts/jetbrains_mono/JetBrainsMono-Regular.ttf
- asset: assets/fonts/jetbrains_mono/JetBrainsMono-Italic.ttf
style: italic
- asset: assets/fonts/jetbrains_mono/JetBrainsMono-Bold.ttf
weight: 700
- asset: assets/fonts/jetbrains_mono/JetBrainsMono-BoldItalic.ttf
weight: 700
style: italic