Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@ensan-hcl
Copy link
Member

これまでazooKey v1.0当時から使い続けてきた単色のテーマを使い続けてきた。しかし、単色テーマではOSが設定する背景との一貫性が壊れてしまう。特に最近登場したApple Intelligenceでは虹色のグラデーションがキーボード背景にまで及ぶが、azooKeyではこれに対応できていない。

そこで、OSネイティブに近いデザインを採用した新しいテーマを設計し、これをデフォルト挙動とした。従来のテーマは「クラシック」として利用できるようにしている。

@ensan-hcl ensan-hcl added enhancement New feature or request design Something relates to UI Design labels Apr 27, 2025
@ensan-hcl ensan-hcl requested a review from Copilot April 27, 2025 09:25
@ensan-hcl ensan-hcl self-assigned this Apr 27, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR implements a new “OSネイティブ” theme to replace the previous monochrome design as the default, while still preserving the classic theme as an option. Key changes include updating key color APIs to use a background style (with blend modes) instead of a simple color, modifications in theme management and comparison (including new native theme support), and UI adjustments (switching from blur effects to opacity changes).

Reviewed Changes

Copilot reviewed 46 out of 46 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
AzooKeyCore/Sources/KeyboardViews/View/FlickKeyboard/KeyView/FlickKogakiKeyModel.swift Updated key label API signature to include a theme parameter and imported KeyboardThemes.
AzooKeyCore/Sources/KeyboardViews/View/FlickKeyboard/KeyView/FlickKeyView.swift Changed color-based key fill to use background style with blend mode and replaced blur effect with opacity.
AzooKeyCore/Sources/KeyboardViews/View/FlickKeyboard/KeyView/FlickKeyModelProtocol.swift Renamed color methods to use “backgroundStyle” naming and returned a tuple including blendMode.
AzooKeyCore/Sources/KeyboardViews/View/FlickKeyboard/KeyView/FlickEnterKeyModel.swift Updated API signatures to include theme parameters and adjusted special text color handling.
AzooKeyCore/Sources/KeyboardViews/View/CustomKeybaord/CustomKeyboard.swift Adjusted key view drawing by replacing blur modifiers with opacity to better match the native theme design.
AzooKeyCore/Sources/KeyboardThemes/* Updated ThemeData and ThemeColor to support blendMode and native theme properties, including changes in the specific theme (AzooKeySpecificTheme).

@ensan-hcl ensan-hcl merged commit 3158d50 into develop Apr 27, 2025
1 of 5 checks passed
@ensan-hcl ensan-hcl deleted the feat/native_theme branch April 27, 2025 09:31
@ensan-hcl ensan-hcl added this to the v2.4 milestone May 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

design Something relates to UI Design enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants