Files
clide/app/pubspec.yaml
T
jpmschweitzerandClaude 7bdeb9ab24 bundle JetBrains Mono for terminal panes
Vendor the 4 core weights (Regular, Italic, Bold, BoldItalic) of
JetBrains Mono v2.304 under app/assets/fonts/jetbrains_mono/, ~1 MB
total. OFL license checked in alongside. Declared as the
JetBrainsMono family in pubspec so Flutter bundles it automatically.

app/lib/widgets/src/typography.dart exposes clideMonoFamily plus a
platform-ordered fallback chain (SF Mono / Menlo / Monaco →
JetBrains Mono system install / Fira Code / Hack / DejaVu / Liberation →
Cascadia / Consolas → monospace) for web builds and test harnesses
that don't load asset fonts. Terminal widgets pick both up via a
single import.

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

72 lines
2.2 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/
# JetBrains Mono — bundled so terminal panes render consistently
# regardless of what the user has system-installed. OFL-licensed;
# see assets/fonts/jetbrains_mono/OFL.txt. Thin/Light/Medium/
# ExtraBold weights can be added later if a theme needs them.
fonts:
- 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