A pub workspace of the Dart packages Halkyon's apps share: halkyon_ui, Halkyon's look (the theme, fonts, layout and shared widgets, with texts in English and German), halkyon_core's low-level primitives and halkyon_interop's cross-app contracts. Dart 3.13 with LeanCode's lints, configured once at the root; apps take a package by git, pinned to a signed commit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
45 lines
1.4 KiB
YAML
45 lines
1.4 KiB
YAML
name: halkyon_ui
|
|
description: "Halkyon's look, shared by its apps: the theme around cobalt and copper, the bundled Noto Sans, window sizes, and the widgets every app's screens are built of."
|
|
version: 0.1.0
|
|
publish_to: none
|
|
resolution: workspace
|
|
|
|
environment:
|
|
sdk: ^3.13.0
|
|
flutter: ^3.44.4
|
|
|
|
dependencies:
|
|
# Material 3 Expressive's loading indicator, which Flutter doesn't ship yet
|
|
# (AppLoadingIndicator).
|
|
expressive_loading_indicator: ^0.0.1
|
|
flutter:
|
|
sdk: flutter
|
|
# gen-l10n's output imports it; apps take Material's texts from material_ui.
|
|
flutter_localizations:
|
|
sdk: flutter
|
|
intl: ^0.20.3
|
|
lucide_icons_flutter: ^3.1.20
|
|
material_ui: ^1.5.0
|
|
|
|
dev_dependencies:
|
|
flutter_test:
|
|
sdk: flutter
|
|
|
|
flutter:
|
|
# Generates HalkyonUiLocalizations from lib/l10n (see l10n.yaml).
|
|
generate: true
|
|
|
|
assets:
|
|
# Noto Sans's licence, for the licence list (registerFontLicenses).
|
|
- assets/fonts/OFL-NotoSans.txt
|
|
|
|
# Noto Sans for Latin, Greek (polytonic too) and Cyrillic, the same on every
|
|
# device and never fetched; each file holds every weight (variable fonts). An
|
|
# app reaches it as `packages/halkyon_ui/Noto Sans` (appFontFamily). The CJK
|
|
# fonts behind it are the apps' own to bundle (appFontFallback).
|
|
fonts:
|
|
- family: Noto Sans
|
|
fonts:
|
|
- asset: assets/fonts/NotoSans-Variable.ttf
|
|
- asset: assets/fonts/NotoSans-Italic-Variable.ttf
|
|
style: italic
|