generated from ttipo/project-base
8e2fbe79d8
Claude Design 시안(rup)을 옮기기 위한 공통 기반. - 색·크기·글꼴 토큰을 시안 styles.css 값 그대로 상수화하고 테마에 연결 - SUITE·충북대체·어비꿍꿍체 번들 (웹폰트만 배포되는 서체는 TTF 로 변환, 출처는 fonts/README.md) - 시안 아이콘 56종·전용 글리프를 Dart 로 옮긴 RupIcon - 눌림 축소(Pressable)·pill 버튼·시안 좌표 배치(DesignArtBox)·그림자 이미지 위젯 - CSS 키프레임처럼 구간마다 곡선을 적용하는 보간 유틸과 테스트 - go_router · flutter_svg · shared_preferences 의존성 추가 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
109 lines
4.4 KiB
YAML
109 lines
4.4 KiB
YAML
name: tma_app
|
|
description: "A new Flutter project."
|
|
# The following line prevents the package from being accidentally published to
|
|
# pub.dev using `flutter pub publish`. This is preferred for private packages.
|
|
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
|
|
|
|
# The following defines the version and build number for your application.
|
|
# A version number is three numbers separated by dots, like 1.2.43
|
|
# followed by an optional build number separated by a +.
|
|
# Both the version and the builder number may be overridden in flutter
|
|
# build by specifying --build-name and --build-number, respectively.
|
|
# In Android, build-name is used as versionName while build-number used as versionCode.
|
|
# Read more about Android versioning at https://developer.android.com/studio/publish/versioning
|
|
# In iOS, build-name is used as CFBundleShortVersionString while build-number is used as CFBundleVersion.
|
|
# Read more about iOS versioning at
|
|
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
|
# In Windows, build-name is used as the major, minor, and patch parts
|
|
# of the product and file versions while build-number is used as the build suffix.
|
|
version: 1.0.0+1
|
|
|
|
environment:
|
|
sdk: ^3.11.1
|
|
|
|
# Dependencies specify other packages that your package needs in order to work.
|
|
# To automatically upgrade your package dependencies to the latest versions
|
|
# consider running `flutter pub upgrade --major-versions`. Alternatively,
|
|
# dependencies can be manually updated by changing the version numbers below to
|
|
# the latest version available on pub.dev. To see which dependencies have newer
|
|
# versions available, run `flutter pub outdated`.
|
|
dependencies:
|
|
flutter:
|
|
sdk: flutter
|
|
|
|
# The following adds the Cupertino Icons font to your application.
|
|
# Use with the CupertinoIcons class for iOS style icons.
|
|
cupertino_icons: ^1.0.8
|
|
dio: ^5.9.2
|
|
flutter_dotenv: ^5.2.1
|
|
flutter_riverpod: ^3.3.1
|
|
flutter_secure_storage: ^10.0.0
|
|
go_router: ^17.5.0
|
|
flutter_svg: ^2.3.0
|
|
shared_preferences: ^2.5.5
|
|
|
|
dev_dependencies:
|
|
flutter_test:
|
|
sdk: flutter
|
|
|
|
# The "flutter_lints" package below contains a set of recommended lints to
|
|
# encourage good coding practices. The lint set provided by the package is
|
|
# activated in the `analysis_options.yaml` file located at the root of your
|
|
# package. See that file for information about deactivating specific lint
|
|
# rules and activating additional ones.
|
|
flutter_lints: ^6.0.0
|
|
|
|
# For information on the generic Dart part of this file, see the
|
|
# following page: https://dart.dev/tools/pub/pubspec
|
|
|
|
# The following section is specific to Flutter packages.
|
|
flutter:
|
|
|
|
# The following line ensures that the Material Icons font is
|
|
# included with your application, so that you can use the icons in
|
|
# the material Icons class.
|
|
uses-material-design: true
|
|
|
|
# 런타임 환경변수 — flutter_dotenv 로 로드
|
|
assets:
|
|
- .env
|
|
# 시안(.design/assets) 에서 가져온 이미지. 경로 상수는 lib/core/constants/app_assets.dart
|
|
- assets/images/splash/
|
|
- assets/images/onboarding/
|
|
- assets/images/login/
|
|
- assets/svg/intro/
|
|
- assets/svg/login/
|
|
|
|
# 폰트 — 출처·라이선스는 assets/fonts/README.md
|
|
fonts:
|
|
# 본문(UI) 서체 — 시안의 --font-ui
|
|
- family: SUITE
|
|
fonts:
|
|
- asset: assets/fonts/SUITE-Regular.ttf
|
|
weight: 400
|
|
- asset: assets/fonts/SUITE-Medium.ttf
|
|
weight: 500
|
|
- asset: assets/fonts/SUITE-SemiBold.ttf
|
|
weight: 600
|
|
- asset: assets/fonts/SUITE-Bold.ttf
|
|
weight: 700
|
|
- asset: assets/fonts/SUITE-ExtraBold.ttf
|
|
weight: 800
|
|
# 제목 서체 — 시안의 --font-display.
|
|
# 시안은 Bold 컷을 normal 로 등록해 두고 800 을 요청해 브라우저가 한 번 더 굵게 합성한다.
|
|
# 같은 효과를 내려고 Bold 컷을 400 으로 등록한다 (굵은 weight 요청 시 엔진이 합성).
|
|
- family: ChungbukBold
|
|
fonts:
|
|
- asset: assets/fonts/ChungbukNationalUniversity-Bold.ttf
|
|
# 펫 명함 이름 등 일반 굵기가 필요한 자리
|
|
- family: Chungbuk
|
|
fonts:
|
|
- asset: assets/fonts/ChungbukNationalUniversity-Regular.ttf
|
|
weight: 400
|
|
- asset: assets/fonts/ChungbukNationalUniversity-Bold.ttf
|
|
weight: 700
|
|
# 인트로 손글씨 문구 (Right Use to Pet)
|
|
- family: UhBeeKeongKeong
|
|
fonts:
|
|
- asset: assets/fonts/UhBeeKeongKeong.ttf
|