Skip to content
This repository was archived by the owner on Sep 12, 2026. It is now read-only.

feat: 背景画像の不透明度を AppConstants で管理 - #3

Merged
treetips merged 1 commit into
mainfrom
feature/wallpaper-opacity
Sep 1, 2026
Merged

treetips merged 1 commit into
mainfrom
feature/wallpaper-opacity

Conversation

@treetips

@treetips treetips commented Sep 1, 2026

Copy link
Copy Markdown
Owner

概要

背景画像の透明度を AppConstants で一元管理できるようにしました。

変更内容

  • lib/core/constants/app_constants.dart
    • wallpaperOpacity (0.0〜1.0) を追加。デフォルト 1.0。
    • コメントで HomeShell への適用と視認性への影響を明記。
  • lib/app/home_shell.dart
    • LiquidGlassView.backgroundWidget を Opacity(opacity: AppConstants.wallpaperOpacity) でラップ。

使い方

AppConstants.wallpaperOpacity の値を変更するだけで壁紙の濃さを調整できます。
例: 0.5 にすると壁紙が半透明になり、Liquid Glass の視認性が上がります。

検証

  • fvm flutter analyze => No issues
  • fvm flutter test => 40 passed
  • fvm flutter build macos --debug => Built
  • 画面表示で透明度変更が反映されることを確認

- AppConstants.wallpaperOpacity (0.0〜1.0) を追加
- HomeShell の LiquidGlassView 背景を Opacity でラップし、定数を適用
@treetips
treetips enabled auto-merge September 1, 2026 12:15
@treetips
treetips disabled auto-merge September 1, 2026 12:17
@treetips
treetips merged commit 2d0ad27 into main Sep 1, 2026
1 check passed
@treetips
treetips deleted the feature/wallpaper-opacity branch September 1, 2026 12:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant