mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2026-03-24 12:56:59 +00:00
[PR #4168] [MERGED] feat: customized cursor and selection color #6103
Labels
No labels
2024
2025
2026
acct mgmt
AI
automation
bug
calendar
ci
CJK
cloud
code-block
collaboration
copy-paste
database
data migration
data sync
deploy
desktop
develop
develop
documentation
duplicate
editor
editor-plugin
emoji
export
files
flutter-only
follow-up
formula
good first issue for devs
good first issue for experienced devs
grid
hacktoberfest
HACKTOBERFEST-ACCEPTED
help wanted
i18n
icons
images
importer
improvements
infra
install
integrations
IR
kanban board
login
look and joy
mentorship
mobile
mobile
needs design
new feature
new feature
non-coding
notes
notifications
onboarding
organization
P0+
permission
platform-linux
platform-mac
platform-windows
plugins
program
pull-request
Q1 25
Q1 26
Q2 24
Q2 25
Q3 24
Q3 25
Q4 24
Q4 25
react
regression
rust
rust
Rust-only
Rust-only
Rust-starter
Rust-starter
self-hosted
shortcuts
side panel
slash-menu
sync v2
table
tablet
task
tauri
templates
tests
themes
translation
v0.5.6
v0.5.8
v0.5.9
v0.6.0
v0.6.1
v0.6.4
v0.6.7
v0.6.8
v0.7.1
v0.7.4
v0.7.4
v0.7.5
v0.7.6
v0.7.7
v0.7.8
v0.8.0
v0.8.4
v0.8.5
v0.8.9
web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
AppFlowy-IO/AppFlowy#6103
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/4168
Author: @hyj1204
Created: 12/19/2023
Status: ✅ Merged
Merged: 12/21/2023
Merged by: @LucasXu0
Base:
main← Head:feat/customized_cursor_and_selection_color📝 Commits (10+)
6555313feat:customized cursor and selection color5db58c5feat: set null as default color and use share preferencef1060f4feat: improve the default color and copyWith method00dc5defeat: improve the colors in dark mode42bdcc3chore: improve namingaf2254dfeat: add localizationc2c91a2feat: improve the setting dialogeb1c037feat: improve validator mode028090bfix: fix validation logic6db1988chore: fix pr review issues📊 Changes
24 files changed (+698 additions, -32 deletions)
View changed files
📝
frontend/appflowy_flutter/lib/core/config/kv_keys.dart(+4 -0)📝
frontend/appflowy_flutter/lib/plugins/document/presentation/editor_style.dart(+10 -6)📝
frontend/appflowy_flutter/lib/plugins/document/presentation/more/cubit/document_appearance_cubit.dart(+86 -1)➕
frontend/appflowy_flutter/lib/util/color_to_hex_string.dart(+8 -0)📝
frontend/appflowy_flutter/lib/workspace/application/appearance_defaults.dart(+8 -0)📝
frontend/appflowy_flutter/lib/workspace/application/settings/appearance/appearance_cubit.dart(+49 -0)📝
frontend/appflowy_flutter/lib/workspace/presentation/settings/widgets/settings_appearance/brightness_setting.dart(+2 -2)📝
frontend/appflowy_flutter/lib/workspace/presentation/settings/widgets/settings_appearance/color_scheme.dart(+1 -1)📝
frontend/appflowy_flutter/lib/workspace/presentation/settings/widgets/settings_appearance/create_file_setting.dart(+1 -1)📝
frontend/appflowy_flutter/lib/workspace/presentation/settings/widgets/settings_appearance/date_format_setting.dart(+2 -2)📝
frontend/appflowy_flutter/lib/workspace/presentation/settings/widgets/settings_appearance/direction_setting.dart(+4 -4)➕
frontend/appflowy_flutter/lib/workspace/presentation/settings/widgets/settings_appearance/document_color_setting_button.dart(+266 -0)➕
frontend/appflowy_flutter/lib/workspace/presentation/settings/widgets/settings_appearance/document_cursor_color_setting.dart(+82 -0)➕
frontend/appflowy_flutter/lib/workspace/presentation/settings/widgets/settings_appearance/document_selection_color_setting.dart(+85 -0)📝
frontend/appflowy_flutter/lib/workspace/presentation/settings/widgets/settings_appearance/font_family_setting.dart(+2 -2)📝
frontend/appflowy_flutter/lib/workspace/presentation/settings/widgets/settings_appearance/settings_appearance.dart(+2 -0)📝
frontend/appflowy_flutter/lib/workspace/presentation/settings/widgets/settings_appearance/theme_setting_entry_template.dart(+11 -7)📝
frontend/appflowy_flutter/lib/workspace/presentation/settings/widgets/settings_appearance/time_format_setting.dart(+2 -2)📝
frontend/appflowy_flutter/lib/workspace/presentation/settings/widgets/settings_appearance_view.dart(+15 -0)📝
frontend/appflowy_flutter/lib/workspace/presentation/settings/widgets/settings_notifications_view.dart(+1 -1)...and 4 more files
📄 Description
Feature Preview
Customized document cursor and selection color
To close #3972
nulland the UI will use the corresponding theme color fromDefaultAppearanceSettings. get**Color.https://github.com/AppFlowy-IO/AppFlowy/assets/14248245/1ce1e188-0b16-4a2b-828a-a819117729c7
https://github.com/AppFlowy-IO/AppFlowy/assets/14248245/d5b2b628-4e9e-4776-b817-90d20b2614b0
PR Checklist
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.