halkyon/packages/halkyon_ui/pubspec.yaml

45 lines
1.4 KiB
YAML
Raw Normal View History

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