Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
feat: integrate color token v3 (#7936)
Lucas479fd45cab1a
diff --git a/frontend/appflowy_flutter/lib/ai/widgets/ai_prompt_modal/ai_prompt_category_list.dart b/frontend/appflowy_flutter/lib/ai/widgets/ai_prompt_modal/ai_prompt_category_list.dartindex 2ef02e2a8e..56e5f51245 100644--- a/frontend/appflowy_flutter/lib/ai/widgets/ai_prompt_modal/ai_prompt_category_list.dart+++ b/frontend/appflowy_flutter/lib/ai/widgets/ai_prompt_modal/ai_prompt_category_list.dart@@ -126,7 +126,7 @@ class AiPromptFeaturedSection extends StatelessWidget {return theme.fillColorScheme.themeSelect;}if (isHovering) {- return theme.fillColorScheme.primaryAlpha5;+ return theme.fillColorScheme.contentHover;}return Colors.transparent;},@@ -176,7 +176,7 @@ class AiPromptCustomPromptSection extends StatelessWidget {return theme.fillColorScheme.themeSelect;}if (isHovering) {- return theme.fillColorScheme.primaryAlpha5;+ return theme.fillColorScheme.contentHover;}return Colors.transparent;},@@ -236,7 +236,7 @@ class AiPromptCategoryItem extends StatelessWidget {return theme.fillColorScheme.themeSelect;}if (isHovering) {- return theme.fillColorScheme.primaryAlpha5;+ return theme.fillColorScheme.contentHover;}return Colors.transparent;},diff --git a/frontend/appflowy_flutter/lib/ai/widgets/ai_prompt_modal/ai_prompt_preview.dart b/frontend/appflowy_flutter/lib/ai/widgets/ai_prompt_modal/ai_prompt_preview.dartindex 7e08336124..c1a40f35d2 100644--- a/frontend/appflowy_flutter/lib/ai/widgets/ai_prompt_modal/ai_prompt_preview.dart+++ b/frontend/appflowy_flutter/lib/ai/widgets/ai_prompt_modal/ai_prompt_preview.dart@@ -106,7 +106,7 @@ class _PromptContent extends StatelessWidget {return Container(padding: EdgeInsets.all(theme.spacing.l),decoration: BoxDecoration(- color: theme.fillColorScheme.quaternary,+ color: theme.fillColorScheme.primary,borderRadius: BorderRadius.circular(theme.borderRadius.m),),child: Text.rich(@@ -130,7 +130,7 @@ class _PromptContent extends StatelessWidget {spans.add(TextSpan(text: part,- style: TextStyle(color: theme.textColorScheme.purple),+ style: TextStyle(color: theme.textColorScheme.featured),),);} else {@@ -176,7 +176,7 @@ class _PromptExample extends StatelessWidget {return Container(padding: EdgeInsets.all(theme.spacing.l),decoration: BoxDecoration(- color: theme.fillColorScheme.quaternary,+ color: theme.fillColorScheme.primary,borderRadius: BorderRadius.circular(theme.borderRadius.m),),child: AIMarkdownText(diff --git a/frontend/appflowy_flutter/lib/ai/widgets/ai_prompt_modal/ai_prompt_visible_list.dart b/frontend/appflowy_flutter/lib/ai/widgets/ai_prompt_modal/ai_prompt_visible_list.dartindex 26f91d2c48..31e981c1fd 100644--- a/frontend/appflowy_flutter/lib/ai/widgets/ai_prompt_modal/ai_prompt_visible_list.dart+++ b/frontend/appflowy_flutter/lib/ai/widgets/ai_prompt_modal/ai_prompt_visible_list.dart@@ -364,8 +364,8 @@ class _AiPromptListItemState extends State<_AiPromptListItem> {? theme.borderColorScheme.themeThickHover: theme.borderColorScheme.themeThick: isHovering- ? theme.borderColorScheme.greyTertiaryHover- : theme.borderColorScheme.greyTertiary,+ ? theme.borderColorScheme.primaryHover+ : theme.borderColorScheme.primary,),),child: Column(diff --git a/frontend/appflowy_flutter/lib/ai/widgets/prompt_input/prompt_input_text_controller.dart b/frontend/appflowy_flutter/lib/ai/widgets/prompt_input/prompt_input_text_controller.dartindex 3dfa67d224..792e0c1334 100644--- a/frontend/appflowy_flutter/lib/ai/widgets/prompt_input/prompt_input_text_controller.dart+++ b/frontend/appflowy_flutter/lib/ai/widgets/prompt_input/prompt_input_text_controller.dart@@ -56,9 +56,9 @@ class AiPromptInputTextEditingController extends TextEditingController {TextSpan(text: restore(string),style: theme.textStyle.body.standard().copyWith(- color: theme.textColorScheme.purple,+ color: theme.textColorScheme.featured,backgroundColor:- theme.fillColorScheme.purpleThick.withAlpha(51),+ theme.fillColorScheme.featuredThick.withAlpha(51),),),);diff --git a/frontend/appflowy_flutter/lib/mobile/presentation/bottom_sheet/bottom_sheet_edit_link_widget.dart b/frontend/appflowy_flutter/lib/mobile/presentation/bottom_sheet/bottom_sheet_edit_link_widget.dartindex 9c1870b678..25f35c3d70 100644--- a/frontend/appflowy_flutter/lib/mobile/presentation/bottom_sheet/bottom_sheet_edit_link_widget.dart+++ b/frontend/appflowy_flutter/lib/mobile/presentation/bottom_sheet/bottom_sheet_edit_link_widget.dart@@ -8,14 +8,14 @@ import 'package:appflowy/plugins/shared/share/constants.dart';import 'package:appflowy/user/application/user_service.dart';import 'package:appflowy/workspace/application/view/view_service.dart';import 'package:appflowy_backend/protobuf/flowy-folder/view.pb.dart';+// ignore: implementation_imports+import 'package:appflowy_editor/src/editor/util/link_util.dart';import 'package:appflowy_result/appflowy_result.dart';import 'package:appflowy_ui/appflowy_ui.dart';import 'package:easy_localization/easy_localization.dart';import 'package:flowy_infra_ui/flowy_infra_ui.dart';import 'package:flutter/material.dart';import 'package:go_router/go_router.dart';-// ignore: implementation_imports-import 'package:appflowy_editor/src/editor/util/link_util.dart';class MobileBottomSheetEditLinkWidget extends StatefulWidget {const MobileBottomSheetEditLinkWidget({@@ -410,7 +410,7 @@ class _MobileBottomSheetEditLinkWidgetStateBoxDecoration buildBorderDecoration() {return BoxDecoration(borderRadius: BorderRadius.circular(theme.borderRadius.l),- border: Border.all(color: theme.borderColorScheme.greyPrimary),+ border: Border.all(color: theme.borderColorScheme.primary),);}}diff --git a/frontend/appflowy_flutter/lib/mobile/presentation/search/mobile_search_textfield.dart b/frontend/appflowy_flutter/lib/mobile/presentation/search/mobile_search_textfield.dartindex 06c1fc1e20..84ac0948eb 100644--- a/frontend/appflowy_flutter/lib/mobile/presentation/search/mobile_search_textfield.dart+++ b/frontend/appflowy_flutter/lib/mobile/presentation/search/mobile_search_textfield.dart@@ -112,7 +112,7 @@ class _MobileSearchTextfieldState extends State<MobileSearchTextfield> {final showCancelIcon = controller.text.isNotEmpty;final border = OutlineInputBorder(borderRadius: BorderRadius.all(Radius.circular(10.0)),- borderSide: BorderSide(color: theme.borderColorScheme.greyTertiary),+ borderSide: BorderSide(color: theme.borderColorScheme.primary),);final enableBorder = border.copyWith(borderSide: BorderSide(color: theme.borderColorScheme.themeThick),diff --git a/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/link_embed/link_embed_block_component.dart b/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/link_embed/link_embed_block_component.dartindex 3b90c460cb..de3ea33453 100644--- a/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/link_embed/link_embed_block_component.dart+++ b/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/link_embed/link_embed_block_component.dart@@ -124,7 +124,7 @@ class LinkEmbedBlockComponentStateWidget buildChild(BuildContext context) {final theme = AppFlowyTheme.of(context),- fillSceme = theme.fillColorScheme,+ fillScheme = theme.fillColorScheme,borderScheme = theme.borderColorScheme;Widget child;final isIdle = status == LinkLoadingStatus.idle;@@ -137,9 +137,9 @@ class LinkEmbedBlockComponentStateheight: 450,key: widgetKey,decoration: BoxDecoration(- color: fillSceme.quaternary,+ color: fillScheme.content,borderRadius: BorderRadius.all(Radius.circular(16)),- border: Border.all(color: borderScheme.greyTertiary),+ border: Border.all(color: borderScheme.primary),),child: Stack(children: [@@ -260,7 +260,7 @@ class LinkEmbedBlockComponentState}Widget buildErrorLoadingWidget(BuildContext context) {- final theme = AppFlowyTheme.of(context), textSceme = theme.textColorScheme;+ final theme = AppFlowyTheme.of(context), textScheme = theme.textColorScheme;final isLoading = status == LinkLoadingStatus.loading;return isLoading? Center(@@ -293,7 +293,7 @@ class LinkEmbedBlockComponentStateTextSpan(text: '$url ',style: TextStyle(- color: textSceme.secondary,+ color: textScheme.secondary,fontSize: 14,height: 20 / 14,fontWeight: FontWeight.w700,@@ -304,7 +304,7 @@ class LinkEmbedBlockComponentState.document_plugins_linkPreview_linkPreviewMenu_unableToDisplay.tr(),style: TextStyle(- color: textSceme.secondary,+ color: textScheme.secondary,fontSize: 14,height: 20 / 14,fontWeight: FontWeight.w400,diff --git a/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/link_embed/link_embed_menu.dart b/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/link_embed/link_embed_menu.dartindex c3d2aebbcc..f2015e3aa3 100644--- a/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/link_embed/link_embed_menu.dart+++ b/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/link_embed/link_embed_menu.dart@@ -35,11 +35,11 @@ class LinkEmbedMenu extends StatefulWidget {}class _LinkEmbedMenuState extends State<LinkEmbedMenu> {- final turnintoController = PopoverController();+ final turnIntoController = PopoverController();final moreOptionController = PopoverController();- int turnintoMenuNum = 0, moreOptionNum = 0, alignMenuNum = 0;+ int turnIntoMenuNum = 0, moreOptionNum = 0, alignMenuNum = 0;final moreOptionButtonKey = GlobalKey();- bool get isTurnIntoShowing => turnintoMenuNum > 0;+ bool get isTurnIntoShowing => turnIntoMenuNum > 0;bool get isMoreOptionShowing => moreOptionNum > 0;bool get isAlignMenuShowing => alignMenuNum > 0;@@ -51,7 +51,7 @@ class _LinkEmbedMenuState extends State<LinkEmbedMenu> {@overridevoid dispose() {super.dispose();- turnintoController.close();+ turnIntoController.close();moreOptionController.close();widget.onMenuHided.call();}@@ -64,13 +64,13 @@ class _LinkEmbedMenuState extends State<LinkEmbedMenu> {Widget buildChild() {final theme = AppFlowyTheme.of(context),iconScheme = theme.iconColorScheme,- fillScheme = theme.fillColorScheme;+ surfaceColorScheme = theme.surfaceColorScheme;return Container(padding: EdgeInsets.all(4),decoration: BoxDecoration(borderRadius: BorderRadius.circular(12),- color: fillScheme.primaryAlpha80,+ color: surfaceColorScheme.inverse,),child: Row(mainAxisSize: MainAxisSize.min,@@ -94,27 +94,27 @@ class _LinkEmbedMenuState extends State<LinkEmbedMenu> {preferBelow: false,onPressed: () => copyLink(context),),- buildconvertBotton(),- buildMoreOptionBotton(),+ buildConvertButton(),+ buildMoreOptionButton(),],),);}- Widget buildconvertBotton() {+ Widget buildConvertButton() {final theme = AppFlowyTheme.of(context), iconScheme = theme.iconColorScheme;return AppFlowyPopover(offset: Offset(0, 6),direction: PopoverDirection.bottomWithRightAligned,margin: EdgeInsets.zero,- controller: turnintoController,+ controller: turnIntoController,onOpen: () {keepEditorFocusNotifier.increase();- turnintoMenuNum++;+ turnIntoMenuNum++;},onClose: () {keepEditorFocusNotifier.decrease();- turnintoMenuNum--;+ turnIntoMenuNum--;checkToHideMenu();},popupBuilder: (context) => buildConvertMenu(),@@ -169,7 +169,7 @@ class _LinkEmbedMenuState extends State<LinkEmbedMenu> {);}- Widget buildMoreOptionBotton() {+ Widget buildMoreOptionButton() {final theme = AppFlowyTheme.of(context), iconScheme = theme.iconColorScheme;return AppFlowyPopover(offset: Offset(0, 6),@@ -227,14 +227,14 @@ class _LinkEmbedMenuState extends State<LinkEmbedMenu> {void showTurnIntoMenu() {keepEditorFocusNotifier.increase();- turnintoController.show();+ turnIntoController.show();checkToShowMenu();- turnintoMenuNum++;+ turnIntoMenuNum++;if (isMoreOptionShowing) closeMoreOptionMenu();}void closeTurnIntoMenu() {- turnintoController.close();+ turnIntoController.close();checkToHideMenu();}diff --git a/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/link_preview/custom_link_preview.dart b/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/link_preview/custom_link_preview.dartindex e5ed7d1843..62bc9da892 100644--- a/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/link_preview/custom_link_preview.dart+++ b/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/link_preview/custom_link_preview.dart@@ -8,13 +8,13 @@ import 'package:appflowy/plugins/document/presentation/editor_plugins/link_previimport 'package:appflowy/shared/appflowy_network_image.dart';import 'package:appflowy/util/theme_extension.dart';import 'package:appflowy_editor/appflowy_editor.dart';+import 'package:appflowy_ui/appflowy_ui.dart';import 'package:easy_localization/easy_localization.dart';import 'package:flowy_infra_ui/flowy_infra_ui.dart';import 'package:flutter/material.dart';import 'package:go_router/go_router.dart';import 'package:provider/provider.dart';import 'package:universal_platform/universal_platform.dart';-import 'package:appflowy_ui/appflowy_ui.dart';import 'custom_link_parser.dart';@@ -60,8 +60,8 @@ class CustomLinkPreviewWidget extends StatelessWidget {decoration: BoxDecoration(border: Border.all(color: isHovering || isInDarkCallout- ? borderScheme.greyTertiaryHover- : borderScheme.greyTertiary,+ ? borderScheme.primaryHover+ : borderScheme.primary,),borderRadius: BorderRadius.circular(16.0),),diff --git a/frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/desktop_sign_in_screen.dart b/frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/desktop_sign_in_screen.dartindex b1df74ec60..54d5b3aed0 100644--- a/frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/desktop_sign_in_screen.dart+++ b/frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/desktop_sign_in_screen.dart@@ -142,10 +142,7 @@ class _OrDivider extends StatelessWidget {return Row(children: [Flexible(- child: Divider(- thickness: 1,- color: theme.borderColorScheme.greyTertiary,- ),+ child: AFDivider(),),Padding(padding: const EdgeInsets.symmetric(horizontal: 10),@@ -157,10 +154,7 @@ class _OrDivider extends StatelessWidget {),),Flexible(- child: Divider(- thickness: 1,- color: theme.borderColorScheme.greyTertiary,- ),+ child: AFDivider(),),],);diff --git a/frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/continue_with/back_to_login_in_button.dart b/frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/continue_with/back_to_login_in_button.dartindex 2e864ba30c..b935187462 100644--- a/frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/continue_with/back_to_login_in_button.dart+++ b/frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/continue_with/back_to_login_in_button.dart@@ -21,9 +21,9 @@ class BackToLoginButton extends StatelessWidget {textColor: (context, isHovering, disabled) {final theme = AppFlowyTheme.of(context);if (isHovering) {- return theme.fillColorScheme.themeThickHover;+ return theme.textColorScheme.actionHover;}- return theme.textColorScheme.theme;+ return theme.textColorScheme.action;},);}diff --git a/frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/continue_with/continue_with_password_page.dart b/frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/continue_with/continue_with_password_page.dartindex 7cbd1d9071..e898607e8b 100644--- a/frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/continue_with/continue_with_password_page.dart+++ b/frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/continue_with/continue_with_password_page.dart@@ -162,9 +162,9 @@ class _ContinueWithPasswordPageState extends State<ContinueWithPasswordPage> {textColor: (context, isHovering, disabled) {final theme = AppFlowyTheme.of(context);if (isHovering) {- return theme.fillColorScheme.themeThickHover;+ return theme.textColorScheme.actionHover;}- return theme.textColorScheme.theme;+ return theme.textColorScheme.action;},),),diff --git a/frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/third_party_sign_in_button/third_party_sign_in_buttons.dart b/frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/third_party_sign_in_button/third_party_sign_in_buttons.dartindex 8d27846c46..7d607b8b45 100644--- a/frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/third_party_sign_in_button/third_party_sign_in_buttons.dart+++ b/frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/third_party_sign_in_button/third_party_sign_in_buttons.dart@@ -104,9 +104,9 @@ class _DesktopThirdPartySignInState extends State<_DesktopThirdPartySignIn> {padding: EdgeInsets.zero,textColor: (context, isHovering, disabled) {if (isHovering) {- return theme.fillColorScheme.themeThickHover;+ return theme.textColorScheme.actionHover;}- return theme.textColorScheme.theme;+ return theme.textColorScheme.action;},onTap: () {setState(() {@@ -189,9 +189,9 @@ class _MobileThirdPartySignInState extends State<_MobileThirdPartySignIn> {text: 'More options',textColor: (context, isHovering, disabled) {if (isHovering) {- return theme.fillColorScheme.themeThickHover;+ return theme.textColorScheme.actionHover;}- return theme.textColorScheme.theme;+ return theme.textColorScheme.action;},onTap: () {setState(() {diff --git a/frontend/appflowy_flutter/lib/workspace/presentation/command_palette/widgets/search_ask_ai_entrance.dart b/frontend/appflowy_flutter/lib/workspace/presentation/command_palette/widgets/search_ask_ai_entrance.dartindex 8e26abcf28..126f420cbb 100644--- a/frontend/appflowy_flutter/lib/workspace/presentation/command_palette/widgets/search_ask_ai_entrance.dart+++ b/frontend/appflowy_flutter/lib/workspace/presentation/command_palette/widgets/search_ask_ai_entrance.dart@@ -34,20 +34,20 @@ class _AskAIFor extends StatelessWidget {@overrideWidget build(BuildContext context) {final theme = AppFlowyTheme.of(context);- final sapceM = theme.spacing.m, spaceL = theme.spacing.l;+ final spaceM = theme.spacing.m, spaceL = theme.spacing.l;return Padding(- padding: EdgeInsets.fromLTRB(spaceL, sapceM, spaceL, 0),+ padding: EdgeInsets.fromLTRB(spaceL, spaceM, spaceL, 0),child: AFBaseButton(- borderRadius: sapceM,- padding: EdgeInsets.symmetric(vertical: spaceL, horizontal: sapceM),+ borderRadius: spaceM,+ padding: EdgeInsets.symmetric(vertical: spaceL, horizontal: spaceM),backgroundColor: (context, isHovering, disable) {if (isHovering) {- return Theme.of(context).colorScheme.secondary;+ return theme.fillColorScheme.contentHover;}- return theme.fillColorScheme.transparent;+ return Colors.transparent;},borderColor: (context, isHovering, disable, isFocused) =>- theme.fillColorScheme.transparent,+ Colors.transparent,builder: (ctx, isHovering, disable) {return Row(children: [diff --git a/frontend/appflowy_flutter/lib/workspace/presentation/command_palette/widgets/search_summary_cell.dart b/frontend/appflowy_flutter/lib/workspace/presentation/command_palette/widgets/search_summary_cell.dartindex e74529586b..4c158e1b54 100644--- a/frontend/appflowy_flutter/lib/workspace/presentation/command_palette/widgets/search_summary_cell.dart+++ b/frontend/appflowy_flutter/lib/workspace/presentation/command_palette/widgets/search_summary_cell.dart@@ -6,13 +6,12 @@ import 'package:appflowy/workspace/application/action_navigation/action_navigatiimport 'package:appflowy/workspace/application/action_navigation/navigation_action.dart';import 'package:appflowy/workspace/application/command_palette/command_palette_bloc.dart';import 'package:appflowy/workspace/application/command_palette/search_result_ext.dart';+import 'package:appflowy_backend/protobuf/flowy-search/result.pb.dart';import 'package:appflowy_editor/appflowy_editor.dart';import 'package:appflowy_ui/appflowy_ui.dart';import 'package:easy_localization/easy_localization.dart' hide TextDirection;-import 'package:flutter/material.dart';--import 'package:appflowy_backend/protobuf/flowy-search/result.pb.dart';import 'package:flowy_infra_ui/flowy_infra_ui.dart';+import 'package:flutter/material.dart';import 'package:flutter_bloc/flutter_bloc.dart';class SearchSummaryCell extends StatefulWidget {@@ -369,10 +368,10 @@ class ReferenceSources extends StatelessWidget {final displayName = source.displayName.isEmpty? LocaleKeys.menuAppHeader_defaultNewPageName.tr(): source.displayName;- final sapceM = theme.spacing.m, spaceL = theme.spacing.l;+ final spaceM = theme.spacing.m, spaceL = theme.spacing.l;return AFBaseButton(- borderRadius: sapceM,+ borderRadius: spaceM,onTap: () {getIt<ActionNavigationBloc>().add(ActionNavigationEvent.performAction(@@ -383,16 +382,16 @@ class ReferenceSources extends StatelessWidget {},padding: EdgeInsets.symmetric(vertical: spaceL,- horizontal: sapceM,+ horizontal: spaceM,),backgroundColor: (context, isHovering, disable) {if (isHovering) {- return Theme.of(context).colorScheme.secondary;+ return theme.fillColorScheme.contentHover;}- return theme.fillColorScheme.transparent;+ return Colors.transparent;},borderColor: (context, isHovering, disabled, isFocused) =>- theme.fillColorScheme.transparent,+ Colors.transparent,builder: (context, isHovering, disabled) => Row(crossAxisAlignment: CrossAxisAlignment.start,children: [diff --git a/frontend/appflowy_flutter/lib/workspace/presentation/settings/widgets/settings_menu.dart b/frontend/appflowy_flutter/lib/workspace/presentation/settings/widgets/settings_menu.dartindex a47e355623..96a7ce1c50 100644--- a/frontend/appflowy_flutter/lib/workspace/presentation/settings/widgets/settings_menu.dart+++ b/frontend/appflowy_flutter/lib/workspace/presentation/settings/widgets/settings_menu.dart@@ -33,7 +33,7 @@ class SettingsMenu extends StatelessWidget {Expanded(child: DecoratedBox(decoration: BoxDecoration(- color: theme.backgroundColorScheme.secondary,+ color: theme.surfaceContainerColorScheme.layer01,borderRadius: const BorderRadiusDirectional.only(topStart: Radius.circular(8),bottomStart: Radius.circular(8),diff --git a/frontend/appflowy_flutter/lib/workspace/presentation/settings/widgets/settings_menu_element.dart b/frontend/appflowy_flutter/lib/workspace/presentation/settings/widgets/settings_menu_element.dartindex 3265c76794..31372dd2ce 100644--- a/frontend/appflowy_flutter/lib/workspace/presentation/settings/widgets/settings_menu_element.dart+++ b/frontend/appflowy_flutter/lib/workspace/presentation/settings/widgets/settings_menu_element.dart@@ -26,14 +26,14 @@ class SettingsMenuElement extends StatelessWidget {onTap: () => changeSelectedPage(page),padding: EdgeInsets.all(theme.spacing.m),borderRadius: theme.borderRadius.m,- borderColor: (_, __, ___, ____) => theme.fillColorScheme.transparent,+ borderColor: (_, __, ___, ____) => Colors.transparent,backgroundColor: (_, isHovering, __) {if (isHovering) {- return theme.fillColorScheme.primaryAlpha5;+ return theme.fillColorScheme.contentHover;} else if (page == selectedPage) {return theme.fillColorScheme.themeSelect;}- return theme.fillColorScheme.transparent;+ return Colors.transparent;},builder: (_, __, ___) {return Row(diff --git a/frontend/appflowy_flutter/packages/appflowy_ui/example/lib/src/modal/modal_page.dart b/frontend/appflowy_flutter/packages/appflowy_ui/example/lib/src/modal/modal_page.dartindex fc8412699b..822d7f19b5 100644--- a/frontend/appflowy_flutter/packages/appflowy_ui/example/lib/src/modal/modal_page.dart+++ b/frontend/appflowy_flutter/packages/appflowy_ui/example/lib/src/modal/modal_page.dart@@ -34,7 +34,7 @@ class _ModalPageState extends State<ModalPage> {'S',style: TextStyle(color: width == AFModalDimension.S- ? theme.textColorScheme.theme+ ? theme.textColorScheme.action: theme.textColorScheme.primary,),);@@ -47,7 +47,7 @@ class _ModalPageState extends State<ModalPage> {'M',style: TextStyle(color: width == AFModalDimension.M- ? theme.textColorScheme.theme+ ? theme.textColorScheme.action: theme.textColorScheme.primary,),);@@ -60,7 +60,7 @@ class _ModalPageState extends State<ModalPage> {'L',style: TextStyle(color: width == AFModalDimension.L- ? theme.textColorScheme.theme+ ? theme.textColorScheme.action: theme.textColorScheme.primary,),);diff --git a/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/component/button/base_button/base_button.dart b/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/component/button/base_button/base_button.dartindex 9bb36507e8..4e5361a7b3 100644--- a/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/component/button/base_button/base_button.dart+++ b/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/component/button/base_button/base_button.dart@@ -126,13 +126,13 @@ class _AFBaseButtonState extends State<AFBaseButton> {final theme = AppFlowyTheme.of(context);return widget.borderColor?.call(context, isHovering, widget.disabled, isFocused) ??- theme.borderColorScheme.greyTertiary;+ theme.borderColorScheme.primary;}Color _buildBackgroundColor(BuildContext context) {final theme = AppFlowyTheme.of(context);return widget.backgroundColor?.call(context, isHovering, widget.disabled) ??- theme.fillColorScheme.transparent;+ theme.fillColorScheme.content;}Color _buildRingColor(BuildContext context) {@@ -147,6 +147,6 @@ class _AFBaseButtonState extends State<AFBaseButton> {return theme.borderColorScheme.themeThick.withAlpha(128);}- return theme.borderColorScheme.transparent;+ return Colors.transparent;}}diff --git a/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/component/button/filled_button/filled_button.dart b/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/component/button/filled_button/filled_button.dartindex 973138042d..df9e4a3520 100644--- a/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/component/button/filled_button/filled_button.dart+++ b/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/component/button/filled_button/filled_button.dart@@ -40,7 +40,7 @@ class AFFilledButton extends StatelessWidget {disabled: disabled,backgroundColor: (context, isHovering, disabled) {if (disabled) {- return AppFlowyTheme.of(context).fillColorScheme.primaryAlpha5;+ return AppFlowyTheme.of(context).fillColorScheme.contentHover;}if (isHovering) {return AppFlowyTheme.of(context).fillColorScheme.themeThickHover;@@ -70,7 +70,7 @@ class AFFilledButton extends StatelessWidget {disabled: disabled,backgroundColor: (context, isHovering, disabled) {if (disabled) {- return AppFlowyTheme.of(context).fillColorScheme.primaryAlpha5;+ return AppFlowyTheme.of(context).fillColorScheme.contentHover;}if (isHovering) {return AppFlowyTheme.of(context).fillColorScheme.errorThickHover;@@ -99,7 +99,7 @@ class AFFilledButton extends StatelessWidget {borderRadius: borderRadius,backgroundColor: (context, isHovering, disabled) =>backgroundColor ??- AppFlowyTheme.of(context).fillColorScheme.primaryAlpha5,+ AppFlowyTheme.of(context).fillColorScheme.contentHover,);}diff --git a/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/component/button/filled_button/filled_text_button.dart b/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/component/button/filled_button/filled_text_button.dartindex 25907bc844..3febd1ccec 100644--- a/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/component/button/filled_button/filled_text_button.dart+++ b/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/component/button/filled_button/filled_text_button.dart@@ -43,7 +43,7 @@ class AFFilledTextButton extends AFBaseTextButton {AppFlowyTheme.of(context).textColorScheme.onFill,backgroundColor: (context, isHovering, disabled) {if (disabled) {- return AppFlowyTheme.of(context).fillColorScheme.primaryAlpha5;+ return AppFlowyTheme.of(context).fillColorScheme.contentHover;}if (isHovering) {return AppFlowyTheme.of(context).fillColorScheme.themeThickHover;@@ -79,7 +79,7 @@ class AFFilledTextButton extends AFBaseTextButton {AppFlowyTheme.of(context).textColorScheme.onFill,backgroundColor: (context, isHovering, disabled) {if (disabled) {- return AppFlowyTheme.of(context).fillColorScheme.primaryAlpha5;+ return AppFlowyTheme.of(context).fillColorScheme.contentHover;}if (isHovering) {return AppFlowyTheme.of(context).fillColorScheme.errorThickHover;@@ -112,7 +112,7 @@ class AFFilledTextButton extends AFBaseTextButton {textColor: (context, isHovering, disabled) =>AppFlowyTheme.of(context).textColorScheme.tertiary,backgroundColor: (context, isHovering, disabled) =>- AppFlowyTheme.of(context).fillColorScheme.primaryAlpha5,+ AppFlowyTheme.of(context).fillColorScheme.contentHover,);}diff --git a/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/component/button/ghost_button/ghost_button.dart b/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/component/button/ghost_button/ghost_button.dartindex 6300c6f5a8..632121c779 100644--- a/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/component/button/ghost_button/ghost_button.dart+++ b/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/component/button/ghost_button/ghost_button.dart@@ -41,12 +41,12 @@ class AFGhostButton extends StatelessWidget {backgroundColor: (context, isHovering, disabled) {final theme = AppFlowyTheme.of(context);if (disabled) {- return theme.fillColorScheme.transparent;+ return theme.fillColorScheme.content;}if (isHovering) {- return theme.fillColorScheme.primaryAlpha5;+ return theme.fillColorScheme.contentHover;}- return theme.fillColorScheme.transparent;+ return theme.fillColorScheme.content;},);}@@ -68,7 +68,7 @@ class AFGhostButton extends StatelessWidget {borderRadius: borderRadius,disabled: true,backgroundColor: (context, isHovering, disabled) =>- AppFlowyTheme.of(context).fillColorScheme.transparent,+ AppFlowyTheme.of(context).fillColorScheme.content,);}diff --git a/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/component/button/ghost_button/ghost_icon_text_button.dart b/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/component/button/ghost_button/ghost_icon_text_button.dartindex af65599ea3..2daba294d4 100644--- a/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/component/button/ghost_button/ghost_icon_text_button.dart+++ b/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/component/button/ghost_button/ghost_icon_text_button.dart@@ -48,7 +48,7 @@ class AFGhostIconTextButton extends StatelessWidget {return Colors.transparent;}if (isHovering) {- return theme.fillColorScheme.primaryAlpha5;+ return theme.fillColorScheme.contentHover;}return Colors.transparent;},diff --git a/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/component/button/ghost_button/ghost_text_button.dart b/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/component/button/ghost_button/ghost_text_button.dartindex c9778e6ad7..65db0f819f 100644--- a/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/component/button/ghost_button/ghost_text_button.dart+++ b/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/component/button/ghost_button/ghost_text_button.dart@@ -42,9 +42,9 @@ class AFGhostTextButton extends AFBaseTextButton {backgroundColor: (context, isHovering, disabled) {final theme = AppFlowyTheme.of(context);if (isHovering) {- return theme.fillColorScheme.primaryAlpha5;+ return theme.fillColorScheme.contentHover;}- return theme.fillColorScheme.transparent;+ return theme.fillColorScheme.content;},textColor: (context, isHovering, disabled) {final theme = AppFlowyTheme.of(context);@@ -82,7 +82,7 @@ class AFGhostTextButton extends AFBaseTextButton {textColor: (context, isHovering, disabled) =>AppFlowyTheme.of(context).textColorScheme.tertiary,backgroundColor: (context, isHovering, disabled) =>- AppFlowyTheme.of(context).fillColorScheme.transparent,+ AppFlowyTheme.of(context).fillColorScheme.content,);}diff --git a/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/component/button/outlined_button/outlined_button.dart b/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/component/button/outlined_button/outlined_button.dartindex 205d9931d6..5cbc270a70 100644--- a/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/component/button/outlined_button/outlined_button.dart+++ b/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/component/button/outlined_button/outlined_button.dart@@ -41,22 +41,22 @@ class AFOutlinedButton extends StatelessWidget {borderColor: (context, isHovering, disabled, isFocused) {final theme = AppFlowyTheme.of(context);if (disabled) {- return theme.borderColorScheme.greyTertiary;+ return theme.borderColorScheme.primary;}if (isHovering) {- return theme.borderColorScheme.greyTertiaryHover;+ return theme.borderColorScheme.primaryHover;}- return theme.borderColorScheme.greyTertiary;+ return theme.borderColorScheme.primary;},backgroundColor: (context, isHovering, disabled) {final theme = AppFlowyTheme.of(context);if (disabled) {- return theme.fillColorScheme.transparent;+ return theme.fillColorScheme.content;}if (isHovering) {- return theme.fillColorScheme.primaryAlpha5;+ return theme.fillColorScheme.contentHover;}- return theme.fillColorScheme.transparent;+ return theme.fillColorScheme.content;},builder: builder,);@@ -97,7 +97,7 @@ class AFOutlinedButton extends StatelessWidget {if (isHovering) {return theme.fillColorScheme.errorSelect;}- return theme.fillColorScheme.transparent;+ return theme.fillColorScheme.content;},builder: builder,);@@ -121,22 +121,22 @@ class AFOutlinedButton extends StatelessWidget {borderColor: (context, isHovering, disabled, isFocused) {final theme = AppFlowyTheme.of(context);if (disabled) {- return theme.borderColorScheme.greyTertiary;+ return theme.borderColorScheme.primary;}if (isHovering) {- return theme.borderColorScheme.greyTertiaryHover;+ return theme.borderColorScheme.primaryHover;}- return theme.borderColorScheme.greyTertiary;+ return theme.borderColorScheme.primary;},backgroundColor: (context, isHovering, disabled) {final theme = AppFlowyTheme.of(context);if (disabled) {- return theme.fillColorScheme.transparent;+ return theme.fillColorScheme.content;}if (isHovering) {- return theme.fillColorScheme.primaryAlpha5;+ return theme.fillColorScheme.contentHover;}- return theme.fillColorScheme.transparent;+ return theme.fillColorScheme.content;},builder: builder,);diff --git a/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/component/button/outlined_button/outlined_icon_text_button.dart b/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/component/button/outlined_button/outlined_icon_text_button.dartindex 350594cd46..662c0c77d7 100644--- a/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/component/button/outlined_button/outlined_icon_text_button.dart+++ b/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/component/button/outlined_button/outlined_icon_text_button.dart@@ -49,22 +49,22 @@ class AFOutlinedIconTextButton extends StatelessWidget {borderColor: (context, isHovering, disabled, isFocused) {final theme = AppFlowyTheme.of(context);if (disabled) {- return theme.borderColorScheme.greyTertiary;+ return theme.borderColorScheme.primary;}if (isHovering) {- return theme.borderColorScheme.greyTertiaryHover;+ return theme.borderColorScheme.primaryHover;}- return theme.borderColorScheme.greyTertiary;+ return theme.borderColorScheme.primary;},backgroundColor: (context, isHovering, disabled) {final theme = AppFlowyTheme.of(context);if (disabled) {- return theme.fillColorScheme.transparent;+ return theme.fillColorScheme.content;}if (isHovering) {- return theme.fillColorScheme.primaryAlpha5;+ return theme.fillColorScheme.contentHover;}- return theme.fillColorScheme.transparent;+ return theme.fillColorScheme.content;},textColor: (context, isHovering, disabled) {final theme = AppFlowyTheme.of(context);@@ -159,22 +159,22 @@ class AFOutlinedIconTextButton extends StatelessWidget {borderColor: (context, isHovering, disabled, isFocused) {final theme = AppFlowyTheme.of(context);if (disabled) {- return theme.borderColorScheme.greyTertiary;+ return theme.borderColorScheme.primary;}if (isHovering) {- return theme.borderColorScheme.greyTertiaryHover;+ return theme.borderColorScheme.primaryHover;}- return theme.borderColorScheme.greyTertiary;+ return theme.borderColorScheme.primary;},backgroundColor: (context, isHovering, disabled) {final theme = AppFlowyTheme.of(context);if (disabled) {- return theme.fillColorScheme.transparent;+ return theme.fillColorScheme.content;}if (isHovering) {- return theme.fillColorScheme.primaryAlpha5;+ return theme.fillColorScheme.contentHover;}- return theme.fillColorScheme.transparent;+ return theme.fillColorScheme.content;},);}diff --git a/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/component/button/outlined_button/outlined_text_button.dart b/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/component/button/outlined_button/outlined_text_button.dartindex d4a6a348d9..e7c3c1c47f 100644--- a/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/component/button/outlined_button/outlined_text_button.dart+++ b/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/component/button/outlined_button/outlined_text_button.dart@@ -43,22 +43,22 @@ class AFOutlinedTextButton extends AFBaseTextButton {borderColor: (context, isHovering, disabled, isFocused) {final theme = AppFlowyTheme.of(context);if (disabled) {- return theme.borderColorScheme.greyTertiary;+ return theme.borderColorScheme.primary;}if (isHovering) {- return theme.borderColorScheme.greyTertiaryHover;+ return theme.borderColorScheme.primaryHover;}- return theme.borderColorScheme.greyTertiary;+ return theme.borderColorScheme.primary;},backgroundColor: (context, isHovering, disabled) {final theme = AppFlowyTheme.of(context);if (disabled) {- return theme.fillColorScheme.transparent;+ return theme.fillColorScheme.content;}if (isHovering) {- return theme.fillColorScheme.primaryAlpha5;+ return theme.fillColorScheme.contentHover;}- return theme.fillColorScheme.transparent;+ return theme.fillColorScheme.content;},textColor: (context, isHovering, disabled) {final theme = AppFlowyTheme.of(context);@@ -113,7 +113,7 @@ class AFOutlinedTextButton extends AFBaseTextButton {if (isHovering) {return theme.fillColorScheme.errorSelect;}- return theme.fillColorScheme.transparent;+ return theme.fillColorScheme.content;},textColor: (context, isHovering, disabled) {final theme = AppFlowyTheme.of(context);@@ -153,22 +153,22 @@ class AFOutlinedTextButton extends AFBaseTextButton {borderColor: (context, isHovering, disabled, isFocused) {final theme = AppFlowyTheme.of(context);if (disabled) {- return theme.borderColorScheme.greyTertiary;+ return theme.borderColorScheme.primary;}if (isHovering) {- return theme.borderColorScheme.greyTertiaryHover;+ return theme.borderColorScheme.primaryHover;}- return theme.borderColorScheme.greyTertiary;+ return theme.borderColorScheme.primary;},backgroundColor: (context, isHovering, disabled) {final theme = AppFlowyTheme.of(context);if (disabled) {- return theme.fillColorScheme.transparent;+ return theme.fillColorScheme.content;}if (isHovering) {- return theme.fillColorScheme.primaryAlpha5;+ return theme.fillColorScheme.contentHover;}- return theme.fillColorScheme.transparent;+ return theme.fillColorScheme.content;},);}diff --git a/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/component/menu/menu_item.dart b/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/component/menu/menu_item.dartindex 5f0e576e66..8b6d37d1a2 100644--- a/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/component/menu/menu_item.dart+++ b/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/component/menu/menu_item.dart@@ -46,20 +46,20 @@ class AFMenuItem extends StatelessWidget {),borderRadius: theme.borderRadius.m,borderColor: (context, isHovering, disabled, isFocused) {- return theme.borderColorScheme.transparent;+ return Colors.transparent;},backgroundColor: (context, isHovering, disabled) {final theme = AppFlowyTheme.of(context);if (disabled) {- return theme.fillColorScheme.transparent;+ return theme.fillColorScheme.content;}if (selected) {return theme.fillColorScheme.themeSelect;}if (isHovering) {- return theme.fillColorScheme.primaryAlpha5;+ return theme.fillColorScheme.contentHover;}- return theme.fillColorScheme.transparent;+ return theme.fillColorScheme.content;},builder: (context, isHovering, disabled) {return Row(diff --git a/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/component/textfield/textfield.dart b/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/component/textfield/textfield.dartindex 413891aea0..c628be49c8 100644--- a/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/component/textfield/textfield.dart+++ b/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/component/textfield/textfield.dart@@ -123,7 +123,7 @@ class _AFTextFieldState extends AFTextFieldState {final contentPadding = widget.size.contentPadding(theme);final errorBorderColor = theme.borderColorScheme.errorThick;- final defaultBorderColor = theme.borderColorScheme.greyTertiary;+ final defaultBorderColor = theme.borderColorScheme.primary;Widget child = TextField(groupId: widget.groupId,@@ -177,7 +177,7 @@ class _AFTextFieldState extends AFTextFieldState {),borderRadius: borderRadius,),- hoverColor: theme.borderColorScheme.greyTertiaryHover,+ hoverColor: theme.borderColorScheme.primaryHover,suffixIcon: widget.suffixIconBuilder?.call(context, isObscured),suffixIconConstraints: widget.suffixIconConstraints,),diff --git a/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/theme/data/appflowy_default/primitive.dart b/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/theme/data/appflowy_default/primitive.dartindex 2bd6d619d8..3e126e39fa 100644--- a/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/theme/data/appflowy_default/primitive.dart+++ b/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/theme/data/appflowy_default/primitive.dart@@ -3,7 +3,7 @@// AUTO-GENERATED - DO NOT EDIT DIRECTLY//// This file is auto-generated by the generate_theme.dart script-// Generation time: 2025-04-19T13:45:56.076897+// Generation time: 2025-05-15T16:35:45.557032//// To modify these colors, edit the source JSON files and run the script://@@ -35,8 +35,14 @@ class AppFlowyPrimitiveTokens {/// #54596estatic Color get neutral700 => Color(0xFF54596E);- /// #3c3f4e- static Color get neutral800 => Color(0xFF3C3F4E);+ /// #3d404f+ static Color get neutral800 => Color(0xFF3D404F);++ /// #363845+ static Color get neutral830 => Color(0xFF363845);++ /// #32343f+ static Color get neutral850 => Color(0xFF32343F);/// #272930static Color get neutral900 => Color(0xFF272930);@@ -56,12 +62,6 @@ class AppFlowyPrimitiveTokens {/// #ffffff00static Color get neutralAlphaWhite0 => Color(0x00FFFFFF);- /// #ffffff33- static Color get neutralAlphaWhite20 => Color(0x33FFFFFF);-- /// #ffffff4d- static Color get neutralAlphaWhite30 => Color(0x4DFFFFFF);-/// #f9fafd0dstatic Color get neutralAlphaGrey10005 => Color(0x0DF9FAFD);@@ -74,12 +74,6 @@ class AppFlowyPrimitiveTokens {/// #1f23291astatic Color get neutralAlphaGrey100010 => Color(0x1A1F2329);- /// #1f2329b2- static Color get neutralAlphaGrey100070 => Color(0xB21F2329);-- /// #1f2329cc- static Color get neutralAlphaGrey100080 => Color(0xCC1F2329);-/// #e3f6ffstatic Color get blue100 => Color(0xFFE3F6FF);@@ -113,6 +107,9 @@ class AppFlowyPrimitiveTokens {/// #00b5ff26static Color get blueAlphaBlue50015 => Color(0x2600B5FF);+ /// #00b5ff33+ static Color get blueAlphaBlue50020 => Color(0x3300B5FF);+/// #ecf9f5static Color get green100 => Color(0xFFECF9F5);diff --git a/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/theme/data/appflowy_default/semantic.dart b/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/theme/data/appflowy_default/semantic.dartindex d24b69ff2c..32f08da51a 100644--- a/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/theme/data/appflowy_default/semantic.dart+++ b/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/theme/data/appflowy_default/semantic.dart@@ -3,7 +3,7 @@// AUTO-GENERATED - DO NOT EDIT DIRECTLY//// This file is auto-generated by the generate_theme.dart script-// Generation time: 2025-04-19T13:45:56.089922+// Generation time: 2025-05-15T16:35:45.572178//// To modify these colors, edit the source JSON files and run the script://@@ -29,22 +29,19 @@ class AppFlowyDefaultTheme implements AppFlowyThemeBuilder {secondary: AppFlowyPrimitiveTokens.neutral600,tertiary: AppFlowyPrimitiveTokens.neutral500,quaternary: AppFlowyPrimitiveTokens.neutral200,- inverse: AppFlowyPrimitiveTokens.neutralWhite,onFill: AppFlowyPrimitiveTokens.neutralWhite,- theme: AppFlowyPrimitiveTokens.blue500,- themeHover: AppFlowyPrimitiveTokens.blue600,- action: AppFlowyPrimitiveTokens.blue500,- actionHover: AppFlowyPrimitiveTokens.blue600,- info: AppFlowyPrimitiveTokens.blue500,- infoHover: AppFlowyPrimitiveTokens.blue600,+ action: AppFlowyPrimitiveTokens.blue600,+ actionHover: AppFlowyPrimitiveTokens.blue700,+ info: AppFlowyPrimitiveTokens.blue600,+ infoHover: AppFlowyPrimitiveTokens.blue700,success: AppFlowyPrimitiveTokens.green600,successHover: AppFlowyPrimitiveTokens.green700,warning: AppFlowyPrimitiveTokens.orange600,warningHover: AppFlowyPrimitiveTokens.orange700,error: AppFlowyPrimitiveTokens.red600,errorHover: AppFlowyPrimitiveTokens.red700,- purple: AppFlowyPrimitiveTokens.purple500,- purpleHover: AppFlowyPrimitiveTokens.purple600,+ featured: AppFlowyPrimitiveTokens.purple500,+ featuredHover: AppFlowyPrimitiveTokens.purple600,);final iconColorScheme = AppFlowyIconColorScheme(@@ -52,22 +49,26 @@ class AppFlowyDefaultTheme implements AppFlowyThemeBuilder {secondary: AppFlowyPrimitiveTokens.neutral600,tertiary: AppFlowyPrimitiveTokens.neutral400,quaternary: AppFlowyPrimitiveTokens.neutral200,- white: AppFlowyPrimitiveTokens.neutralWhite,- purpleThick: AppFlowyPrimitiveTokens.purple500,- purpleThickHover: AppFlowyPrimitiveTokens.purple600,+ infoThick: AppFlowyPrimitiveTokens.blue600,+ infoThickHover: AppFlowyPrimitiveTokens.blue700,+ successThick: AppFlowyPrimitiveTokens.green600,+ successThickHover: AppFlowyPrimitiveTokens.green700,+ warningThick: AppFlowyPrimitiveTokens.orange600,+ warningThickHover: AppFlowyPrimitiveTokens.orange700,+ errorThick: AppFlowyPrimitiveTokens.red600,+ errorThickHover: AppFlowyPrimitiveTokens.red700,+ featuredThick: AppFlowyPrimitiveTokens.purple500,+ featuredThickHover: AppFlowyPrimitiveTokens.purple600,+ onFill: AppFlowyPrimitiveTokens.neutralWhite,);final borderColorScheme = AppFlowyBorderColorScheme(primary: AppFlowyPrimitiveTokens.neutral200,- greyPrimary: AppFlowyPrimitiveTokens.neutral1000,- greyPrimaryHover: AppFlowyPrimitiveTokens.neutral900,- greySecondary: AppFlowyPrimitiveTokens.neutral800,- greySecondaryHover: AppFlowyPrimitiveTokens.neutral700,- greyTertiary: AppFlowyPrimitiveTokens.neutral300,- greyTertiaryHover: AppFlowyPrimitiveTokens.neutral400,- greyQuaternary: AppFlowyPrimitiveTokens.neutral100,- greyQuaternaryHover: AppFlowyPrimitiveTokens.neutral200,- transparent: AppFlowyPrimitiveTokens.neutralAlphaWhite0,+ primaryHover: AppFlowyPrimitiveTokens.neutral300,+ secondary: AppFlowyPrimitiveTokens.neutral800,+ secondaryHover: AppFlowyPrimitiveTokens.neutral700,+ tertiary: AppFlowyPrimitiveTokens.neutral1000,+ tertiaryHover: AppFlowyPrimitiveTokens.neutral900,themeThick: AppFlowyPrimitiveTokens.blue500,themeThickHover: AppFlowyPrimitiveTokens.blue600,infoThick: AppFlowyPrimitiveTokens.blue500,@@ -78,66 +79,193 @@ class AppFlowyDefaultTheme implements AppFlowyThemeBuilder {warningThickHover: AppFlowyPrimitiveTokens.orange700,errorThick: AppFlowyPrimitiveTokens.red600,errorThickHover: AppFlowyPrimitiveTokens.red700,- purpleThick: AppFlowyPrimitiveTokens.purple500,- purpleThickHover: AppFlowyPrimitiveTokens.purple600,+ featuredThick: AppFlowyPrimitiveTokens.purple500,+ featuredThickHover: AppFlowyPrimitiveTokens.purple600,);final fillColorScheme = AppFlowyFillColorScheme(primary: AppFlowyPrimitiveTokens.neutral100,- primaryHover: AppFlowyPrimitiveTokens.neutral900,- secondary: AppFlowyPrimitiveTokens.neutral600,- secondaryHover: AppFlowyPrimitiveTokens.neutral500,- tertiary: AppFlowyPrimitiveTokens.neutral300,- tertiaryHover: AppFlowyPrimitiveTokens.neutral400,- quaternary: AppFlowyPrimitiveTokens.neutral100,- quaternaryHover: AppFlowyPrimitiveTokens.neutral200,- transparent: AppFlowyPrimitiveTokens.neutralAlphaWhite0,- primaryAlpha5: AppFlowyPrimitiveTokens.neutralAlphaGrey100005,- primaryAlpha5Hover: AppFlowyPrimitiveTokens.neutralAlphaGrey100010,- primaryAlpha80: AppFlowyPrimitiveTokens.neutralAlphaGrey100080,- primaryAlpha80Hover: AppFlowyPrimitiveTokens.neutralAlphaGrey100070,- white: AppFlowyPrimitiveTokens.neutralWhite,- whiteAlpha: AppFlowyPrimitiveTokens.neutralAlphaWhite20,- whiteAlphaHover: AppFlowyPrimitiveTokens.neutralAlphaWhite30,- black: AppFlowyPrimitiveTokens.neutralBlack,- themeLight: AppFlowyPrimitiveTokens.blue100,- themeLightHover: AppFlowyPrimitiveTokens.blue200,+ primaryHover: AppFlowyPrimitiveTokens.neutral200,+ secondary: AppFlowyPrimitiveTokens.neutral300,+ secondaryHover: AppFlowyPrimitiveTokens.neutral400,+ tertiary: AppFlowyPrimitiveTokens.neutral600,+ tertiaryHover: AppFlowyPrimitiveTokens.neutral500,+ quaternary: AppFlowyPrimitiveTokens.neutral1000,+ quaternaryHover: AppFlowyPrimitiveTokens.neutral900,+ content: AppFlowyPrimitiveTokens.neutralAlphaWhite0,+ contentHover: AppFlowyPrimitiveTokens.neutralAlphaGrey100005,+ contentVisible: AppFlowyPrimitiveTokens.neutralAlphaGrey100005,+ contentVisibleHover: AppFlowyPrimitiveTokens.neutralAlphaGrey100010,themeThick: AppFlowyPrimitiveTokens.blue500,themeThickHover: AppFlowyPrimitiveTokens.blue600,themeSelect: AppFlowyPrimitiveTokens.blueAlphaBlue50015,+ textSelect: AppFlowyPrimitiveTokens.blueAlphaBlue50020,infoLight: AppFlowyPrimitiveTokens.blue100,infoLightHover: AppFlowyPrimitiveTokens.blue200,infoThick: AppFlowyPrimitiveTokens.blue500,infoThickHover: AppFlowyPrimitiveTokens.blue600,successLight: AppFlowyPrimitiveTokens.green100,successLightHover: AppFlowyPrimitiveTokens.green200,- successThick: AppFlowyPrimitiveTokens.green600,- successThickHover: AppFlowyPrimitiveTokens.green700,warningLight: AppFlowyPrimitiveTokens.orange100,warningLightHover: AppFlowyPrimitiveTokens.orange200,- warningThick: AppFlowyPrimitiveTokens.orange600,- warningThickHover: AppFlowyPrimitiveTokens.orange700,errorLight: AppFlowyPrimitiveTokens.red100,errorLightHover: AppFlowyPrimitiveTokens.red200,errorThick: AppFlowyPrimitiveTokens.red600,errorThickHover: AppFlowyPrimitiveTokens.red700,errorSelect: AppFlowyPrimitiveTokens.redAlphaRed50010,- purpleLight: AppFlowyPrimitiveTokens.purple100,- purpleLightHover: AppFlowyPrimitiveTokens.purple200,- purpleThickHover: AppFlowyPrimitiveTokens.purple600,- purpleThick: AppFlowyPrimitiveTokens.purple500,+ featuredLight: AppFlowyPrimitiveTokens.purple100,+ featuredLightHover: AppFlowyPrimitiveTokens.purple200,+ featuredThick: AppFlowyPrimitiveTokens.purple500,+ featuredThickHover: AppFlowyPrimitiveTokens.purple600,);final surfaceColorScheme = AppFlowySurfaceColorScheme(primary: AppFlowyPrimitiveTokens.neutralWhite,+ primaryHover: AppFlowyPrimitiveTokens.neutral100,+ layer01: AppFlowyPrimitiveTokens.neutralWhite,+ layer01Hover: AppFlowyPrimitiveTokens.neutral100,+ layer02: AppFlowyPrimitiveTokens.neutralWhite,+ layer02Hover: AppFlowyPrimitiveTokens.neutral100,+ layer03: AppFlowyPrimitiveTokens.neutralWhite,+ layer03Hover: AppFlowyPrimitiveTokens.neutral100,+ layer04: AppFlowyPrimitiveTokens.neutralWhite,+ layer04Hover: AppFlowyPrimitiveTokens.neutral100,+ inverse: AppFlowyPrimitiveTokens.neutral1000,+ secondary: AppFlowyPrimitiveTokens.neutral1000,overlay: AppFlowyPrimitiveTokens.neutralAlphaBlack60,);+ final surfaceContainerColorScheme = AppFlowySurfaceContainerColorScheme(+ layer01: AppFlowyPrimitiveTokens.neutral100,+ layer02: AppFlowyPrimitiveTokens.neutral200,+ layer03: AppFlowyPrimitiveTokens.neutral300,+ );+final backgroundColorScheme = AppFlowyBackgroundColorScheme(primary: AppFlowyPrimitiveTokens.neutralWhite,- secondary: AppFlowyPrimitiveTokens.neutral100,- tertiary: AppFlowyPrimitiveTokens.neutral200,- quaternary: AppFlowyPrimitiveTokens.neutral300,+ );++ final badgeColorScheme = AppFlowyBadgeColorScheme(+ color1Light1: AppFlowyPrimitiveTokens.subtleColorRose100,+ color1Light2: AppFlowyPrimitiveTokens.subtleColorRose200,+ color1Light3: AppFlowyPrimitiveTokens.subtleColorRose300,+ color1Thick1: AppFlowyPrimitiveTokens.subtleColorRose400,+ color1Thick2: AppFlowyPrimitiveTokens.subtleColorRose500,+ color1Thick3: AppFlowyPrimitiveTokens.subtleColorRose600,+ color2Light1: AppFlowyPrimitiveTokens.subtleColorPapaya100,+ color2Light2: AppFlowyPrimitiveTokens.subtleColorPapaya200,+ color2Light3: AppFlowyPrimitiveTokens.subtleColorPapaya300,+ color2Thick1: AppFlowyPrimitiveTokens.subtleColorPapaya400,+ color2Thick2: AppFlowyPrimitiveTokens.subtleColorPapaya500,+ color2Thick3: AppFlowyPrimitiveTokens.subtleColorPapaya600,+ color3Light1: AppFlowyPrimitiveTokens.subtleColorTangerine100,+ color3Light2: AppFlowyPrimitiveTokens.subtleColorTangerine200,+ color3Light3: AppFlowyPrimitiveTokens.subtleColorTangerine300,+ color3Thick1: AppFlowyPrimitiveTokens.subtleColorTangerine400,+ color3Thick2: AppFlowyPrimitiveTokens.subtleColorTangerine500,+ color3Thick3: AppFlowyPrimitiveTokens.subtleColorTangerine600,+ color4Light1: AppFlowyPrimitiveTokens.subtleColorMango100,+ color4Light2: AppFlowyPrimitiveTokens.subtleColorMango200,+ color4Light3: AppFlowyPrimitiveTokens.subtleColorMango300,+ color4Thick1: AppFlowyPrimitiveTokens.subtleColorMango400,+ color4Thick2: AppFlowyPrimitiveTokens.subtleColorMango500,+ color4Thick3: AppFlowyPrimitiveTokens.subtleColorMango600,+ color5Light1: AppFlowyPrimitiveTokens.subtleColorLemon100,+ color5Light2: AppFlowyPrimitiveTokens.subtleColorLemon200,+ color5Light3: AppFlowyPrimitiveTokens.subtleColorLemon300,+ color5Thick1: AppFlowyPrimitiveTokens.subtleColorLemon400,+ color5Thick2: AppFlowyPrimitiveTokens.subtleColorLemon500,+ color5Thick3: AppFlowyPrimitiveTokens.subtleColorLemon600,+ color6Light1: AppFlowyPrimitiveTokens.subtleColorOlive100,+ color6Light2: AppFlowyPrimitiveTokens.subtleColorOlive200,+ color6Light3: AppFlowyPrimitiveTokens.subtleColorOlive300,+ color6Thick1: AppFlowyPrimitiveTokens.subtleColorOlive400,+ color6Thick2: AppFlowyPrimitiveTokens.subtleColorOlive500,+ color6Thick3: AppFlowyPrimitiveTokens.subtleColorOlive600,+ color7Light1: AppFlowyPrimitiveTokens.subtleColorLime100,+ color7Light2: AppFlowyPrimitiveTokens.subtleColorLime200,+ color7Light3: AppFlowyPrimitiveTokens.subtleColorLime300,+ color7Thick1: AppFlowyPrimitiveTokens.subtleColorLime400,+ color7Thick2: AppFlowyPrimitiveTokens.subtleColorLime500,+ color7Thick3: AppFlowyPrimitiveTokens.subtleColorLime600,+ color8Light1: AppFlowyPrimitiveTokens.subtleColorGrass100,+ color8Light2: AppFlowyPrimitiveTokens.subtleColorGrass200,+ color8Light3: AppFlowyPrimitiveTokens.subtleColorGrass300,+ color8Thick1: AppFlowyPrimitiveTokens.subtleColorGrass400,+ color8Thick2: AppFlowyPrimitiveTokens.subtleColorGrass500,+ color8Thick3: AppFlowyPrimitiveTokens.subtleColorGrass600,+ color9Light1: AppFlowyPrimitiveTokens.subtleColorForest100,+ color9Light2: AppFlowyPrimitiveTokens.subtleColorForest200,+ color9Light3: AppFlowyPrimitiveTokens.subtleColorForest300,+ color9Thick1: AppFlowyPrimitiveTokens.subtleColorForest400,+ color9Thick2: AppFlowyPrimitiveTokens.subtleColorForest500,+ color9Thick3: AppFlowyPrimitiveTokens.subtleColorForest600,+ color10Light1: AppFlowyPrimitiveTokens.subtleColorJade100,+ color10Light2: AppFlowyPrimitiveTokens.subtleColorJade200,+ color10Light3: AppFlowyPrimitiveTokens.subtleColorJade300,+ color10Thick1: AppFlowyPrimitiveTokens.subtleColorJade400,+ color10Thick2: AppFlowyPrimitiveTokens.subtleColorJade500,+ color10Thick3: AppFlowyPrimitiveTokens.subtleColorJade600,+ color11Light1: AppFlowyPrimitiveTokens.subtleColorAqua100,+ color11Light2: AppFlowyPrimitiveTokens.subtleColorAqua200,+ color11Light3: AppFlowyPrimitiveTokens.subtleColorAqua300,+ color11Thick1: AppFlowyPrimitiveTokens.subtleColorAqua400,+ color11Thick2: AppFlowyPrimitiveTokens.subtleColorAqua500,+ color11Thick3: AppFlowyPrimitiveTokens.subtleColorAqua600,+ color12Light1: AppFlowyPrimitiveTokens.subtleColorAzure100,+ color12Light2: AppFlowyPrimitiveTokens.subtleColorAzure200,+ color12Light3: AppFlowyPrimitiveTokens.subtleColorAzure300,+ color12Thick1: AppFlowyPrimitiveTokens.subtleColorAzure400,+ color12Thick2: AppFlowyPrimitiveTokens.subtleColorAzure500,+ color12Thick3: AppFlowyPrimitiveTokens.subtleColorAzure600,+ color13Light1: AppFlowyPrimitiveTokens.subtleColorDenim100,+ color13Light2: AppFlowyPrimitiveTokens.subtleColorDenim200,+ color13Light3: AppFlowyPrimitiveTokens.subtleColorDenim300,+ color13Thick1: AppFlowyPrimitiveTokens.subtleColorDenim400,+ color13Thick2: AppFlowyPrimitiveTokens.subtleColorDenim500,+ color13Thick3: AppFlowyPrimitiveTokens.subtleColorDenim600,+ color14Light1: AppFlowyPrimitiveTokens.subtleColorMauve100,+ color14Light2: AppFlowyPrimitiveTokens.subtleColorMauve200,+ color14Light3: AppFlowyPrimitiveTokens.subtleColorMauve300,+ color14Thick1: AppFlowyPrimitiveTokens.subtleColorMauve400,+ color14Thick2: AppFlowyPrimitiveTokens.subtleColorMauve500,+ color14Thick3: AppFlowyPrimitiveTokens.subtleColorMauve600,+ color15Light1: AppFlowyPrimitiveTokens.subtleColorLavender100,+ color15Light2: AppFlowyPrimitiveTokens.subtleColorLavender200,+ color15Light3: AppFlowyPrimitiveTokens.subtleColorLavender300,+ color15Thick1: AppFlowyPrimitiveTokens.subtleColorLavender400,+ color15Thick2: AppFlowyPrimitiveTokens.subtleColorLavender500,+ color15Thick3: AppFlowyPrimitiveTokens.subtleColorLavender600,+ color16Light1: AppFlowyPrimitiveTokens.subtleColorLilac100,+ color16Light2: AppFlowyPrimitiveTokens.subtleColorLilac200,+ color16Light3: AppFlowyPrimitiveTokens.subtleColorLilac300,+ color16Thick1: AppFlowyPrimitiveTokens.subtleColorLilac400,+ color16Thick2: AppFlowyPrimitiveTokens.subtleColorLilac500,+ color16Thick3: AppFlowyPrimitiveTokens.subtleColorLilac600,+ color17Light1: AppFlowyPrimitiveTokens.subtleColorMallow100,+ color17Light2: AppFlowyPrimitiveTokens.subtleColorMallow200,+ color17Light3: AppFlowyPrimitiveTokens.subtleColorMallow300,+ color17Thick1: AppFlowyPrimitiveTokens.subtleColorMallow400,+ color17Thick2: AppFlowyPrimitiveTokens.subtleColorMallow500,+ color17Thick3: AppFlowyPrimitiveTokens.subtleColorMallow600,+ color18Light1: AppFlowyPrimitiveTokens.subtleColorCamellia100,+ color18Light2: AppFlowyPrimitiveTokens.subtleColorCamellia200,+ color18Light3: AppFlowyPrimitiveTokens.subtleColorCamellia300,+ color18Thick1: AppFlowyPrimitiveTokens.subtleColorCamellia400,+ color18Thick2: AppFlowyPrimitiveTokens.subtleColorCamellia500,+ color18Thick3: AppFlowyPrimitiveTokens.subtleColorCamellia600,+ color19Light1: AppFlowyPrimitiveTokens.subtleColorSmoke100,+ color19Light2: AppFlowyPrimitiveTokens.subtleColorSmoke200,+ color19Light3: AppFlowyPrimitiveTokens.subtleColorSmoke300,+ color19Thick1: AppFlowyPrimitiveTokens.subtleColorSmoke400,+ color19Thick2: AppFlowyPrimitiveTokens.subtleColorSmoke500,+ color19Thick3: AppFlowyPrimitiveTokens.subtleColorSmoke600,+ color20Light1: AppFlowyPrimitiveTokens.subtleColorIron100,+ color20Light2: AppFlowyPrimitiveTokens.subtleColorIron200,+ color20Light3: AppFlowyPrimitiveTokens.subtleColorIron300,+ color20Thick1: AppFlowyPrimitiveTokens.subtleColorIron400,+ color20Thick2: AppFlowyPrimitiveTokens.subtleColorIron500,+ color20Thick3: AppFlowyPrimitiveTokens.subtleColorIron600,);final brandColorScheme = AppFlowyBrandColorScheme(@@ -167,6 +295,8 @@ class AppFlowyDefaultTheme implements AppFlowyThemeBuilder {brandColorScheme: brandColorScheme,otherColorsColorScheme: otherColorsColorScheme,borderRadius: borderRadius,+ surfaceContainerColorScheme: surfaceContainerColorScheme,+ badgeColorScheme: badgeColorScheme,spacing: spacing,shadow: shadow,);@@ -186,22 +316,19 @@ class AppFlowyDefaultTheme implements AppFlowyThemeBuilder {secondary: AppFlowyPrimitiveTokens.neutral500,tertiary: AppFlowyPrimitiveTokens.neutral600,quaternary: AppFlowyPrimitiveTokens.neutral1000,- inverse: AppFlowyPrimitiveTokens.neutral1000,onFill: AppFlowyPrimitiveTokens.neutralWhite,- theme: AppFlowyPrimitiveTokens.blue500,- themeHover: AppFlowyPrimitiveTokens.blue600,action: AppFlowyPrimitiveTokens.blue500,- actionHover: AppFlowyPrimitiveTokens.blue600,+ actionHover: AppFlowyPrimitiveTokens.blue400,info: AppFlowyPrimitiveTokens.blue500,- infoHover: AppFlowyPrimitiveTokens.blue600,+ infoHover: AppFlowyPrimitiveTokens.blue400,success: AppFlowyPrimitiveTokens.green600,- successHover: AppFlowyPrimitiveTokens.green700,+ successHover: AppFlowyPrimitiveTokens.green500,warning: AppFlowyPrimitiveTokens.orange600,- warningHover: AppFlowyPrimitiveTokens.orange700,+ warningHover: AppFlowyPrimitiveTokens.orange500,error: AppFlowyPrimitiveTokens.red500,errorHover: AppFlowyPrimitiveTokens.red400,- purple: AppFlowyPrimitiveTokens.purple500,- purpleHover: AppFlowyPrimitiveTokens.purple600,+ featured: AppFlowyPrimitiveTokens.purple500,+ featuredHover: AppFlowyPrimitiveTokens.purple400,);final iconColorScheme = AppFlowyIconColorScheme(@@ -209,92 +336,223 @@ class AppFlowyDefaultTheme implements AppFlowyThemeBuilder {secondary: AppFlowyPrimitiveTokens.neutral400,tertiary: AppFlowyPrimitiveTokens.neutral600,quaternary: AppFlowyPrimitiveTokens.neutral1000,- white: AppFlowyPrimitiveTokens.neutralWhite,- purpleThick: Color(0xFFFFFFFF),- purpleThickHover: Color(0xFFFFFFFF),+ infoThick: AppFlowyPrimitiveTokens.blue500,+ infoThickHover: AppFlowyPrimitiveTokens.blue400,+ successThick: AppFlowyPrimitiveTokens.green600,+ successThickHover: AppFlowyPrimitiveTokens.green500,+ warningThick: AppFlowyPrimitiveTokens.orange600,+ warningThickHover: AppFlowyPrimitiveTokens.orange500,+ errorThick: AppFlowyPrimitiveTokens.red500,+ errorThickHover: AppFlowyPrimitiveTokens.red400,+ featuredThick: AppFlowyPrimitiveTokens.purple500,+ featuredThickHover: AppFlowyPrimitiveTokens.purple400,+ onFill: AppFlowyPrimitiveTokens.neutralWhite,);final borderColorScheme = AppFlowyBorderColorScheme(primary: AppFlowyPrimitiveTokens.neutral800,- greyPrimary: AppFlowyPrimitiveTokens.neutral100,- greyPrimaryHover: AppFlowyPrimitiveTokens.neutral200,- greySecondary: AppFlowyPrimitiveTokens.neutral300,- greySecondaryHover: AppFlowyPrimitiveTokens.neutral400,- greyTertiary: AppFlowyPrimitiveTokens.neutral800,- greyTertiaryHover: AppFlowyPrimitiveTokens.neutral700,- greyQuaternary: AppFlowyPrimitiveTokens.neutral1000,- greyQuaternaryHover: AppFlowyPrimitiveTokens.neutral900,- transparent: AppFlowyPrimitiveTokens.neutralAlphaWhite0,+ primaryHover: AppFlowyPrimitiveTokens.neutral700,+ secondary: AppFlowyPrimitiveTokens.neutral300,+ secondaryHover: AppFlowyPrimitiveTokens.neutral200,+ tertiary: AppFlowyPrimitiveTokens.neutral100,+ tertiaryHover: AppFlowyPrimitiveTokens.neutralWhite,themeThick: AppFlowyPrimitiveTokens.blue500,themeThickHover: AppFlowyPrimitiveTokens.blue600,infoThick: AppFlowyPrimitiveTokens.blue500,- infoThickHover: AppFlowyPrimitiveTokens.blue600,+ infoThickHover: AppFlowyPrimitiveTokens.blue400,successThick: AppFlowyPrimitiveTokens.green600,- successThickHover: AppFlowyPrimitiveTokens.green700,+ successThickHover: AppFlowyPrimitiveTokens.green500,warningThick: AppFlowyPrimitiveTokens.orange600,- warningThickHover: AppFlowyPrimitiveTokens.orange700,+ warningThickHover: AppFlowyPrimitiveTokens.orange500,errorThick: AppFlowyPrimitiveTokens.red500,errorThickHover: AppFlowyPrimitiveTokens.red400,- purpleThick: AppFlowyPrimitiveTokens.purple500,- purpleThickHover: AppFlowyPrimitiveTokens.purple600,+ featuredThick: AppFlowyPrimitiveTokens.purple500,+ featuredThickHover: AppFlowyPrimitiveTokens.purple400,);final fillColorScheme = AppFlowyFillColorScheme(primary: AppFlowyPrimitiveTokens.neutral900,- primaryHover: AppFlowyPrimitiveTokens.neutral200,- secondary: AppFlowyPrimitiveTokens.neutral300,- secondaryHover: AppFlowyPrimitiveTokens.neutral400,- tertiary: AppFlowyPrimitiveTokens.neutral600,- tertiaryHover: AppFlowyPrimitiveTokens.neutral500,- quaternary: AppFlowyPrimitiveTokens.neutral1000,- quaternaryHover: AppFlowyPrimitiveTokens.neutral900,- transparent: AppFlowyPrimitiveTokens.neutralAlphaWhite0,- primaryAlpha5: AppFlowyPrimitiveTokens.neutralAlphaGrey10005,- primaryAlpha5Hover: AppFlowyPrimitiveTokens.neutralAlphaGrey10010,- primaryAlpha80: AppFlowyPrimitiveTokens.neutralAlphaGrey100080,- primaryAlpha80Hover: AppFlowyPrimitiveTokens.neutralAlphaGrey100070,- white: AppFlowyPrimitiveTokens.neutralWhite,- whiteAlpha: AppFlowyPrimitiveTokens.neutralAlphaWhite20,- whiteAlphaHover: AppFlowyPrimitiveTokens.neutralAlphaWhite30,- black: AppFlowyPrimitiveTokens.neutralBlack,- themeLight: AppFlowyPrimitiveTokens.blue100,- themeLightHover: AppFlowyPrimitiveTokens.blue200,+ primaryHover: AppFlowyPrimitiveTokens.neutral800,+ secondary: AppFlowyPrimitiveTokens.neutral600,+ secondaryHover: AppFlowyPrimitiveTokens.neutral500,+ tertiary: AppFlowyPrimitiveTokens.neutral300,+ tertiaryHover: AppFlowyPrimitiveTokens.neutral200,+ quaternary: AppFlowyPrimitiveTokens.neutral100,+ quaternaryHover: AppFlowyPrimitiveTokens.neutralWhite,+ content: AppFlowyPrimitiveTokens.neutralAlphaWhite0,+ contentHover: AppFlowyPrimitiveTokens.neutralAlphaGrey10005,+ contentVisible: AppFlowyPrimitiveTokens.neutralAlphaGrey10005,+ contentVisibleHover: AppFlowyPrimitiveTokens.neutralAlphaGrey10010,themeThick: AppFlowyPrimitiveTokens.blue500,- themeThickHover: AppFlowyPrimitiveTokens.blue400,+ themeThickHover: AppFlowyPrimitiveTokens.blue600,themeSelect: AppFlowyPrimitiveTokens.blueAlphaBlue50015,- infoLight: AppFlowyPrimitiveTokens.blue100,- infoLightHover: AppFlowyPrimitiveTokens.blue200,+ textSelect: AppFlowyPrimitiveTokens.blueAlphaBlue50020,+ infoLight: AppFlowyPrimitiveTokens.blue200,+ infoLightHover: AppFlowyPrimitiveTokens.blue100,infoThick: AppFlowyPrimitiveTokens.blue500,- infoThickHover: AppFlowyPrimitiveTokens.blue600,- successLight: AppFlowyPrimitiveTokens.green100,- successLightHover: AppFlowyPrimitiveTokens.green200,- successThick: AppFlowyPrimitiveTokens.green600,- successThickHover: AppFlowyPrimitiveTokens.green700,- warningLight: AppFlowyPrimitiveTokens.orange100,- warningLightHover: AppFlowyPrimitiveTokens.orange200,- warningThick: AppFlowyPrimitiveTokens.orange600,- warningThickHover: AppFlowyPrimitiveTokens.orange700,- errorLight: AppFlowyPrimitiveTokens.red100,- errorLightHover: AppFlowyPrimitiveTokens.red200,- errorThick: AppFlowyPrimitiveTokens.red600,- errorThickHover: AppFlowyPrimitiveTokens.red500,+ infoThickHover: AppFlowyPrimitiveTokens.blue400,+ successLight: AppFlowyPrimitiveTokens.green200,+ successLightHover: AppFlowyPrimitiveTokens.green100,+ warningLight: AppFlowyPrimitiveTokens.orange200,+ warningLightHover: AppFlowyPrimitiveTokens.orange100,+ errorLight: AppFlowyPrimitiveTokens.red200,+ errorLightHover: AppFlowyPrimitiveTokens.red100,+ errorThick: AppFlowyPrimitiveTokens.red500,+ errorThickHover: AppFlowyPrimitiveTokens.red400,errorSelect: AppFlowyPrimitiveTokens.redAlphaRed50010,- purpleLight: AppFlowyPrimitiveTokens.purple100,- purpleLightHover: AppFlowyPrimitiveTokens.purple200,- purpleThickHover: AppFlowyPrimitiveTokens.purple600,- purpleThick: AppFlowyPrimitiveTokens.purple500,+ featuredLight: AppFlowyPrimitiveTokens.purple200,+ featuredLightHover: AppFlowyPrimitiveTokens.purple100,+ featuredThick: AppFlowyPrimitiveTokens.purple500,+ featuredThickHover: AppFlowyPrimitiveTokens.purple400,);final surfaceColorScheme = AppFlowySurfaceColorScheme(primary: AppFlowyPrimitiveTokens.neutral900,+ primaryHover: AppFlowyPrimitiveTokens.neutral800,+ layer01: AppFlowyPrimitiveTokens.neutral900,+ layer01Hover: AppFlowyPrimitiveTokens.neutral800,+ layer02: AppFlowyPrimitiveTokens.neutral850,+ layer02Hover: AppFlowyPrimitiveTokens.neutral800,+ layer03: AppFlowyPrimitiveTokens.neutral850,+ layer03Hover: AppFlowyPrimitiveTokens.neutral800,+ layer04: AppFlowyPrimitiveTokens.neutral830,+ layer04Hover: AppFlowyPrimitiveTokens.neutral800,+ inverse: AppFlowyPrimitiveTokens.neutral800,+ secondary: AppFlowyPrimitiveTokens.neutral800,overlay: AppFlowyPrimitiveTokens.neutralAlphaBlack60,);+ final surfaceContainerColorScheme = AppFlowySurfaceContainerColorScheme(+ layer01: AppFlowyPrimitiveTokens.neutral900,+ layer02: AppFlowyPrimitiveTokens.neutral800,+ layer03: AppFlowyPrimitiveTokens.neutral700,+ );+final backgroundColorScheme = AppFlowyBackgroundColorScheme(primary: AppFlowyPrimitiveTokens.neutral1000,- secondary: AppFlowyPrimitiveTokens.neutral900,- tertiary: AppFlowyPrimitiveTokens.neutral800,- quaternary: AppFlowyPrimitiveTokens.neutral700,+ );++ final badgeColorScheme = AppFlowyBadgeColorScheme(+ color1Light1: AppFlowyPrimitiveTokens.subtleColorRose100,+ color1Light2: AppFlowyPrimitiveTokens.subtleColorRose200,+ color1Light3: AppFlowyPrimitiveTokens.subtleColorRose300,+ color1Thick1: AppFlowyPrimitiveTokens.subtleColorRose400,+ color1Thick2: AppFlowyPrimitiveTokens.subtleColorRose500,+ color1Thick3: AppFlowyPrimitiveTokens.subtleColorRose600,+ color2Light1: AppFlowyPrimitiveTokens.subtleColorPapaya100,+ color2Light2: AppFlowyPrimitiveTokens.subtleColorPapaya200,+ color2Light3: AppFlowyPrimitiveTokens.subtleColorPapaya300,+ color2Thick1: AppFlowyPrimitiveTokens.subtleColorPapaya400,+ color2Thick2: AppFlowyPrimitiveTokens.subtleColorPapaya500,+ color2Thick3: AppFlowyPrimitiveTokens.subtleColorPapaya600,+ color3Light1: AppFlowyPrimitiveTokens.subtleColorTangerine100,+ color3Light2: AppFlowyPrimitiveTokens.subtleColorTangerine200,+ color3Light3: AppFlowyPrimitiveTokens.subtleColorTangerine300,+ color3Thick1: AppFlowyPrimitiveTokens.subtleColorTangerine400,+ color3Thick2: AppFlowyPrimitiveTokens.subtleColorTangerine500,+ color3Thick3: AppFlowyPrimitiveTokens.subtleColorTangerine600,+ color4Light1: AppFlowyPrimitiveTokens.subtleColorMango100,+ color4Light2: AppFlowyPrimitiveTokens.subtleColorMango200,+ color4Light3: AppFlowyPrimitiveTokens.subtleColorMango300,+ color4Thick1: AppFlowyPrimitiveTokens.subtleColorMango400,+ color4Thick2: AppFlowyPrimitiveTokens.subtleColorMango500,+ color4Thick3: AppFlowyPrimitiveTokens.subtleColorMango600,+ color5Light1: AppFlowyPrimitiveTokens.subtleColorLemon100,+ color5Light2: AppFlowyPrimitiveTokens.subtleColorLemon200,+ color5Light3: AppFlowyPrimitiveTokens.subtleColorLemon300,+ color5Thick1: AppFlowyPrimitiveTokens.subtleColorLemon400,+ color5Thick2: AppFlowyPrimitiveTokens.subtleColorLemon500,+ color5Thick3: AppFlowyPrimitiveTokens.subtleColorLemon600,+ color6Light1: AppFlowyPrimitiveTokens.subtleColorOlive100,+ color6Light2: AppFlowyPrimitiveTokens.subtleColorOlive200,+ color6Light3: AppFlowyPrimitiveTokens.subtleColorOlive300,+ color6Thick1: AppFlowyPrimitiveTokens.subtleColorOlive400,+ color6Thick2: AppFlowyPrimitiveTokens.subtleColorOlive500,+ color6Thick3: AppFlowyPrimitiveTokens.subtleColorOlive600,+ color7Light1: AppFlowyPrimitiveTokens.subtleColorLime100,+ color7Light2: AppFlowyPrimitiveTokens.subtleColorLime200,+ color7Light3: AppFlowyPrimitiveTokens.subtleColorLime300,+ color7Thick1: AppFlowyPrimitiveTokens.subtleColorLime400,+ color7Thick2: AppFlowyPrimitiveTokens.subtleColorLime500,+ color7Thick3: AppFlowyPrimitiveTokens.subtleColorLime600,+ color8Light1: AppFlowyPrimitiveTokens.subtleColorGrass100,+ color8Light2: AppFlowyPrimitiveTokens.subtleColorGrass200,+ color8Light3: AppFlowyPrimitiveTokens.subtleColorGrass300,+ color8Thick1: AppFlowyPrimitiveTokens.subtleColorGrass400,+ color8Thick2: AppFlowyPrimitiveTokens.subtleColorGrass500,+ color8Thick3: AppFlowyPrimitiveTokens.subtleColorGrass600,+ color9Light1: AppFlowyPrimitiveTokens.subtleColorForest100,+ color9Light2: AppFlowyPrimitiveTokens.subtleColorForest200,+ color9Light3: AppFlowyPrimitiveTokens.subtleColorForest300,+ color9Thick1: AppFlowyPrimitiveTokens.subtleColorForest400,+ color9Thick2: AppFlowyPrimitiveTokens.subtleColorForest500,+ color9Thick3: AppFlowyPrimitiveTokens.subtleColorForest600,+ color10Light1: AppFlowyPrimitiveTokens.subtleColorJade100,+ color10Light2: AppFlowyPrimitiveTokens.subtleColorJade200,+ color10Light3: AppFlowyPrimitiveTokens.subtleColorJade300,+ color10Thick1: AppFlowyPrimitiveTokens.subtleColorJade400,+ color10Thick2: AppFlowyPrimitiveTokens.subtleColorJade500,+ color10Thick3: AppFlowyPrimitiveTokens.subtleColorJade600,+ color11Light1: AppFlowyPrimitiveTokens.subtleColorAqua100,+ color11Light2: AppFlowyPrimitiveTokens.subtleColorAqua200,+ color11Light3: AppFlowyPrimitiveTokens.subtleColorAqua300,+ color11Thick1: AppFlowyPrimitiveTokens.subtleColorAqua400,+ color11Thick2: AppFlowyPrimitiveTokens.subtleColorAqua500,+ color11Thick3: AppFlowyPrimitiveTokens.subtleColorAqua600,+ color12Light1: AppFlowyPrimitiveTokens.subtleColorAzure100,+ color12Light2: AppFlowyPrimitiveTokens.subtleColorAzure200,+ color12Light3: AppFlowyPrimitiveTokens.subtleColorAzure300,+ color12Thick1: AppFlowyPrimitiveTokens.subtleColorAzure400,+ color12Thick2: AppFlowyPrimitiveTokens.subtleColorAzure500,+ color12Thick3: AppFlowyPrimitiveTokens.subtleColorAzure600,+ color13Light1: AppFlowyPrimitiveTokens.subtleColorDenim100,+ color13Light2: AppFlowyPrimitiveTokens.subtleColorDenim200,+ color13Light3: AppFlowyPrimitiveTokens.subtleColorDenim300,+ color13Thick1: AppFlowyPrimitiveTokens.subtleColorDenim400,+ color13Thick2: AppFlowyPrimitiveTokens.subtleColorDenim500,+ color13Thick3: AppFlowyPrimitiveTokens.subtleColorDenim600,+ color14Light1: AppFlowyPrimitiveTokens.subtleColorMauve100,+ color14Light2: AppFlowyPrimitiveTokens.subtleColorMauve200,+ color14Light3: AppFlowyPrimitiveTokens.subtleColorMauve300,+ color14Thick1: AppFlowyPrimitiveTokens.subtleColorMauve400,+ color14Thick2: AppFlowyPrimitiveTokens.subtleColorMauve500,+ color14Thick3: AppFlowyPrimitiveTokens.subtleColorMauve600,+ color15Light1: AppFlowyPrimitiveTokens.subtleColorLavender100,+ color15Light2: AppFlowyPrimitiveTokens.subtleColorLavender200,+ color15Light3: AppFlowyPrimitiveTokens.subtleColorLavender300,+ color15Thick1: AppFlowyPrimitiveTokens.subtleColorLavender400,+ color15Thick2: AppFlowyPrimitiveTokens.subtleColorLavender500,+ color15Thick3: AppFlowyPrimitiveTokens.subtleColorLavender600,+ color16Light1: AppFlowyPrimitiveTokens.subtleColorLilac100,+ color16Light2: AppFlowyPrimitiveTokens.subtleColorLilac200,+ color16Light3: AppFlowyPrimitiveTokens.subtleColorLilac300,+ color16Thick1: AppFlowyPrimitiveTokens.subtleColorLilac400,+ color16Thick2: AppFlowyPrimitiveTokens.subtleColorLilac500,+ color16Thick3: AppFlowyPrimitiveTokens.subtleColorLilac600,+ color17Light1: AppFlowyPrimitiveTokens.subtleColorMallow100,+ color17Light2: AppFlowyPrimitiveTokens.subtleColorMallow200,+ color17Light3: AppFlowyPrimitiveTokens.subtleColorMallow300,+ color17Thick1: AppFlowyPrimitiveTokens.subtleColorMallow400,+ color17Thick2: AppFlowyPrimitiveTokens.subtleColorMallow500,+ color17Thick3: AppFlowyPrimitiveTokens.subtleColorMallow600,+ color18Light1: AppFlowyPrimitiveTokens.subtleColorCamellia100,+ color18Light2: AppFlowyPrimitiveTokens.subtleColorCamellia200,+ color18Light3: AppFlowyPrimitiveTokens.subtleColorCamellia300,+ color18Thick1: AppFlowyPrimitiveTokens.subtleColorCamellia400,+ color18Thick2: AppFlowyPrimitiveTokens.subtleColorCamellia500,+ color18Thick3: AppFlowyPrimitiveTokens.subtleColorCamellia600,+ color19Light1: AppFlowyPrimitiveTokens.subtleColorSmoke100,+ color19Light2: AppFlowyPrimitiveTokens.subtleColorSmoke200,+ color19Light3: AppFlowyPrimitiveTokens.subtleColorSmoke300,+ color19Thick1: AppFlowyPrimitiveTokens.subtleColorSmoke400,+ color19Thick2: AppFlowyPrimitiveTokens.subtleColorSmoke500,+ color19Thick3: AppFlowyPrimitiveTokens.subtleColorSmoke600,+ color20Light1: AppFlowyPrimitiveTokens.subtleColorIron100,+ color20Light2: AppFlowyPrimitiveTokens.subtleColorIron200,+ color20Light3: AppFlowyPrimitiveTokens.subtleColorIron300,+ color20Thick1: AppFlowyPrimitiveTokens.subtleColorIron400,+ color20Thick2: AppFlowyPrimitiveTokens.subtleColorIron500,+ color20Thick3: AppFlowyPrimitiveTokens.subtleColorIron600,);final brandColorScheme = AppFlowyBrandColorScheme(@@ -324,6 +582,8 @@ class AppFlowyDefaultTheme implements AppFlowyThemeBuilder {brandColorScheme: brandColorScheme,otherColorsColorScheme: otherColorsColorScheme,borderRadius: borderRadius,+ surfaceContainerColorScheme: surfaceContainerColorScheme,+ badgeColorScheme: badgeColorScheme,spacing: spacing,shadow: shadow,);diff --git a/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/theme/definition/color_scheme/background_color_scheme.dart b/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/theme/definition/color_scheme/background_color_scheme.dartindex c7324c34fe..d4d4f9bdd9 100644--- a/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/theme/definition/color_scheme/background_color_scheme.dart+++ b/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/theme/definition/color_scheme/background_color_scheme.dart@@ -3,25 +3,20 @@ import 'package:flutter/material.dart';class AppFlowyBackgroundColorScheme {const AppFlowyBackgroundColorScheme({required this.primary,- required this.secondary,- required this.tertiary,- required this.quaternary,});final Color primary;- final Color secondary;- final Color tertiary;- final Color quaternary;AppFlowyBackgroundColorScheme lerp(AppFlowyBackgroundColorScheme other,double t,) {return AppFlowyBackgroundColorScheme(- primary: Color.lerp(primary, other.primary, t)!,- secondary: Color.lerp(secondary, other.secondary, t)!,- tertiary: Color.lerp(tertiary, other.tertiary, t)!,- quaternary: Color.lerp(quaternary, other.quaternary, t)!,+ primary: Color.lerp(+ primary,+ other.primary,+ t,+ )!,);}}diff --git a/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/theme/definition/color_scheme/badge_color_scheme.dart b/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/theme/definition/color_scheme/badge_color_scheme.dartnew file mode 100644index 0000000000..bac7b0be08--- /dev/null+++ b/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/theme/definition/color_scheme/badge_color_scheme.dart@@ -0,0 +1,855 @@+import 'package:flutter/material.dart';++class AppFlowyBadgeColorScheme {+ AppFlowyBadgeColorScheme({+ required this.color1Light1,+ required this.color1Light2,+ required this.color1Light3,+ required this.color1Thick1,+ required this.color1Thick2,+ required this.color1Thick3,+ required this.color2Light1,+ required this.color2Light2,+ required this.color2Light3,+ required this.color2Thick1,+ required this.color2Thick2,+ required this.color2Thick3,+ required this.color3Light1,+ required this.color3Light2,+ required this.color3Light3,+ required this.color3Thick1,+ required this.color3Thick2,+ required this.color3Thick3,+ required this.color4Light1,+ required this.color4Light2,+ required this.color4Light3,+ required this.color4Thick1,+ required this.color4Thick2,+ required this.color4Thick3,+ required this.color5Light1,+ required this.color5Light2,+ required this.color5Light3,+ required this.color5Thick1,+ required this.color5Thick2,+ required this.color5Thick3,+ required this.color6Light1,+ required this.color6Light2,+ required this.color6Light3,+ required this.color6Thick1,+ required this.color6Thick2,+ required this.color6Thick3,+ required this.color7Light1,+ required this.color7Light2,+ required this.color7Light3,+ required this.color7Thick1,+ required this.color7Thick2,+ required this.color7Thick3,+ required this.color8Light1,+ required this.color8Light2,+ required this.color8Light3,+ required this.color8Thick1,+ required this.color8Thick2,+ required this.color8Thick3,+ required this.color9Light1,+ required this.color9Light2,+ required this.color9Light3,+ required this.color9Thick1,+ required this.color9Thick2,+ required this.color9Thick3,+ required this.color10Light1,+ required this.color10Light2,+ required this.color10Light3,+ required this.color10Thick1,+ required this.color10Thick2,+ required this.color10Thick3,+ required this.color11Light1,+ required this.color11Light2,+ required this.color11Light3,+ required this.color11Thick1,+ required this.color11Thick2,+ required this.color11Thick3,+ required this.color12Light1,+ required this.color12Light2,+ required this.color12Light3,+ required this.color12Thick1,+ required this.color12Thick2,+ required this.color12Thick3,+ required this.color13Light1,+ required this.color13Light2,+ required this.color13Light3,+ required this.color13Thick1,+ required this.color13Thick2,+ required this.color13Thick3,+ required this.color14Light1,+ required this.color14Light2,+ required this.color14Light3,+ required this.color14Thick1,+ required this.color14Thick2,+ required this.color14Thick3,+ required this.color15Light1,+ required this.color15Light2,+ required this.color15Light3,+ required this.color15Thick1,+ required this.color15Thick2,+ required this.color15Thick3,+ required this.color16Light1,+ required this.color16Light2,+ required this.color16Light3,+ required this.color16Thick1,+ required this.color16Thick2,+ required this.color16Thick3,+ required this.color17Light1,+ required this.color17Light2,+ required this.color17Light3,+ required this.color17Thick1,+ required this.color17Thick2,+ required this.color17Thick3,+ required this.color18Light1,+ required this.color18Light2,+ required this.color18Light3,+ required this.color18Thick1,+ required this.color18Thick2,+ required this.color18Thick3,+ required this.color19Light1,+ required this.color19Light2,+ required this.color19Light3,+ required this.color19Thick1,+ required this.color19Thick2,+ required this.color19Thick3,+ required this.color20Light1,+ required this.color20Light2,+ required this.color20Light3,+ required this.color20Thick1,+ required this.color20Thick2,+ required this.color20Thick3,+ });++ final Color color1Light1;+ final Color color1Light2;+ final Color color1Light3;+ final Color color1Thick1;+ final Color color1Thick2;+ final Color color1Thick3;+ final Color color2Light1;+ final Color color2Light2;+ final Color color2Light3;+ final Color color2Thick1;+ final Color color2Thick2;+ final Color color2Thick3;+ final Color color3Light1;+ final Color color3Light2;+ final Color color3Light3;+ final Color color3Thick1;+ final Color color3Thick2;+ final Color color3Thick3;+ final Color color4Light1;+ final Color color4Light2;+ final Color color4Light3;+ final Color color4Thick1;+ final Color color4Thick2;+ final Color color4Thick3;+ final Color color5Light1;+ final Color color5Light2;+ final Color color5Light3;+ final Color color5Thick1;+ final Color color5Thick2;+ final Color color5Thick3;+ final Color color6Light1;+ final Color color6Light2;+ final Color color6Light3;+ final Color color6Thick1;+ final Color color6Thick2;+ final Color color6Thick3;+ final Color color7Light1;+ final Color color7Light2;+ final Color color7Light3;+ final Color color7Thick1;+ final Color color7Thick2;+ final Color color7Thick3;+ final Color color8Light1;+ final Color color8Light2;+ final Color color8Light3;+ final Color color8Thick1;+ final Color color8Thick2;+ final Color color8Thick3;+ final Color color9Light1;+ final Color color9Light2;+ final Color color9Light3;+ final Color color9Thick1;+ final Color color9Thick2;+ final Color color9Thick3;+ final Color color10Light1;+ final Color color10Light2;+ final Color color10Light3;+ final Color color10Thick1;+ final Color color10Thick2;+ final Color color10Thick3;+ final Color color11Light1;+ final Color color11Light2;+ final Color color11Light3;+ final Color color11Thick1;+ final Color color11Thick2;+ final Color color11Thick3;+ final Color color12Light1;+ final Color color12Light2;+ final Color color12Light3;+ final Color color12Thick1;+ final Color color12Thick2;+ final Color color12Thick3;+ final Color color13Light1;+ final Color color13Light2;+ final Color color13Light3;+ final Color color13Thick1;+ final Color color13Thick2;+ final Color color13Thick3;+ final Color color14Light1;+ final Color color14Light2;+ final Color color14Light3;+ final Color color14Thick1;+ final Color color14Thick2;+ final Color color14Thick3;+ final Color color15Light1;+ final Color color15Light2;+ final Color color15Light3;+ final Color color15Thick1;+ final Color color15Thick2;+ final Color color15Thick3;+ final Color color16Light1;+ final Color color16Light2;+ final Color color16Light3;+ final Color color16Thick1;+ final Color color16Thick2;+ final Color color16Thick3;+ final Color color17Light1;+ final Color color17Light2;+ final Color color17Light3;+ final Color color17Thick1;+ final Color color17Thick2;+ final Color color17Thick3;+ final Color color18Light1;+ final Color color18Light2;+ final Color color18Light3;+ final Color color18Thick1;+ final Color color18Thick2;+ final Color color18Thick3;+ final Color color19Light1;+ final Color color19Light2;+ final Color color19Light3;+ final Color color19Thick1;+ final Color color19Thick2;+ final Color color19Thick3;+ final Color color20Light1;+ final Color color20Light2;+ final Color color20Light3;+ final Color color20Thick1;+ final Color color20Thick2;+ final Color color20Thick3;++ AppFlowyBadgeColorScheme lerp(+ AppFlowyBadgeColorScheme other,+ double t,+ ) {+ return AppFlowyBadgeColorScheme(+ color1Light1: Color.lerp(+ color1Light1,+ other.color1Light1,+ t,+ )!,+ color1Light2: Color.lerp(+ color1Light2,+ other.color1Light2,+ t,+ )!,+ color1Light3: Color.lerp(+ color1Light3,+ other.color1Light3,+ t,+ )!,+ color1Thick1: Color.lerp(+ color1Thick1,+ other.color1Thick1,+ t,+ )!,+ color1Thick2: Color.lerp(+ color1Thick2,+ other.color1Thick2,+ t,+ )!,+ color1Thick3: Color.lerp(+ color1Thick3,+ other.color1Thick3,+ t,+ )!,+ color2Light1: Color.lerp(+ color2Light1,+ other.color2Light1,+ t,+ )!,+ color2Light2: Color.lerp(+ color2Light2,+ other.color2Light2,+ t,+ )!,+ color2Light3: Color.lerp(+ color2Light3,+ other.color2Light3,+ t,+ )!,+ color2Thick1: Color.lerp(+ color2Thick1,+ other.color2Thick1,+ t,+ )!,+ color2Thick2: Color.lerp(+ color2Thick2,+ other.color2Thick2,+ t,+ )!,+ color2Thick3: Color.lerp(+ color2Thick3,+ other.color2Thick3,+ t,+ )!,+ color3Light1: Color.lerp(+ color3Light1,+ other.color3Light1,+ t,+ )!,+ color3Light2: Color.lerp(+ color3Light2,+ other.color3Light2,+ t,+ )!,+ color3Light3: Color.lerp(+ color3Light3,+ other.color3Light3,+ t,+ )!,+ color3Thick1: Color.lerp(+ color3Thick1,+ other.color3Thick1,+ t,+ )!,+ color3Thick2: Color.lerp(+ color3Thick2,+ other.color3Thick2,+ t,+ )!,+ color3Thick3: Color.lerp(+ color3Thick3,+ other.color3Thick3,+ t,+ )!,+ color4Light1: Color.lerp(+ color4Light1,+ other.color4Light1,+ t,+ )!,+ color4Light2: Color.lerp(+ color4Light2,+ other.color4Light2,+ t,+ )!,+ color4Light3: Color.lerp(+ color4Light3,+ other.color4Light3,+ t,+ )!,+ color4Thick1: Color.lerp(+ color4Thick1,+ other.color4Thick1,+ t,+ )!,+ color4Thick2: Color.lerp(+ color4Thick2,+ other.color4Thick2,+ t,+ )!,+ color4Thick3: Color.lerp(+ color4Thick3,+ other.color4Thick3,+ t,+ )!,+ color5Light1: Color.lerp(+ color5Light1,+ other.color5Light1,+ t,+ )!,+ color5Light2: Color.lerp(+ color5Light2,+ other.color5Light2,+ t,+ )!,+ color5Light3: Color.lerp(+ color5Light3,+ other.color5Light3,+ t,+ )!,+ color5Thick1: Color.lerp(+ color5Thick1,+ other.color5Thick1,+ t,+ )!,+ color5Thick2: Color.lerp(+ color5Thick2,+ other.color5Thick2,+ t,+ )!,+ color5Thick3: Color.lerp(+ color5Thick3,+ other.color5Thick3,+ t,+ )!,+ color6Light1: Color.lerp(+ color6Light1,+ other.color6Light1,+ t,+ )!,+ color6Light2: Color.lerp(+ color6Light2,+ other.color6Light2,+ t,+ )!,+ color6Light3: Color.lerp(+ color6Light3,+ other.color6Light3,+ t,+ )!,+ color6Thick1: Color.lerp(+ color6Thick1,+ other.color6Thick1,+ t,+ )!,+ color6Thick2: Color.lerp(+ color6Thick2,+ other.color6Thick2,+ t,+ )!,+ color6Thick3: Color.lerp(+ color6Thick3,+ other.color6Thick3,+ t,+ )!,+ color7Light1: Color.lerp(+ color7Light1,+ other.color7Light1,+ t,+ )!,+ color7Light2: Color.lerp(+ color7Light2,+ other.color7Light2,+ t,+ )!,+ color7Light3: Color.lerp(+ color7Light3,+ other.color7Light3,+ t,+ )!,+ color7Thick1: Color.lerp(+ color7Thick1,+ other.color7Thick1,+ t,+ )!,+ color7Thick2: Color.lerp(+ color7Thick2,+ other.color7Thick2,+ t,+ )!,+ color7Thick3: Color.lerp(+ color7Thick3,+ other.color7Thick3,+ t,+ )!,+ color8Light1: Color.lerp(+ color8Light1,+ other.color8Light1,+ t,+ )!,+ color8Light2: Color.lerp(+ color8Light2,+ other.color8Light2,+ t,+ )!,+ color8Light3: Color.lerp(+ color8Light3,+ other.color8Light3,+ t,+ )!,+ color8Thick1: Color.lerp(+ color8Thick1,+ other.color8Thick1,+ t,+ )!,+ color8Thick2: Color.lerp(+ color8Thick2,+ other.color8Thick2,+ t,+ )!,+ color8Thick3: Color.lerp(+ color8Thick3,+ other.color8Thick3,+ t,+ )!,+ color9Light1: Color.lerp(+ color9Light1,+ other.color9Light1,+ t,+ )!,+ color9Light2: Color.lerp(+ color9Light2,+ other.color9Light2,+ t,+ )!,+ color9Light3: Color.lerp(+ color9Light3,+ other.color9Light3,+ t,+ )!,+ color9Thick1: Color.lerp(+ color9Thick1,+ other.color9Thick1,+ t,+ )!,+ color9Thick2: Color.lerp(+ color9Thick2,+ other.color9Thick2,+ t,+ )!,+ color9Thick3: Color.lerp(+ color9Thick3,+ other.color9Thick3,+ t,+ )!,+ color10Light1: Color.lerp(+ color10Light1,+ other.color10Light1,+ t,+ )!,+ color10Light2: Color.lerp(+ color10Light2,+ other.color10Light2,+ t,+ )!,+ color10Light3: Color.lerp(+ color10Light3,+ other.color10Light3,+ t,+ )!,+ color10Thick1: Color.lerp(+ color10Thick1,+ other.color10Thick1,+ t,+ )!,+ color10Thick2: Color.lerp(+ color10Thick2,+ other.color10Thick2,+ t,+ )!,+ color10Thick3: Color.lerp(+ color10Thick3,+ other.color10Thick3,+ t,+ )!,+ color11Light1: Color.lerp(+ color11Light1,+ other.color11Light1,+ t,+ )!,+ color11Light2: Color.lerp(+ color11Light2,+ other.color11Light2,+ t,+ )!,+ color11Light3: Color.lerp(+ color11Light3,+ other.color11Light3,+ t,+ )!,+ color11Thick1: Color.lerp(+ color11Thick1,+ other.color11Thick1,+ t,+ )!,+ color11Thick2: Color.lerp(+ color11Thick2,+ other.color11Thick2,+ t,+ )!,+ color11Thick3: Color.lerp(+ color11Thick3,+ other.color11Thick3,+ t,+ )!,+ color12Light1: Color.lerp(+ color12Light1,+ other.color12Light1,+ t,+ )!,+ color12Light2: Color.lerp(+ color12Light2,+ other.color12Light2,+ t,+ )!,+ color12Light3: Color.lerp(+ color12Light3,+ other.color12Light3,+ t,+ )!,+ color12Thick1: Color.lerp(+ color12Thick1,+ other.color12Thick1,+ t,+ )!,+ color12Thick2: Color.lerp(+ color12Thick2,+ other.color12Thick2,+ t,+ )!,+ color12Thick3: Color.lerp(+ color12Thick3,+ other.color12Thick3,+ t,+ )!,+ color13Light1: Color.lerp(+ color13Light1,+ other.color13Light1,+ t,+ )!,+ color13Light2: Color.lerp(+ color13Light2,+ other.color13Light2,+ t,+ )!,+ color13Light3: Color.lerp(+ color13Light3,+ other.color13Light3,+ t,+ )!,+ color13Thick1: Color.lerp(+ color13Thick1,+ other.color13Thick1,+ t,+ )!,+ color13Thick2: Color.lerp(+ color13Thick2,+ other.color13Thick2,+ t,+ )!,+ color13Thick3: Color.lerp(+ color13Thick3,+ other.color13Thick3,+ t,+ )!,+ color14Light1: Color.lerp(+ color14Light1,+ other.color14Light1,+ t,+ )!,+ color14Light2: Color.lerp(+ color14Light2,+ other.color14Light2,+ t,+ )!,+ color14Light3: Color.lerp(+ color14Light3,+ other.color14Light3,+ t,+ )!,+ color14Thick1: Color.lerp(+ color14Thick1,+ other.color14Thick1,+ t,+ )!,+ color14Thick2: Color.lerp(+ color14Thick2,+ other.color14Thick2,+ t,+ )!,+ color14Thick3: Color.lerp(+ color14Thick3,+ other.color14Thick3,+ t,+ )!,+ color15Light1: Color.lerp(+ color15Light1,+ other.color15Light1,+ t,+ )!,+ color15Light2: Color.lerp(+ color15Light2,+ other.color15Light2,+ t,+ )!,+ color15Light3: Color.lerp(+ color15Light3,+ other.color15Light3,+ t,+ )!,+ color15Thick1: Color.lerp(+ color15Thick1,+ other.color15Thick1,+ t,+ )!,+ color15Thick2: Color.lerp(+ color15Thick2,+ other.color15Thick2,+ t,+ )!,+ color15Thick3: Color.lerp(+ color15Thick3,+ other.color15Thick3,+ t,+ )!,+ color16Light1: Color.lerp(+ color16Light1,+ other.color16Light1,+ t,+ )!,+ color16Light2: Color.lerp(+ color16Light2,+ other.color16Light2,+ t,+ )!,+ color16Light3: Color.lerp(+ color16Light3,+ other.color16Light3,+ t,+ )!,+ color16Thick1: Color.lerp(+ color16Thick1,+ other.color16Thick1,+ t,+ )!,+ color16Thick2: Color.lerp(+ color16Thick2,+ other.color16Thick2,+ t,+ )!,+ color16Thick3: Color.lerp(+ color16Thick3,+ other.color16Thick3,+ t,+ )!,+ color17Light1: Color.lerp(+ color17Light1,+ other.color17Light1,+ t,+ )!,+ color17Light2: Color.lerp(+ color17Light2,+ other.color17Light2,+ t,+ )!,+ color17Light3: Color.lerp(+ color17Light3,+ other.color17Light3,+ t,+ )!,+ color17Thick1: Color.lerp(+ color17Thick1,+ other.color17Thick1,+ t,+ )!,+ color17Thick2: Color.lerp(+ color17Thick2,+ other.color17Thick2,+ t,+ )!,+ color17Thick3: Color.lerp(+ color17Thick3,+ other.color17Thick3,+ t,+ )!,+ color18Light1: Color.lerp(+ color18Light1,+ other.color18Light1,+ t,+ )!,+ color18Light2: Color.lerp(+ color18Light2,+ other.color18Light2,+ t,+ )!,+ color18Light3: Color.lerp(+ color18Light3,+ other.color18Light3,+ t,+ )!,+ color18Thick1: Color.lerp(+ color18Thick1,+ other.color18Thick1,+ t,+ )!,+ color18Thick2: Color.lerp(+ color18Thick2,+ other.color18Thick2,+ t,+ )!,+ color18Thick3: Color.lerp(+ color18Thick3,+ other.color18Thick3,+ t,+ )!,+ color19Light1: Color.lerp(+ color19Light1,+ other.color19Light1,+ t,+ )!,+ color19Light2: Color.lerp(+ color19Light2,+ other.color19Light2,+ t,+ )!,+ color19Light3: Color.lerp(+ color19Light3,+ other.color19Light3,+ t,+ )!,+ color19Thick1: Color.lerp(+ color19Thick1,+ other.color19Thick1,+ t,+ )!,+ color19Thick2: Color.lerp(+ color19Thick2,+ other.color19Thick2,+ t,+ )!,+ color19Thick3: Color.lerp(+ color19Thick3,+ other.color19Thick3,+ t,+ )!,+ color20Light1: Color.lerp(+ color20Light1,+ other.color20Light1,+ t,+ )!,+ color20Light2: Color.lerp(+ color20Light2,+ other.color20Light2,+ t,+ )!,+ color20Light3: Color.lerp(+ color20Light3,+ other.color20Light3,+ t,+ )!,+ color20Thick1: Color.lerp(+ color20Thick1,+ other.color20Thick1,+ t,+ )!,+ color20Thick2: Color.lerp(+ color20Thick2,+ other.color20Thick2,+ t,+ )!,+ color20Thick3: Color.lerp(+ color20Thick3,+ other.color20Thick3,+ t,+ )!,+ );+ }+}diff --git a/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/theme/definition/color_scheme/border_color_scheme.dart b/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/theme/definition/color_scheme/border_color_scheme.dartindex ca65ed1fb4..3b6f956176 100644--- a/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/theme/definition/color_scheme/border_color_scheme.dart+++ b/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/theme/definition/color_scheme/border_color_scheme.dart@@ -3,15 +3,11 @@ import 'package:flutter/material.dart';class AppFlowyBorderColorScheme {AppFlowyBorderColorScheme({required this.primary,- required this.greyPrimary,- required this.greyPrimaryHover,- required this.greySecondary,- required this.greySecondaryHover,- required this.greyTertiary,- required this.greyTertiaryHover,- required this.greyQuaternary,- required this.greyQuaternaryHover,- required this.transparent,+ required this.primaryHover,+ required this.secondary,+ required this.secondaryHover,+ required this.tertiary,+ required this.tertiaryHover,required this.themeThick,required this.themeThickHover,required this.infoThick,@@ -22,20 +18,16 @@ class AppFlowyBorderColorScheme {required this.warningThickHover,required this.errorThick,required this.errorThickHover,- required this.purpleThick,- required this.purpleThickHover,+ required this.featuredThick,+ required this.featuredThickHover,});final Color primary;- final Color greyPrimary;- final Color greyPrimaryHover;- final Color greySecondary;- final Color greySecondaryHover;- final Color greyTertiary;- final Color greyTertiaryHover;- final Color greyQuaternary;- final Color greyQuaternaryHover;- final Color transparent;+ final Color primaryHover;+ final Color secondary;+ final Color secondaryHover;+ final Color tertiary;+ final Color tertiaryHover;final Color themeThick;final Color themeThickHover;final Color infoThick;@@ -46,43 +38,104 @@ class AppFlowyBorderColorScheme {final Color warningThickHover;final Color errorThick;final Color errorThickHover;- final Color purpleThick;- final Color purpleThickHover;+ final Color featuredThick;+ final Color featuredThickHover;AppFlowyBorderColorScheme lerp(AppFlowyBorderColorScheme other,double t,) {return AppFlowyBorderColorScheme(- primary: Color.lerp(primary, other.primary, t)!,- greyPrimary: Color.lerp(greyPrimary, other.greyPrimary, t)!,- greyPrimaryHover:- Color.lerp(greyPrimaryHover, other.greyPrimaryHover, t)!,- greySecondary: Color.lerp(greySecondary, other.greySecondary, t)!,- greySecondaryHover:- Color.lerp(greySecondaryHover, other.greySecondaryHover, t)!,- greyTertiary: Color.lerp(greyTertiary, other.greyTertiary, t)!,- greyTertiaryHover:- Color.lerp(greyTertiaryHover, other.greyTertiaryHover, t)!,- greyQuaternary: Color.lerp(greyQuaternary, other.greyQuaternary, t)!,- greyQuaternaryHover:- Color.lerp(greyQuaternaryHover, other.greyQuaternaryHover, t)!,- transparent: Color.lerp(transparent, other.transparent, t)!,- themeThick: Color.lerp(themeThick, other.themeThick, t)!,- themeThickHover: Color.lerp(themeThickHover, other.themeThickHover, t)!,- infoThick: Color.lerp(infoThick, other.infoThick, t)!,- infoThickHover: Color.lerp(infoThickHover, other.infoThickHover, t)!,- successThick: Color.lerp(successThick, other.successThick, t)!,- successThickHover:- Color.lerp(successThickHover, other.successThickHover, t)!,- warningThick: Color.lerp(warningThick, other.warningThick, t)!,- warningThickHover:- Color.lerp(warningThickHover, other.warningThickHover, t)!,- errorThick: Color.lerp(errorThick, other.errorThick, t)!,- errorThickHover: Color.lerp(errorThickHover, other.errorThickHover, t)!,- purpleThick: Color.lerp(purpleThick, other.purpleThick, t)!,- purpleThickHover:- Color.lerp(purpleThickHover, other.purpleThickHover, t)!,+ primary: Color.lerp(+ primary,+ other.primary,+ t,+ )!,+ primaryHover: Color.lerp(+ primaryHover,+ other.primaryHover,+ t,+ )!,+ secondary: Color.lerp(+ secondary,+ other.secondary,+ t,+ )!,+ secondaryHover: Color.lerp(+ secondaryHover,+ other.secondaryHover,+ t,+ )!,+ tertiary: Color.lerp(+ tertiary,+ other.tertiary,+ t,+ )!,+ tertiaryHover: Color.lerp(+ tertiaryHover,+ other.tertiaryHover,+ t,+ )!,+ themeThick: Color.lerp(+ themeThick,+ other.themeThick,+ t,+ )!,+ themeThickHover: Color.lerp(+ themeThickHover,+ other.themeThickHover,+ t,+ )!,+ infoThick: Color.lerp(+ infoThick,+ other.infoThick,+ t,+ )!,+ infoThickHover: Color.lerp(+ infoThickHover,+ other.infoThickHover,+ t,+ )!,+ successThick: Color.lerp(+ successThick,+ other.successThick,+ t,+ )!,+ successThickHover: Color.lerp(+ successThickHover,+ other.successThickHover,+ t,+ )!,+ warningThick: Color.lerp(+ warningThick,+ other.warningThick,+ t,+ )!,+ warningThickHover: Color.lerp(+ warningThickHover,+ other.warningThickHover,+ t,+ )!,+ errorThick: Color.lerp(+ errorThick,+ other.errorThick,+ t,+ )!,+ errorThickHover: Color.lerp(+ errorThickHover,+ other.errorThickHover,+ t,+ )!,+ featuredThick: Color.lerp(+ featuredThick,+ other.featuredThick,+ t,+ )!,+ featuredThickHover: Color.lerp(+ featuredThickHover,+ other.featuredThickHover,+ t,+ )!,);}}diff --git a/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/theme/definition/color_scheme/color_scheme.dart b/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/theme/definition/color_scheme/color_scheme.dartindex 01952e1461..63747d323b 100644--- a/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/theme/definition/color_scheme/color_scheme.dart+++ b/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/theme/definition/color_scheme/color_scheme.dart@@ -1,8 +1,10 @@export 'background_color_scheme.dart';+export 'badge_color_scheme.dart';export 'border_color_scheme.dart';export 'brand_color_scheme.dart';export 'fill_color_scheme.dart';export 'icon_color_scheme.dart';export 'other_color_scheme.dart';export 'surface_color_scheme.dart';+export 'surface_container_color_scheme.dart';export 'text_color_scheme.dart';diff --git a/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/theme/definition/color_scheme/fill_color_scheme.dart b/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/theme/definition/color_scheme/fill_color_scheme.dartindex 3faac64dfc..cc286599ec 100644--- a/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/theme/definition/color_scheme/fill_color_scheme.dart+++ b/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/theme/definition/color_scheme/fill_color_scheme.dart@@ -10,41 +10,31 @@ class AppFlowyFillColorScheme {required this.tertiaryHover,required this.quaternary,required this.quaternaryHover,- required this.transparent,- required this.primaryAlpha5,- required this.primaryAlpha5Hover,- required this.primaryAlpha80,- required this.primaryAlpha80Hover,- required this.white,- required this.whiteAlpha,- required this.whiteAlphaHover,- required this.black,- required this.themeLight,- required this.themeLightHover,+ required this.content,+ required this.contentHover,+ required this.contentVisible,+ required this.contentVisibleHover,required this.themeThick,required this.themeThickHover,required this.themeSelect,+ required this.textSelect,required this.infoLight,required this.infoLightHover,required this.infoThick,required this.infoThickHover,required this.successLight,required this.successLightHover,- required this.successThick,- required this.successThickHover,required this.warningLight,required this.warningLightHover,- required this.warningThick,- required this.warningThickHover,required this.errorLight,required this.errorLightHover,required this.errorThick,required this.errorThickHover,required this.errorSelect,- required this.purpleLight,- required this.purpleLightHover,- required this.purpleThick,- required this.purpleThickHover,+ required this.featuredLight,+ required this.featuredLightHover,+ required this.featuredThick,+ required this.featuredThickHover,});final Color primary;@@ -55,98 +45,202 @@ class AppFlowyFillColorScheme {final Color tertiaryHover;final Color quaternary;final Color quaternaryHover;- final Color transparent;- final Color primaryAlpha5;- final Color primaryAlpha5Hover;- final Color primaryAlpha80;- final Color primaryAlpha80Hover;- final Color white;- final Color whiteAlpha;- final Color whiteAlphaHover;- final Color black;- final Color themeLight;- final Color themeLightHover;+ final Color content;+ final Color contentHover;+ final Color contentVisible;+ final Color contentVisibleHover;final Color themeThick;final Color themeThickHover;final Color themeSelect;+ final Color textSelect;final Color infoLight;final Color infoLightHover;final Color infoThick;final Color infoThickHover;final Color successLight;final Color successLightHover;- final Color successThick;- final Color successThickHover;final Color warningLight;final Color warningLightHover;- final Color warningThick;- final Color warningThickHover;final Color errorLight;final Color errorLightHover;final Color errorThick;final Color errorThickHover;final Color errorSelect;- final Color purpleLight;- final Color purpleLightHover;- final Color purpleThick;- final Color purpleThickHover;+ final Color featuredLight;+ final Color featuredLightHover;+ final Color featuredThick;+ final Color featuredThickHover;AppFlowyFillColorScheme lerp(AppFlowyFillColorScheme other,double t,) {return AppFlowyFillColorScheme(- primary: Color.lerp(primary, other.primary, t)!,- primaryHover: Color.lerp(primaryHover, other.primaryHover, t)!,- secondary: Color.lerp(secondary, other.secondary, t)!,- secondaryHover: Color.lerp(secondaryHover, other.secondaryHover, t)!,- tertiary: Color.lerp(tertiary, other.tertiary, t)!,- tertiaryHover: Color.lerp(tertiaryHover, other.tertiaryHover, t)!,- quaternary: Color.lerp(quaternary, other.quaternary, t)!,- quaternaryHover: Color.lerp(quaternaryHover, other.quaternaryHover, t)!,- transparent: Color.lerp(transparent, other.transparent, t)!,- primaryAlpha5: Color.lerp(primaryAlpha5, other.primaryAlpha5, t)!,- primaryAlpha5Hover:- Color.lerp(primaryAlpha5Hover, other.primaryAlpha5Hover, t)!,- primaryAlpha80: Color.lerp(primaryAlpha80, other.primaryAlpha80, t)!,- primaryAlpha80Hover:- Color.lerp(primaryAlpha80Hover, other.primaryAlpha80Hover, t)!,- white: Color.lerp(white, other.white, t)!,- whiteAlpha: Color.lerp(whiteAlpha, other.whiteAlpha, t)!,- whiteAlphaHover: Color.lerp(whiteAlphaHover, other.whiteAlphaHover, t)!,- black: Color.lerp(black, other.black, t)!,- themeLight: Color.lerp(themeLight, other.themeLight, t)!,- themeLightHover: Color.lerp(themeLightHover, other.themeLightHover, t)!,- themeThick: Color.lerp(themeThick, other.themeThick, t)!,- themeThickHover: Color.lerp(themeThickHover, other.themeThickHover, t)!,- themeSelect: Color.lerp(themeSelect, other.themeSelect, t)!,- infoLight: Color.lerp(infoLight, other.infoLight, t)!,- infoLightHover: Color.lerp(infoLightHover, other.infoLightHover, t)!,- infoThick: Color.lerp(infoThick, other.infoThick, t)!,- infoThickHover: Color.lerp(infoThickHover, other.infoThickHover, t)!,- successLight: Color.lerp(successLight, other.successLight, t)!,- successLightHover:- Color.lerp(successLightHover, other.successLightHover, t)!,- successThick: Color.lerp(successThick, other.successThick, t)!,- successThickHover:- Color.lerp(successThickHover, other.successThickHover, t)!,- warningLight: Color.lerp(warningLight, other.warningLight, t)!,- warningLightHover:- Color.lerp(warningLightHover, other.warningLightHover, t)!,- warningThick: Color.lerp(warningThick, other.warningThick, t)!,- warningThickHover:- Color.lerp(warningThickHover, other.warningThickHover, t)!,- errorLight: Color.lerp(errorLight, other.errorLight, t)!,- errorLightHover: Color.lerp(errorLightHover, other.errorLightHover, t)!,- errorThick: Color.lerp(errorThick, other.errorThick, t)!,- errorThickHover: Color.lerp(errorThickHover, other.errorThickHover, t)!,- errorSelect: Color.lerp(errorSelect, other.errorSelect, t)!,- purpleLight: Color.lerp(purpleLight, other.purpleLight, t)!,- purpleLightHover:- Color.lerp(purpleLightHover, other.purpleLightHover, t)!,- purpleThick: Color.lerp(purpleThick, other.purpleThick, t)!,- purpleThickHover:- Color.lerp(purpleThickHover, other.purpleThickHover, t)!,+ primary: Color.lerp(+ primary,+ other.primary,+ t,+ )!,+ primaryHover: Color.lerp(+ primaryHover,+ other.primaryHover,+ t,+ )!,+ secondary: Color.lerp(+ secondary,+ other.secondary,+ t,+ )!,+ secondaryHover: Color.lerp(+ secondaryHover,+ other.secondaryHover,+ t,+ )!,+ tertiary: Color.lerp(+ tertiary,+ other.tertiary,+ t,+ )!,+ tertiaryHover: Color.lerp(+ tertiaryHover,+ other.tertiaryHover,+ t,+ )!,+ quaternary: Color.lerp(+ quaternary,+ other.quaternary,+ t,+ )!,+ quaternaryHover: Color.lerp(+ quaternaryHover,+ other.quaternaryHover,+ t,+ )!,+ content: Color.lerp(+ content,+ other.content,+ t,+ )!,+ contentHover: Color.lerp(+ contentHover,+ other.contentHover,+ t,+ )!,+ contentVisible: Color.lerp(+ contentVisible,+ other.contentVisible,+ t,+ )!,+ contentVisibleHover: Color.lerp(+ contentVisibleHover,+ other.contentVisibleHover,+ t,+ )!,+ themeThick: Color.lerp(+ themeThick,+ other.themeThick,+ t,+ )!,+ themeThickHover: Color.lerp(+ themeThickHover,+ other.themeThickHover,+ t,+ )!,+ themeSelect: Color.lerp(+ themeSelect,+ other.themeSelect,+ t,+ )!,+ textSelect: Color.lerp(+ textSelect,+ other.textSelect,+ t,+ )!,+ infoLight: Color.lerp(+ infoLight,+ other.infoLight,+ t,+ )!,+ infoLightHover: Color.lerp(+ infoLightHover,+ other.infoLightHover,+ t,+ )!,+ infoThick: Color.lerp(+ infoThick,+ other.infoThick,+ t,+ )!,+ infoThickHover: Color.lerp(+ infoThickHover,+ other.infoThickHover,+ t,+ )!,+ successLight: Color.lerp(+ successLight,+ other.successLight,+ t,+ )!,+ successLightHover: Color.lerp(+ successLightHover,+ other.successLightHover,+ t,+ )!,+ warningLight: Color.lerp(+ warningLight,+ other.warningLight,+ t,+ )!,+ warningLightHover: Color.lerp(+ warningLightHover,+ other.warningLightHover,+ t,+ )!,+ errorLight: Color.lerp(+ errorLight,+ other.errorLight,+ t,+ )!,+ errorLightHover: Color.lerp(+ errorLightHover,+ other.errorLightHover,+ t,+ )!,+ errorThick: Color.lerp(+ errorThick,+ other.errorThick,+ t,+ )!,+ errorThickHover: Color.lerp(+ errorThickHover,+ other.errorThickHover,+ t,+ )!,+ errorSelect: Color.lerp(+ errorSelect,+ other.errorSelect,+ t,+ )!,+ featuredLight: Color.lerp(+ featuredLight,+ other.featuredLight,+ t,+ )!,+ featuredLightHover: Color.lerp(+ featuredLightHover,+ other.featuredLightHover,+ t,+ )!,+ featuredThick: Color.lerp(+ featuredThick,+ other.featuredThick,+ t,+ )!,+ featuredThickHover: Color.lerp(+ featuredThickHover,+ other.featuredThickHover,+ t,+ )!,);}}diff --git a/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/theme/definition/color_scheme/icon_color_scheme.dart b/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/theme/definition/color_scheme/icon_color_scheme.dartindex efe59b8b99..6c150b94d8 100644--- a/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/theme/definition/color_scheme/icon_color_scheme.dart+++ b/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/theme/definition/color_scheme/icon_color_scheme.dart@@ -6,32 +6,115 @@ class AppFlowyIconColorScheme {required this.secondary,required this.tertiary,required this.quaternary,- required this.white,- required this.purpleThick,- required this.purpleThickHover,+ required this.onFill,+ required this.featuredThick,+ required this.featuredThickHover,+ required this.infoThick,+ required this.infoThickHover,+ required this.successThick,+ required this.successThickHover,+ required this.warningThick,+ required this.warningThickHover,+ required this.errorThick,+ required this.errorThickHover,});final Color primary;final Color secondary;final Color tertiary;final Color quaternary;- final Color white;- final Color purpleThick;- final Color purpleThickHover;+ final Color onFill;+ final Color featuredThick;+ final Color featuredThickHover;+ final Color infoThick;+ final Color infoThickHover;+ final Color successThick;+ final Color successThickHover;+ final Color warningThick;+ final Color warningThickHover;+ final Color errorThick;+ final Color errorThickHover;AppFlowyIconColorScheme lerp(AppFlowyIconColorScheme other,double t,) {return AppFlowyIconColorScheme(- primary: Color.lerp(primary, other.primary, t)!,- secondary: Color.lerp(secondary, other.secondary, t)!,- tertiary: Color.lerp(tertiary, other.tertiary, t)!,- quaternary: Color.lerp(quaternary, other.quaternary, t)!,- white: Color.lerp(white, other.white, t)!,- purpleThick: Color.lerp(purpleThick, other.purpleThick, t)!,- purpleThickHover:- Color.lerp(purpleThickHover, other.purpleThickHover, t)!,+ primary: Color.lerp(+ primary,+ other.primary,+ t,+ )!,+ secondary: Color.lerp(+ secondary,+ other.secondary,+ t,+ )!,+ tertiary: Color.lerp(+ tertiary,+ other.tertiary,+ t,+ )!,+ quaternary: Color.lerp(+ quaternary,+ other.quaternary,+ t,+ )!,+ onFill: Color.lerp(+ onFill,+ other.onFill,+ t,+ )!,+ featuredThick: Color.lerp(+ featuredThick,+ other.featuredThick,+ t,+ )!,+ featuredThickHover: Color.lerp(+ featuredThickHover,+ other.featuredThickHover,+ t,+ )!,+ infoThick: Color.lerp(+ infoThick,+ other.infoThick,+ t,+ )!,+ infoThickHover: Color.lerp(+ infoThickHover,+ other.infoThickHover,+ t,+ )!,+ successThick: Color.lerp(+ successThick,+ other.successThick,+ t,+ )!,+ successThickHover: Color.lerp(+ successThickHover,+ other.successThickHover,+ t,+ )!,+ warningThick: Color.lerp(+ warningThick,+ other.warningThick,+ t,+ )!,+ warningThickHover: Color.lerp(+ warningThickHover,+ other.warningThickHover,+ t,+ )!,+ errorThick: Color.lerp(+ errorThick,+ other.errorThick,+ t,+ )!,+ errorThickHover: Color.lerp(+ errorThickHover,+ other.errorThickHover,+ t,+ )!,);}}diff --git a/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/theme/definition/color_scheme/surface_color_scheme.dart b/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/theme/definition/color_scheme/surface_color_scheme.dartindex 67be450a04..953228ff92 100644--- a/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/theme/definition/color_scheme/surface_color_scheme.dart+++ b/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/theme/definition/color_scheme/surface_color_scheme.dart@@ -3,10 +3,32 @@ import 'package:flutter/material.dart';class AppFlowySurfaceColorScheme {const AppFlowySurfaceColorScheme({required this.primary,+ required this.primaryHover,+ required this.layer01,+ required this.layer01Hover,+ required this.layer02,+ required this.layer02Hover,+ required this.layer03,+ required this.layer03Hover,+ required this.layer04,+ required this.layer04Hover,+ required this.inverse,+ required this.secondary,required this.overlay,});final Color primary;+ final Color primaryHover;+ final Color layer01;+ final Color layer01Hover;+ final Color layer02;+ final Color layer02Hover;+ final Color layer03;+ final Color layer03Hover;+ final Color layer04;+ final Color layer04Hover;+ final Color inverse;+ final Color secondary;final Color overlay;AppFlowySurfaceColorScheme lerp(@@ -14,8 +36,71 @@ class AppFlowySurfaceColorScheme {double t,) {return AppFlowySurfaceColorScheme(- primary: Color.lerp(primary, other.primary, t)!,- overlay: Color.lerp(overlay, other.overlay, t)!,+ primary: Color.lerp(+ primary,+ other.primary,+ t,+ )!,+ primaryHover: Color.lerp(+ primaryHover,+ other.primaryHover,+ t,+ )!,+ layer01: Color.lerp(+ layer01,+ other.layer01,+ t,+ )!,+ layer01Hover: Color.lerp(+ layer01Hover,+ other.layer01Hover,+ t,+ )!,+ layer02: Color.lerp(+ layer02,+ other.layer02,+ t,+ )!,+ layer02Hover: Color.lerp(+ layer02Hover,+ other.layer02Hover,+ t,+ )!,+ layer03: Color.lerp(+ layer03,+ other.layer03,+ t,+ )!,+ layer03Hover: Color.lerp(+ layer03Hover,+ other.layer03Hover,+ t,+ )!,+ layer04: Color.lerp(+ layer04,+ other.layer04,+ t,+ )!,+ layer04Hover: Color.lerp(+ layer04Hover,+ other.layer04Hover,+ t,+ )!,+ inverse: Color.lerp(+ inverse,+ other.inverse,+ t,+ )!,+ secondary: Color.lerp(+ secondary,+ other.secondary,+ t,+ )!,+ overlay: Color.lerp(+ overlay,+ other.overlay,+ t,+ )!,);}}diff --git a/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/theme/definition/color_scheme/surface_container_color_scheme.dart b/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/theme/definition/color_scheme/surface_container_color_scheme.dartnew file mode 100644index 0000000000..5f5aa8c83f--- /dev/null+++ b/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/theme/definition/color_scheme/surface_container_color_scheme.dart@@ -0,0 +1,36 @@+import 'package:flutter/material.dart';++class AppFlowySurfaceContainerColorScheme {+ const AppFlowySurfaceContainerColorScheme({+ required this.layer01,+ required this.layer02,+ required this.layer03,+ });++ final Color layer01;+ final Color layer02;+ final Color layer03;++ AppFlowySurfaceContainerColorScheme lerp(+ AppFlowySurfaceContainerColorScheme other,+ double t,+ ) {+ return AppFlowySurfaceContainerColorScheme(+ layer01: Color.lerp(+ layer01,+ other.layer01,+ t,+ )!,+ layer02: Color.lerp(+ layer02,+ other.layer02,+ t,+ )!,+ layer03: Color.lerp(+ layer03,+ other.layer03,+ t,+ )!,+ );+ }+}diff --git a/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/theme/definition/color_scheme/text_color_scheme.dart b/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/theme/definition/color_scheme/text_color_scheme.dartindex 17e1f057ce..7bf59d61f6 100644--- a/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/theme/definition/color_scheme/text_color_scheme.dart+++ b/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/theme/definition/color_scheme/text_color_scheme.dart@@ -6,10 +6,7 @@ class AppFlowyTextColorScheme {required this.secondary,required this.tertiary,required this.quaternary,- required this.inverse,required this.onFill,- required this.theme,- required this.themeHover,required this.action,required this.actionHover,required this.info,@@ -20,18 +17,15 @@ class AppFlowyTextColorScheme {required this.warningHover,required this.error,required this.errorHover,- required this.purple,- required this.purpleHover,+ required this.featured,+ required this.featuredHover,});final Color primary;final Color secondary;final Color tertiary;final Color quaternary;- final Color inverse;final Color onFill;- final Color theme;- final Color themeHover;final Color action;final Color actionHover;final Color info;@@ -42,34 +36,99 @@ class AppFlowyTextColorScheme {final Color warningHover;final Color error;final Color errorHover;- final Color purple;- final Color purpleHover;+ final Color featured;+ final Color featuredHover;AppFlowyTextColorScheme lerp(AppFlowyTextColorScheme other,double t,) {return AppFlowyTextColorScheme(- primary: Color.lerp(primary, other.primary, t)!,- secondary: Color.lerp(secondary, other.secondary, t)!,- tertiary: Color.lerp(tertiary, other.tertiary, t)!,- quaternary: Color.lerp(quaternary, other.quaternary, t)!,- inverse: Color.lerp(inverse, other.inverse, t)!,- onFill: Color.lerp(onFill, other.onFill, t)!,- theme: Color.lerp(theme, other.theme, t)!,- themeHover: Color.lerp(themeHover, other.themeHover, t)!,- action: Color.lerp(action, other.action, t)!,- actionHover: Color.lerp(actionHover, other.actionHover, t)!,- info: Color.lerp(info, other.info, t)!,- infoHover: Color.lerp(infoHover, other.infoHover, t)!,- success: Color.lerp(success, other.success, t)!,- successHover: Color.lerp(successHover, other.successHover, t)!,- warning: Color.lerp(warning, other.warning, t)!,- warningHover: Color.lerp(warningHover, other.warningHover, t)!,- error: Color.lerp(error, other.error, t)!,- errorHover: Color.lerp(errorHover, other.errorHover, t)!,- purple: Color.lerp(purple, other.purple, t)!,- purpleHover: Color.lerp(purpleHover, other.purpleHover, t)!,+ primary: Color.lerp(+ primary,+ other.primary,+ t,+ )!,+ secondary: Color.lerp(+ secondary,+ other.secondary,+ t,+ )!,+ tertiary: Color.lerp(+ tertiary,+ other.tertiary,+ t,+ )!,+ quaternary: Color.lerp(+ quaternary,+ other.quaternary,+ t,+ )!,+ onFill: Color.lerp(+ onFill,+ other.onFill,+ t,+ )!,+ action: Color.lerp(+ action,+ other.action,+ t,+ )!,+ actionHover: Color.lerp(+ actionHover,+ other.actionHover,+ t,+ )!,+ info: Color.lerp(+ info,+ other.info,+ t,+ )!,+ infoHover: Color.lerp(+ infoHover,+ other.infoHover,+ t,+ )!,+ success: Color.lerp(+ success,+ other.success,+ t,+ )!,+ successHover: Color.lerp(+ successHover,+ other.successHover,+ t,+ )!,+ warning: Color.lerp(+ warning,+ other.warning,+ t,+ )!,+ warningHover: Color.lerp(+ warningHover,+ other.warningHover,+ t,+ )!,+ error: Color.lerp(+ error,+ other.error,+ t,+ )!,+ errorHover: Color.lerp(+ errorHover,+ other.errorHover,+ t,+ )!,+ featured: Color.lerp(+ featured,+ other.featured,+ t,+ )!,+ featuredHover: Color.lerp(+ featuredHover,+ other.featuredHover,+ t,+ )!,);}}diff --git a/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/theme/definition/theme_data.dart b/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/theme/definition/theme_data.dartindex 1da45cfd2a..ff47456705 100644--- a/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/theme/definition/theme_data.dart+++ b/frontend/appflowy_flutter/packages/appflowy_ui/lib/src/theme/definition/theme_data.dart@@ -19,6 +19,8 @@ class AppFlowyThemeData {required this.spacing,required this.shadow,required this.brandColorScheme,+ required this.surfaceContainerColorScheme,+ required this.badgeColorScheme,required this.otherColorsColorScheme,});@@ -44,6 +46,10 @@ class AppFlowyThemeData {final AppFlowyBrandColorScheme brandColorScheme;+ final AppFlowySurfaceContainerColorScheme surfaceContainerColorScheme;++ final AppFlowyBadgeColorScheme badgeColorScheme;+final AppFlowyOtherColorsColorScheme otherColorsColorScheme;static AppFlowyThemeData lerp(@@ -52,21 +58,50 @@ class AppFlowyThemeData {double t,) {return AppFlowyThemeData(- textColorScheme: begin.textColorScheme.lerp(end.textColorScheme, t),+ textColorScheme: begin.textColorScheme.lerp(+ end.textColorScheme,+ t,+ ),textStyle: end.textStyle,- iconColorScheme: begin.iconColorScheme.lerp(end.iconColorScheme, t),- borderColorScheme: begin.borderColorScheme.lerp(end.borderColorScheme, t),- backgroundColorScheme:- begin.backgroundColorScheme.lerp(end.backgroundColorScheme, t),- fillColorScheme: begin.fillColorScheme.lerp(end.fillColorScheme, t),- surfaceColorScheme:- begin.surfaceColorScheme.lerp(end.surfaceColorScheme, t),+ iconColorScheme: begin.iconColorScheme.lerp(+ end.iconColorScheme,+ t,+ ),+ borderColorScheme: begin.borderColorScheme.lerp(+ end.borderColorScheme,+ t,+ ),+ backgroundColorScheme: begin.backgroundColorScheme.lerp(+ end.backgroundColorScheme,+ t,+ ),+ fillColorScheme: begin.fillColorScheme.lerp(+ end.fillColorScheme,+ t,+ ),+ surfaceColorScheme: begin.surfaceColorScheme.lerp(+ end.surfaceColorScheme,+ t,+ ),borderRadius: end.borderRadius,spacing: end.spacing,shadow: end.shadow,- brandColorScheme: begin.brandColorScheme.lerp(end.brandColorScheme, t),- otherColorsColorScheme:- begin.otherColorsColorScheme.lerp(end.otherColorsColorScheme, t),+ brandColorScheme: begin.brandColorScheme.lerp(+ end.brandColorScheme,+ t,+ ),+ otherColorsColorScheme: begin.otherColorsColorScheme.lerp(+ end.otherColorsColorScheme,+ t,+ ),+ surfaceContainerColorScheme: begin.surfaceContainerColorScheme.lerp(+ end.surfaceContainerColorScheme,+ t,+ ),+ badgeColorScheme: begin.badgeColorScheme.lerp(+ end.badgeColorScheme,+ t,+ ),);}}diff --git a/frontend/appflowy_flutter/packages/appflowy_ui/script/Primitive.Mode 1.tokens.json b/frontend/appflowy_flutter/packages/appflowy_ui/script/Primitive.Mode 1.tokens.jsonindex c46354b599..cfd33105f9 100644--- a/frontend/appflowy_flutter/packages/appflowy_ui/script/Primitive.Mode 1.tokens.json+++ b/frontend/appflowy_flutter/packages/appflowy_ui/script/Primitive.Mode 1.tokens.json@@ -30,7 +30,15 @@},"800": {"$type": "color",- "$value": "#3c3f4e"+ "$value": "#3d404f"+ },+ "830": {+ "$type": "color",+ "$value": "#363845"+ },+ "850": {+ "$type": "color",+ "$value": "#32343f"},"900": {"$type": "color",@@ -56,14 +64,6 @@"$type": "color","$value": "#ffffff00"},- "alpha-white-20": {- "$type": "color",- "$value": "#ffffff33"- },- "alpha-white-30": {- "$type": "color",- "$value": "#ffffff4d"- },"alpha-grey-100-05": {"$type": "color","$value": "#f9fafd0d"@@ -79,14 +79,6 @@"alpha-grey-1000-10": {"$type": "color","$value": "#1f23291a"- },- "alpha-grey-1000-70": {- "$type": "color",- "$value": "#1f2329b2"- },- "alpha-grey-1000-80": {- "$type": "color",- "$value": "#1f2329cc"}},"Blue": {@@ -133,6 +125,11 @@"alpha-blue-500-15": {"$type": "color","$value": "#00b5ff26"+ },+ "alpha-blue-500-20": {+ "$type": "color",+ "$value": "#00b5ff33",+ "$description": "Text Selected Effect"}},"Green": {diff --git a/frontend/appflowy_flutter/packages/appflowy_ui/script/Semantic.Dark Mode.tokens.json b/frontend/appflowy_flutter/packages/appflowy_ui/script/Semantic.Dark Mode.tokens.jsonindex 99d266c008..cb01990d9b 100644--- a/frontend/appflowy_flutter/packages/appflowy_ui/script/Semantic.Dark Mode.tokens.json+++ b/frontend/appflowy_flutter/packages/appflowy_ui/script/Semantic.Dark Mode.tokens.json@@ -6,7 +6,7 @@},"secondary": {"$type": "color",- "$value": "{Neutral.400}"+ "$value": "{Neutral.500}"},"tertiary": {"$type": "color",@@ -16,29 +16,17 @@"$type": "color","$value": "{Neutral.1000}"},- "inverse": {- "$type": "color",- "$value": "{Neutral.1000}"- },"on-fill": {"$type": "color","$value": "{Neutral.white}"},- "theme": {- "$type": "color",- "$value": "{Blue.500}"- },- "theme-hover": {- "$type": "color",- "$value": "{Blue.600}"- },"action": {"$type": "color","$value": "{Blue.500}"},"action-hover": {"$type": "color",- "$value": "{Blue.600}"+ "$value": "{Blue.400}"},"info": {"$type": "color",@@ -46,7 +34,7 @@},"info-hover": {"$type": "color",- "$value": "{Blue.600}"+ "$value": "{Blue.400}"},"success": {"$type": "color",@@ -54,7 +42,7 @@},"success-hover": {"$type": "color",- "$value": "{Green.700}"+ "$value": "{Green.500}"},"warning": {"$type": "color",@@ -62,7 +50,7 @@},"warning-hover": {"$type": "color",- "$value": "{Orange.700}"+ "$value": "{Orange.500}"},"error": {"$type": "color",@@ -72,13 +60,13 @@"$type": "color","$value": "{Red.400}"},- "purple": {+ "featured": {"$type": "color","$value": "{Purple.500}"},- "purple-hover": {+ "featured-hover": {"$type": "color",- "$value": "{Purple.600}"+ "$value": "{Purple.400}"}},"Icon": {@@ -98,55 +86,75 @@"$type": "color","$value": "{Neutral.1000}"},- "white": {+ "info-thick": {"$type": "color",- "$value": "{Neutral.white}"+ "$value": "{Blue.500}"},- "purple-thick": {+ "info-thick-hover": {"$type": "color",- "$value": "#ffffff"+ "$value": "{Blue.400}"},- "purple-thick-hover": {+ "success-thick": {"$type": "color",- "$value": "#ffffff"- }- },- "Border": {- "grey-primary": {+ "$value": "{Green.600}"+ },+ "success-thick-hover": {"$type": "color",- "$value": "{Neutral.100}"+ "$value": "{Green.500}"},- "grey-primary-hover": {+ "warning-thick": {"$type": "color",- "$value": "{Neutral.200}"+ "$value": "{Orange.600}"},- "grey-secondary": {+ "warning-thick-hover": {"$type": "color",- "$value": "{Neutral.300}"+ "$value": "{Orange.500}"},- "grey-secondary-hover": {+ "error-thick": {"$type": "color",- "$value": "{Neutral.400}"+ "$value": "{Red.500}"},- "grey-tertiary": {+ "error-thick-hover": {+ "$type": "color",+ "$value": "{Red.400}"+ },+ "featured-thick": {+ "$type": "color",+ "$value": "{Purple.500}"+ },+ "featured-thick-hover": {+ "$type": "color",+ "$value": "{Purple.400}"+ },+ "on-fill": {+ "$type": "color",+ "$value": "{Neutral.white}"+ }+ },+ "Border": {+ "primary": {"$type": "color","$value": "{Neutral.800}"},- "grey-tertiary-hover": {+ "primary-hover": {"$type": "color","$value": "{Neutral.700}"},- "grey-quaternary": {+ "secondary": {"$type": "color",- "$value": "{Neutral.1000}"+ "$value": "{Neutral.300}"},- "grey-quaternary-hover": {+ "secondary-hover": {"$type": "color",- "$value": "{Neutral.900}"+ "$value": "{Neutral.200}"},- "transparent": {+ "tertiary": {"$type": "color",- "$value": "{Neutral.alpha-white-0}"+ "$value": "{Neutral.100}"+ },+ "tertiary-hover": {+ "$type": "color",+ "$value": "{Neutral.white}"},"theme-thick": {"$type": "color",@@ -162,7 +170,7 @@},"info-thick-hover": {"$type": "color",- "$value": "{Blue.600}"+ "$value": "{Blue.400}"},"success-thick": {"$type": "color",@@ -170,7 +178,7 @@},"success-thick-hover": {"$type": "color",- "$value": "{Green.700}"+ "$value": "{Green.500}"},"warning-thick": {"$type": "color",@@ -178,7 +186,7 @@},"warning-thick-hover": {"$type": "color",- "$value": "{Orange.700}"+ "$value": "{Orange.500}"},"error-thick": {"$type": "color",@@ -188,92 +196,73 @@"$type": "color","$value": "{Red.400}"},- "purple-thick": {+ "featured-thick": {"$type": "color","$value": "{Purple.500}"},- "purple-thick-hover": {+ "featured-thick-hover": {"$type": "color",- "$value": "{Purple.600}"+ "$value": "{Purple.400}"}},"Fill": {"primary": {"$type": "color",- "$value": "{Neutral.100}"+ "$value": "{Neutral.900}",+ "$description": "No longer available"},"primary-hover": {"$type": "color",- "$value": "{Neutral.200}"+ "$value": "{Neutral.800}",+ "$description": "No longer available"},"secondary": {"$type": "color",- "$value": "{Neutral.300}"+ "$value": "{Neutral.600}",+ "$description": "No longer available"},"secondary-hover": {"$type": "color",- "$value": "{Neutral.400}"+ "$value": "{Neutral.500}",+ "$description": "No longer available"},"tertiary": {"$type": "color",- "$value": "{Neutral.600}"+ "$value": "{Neutral.300}",+ "$description": "No longer available"},"tertiary-hover": {"$type": "color",- "$value": "{Neutral.500}"+ "$value": "{Neutral.200}",+ "$description": "No longer available"},"quaternary": {"$type": "color",- "$value": "{Neutral.1000}"+ "$value": "{Neutral.100}",+ "$description": "No longer available"},"quaternary-hover": {"$type": "color",- "$value": "{Neutral.900}"+ "$value": "{Neutral.white}",+ "$description": "No longer available"},- "transparent": {+ "content": {"$type": "color","$value": "{Neutral.alpha-white-0}"},- "primary-alpha-5": {+ "content-hover": {"$type": "color","$value": "{Neutral.alpha-grey-100-05}","$description": "Used for hover state, eg. button, navigation item, menu item and grid item."},- "primary-alpha-5-hover": {- "$type": "color",- "$value": "{Neutral.alpha-grey-100-10}"- },- "primary-alpha-80": {- "$type": "color",- "$value": "{Neutral.alpha-grey-1000-80}"- },- "primary-alpha-80-hover": {+ "content-visible": {"$type": "color",- "$value": "{Neutral.alpha-grey-1000-70}"- },- "white": {- "$type": "color",- "$value": "{Neutral.white}"- },- "white-alpha": {- "$type": "color",- "$value": "{Neutral.alpha-white-20}"- },- "white-alpha-hover": {- "$type": "color",- "$value": "{Neutral.alpha-white-30}"- },- "black": {- "$type": "color",- "$value": "{Neutral.black}"- },- "theme-light": {- "$type": "color",- "$value": "{Blue.100}"+ "$value": "{Neutral.alpha-grey-100-05}",+ "$description": "Used for hover state, eg. button, navigation item, menu item and grid item."},- "theme-light-hover": {+ "content-visible-hover": {"$type": "color",- "$value": "{Blue.200}"+ "$value": "{Neutral.alpha-grey-100-10}"},"theme-thick": {"$type": "color",@@ -281,19 +270,23 @@},"theme-thick-hover": {"$type": "color",- "$value": "{Blue.400}"+ "$value": "{Blue.600}"},"theme-select": {"$type": "color","$value": "{Blue.alpha-blue-500-15}"},+ "text-select": {+ "$type": "color",+ "$value": "{Blue.alpha-blue-500-20}"+ },"info-light": {"$type": "color",- "$value": "{Blue.100}"+ "$value": "{Blue.200}"},"info-light-hover": {"$type": "color",- "$value": "{Blue.200}"+ "$value": "{Blue.100}"},"info-thick": {"$type": "color",@@ -301,75 +294,59 @@},"info-thick-hover": {"$type": "color",- "$value": "{Blue.600}"+ "$value": "{Blue.400}"},"success-light": {- "$type": "color",- "$value": "{Green.100}"- },- "success-light-hover": {"$type": "color","$value": "{Green.200}"},- "success-thick": {- "$type": "color",- "$value": "{Green.600}"- },- "success-thick-hover": {+ "success-light-hover": {"$type": "color",- "$value": "{Green.700}"+ "$value": "{Green.100}"},"warning-light": {- "$type": "color",- "$value": "{Orange.100}"- },- "warning-light-hover": {"$type": "color","$value": "{Orange.200}"},- "warning-thick": {- "$type": "color",- "$value": "{Orange.600}"- },- "warning-thick-hover": {+ "warning-light-hover": {"$type": "color",- "$value": "{Orange.700}"+ "$value": "{Orange.100}"},"error-light": {"$type": "color",- "$value": "{Red.100}"+ "$value": "{Red.200}"},"error-light-hover": {"$type": "color",- "$value": "{Red.200}"+ "$value": "{Red.100}"},"error-thick": {"$type": "color",- "$value": "{Red.600}"+ "$value": "{Red.500}"},"error-thick-hover": {"$type": "color",- "$value": "{Red.500}"+ "$value": "{Red.400}"},"error-select": {"$type": "color","$value": "{Red.alpha-red-500-10}"},- "purple-light": {- "$type": "color",- "$value": "{Purple.100}"- },- "purple-light-hover": {+ "featured-light": {"$type": "color","$value": "{Purple.200}"},- "purple-thick-hover": {+ "featured-light-hover": {"$type": "color",- "$value": "{Purple.600}"+ "$value": "{Purple.100}"},- "purple-thick": {+ "featured-thick": {"$type": "color","$value": "{Purple.500}"+ },+ "featured-thick-hover": {+ "$type": "color",+ "$value": "{Purple.400}"}},"Surface": {@@ -377,553 +354,601 @@"$type": "color","$value": "{Neutral.900}"},+ "primary-hover": {+ "$type": "color",+ "$value": "{Neutral.800}"+ },+ "layer-01": {+ "$type": "color",+ "$value": "{Neutral.900}",+ "$description": "Settings Window"+ },+ "layer-01-hover": {+ "$type": "color",+ "$value": "{Neutral.800}"+ },+ "layer-02": {+ "$type": "color",+ "$value": "{Neutral.850}",+ "$description": "Settings Side Panel, Modal Window"+ },+ "layer-02-hover": {+ "$type": "color",+ "$value": "{Neutral.800}"+ },+ "layer-03": {+ "$type": "color",+ "$value": "{Neutral.850}",+ "$description": "Dialog"+ },+ "layer-03-hover": {+ "$type": "color",+ "$value": "{Neutral.800}"+ },+ "layer-04": {+ "$type": "color",+ "$value": "{Neutral.830}",+ "$description": "Dropdown Menu"+ },+ "layer-04-hover": {+ "$type": "color",+ "$value": "{Neutral.800}"+ },+ "inverse": {+ "$type": "color",+ "$value": "{Neutral.800}"+ },+ "secondary": {+ "$type": "color",+ "$value": "{Neutral.800}"+ },"overlay": {"$type": "color","$value": "{Neutral.alpha-black-60}"}},- "Background": {- "primary": {- "$type": "color",- "$value": "{Neutral.1000}"- },- "secondary": {+ "Surface_Container": {+ "layer-01": {"$type": "color","$value": "{Neutral.900}"},- "tertiary": {+ "layer-02": {"$type": "color","$value": "{Neutral.800}"},- "quaternary": {+ "layer-03": {"$type": "color","$value": "{Neutral.700}"}},- "Badge_Color": {- "Rose": {- "rose-light-1": {+ "Background": {+ "primary": {+ "$type": "color",+ "$value": "{Neutral.1000}"+ }+ },+ "Badge": {+ "color-1": {+ "light-1": {"$type": "color",- "$value": "#fcf2f2"+ "$value": "{Subtle_Color.Rose.100}"},- "rose-light-2": {+ "light-2": {"$type": "color",- "$value": "#fae3e3"+ "$value": "{Subtle_Color.Rose.200}"},- "rose-light-3": {+ "light-3": {"$type": "color",- "$value": "#fad9d9"+ "$value": "{Subtle_Color.Rose.300}"},- "rose-thick-1": {+ "thick-1": {"$type": "color",- "$value": "#edadad"+ "$value": "{Subtle_Color.Rose.400}"},- "rose-thick-2": {+ "thick-2": {"$type": "color",- "$value": "#cc4e4e"+ "$value": "{Subtle_Color.Rose.500}"},- "rose-thick-3": {+ "thick-3": {"$type": "color",- "$value": "#702828"+ "$value": "{Subtle_Color.Rose.600}"}},- "Papaya": {- "papaya-light-1": {+ "color-2": {+ "light-1": {"$type": "color",- "$value": "#fcf4f0"+ "$value": "{Subtle_Color.Papaya.100}"},- "papaya-light-2": {+ "light-2": {"$type": "color",- "$value": "#fae8de"+ "$value": "{Subtle_Color.Papaya.200}"},- "papaya-light-3": {+ "light-3": {"$type": "color",- "$value": "#fadfd2"+ "$value": "{Subtle_Color.Papaya.300}"},- "papaya-thick-1": {+ "thick-1": {"$type": "color",- "$value": "#f0bda3"+ "$value": "{Subtle_Color.Papaya.400}"},- "papaya-thick-2": {+ "thick-2": {"$type": "color",- "$value": "#d67240"+ "$value": "{Subtle_Color.Papaya.500}"},- "papaya-thick-3": {+ "thick-3": {"$type": "color",- "$value": "#6b3215"+ "$value": "{Subtle_Color.Papaya.600}"}},- "Tangerine": {- "tangerine-light-1": {+ "color-3": {+ "light-1": {"$type": "color",- "$value": "#fff7ed"+ "$value": "{Subtle_Color.Tangerine.100}"},- "tangerine-light-2": {+ "light-2": {"$type": "color",- "$value": "#fcedd9"+ "$value": "{Subtle_Color.Tangerine.200}"},- "tangerine-light-3": {+ "light-3": {"$type": "color",- "$value": "#fae5ca"+ "$value": "{Subtle_Color.Tangerine.300}"},- "tangerine-thick-1": {+ "thick-1": {"$type": "color",- "$value": "#f2cb99"+ "$value": "{Subtle_Color.Tangerine.400}"},- "tangerine-thick-2": {+ "thick-2": {"$type": "color",- "$value": "#db8f2c"+ "$value": "{Subtle_Color.Tangerine.500}"},- "tangerine-thick-3": {+ "thick-3": {"$type": "color",- "$value": "#613b0a"+ "$value": "{Subtle_Color.Tangerine.600}"}},- "Mango": {- "mango-light-1": {+ "color-4": {+ "light-1": {"$type": "color",- "$value": "#fff9ec"+ "$value": "{Subtle_Color.Mango.100}"},- "mango-light-2": {+ "light-2": {"$type": "color",- "$value": "#fcf1d7"+ "$value": "{Subtle_Color.Mango.200}"},- "mango-light-3": {+ "light-3": {"$type": "color",- "$value": "#fae9c3"+ "$value": "{Subtle_Color.Mango.300}"},- "mango-thick-1": {+ "thick-1": {"$type": "color",- "$value": "#f5d68e"+ "$value": "{Subtle_Color.Mango.400}"},- "mango-thick-2": {+ "thick-2": {"$type": "color",- "$value": "#e0a416"+ "$value": "{Subtle_Color.Mango.500}"},- "mango-thick-3": {+ "thick-3": {"$type": "color",- "$value": "#5c4102"+ "$value": "{Subtle_Color.Mango.600}"}},- "Lemon": {- "lemon-light-1": {+ "color-5": {+ "light-1": {"$type": "color",- "$value": "#fffbe8"+ "$value": "{Subtle_Color.Lemon.100}"},- "lemon-light-2": {+ "light-2": {"$type": "color",- "$value": "#fcf5cf"+ "$value": "{Subtle_Color.Lemon.200}"},- "lemon-light-3": {+ "light-3": {"$type": "color",- "$value": "#faefb9"+ "$value": "{Subtle_Color.Lemon.300}"},- "lemon-thick-1": {+ "thick-1": {"$type": "color",- "$value": "#f5e282"+ "$value": "{Subtle_Color.Lemon.400}"},- "lemon-thick-2": {+ "thick-2": {"$type": "color",- "$value": "#e0bb00"+ "$value": "{Subtle_Color.Lemon.500}"},- "lemon-thick-3": {+ "thick-3": {"$type": "color",- "$value": "#574800"+ "$value": "{Subtle_Color.Lemon.600}"}},- "Olive": {- "olive-light-1": {+ "color-6": {+ "light-1": {"$type": "color",- "$value": "#f9fae6"+ "$value": "{Subtle_Color.Olive.100}"},- "olive-light-2": {+ "light-2": {"$type": "color",- "$value": "#f6f7d0"+ "$value": "{Subtle_Color.Olive.200}"},- "olive-light-3": {+ "light-3": {"$type": "color",- "$value": "#f0f2b3"+ "$value": "{Subtle_Color.Olive.300}"},- "olive-thick-1": {+ "thick-1": {"$type": "color",- "$value": "#dbde83"+ "$value": "{Subtle_Color.Olive.400}"},- "olive-thick-2": {+ "thick-2": {"$type": "color",- "$value": "#adb204"+ "$value": "{Subtle_Color.Olive.500}"},- "olive-thick-3": {+ "thick-3": {"$type": "color",- "$value": "#4a4c03"+ "$value": "{Subtle_Color.Olive.600}"}},- "Lime": {- "lime-light-1": {+ "color-7": {+ "light-1": {"$type": "color",- "$value": "#f6f9e6"+ "$value": "{Subtle_Color.Lime.100}"},- "lime-light-2": {+ "light-2": {"$type": "color",- "$value": "#eef5ce"+ "$value": "{Subtle_Color.Lime.200}"},- "lime-light-3": {+ "light-3": {"$type": "color",- "$value": "#e7f0bb"+ "$value": "{Subtle_Color.Lime.300}"},- "lime-thick-1": {+ "thick-1": {"$type": "color",- "$value": "#cfdb91"+ "$value": "{Subtle_Color.Lime.400}"},- "lime-thick-2": {+ "thick-2": {"$type": "color",- "$value": "#92a822"+ "$value": "{Subtle_Color.Lime.500}"},- "lime-thick-3": {+ "thick-3": {"$type": "color",- "$value": "#414d05"+ "$value": "{Subtle_Color.Lime.600}"}},- "Grass": {- "grass-light-1": {+ "color-8": {+ "light-1": {"$type": "color",- "$value": "#f4faeb"+ "$value": "{Subtle_Color.Grass.100}"},- "grass-light-2": {+ "light-2": {"$type": "color",- "$value": "#e9f5d7"+ "$value": "{Subtle_Color.Grass.200}"},- "grass-light-3": {+ "light-3": {"$type": "color",- "$value": "#def0c5"+ "$value": "{Subtle_Color.Grass.300}"},- "grass-thick-1": {+ "thick-1": {"$type": "color",- "$value": "#bfd998"+ "$value": "{Subtle_Color.Grass.400}"},- "grass-thick-2": {+ "thick-2": {"$type": "color",- "$value": "#75a828"+ "$value": "{Subtle_Color.Grass.500}"},- "grass-thick-3": {+ "thick-3": {"$type": "color",- "$value": "#334d0c"+ "$value": "{Subtle_Color.Grass.600}"}},- "Forest": {- "forest-light-1": {+ "color-9": {+ "light-1": {"$type": "color",- "$value": "#f1faf0"+ "$value": "{Subtle_Color.Forest.100}"},- "forest-light-2": {+ "light-2": {"$type": "color",- "$value": "#e2f5df"+ "$value": "{Subtle_Color.Forest.200}"},- "forest-light-3": {+ "light-3": {"$type": "color",- "$value": "#d7f0d3"+ "$value": "{Subtle_Color.Forest.300}"},- "forest-thick-1": {+ "thick-1": {"$type": "color",- "$value": "#a8d6a1"+ "$value": "{Subtle_Color.Forest.400}"},- "forest-thick-2": {+ "thick-2": {"$type": "color",- "$value": "#49a33b"+ "$value": "{Subtle_Color.Forest.500}"},- "forest-thick-3": {+ "thick-3": {"$type": "color",- "$value": "#1e4f16"+ "$value": "{Subtle_Color.Forest.600}"}},- "Jade": {- "jade-light-1": {+ "color-10": {+ "light-1": {"$type": "color",- "$value": "#f0faf6"+ "$value": "{Subtle_Color.Jade.100}"},- "jade-light-2": {+ "light-2": {"$type": "color",- "$value": "#dff5eb"+ "$value": "{Subtle_Color.Jade.200}"},- "jade-light-3": {+ "light-3": {"$type": "color",- "$value": "#cef0e1"+ "$value": "{Subtle_Color.Jade.300}"},- "jade-thick-1": {+ "thick-1": {"$type": "color",- "$value": "#90d1b5"+ "$value": "{Subtle_Color.Jade.400}"},- "jade-thick-2": {+ "thick-2": {"$type": "color",- "$value": "#1c9963"+ "$value": "{Subtle_Color.Jade.500}"},- "jade-thick-3": {+ "thick-3": {"$type": "color",- "$value": "#075231"+ "$value": "{Subtle_Color.Jade.600}"}},- "Aqua": {- "aqua-light-1": {+ "color-11": {+ "light-1": {"$type": "color",- "$value": "#f0f9fa"+ "$value": "{Subtle_Color.Aqua.100}"},- "aqua-light-2": {+ "light-2": {"$type": "color",- "$value": "#dff3f5"+ "$value": "{Subtle_Color.Aqua.200}"},- "aqua-light-3": {+ "light-3": {"$type": "color",- "$value": "#ccecf0"+ "$value": "{Subtle_Color.Aqua.300}"},- "aqua-thick-1": {+ "thick-1": {"$type": "color",- "$value": "#83ccd4"+ "$value": "{Subtle_Color.Aqua.400}"},- "aqua-thick-2": {+ "thick-2": {"$type": "color",- "$value": "#008e9e"+ "$value": "{Subtle_Color.Aqua.500}"},- "aqua-thick-3": {+ "thick-3": {"$type": "color",- "$value": "#004e57"+ "$value": "{Subtle_Color.Aqua.600}"}},- "Azure": {- "azure-light-1": {+ "color-12": {+ "light-1": {"$type": "color",- "$value": "#f0f6fa"+ "$value": "{Subtle_Color.Azure.100}"},- "azure-light-2": {+ "light-2": {"$type": "color",- "$value": "#e1eef7"+ "$value": "{Subtle_Color.Azure.200}"},- "azure-light-3": {+ "light-3": {"$type": "color",- "$value": "#d3e6f5"+ "$value": "{Subtle_Color.Azure.300}"},- "azure-thick-1": {+ "thick-1": {"$type": "color",- "$value": "#88c0eb"+ "$value": "{Subtle_Color.Azure.400}"},- "azure-thick-2": {+ "thick-2": {"$type": "color",- "$value": "#0877cc"+ "$value": "{Subtle_Color.Azure.500}"},- "azure-thick-3": {+ "thick-3": {"$type": "color",- "$value": "#154469"+ "$value": "{Subtle_Color.Azure.600}"}},- "Denim": {- "denim-light-1": {+ "color-13": {+ "light-1": {"$type": "color",- "$value": "#f0f3fa"+ "$value": "{Subtle_Color.Denim.100}"},- "denim-light-2": {+ "light-2": {"$type": "color",- "$value": "#e3ebfa"+ "$value": "{Subtle_Color.Denim.200}"},- "denim-light-3": {+ "light-3": {"$type": "color",- "$value": "#d7e2f7"+ "$value": "{Subtle_Color.Denim.300}"},- "denim-thick-1": {+ "thick-1": {"$type": "color",- "$value": "#9ab6ed"+ "$value": "{Subtle_Color.Denim.400}"},- "denim-thick-2": {+ "thick-2": {"$type": "color",- "$value": "#3267d1"+ "$value": "{Subtle_Color.Denim.500}"},- "denim-thick-3": {+ "thick-3": {"$type": "color",- "$value": "#223c70"+ "$value": "{Subtle_Color.Denim.600}"}},- "Mauve": {- "mauve-light-1": {+ "color-14": {+ "light-1": {+ "$type": "color",+ "$value": "{Subtle_Color.Mauve.100}"+ },+ "light-2": {+ "$type": "color",+ "$value": "{Subtle_Color.Mauve.200}"+ },+ "light-3": {"$type": "color",- "$value": "#f2f2fc"+ "$value": "{Subtle_Color.Mauve.300}"},- "mauve-thick-2": {+ "thick-1": {"$type": "color",- "$value": "#5555e0"+ "$value": "{Subtle_Color.Mauve.400}"},- "mauve-thick-3": {+ "thick-2": {"$type": "color",- "$value": "#36366b"+ "$value": "{Subtle_Color.Mauve.500}"},- "mauve-thick-1": {+ "thick-3": {"$type": "color",- "$value": "#aeaef5"+ "$value": "{Subtle_Color.Mauve.600}"}},- "Lavender": {- "lavender-light-1": {+ "color-15": {+ "light-1": {"$type": "color",- "$value": "#f6f3fc"+ "$value": "{Subtle_Color.Lavender.100}"},- "lavender-light-2": {+ "light-2": {"$type": "color",- "$value": "#ebe3fa"+ "$value": "{Subtle_Color.Lavender.200}"},- "lavender-light-3": {+ "light-3": {"$type": "color",- "$value": "#e4daf7"+ "$value": "{Subtle_Color.Lavender.300}"},- "lavender-thick-1": {+ "thick-1": {"$type": "color",- "$value": "#c1aaf0"+ "$value": "{Subtle_Color.Lavender.400}"},- "lavender-thick-2": {+ "thick-2": {"$type": "color",- "$value": "#8153db"+ "$value": "{Subtle_Color.Lavender.500}"},- "lavender-thick-3": {+ "thick-3": {"$type": "color",- "$value": "#462f75"+ "$value": "{Subtle_Color.Lavender.600}"}},- "Lilac": {- "liliac-light-1": {+ "color-16": {+ "light-1": {"$type": "color",- "$value": "#f7f0fa"+ "$value": "{Subtle_Color.Lilac.100}"},- "liliac-light-2": {+ "light-2": {"$type": "color",- "$value": "#f0e1f7"+ "$value": "{Subtle_Color.Lilac.200}"},- "liliac-light-3": {+ "light-3": {"$type": "color",- "$value": "#edd7f7"+ "$value": "{Subtle_Color.Lilac.300}"},- "liliac-thick-1": {+ "thick-1": {"$type": "color",- "$value": "#d3a9e8"+ "$value": "{Subtle_Color.Lilac.400}"},- "liliac-thick-2": {+ "thick-2": {"$type": "color",- "$value": "#9e4cc7"+ "$value": "{Subtle_Color.Lilac.500}"},- "liliac-thick-3": {+ "thick-3": {"$type": "color",- "$value": "#562d6b"+ "$value": "{Subtle_Color.Lilac.600}"}},- "Mallow": {- "mallow-light-1": {+ "color-17": {+ "light-1": {"$type": "color",- "$value": "#faf0fa"+ "$value": "{Subtle_Color.Mallow.100}"},- "mallow-light-2": {+ "light-2": {"$type": "color",- "$value": "#f5e1f4"+ "$value": "{Subtle_Color.Mallow.200}"},- "mallow-light-3": {+ "light-3": {"$type": "color",- "$value": "#f5d7f4"+ "$value": "{Subtle_Color.Mallow.300}"},- "mallow-thick-1": {+ "thick-1": {"$type": "color",- "$value": "#dea4dc"+ "$value": "{Subtle_Color.Mallow.400}"},- "mallow-thick-2": {+ "thick-2": {"$type": "color",- "$value": "#b240af"+ "$value": "{Subtle_Color.Mallow.500}"},- "mallow-thick-3": {+ "thick-3": {"$type": "color",- "$value": "#632861"+ "$value": "{Subtle_Color.Mallow.600}"}},- "Camellia": {- "camellia-light-1": {+ "color-18": {+ "light-1": {"$type": "color",- "$value": "#f9eff3"+ "$value": "{Subtle_Color.Camellia.100}"},- "camellia-light-2": {+ "light-2": {"$type": "color",- "$value": "#f7e1eb"+ "$value": "{Subtle_Color.Camellia.200}"},- "camellia-light-3": {+ "light-3": {"$type": "color",- "$value": "#f7d7e5"+ "$value": "{Subtle_Color.Camellia.300}"},- "camellia-thick-1": {+ "thick-1": {"$type": "color",- "$value": "#e5a3c0"+ "$value": "{Subtle_Color.Camellia.400}"},- "camellia-thick-2": {+ "thick-2": {"$type": "color",- "$value": "#c24279"+ "$value": "{Subtle_Color.Camellia.500}"},- "camellia-thick-3": {+ "thick-3": {"$type": "color",- "$value": "#6e2343"+ "$value": "{Subtle_Color.Camellia.600}"}},- "Smoke": {- "smoke-light-1": {+ "color-19": {+ "light-1": {"$type": "color",- "$value": "#f5f5f5"+ "$value": "{Subtle_Color.Smoke.100}"},- "smoke-light-2": {+ "light-2": {"$type": "color",- "$value": "#e8e8e8"+ "$value": "{Subtle_Color.Smoke.200}"},- "smoke-light-3": {+ "light-3": {"$type": "color",- "$value": "#dedede"+ "$value": "{Subtle_Color.Smoke.300}"},- "smoke-thick-1": {+ "thick-1": {"$type": "color",- "$value": "#b8b8b8"+ "$value": "{Subtle_Color.Smoke.400}"},- "smoke-thick-2": {+ "thick-2": {"$type": "color",- "$value": "#6e6e6e"+ "$value": "{Subtle_Color.Smoke.500}"},- "smoke-thick-3": {+ "thick-3": {"$type": "color",- "$value": "#404040"+ "$value": "{Subtle_Color.Smoke.600}"}},- "Iron": {- "icon-light-1": {+ "color-20": {+ "light-1": {"$type": "color",- "$value": "#f2f4f7"+ "$value": "{Subtle_Color.Iron.100}"},- "icon-light-2": {+ "light-2": {"$type": "color",- "$value": "#e6e9f0"+ "$value": "{Subtle_Color.Iron.200}"},- "icon-light-3": {+ "light-3": {"$type": "color",- "$value": "#dadee5"+ "$value": "{Subtle_Color.Iron.300}"},- "icon-thick-1": {+ "thick-1": {"$type": "color",- "$value": "#b0b5bf"+ "$value": "{Subtle_Color.Iron.400}"},- "icon-thick-2": {+ "thick-2": {"$type": "color",- "$value": "#666f80"+ "$value": "{Subtle_Color.Iron.500}"},- "icon-thick-3": {+ "thick-3": {"$type": "color",- "$value": "#394152"+ "$value": "{Subtle_Color.Iron.600}"}}},- "Shadow": {- "sm": {- "$type": "dimension",- "$value": "0px"- },- "md": {- "$type": "dimension",- "$value": "0px"- }- },"Brand": {"Skyline": {"$type": "color",diff --git a/frontend/appflowy_flutter/packages/appflowy_ui/script/Semantic.Light Mode.tokens.json b/frontend/appflowy_flutter/packages/appflowy_ui/script/Semantic.Light Mode.tokens.jsonindex 4e6b0543dc..57d8bed7b9 100644--- a/frontend/appflowy_flutter/packages/appflowy_ui/script/Semantic.Light Mode.tokens.json+++ b/frontend/appflowy_flutter/packages/appflowy_ui/script/Semantic.Light Mode.tokens.json@@ -10,43 +10,31 @@},"tertiary": {"$type": "color",- "$value": "{Neutral.400}"+ "$value": "{Neutral.500}"},"quaternary": {"$type": "color","$value": "{Neutral.200}"},- "inverse": {- "$type": "color",- "$value": "{Neutral.white}"- },"on-fill": {"$type": "color","$value": "{Neutral.white}"},- "theme": {- "$type": "color",- "$value": "{Blue.500}"- },- "theme-hover": {- "$type": "color",- "$value": "{Blue.600}"- },"action": {"$type": "color",- "$value": "{Blue.500}"+ "$value": "{Blue.600}"},"action-hover": {"$type": "color",- "$value": "{Blue.600}"+ "$value": "{Blue.700}"},"info": {"$type": "color",- "$value": "{Blue.500}"+ "$value": "{Blue.600}"},"info-hover": {"$type": "color",- "$value": "{Blue.600}"+ "$value": "{Blue.700}"},"success": {"$type": "color",@@ -72,11 +60,11 @@"$type": "color","$value": "{Red.700}"},- "purple": {+ "featured": {"$type": "color","$value": "{Purple.500}"},- "purple-hover": {+ "featured-hover": {"$type": "color","$value": "{Purple.600}"}@@ -98,55 +86,75 @@"$type": "color","$value": "{Neutral.200}"},- "white": {+ "info-thick": {"$type": "color",- "$value": "{Neutral.white}"+ "$value": "{Blue.600}"},- "purple-thick": {+ "info-thick-hover": {"$type": "color",- "$value": "{Purple.500}"+ "$value": "{Blue.700}"},- "purple-thick-hover": {+ "success-thick": {"$type": "color",- "$value": "{Purple.600}"- }- },- "Border": {- "grey-primary": {+ "$value": "{Green.600}"+ },+ "success-thick-hover": {"$type": "color",- "$value": "{Neutral.1000}"+ "$value": "{Green.700}"},- "grey-primary-hover": {+ "warning-thick": {"$type": "color",- "$value": "{Neutral.900}"+ "$value": "{Orange.600}"},- "grey-secondary": {+ "warning-thick-hover": {"$type": "color",- "$value": "{Neutral.800}"+ "$value": "{Orange.700}"},- "grey-secondary-hover": {+ "error-thick": {"$type": "color",- "$value": "{Neutral.700}"+ "$value": "{Red.600}"},- "grey-tertiary": {+ "error-thick-hover": {"$type": "color",- "$value": "{Neutral.300}"+ "$value": "{Red.700}"},- "grey-tertiary-hover": {+ "featured-thick": {"$type": "color",- "$value": "{Neutral.400}"+ "$value": "{Purple.500}"},- "grey-quaternary": {+ "featured-thick-hover": {"$type": "color",- "$value": "{Neutral.100}"+ "$value": "{Purple.600}"},- "grey-quaternary-hover": {+ "on-fill": {+ "$type": "color",+ "$value": "{Neutral.white}"+ }+ },+ "Border": {+ "primary": {"$type": "color","$value": "{Neutral.200}"},- "transparent": {+ "primary-hover": {"$type": "color",- "$value": "{Neutral.alpha-white-0}"+ "$value": "{Neutral.300}"+ },+ "secondary": {+ "$type": "color",+ "$value": "{Neutral.800}"+ },+ "secondary-hover": {+ "$type": "color",+ "$value": "{Neutral.700}"+ },+ "tertiary": {+ "$type": "color",+ "$value": "{Neutral.1000}"+ },+ "tertiary-hover": {+ "$type": "color",+ "$value": "{Neutral.900}"},"theme-thick": {"$type": "color",@@ -188,11 +196,11 @@"$type": "color","$value": "{Red.700}"},- "purple-thick": {+ "featured-thick": {"$type": "color","$value": "{Purple.500}"},- "purple-thick-hover": {+ "featured-thick-hover": {"$type": "color","$value": "{Purple.600}"}@@ -200,80 +208,61 @@"Fill": {"primary": {"$type": "color",- "$value": "{Neutral.1000}"+ "$value": "{Neutral.100}",+ "$description": "No longer available"},"primary-hover": {"$type": "color",- "$value": "{Neutral.900}"+ "$value": "{Neutral.200}",+ "$description": "No longer available"},"secondary": {"$type": "color",- "$value": "{Neutral.600}"+ "$value": "{Neutral.300}",+ "$description": "No longer available"},"secondary-hover": {"$type": "color",- "$value": "{Neutral.500}"+ "$value": "{Neutral.400}",+ "$description": "No longer available"},"tertiary": {"$type": "color",- "$value": "{Neutral.300}"+ "$value": "{Neutral.600}",+ "$description": "No longer available"},"tertiary-hover": {"$type": "color",- "$value": "{Neutral.400}"+ "$value": "{Neutral.500}",+ "$description": "No longer available"},"quaternary": {"$type": "color",- "$value": "{Neutral.100}"+ "$value": "{Neutral.1000}",+ "$description": "No longer available"},"quaternary-hover": {"$type": "color",- "$value": "{Neutral.200}"+ "$value": "{Neutral.900}",+ "$description": "No longer available"},- "transparent": {+ "content": {"$type": "color","$value": "{Neutral.alpha-white-0}"},- "primary-alpha-5": {+ "content-hover": {"$type": "color","$value": "{Neutral.alpha-grey-1000-05}","$description": "Used for hover state, eg. button, navigation item, menu item and grid item."},- "primary-alpha-5-hover": {+ "content-visible": {"$type": "color",- "$value": "{Neutral.alpha-grey-1000-10}"- },- "primary-alpha-80": {- "$type": "color",- "$value": "{Neutral.alpha-grey-1000-80}"- },- "primary-alpha-80-hover": {- "$type": "color",- "$value": "{Neutral.alpha-grey-1000-70}"- },- "white": {- "$type": "color",- "$value": "{Neutral.white}"- },- "white-alpha": {- "$type": "color",- "$value": "{Neutral.alpha-white-20}"- },- "white-alpha-hover": {- "$type": "color",- "$value": "{Neutral.alpha-white-30}"- },- "black": {- "$type": "color",- "$value": "{Neutral.black}"- },- "theme-light": {- "$type": "color",- "$value": "{Blue.100}"+ "$value": "{Neutral.alpha-grey-1000-05}",+ "$description": "Used for hover state, eg. button, navigation item, menu item and grid item."},- "theme-light-hover": {+ "content-visible-hover": {"$type": "color",- "$value": "{Blue.200}"+ "$value": "{Neutral.alpha-grey-1000-10}"},"theme-thick": {"$type": "color",@@ -287,6 +276,10 @@"$type": "color","$value": "{Blue.alpha-blue-500-15}"},+ "text-select": {+ "$type": "color",+ "$value": "{Blue.alpha-blue-500-20}"+ },"info-light": {"$type": "color","$value": "{Blue.100}"@@ -311,14 +304,6 @@"$type": "color","$value": "{Green.200}"},- "success-thick": {- "$type": "color",- "$value": "{Green.600}"- },- "success-thick-hover": {- "$type": "color",- "$value": "{Green.700}"- },"warning-light": {"$type": "color","$value": "{Orange.100}"@@ -327,14 +312,6 @@"$type": "color","$value": "{Orange.200}"},- "warning-thick": {- "$type": "color",- "$value": "{Orange.600}"- },- "warning-thick-hover": {- "$type": "color",- "$value": "{Orange.700}"- },"error-light": {"$type": "color","$value": "{Red.100}"@@ -355,21 +332,21 @@"$type": "color","$value": "{Red.alpha-red-500-10}"},- "purple-light": {+ "featured-light": {"$type": "color","$value": "{Purple.100}"},- "purple-light-hover": {+ "featured-light-hover": {"$type": "color","$value": "{Purple.200}"},- "purple-thick-hover": {+ "featured-thick": {"$type": "color",- "$value": "{Purple.600}"+ "$value": "{Purple.500}"},- "purple-thick": {+ "featured-thick-hover": {"$type": "color",- "$value": "{Purple.500}"+ "$value": "{Purple.600}"}},"Surface": {@@ -377,553 +354,601 @@"$type": "color","$value": "{Neutral.white}"},+ "primary-hover": {+ "$type": "color",+ "$value": "{Neutral.100}"+ },+ "layer-01": {+ "$type": "color",+ "$value": "{Neutral.white}",+ "$description": "Settings Window"+ },+ "layer-01-hover": {+ "$type": "color",+ "$value": "{Neutral.100}"+ },+ "layer-02": {+ "$type": "color",+ "$value": "{Neutral.white}",+ "$description": "Settings Side Panel, Modal Window"+ },+ "layer-02-hover": {+ "$type": "color",+ "$value": "{Neutral.100}"+ },+ "layer-03": {+ "$type": "color",+ "$value": "{Neutral.white}",+ "$description": "Dialog"+ },+ "layer-03-hover": {+ "$type": "color",+ "$value": "{Neutral.100}"+ },+ "layer-04": {+ "$type": "color",+ "$value": "{Neutral.white}",+ "$description": "Dropdown Menu"+ },+ "layer-04-hover": {+ "$type": "color",+ "$value": "{Neutral.100}"+ },+ "inverse": {+ "$type": "color",+ "$value": "{Neutral.1000}"+ },+ "secondary": {+ "$type": "color",+ "$value": "{Neutral.1000}"+ },"overlay": {"$type": "color","$value": "{Neutral.alpha-black-60}"}},- "Background": {- "primary": {- "$type": "color",- "$value": "{Neutral.white}"- },- "secondary": {+ "Surface_Container": {+ "layer-01": {"$type": "color","$value": "{Neutral.100}"},- "tertiary": {+ "layer-02": {"$type": "color","$value": "{Neutral.200}"},- "quaternary": {+ "layer-03": {"$type": "color","$value": "{Neutral.300}"}},- "Badge_Color": {- "Rose": {- "rose-light-1": {+ "Background": {+ "primary": {+ "$type": "color",+ "$value": "{Neutral.white}"+ }+ },+ "Badge": {+ "color-1": {+ "light-1": {"$type": "color","$value": "{Subtle_Color.Rose.100}"},- "rose-light-2": {+ "light-2": {"$type": "color","$value": "{Subtle_Color.Rose.200}"},- "rose-light-3": {+ "light-3": {"$type": "color","$value": "{Subtle_Color.Rose.300}"},- "rose-thick-1": {+ "thick-1": {"$type": "color","$value": "{Subtle_Color.Rose.400}"},- "rose-thick-2": {+ "thick-2": {"$type": "color","$value": "{Subtle_Color.Rose.500}"},- "rose-thick-3": {+ "thick-3": {"$type": "color","$value": "{Subtle_Color.Rose.600}"}},- "Papaya": {- "papaya-light-1": {+ "color-2": {+ "light-1": {"$type": "color","$value": "{Subtle_Color.Papaya.100}"},- "papaya-light-2": {+ "light-2": {"$type": "color","$value": "{Subtle_Color.Papaya.200}"},- "papaya-light-3": {+ "light-3": {"$type": "color","$value": "{Subtle_Color.Papaya.300}"},- "papaya-thick-1": {+ "thick-1": {"$type": "color","$value": "{Subtle_Color.Papaya.400}"},- "papaya-thick-2": {+ "thick-2": {"$type": "color","$value": "{Subtle_Color.Papaya.500}"},- "papaya-thick-3": {+ "thick-3": {"$type": "color","$value": "{Subtle_Color.Papaya.600}"}},- "Tangerine": {- "tangerine-light-1": {+ "color-3": {+ "light-1": {"$type": "color","$value": "{Subtle_Color.Tangerine.100}"},- "tangerine-light-2": {+ "light-2": {"$type": "color","$value": "{Subtle_Color.Tangerine.200}"},- "tangerine-light-3": {+ "light-3": {"$type": "color","$value": "{Subtle_Color.Tangerine.300}"},- "tangerine-thick-1": {+ "thick-1": {"$type": "color","$value": "{Subtle_Color.Tangerine.400}"},- "tangerine-thick-2": {+ "thick-2": {"$type": "color","$value": "{Subtle_Color.Tangerine.500}"},- "tangerine-thick-3": {+ "thick-3": {"$type": "color","$value": "{Subtle_Color.Tangerine.600}"}},- "Mango": {- "mango-light-1": {+ "color-4": {+ "light-1": {"$type": "color","$value": "{Subtle_Color.Mango.100}"},- "mango-light-2": {+ "light-2": {"$type": "color","$value": "{Subtle_Color.Mango.200}"},- "mango-light-3": {+ "light-3": {"$type": "color","$value": "{Subtle_Color.Mango.300}"},- "mango-thick-1": {+ "thick-1": {"$type": "color","$value": "{Subtle_Color.Mango.400}"},- "mango-thick-2": {+ "thick-2": {"$type": "color","$value": "{Subtle_Color.Mango.500}"},- "mango-thick-3": {+ "thick-3": {"$type": "color","$value": "{Subtle_Color.Mango.600}"}},- "Lemon": {- "lemon-light-1": {+ "color-5": {+ "light-1": {"$type": "color","$value": "{Subtle_Color.Lemon.100}"},- "lemon-light-2": {+ "light-2": {"$type": "color","$value": "{Subtle_Color.Lemon.200}"},- "lemon-light-3": {+ "light-3": {"$type": "color","$value": "{Subtle_Color.Lemon.300}"},- "lemon-thick-1": {+ "thick-1": {"$type": "color","$value": "{Subtle_Color.Lemon.400}"},- "lemon-thick-2": {+ "thick-2": {"$type": "color","$value": "{Subtle_Color.Lemon.500}"},- "lemon-thick-3": {+ "thick-3": {"$type": "color","$value": "{Subtle_Color.Lemon.600}"}},- "Olive": {- "olive-light-1": {+ "color-6": {+ "light-1": {"$type": "color","$value": "{Subtle_Color.Olive.100}"},- "olive-light-2": {+ "light-2": {"$type": "color","$value": "{Subtle_Color.Olive.200}"},- "olive-light-3": {+ "light-3": {"$type": "color","$value": "{Subtle_Color.Olive.300}"},- "olive-thick-1": {+ "thick-1": {"$type": "color","$value": "{Subtle_Color.Olive.400}"},- "olive-thick-2": {+ "thick-2": {"$type": "color","$value": "{Subtle_Color.Olive.500}"},- "olive-thick-3": {+ "thick-3": {"$type": "color","$value": "{Subtle_Color.Olive.600}"}},- "Lime": {- "lime-light-1": {+ "color-7": {+ "light-1": {"$type": "color","$value": "{Subtle_Color.Lime.100}"},- "lime-light-2": {+ "light-2": {"$type": "color","$value": "{Subtle_Color.Lime.200}"},- "lime-light-3": {+ "light-3": {"$type": "color","$value": "{Subtle_Color.Lime.300}"},- "lime-thick-1": {+ "thick-1": {"$type": "color","$value": "{Subtle_Color.Lime.400}"},- "lime-thick-2": {+ "thick-2": {"$type": "color","$value": "{Subtle_Color.Lime.500}"},- "lime-thick-3": {+ "thick-3": {"$type": "color","$value": "{Subtle_Color.Lime.600}"}},- "Grass": {- "grass-light-1": {+ "color-8": {+ "light-1": {"$type": "color","$value": "{Subtle_Color.Grass.100}"},- "grass-light-2": {+ "light-2": {"$type": "color","$value": "{Subtle_Color.Grass.200}"},- "grass-light-3": {+ "light-3": {"$type": "color","$value": "{Subtle_Color.Grass.300}"},- "grass-thick-1": {+ "thick-1": {"$type": "color","$value": "{Subtle_Color.Grass.400}"},- "grass-thick-2": {+ "thick-2": {"$type": "color","$value": "{Subtle_Color.Grass.500}"},- "grass-thick-3": {+ "thick-3": {"$type": "color","$value": "{Subtle_Color.Grass.600}"}},- "Forest": {- "forest-light-1": {+ "color-9": {+ "light-1": {"$type": "color","$value": "{Subtle_Color.Forest.100}"},- "forest-light-2": {+ "light-2": {"$type": "color","$value": "{Subtle_Color.Forest.200}"},- "forest-light-3": {+ "light-3": {"$type": "color","$value": "{Subtle_Color.Forest.300}"},- "forest-thick-1": {+ "thick-1": {"$type": "color","$value": "{Subtle_Color.Forest.400}"},- "forest-thick-2": {+ "thick-2": {"$type": "color","$value": "{Subtle_Color.Forest.500}"},- "forest-thick-3": {+ "thick-3": {"$type": "color","$value": "{Subtle_Color.Forest.600}"}},- "Jade": {- "jade-light-1": {+ "color-10": {+ "light-1": {"$type": "color","$value": "{Subtle_Color.Jade.100}"},- "jade-light-2": {+ "light-2": {"$type": "color","$value": "{Subtle_Color.Jade.200}"},- "jade-light-3": {+ "light-3": {"$type": "color","$value": "{Subtle_Color.Jade.300}"},- "jade-thick-1": {+ "thick-1": {"$type": "color","$value": "{Subtle_Color.Jade.400}"},- "jade-thick-2": {+ "thick-2": {"$type": "color","$value": "{Subtle_Color.Jade.500}"},- "jade-thick-3": {+ "thick-3": {"$type": "color","$value": "{Subtle_Color.Jade.600}"}},- "Aqua": {- "aqua-light-1": {+ "color-11": {+ "light-1": {"$type": "color","$value": "{Subtle_Color.Aqua.100}"},- "aqua-light-2": {+ "light-2": {"$type": "color","$value": "{Subtle_Color.Aqua.200}"},- "aqua-light-3": {+ "light-3": {"$type": "color","$value": "{Subtle_Color.Aqua.300}"},- "aqua-thick-1": {+ "thick-1": {"$type": "color","$value": "{Subtle_Color.Aqua.400}"},- "aqua-thick-2": {+ "thick-2": {"$type": "color","$value": "{Subtle_Color.Aqua.500}"},- "aqua-thick-3": {+ "thick-3": {"$type": "color","$value": "{Subtle_Color.Aqua.600}"}},- "Azure": {- "azure-light-1": {+ "color-12": {+ "light-1": {"$type": "color","$value": "{Subtle_Color.Azure.100}"},- "azure-light-2": {+ "light-2": {"$type": "color","$value": "{Subtle_Color.Azure.200}"},- "azure-light-3": {+ "light-3": {"$type": "color","$value": "{Subtle_Color.Azure.300}"},- "azure-thick-1": {+ "thick-1": {"$type": "color","$value": "{Subtle_Color.Azure.400}"},- "azure-thick-2": {+ "thick-2": {"$type": "color","$value": "{Subtle_Color.Azure.500}"},- "azure-thick-3": {+ "thick-3": {"$type": "color","$value": "{Subtle_Color.Azure.600}"}},- "Denim": {- "denim-light-1": {+ "color-13": {+ "light-1": {"$type": "color","$value": "{Subtle_Color.Denim.100}"},- "denim-light-2": {+ "light-2": {"$type": "color","$value": "{Subtle_Color.Denim.200}"},- "denim-light-3": {+ "light-3": {"$type": "color","$value": "{Subtle_Color.Denim.300}"},- "denim-thick-1": {+ "thick-1": {"$type": "color","$value": "{Subtle_Color.Denim.400}"},- "denim-thick-2": {+ "thick-2": {"$type": "color","$value": "{Subtle_Color.Denim.500}"},- "denim-thick-3": {+ "thick-3": {"$type": "color","$value": "{Subtle_Color.Denim.600}"}},- "Mauve": {- "mauve-light-1": {+ "color-14": {+ "light-1": {"$type": "color","$value": "{Subtle_Color.Mauve.100}"},- "mauve-thick-2": {+ "light-2": {"$type": "color",- "$value": "{Subtle_Color.Mauve.500}"+ "$value": "{Subtle_Color.Mauve.200}"},- "mauve-thick-3": {+ "light-3": {"$type": "color",- "$value": "{Subtle_Color.Mauve.600}"+ "$value": "{Subtle_Color.Mauve.300}"},- "mauve-thick-1": {+ "thick-1": {"$type": "color","$value": "{Subtle_Color.Mauve.400}"+ },+ "thick-2": {+ "$type": "color",+ "$value": "{Subtle_Color.Mauve.500}"+ },+ "thick-3": {+ "$type": "color",+ "$value": "{Subtle_Color.Mauve.600}"}},- "Lavender": {- "lavender-light-1": {+ "color-15": {+ "light-1": {"$type": "color","$value": "{Subtle_Color.Lavender.100}"},- "lavender-light-2": {+ "light-2": {"$type": "color","$value": "{Subtle_Color.Lavender.200}"},- "lavender-light-3": {+ "light-3": {"$type": "color","$value": "{Subtle_Color.Lavender.300}"},- "lavender-thick-1": {+ "thick-1": {"$type": "color","$value": "{Subtle_Color.Lavender.400}"},- "lavender-thick-2": {+ "thick-2": {"$type": "color","$value": "{Subtle_Color.Lavender.500}"},- "lavender-thick-3": {+ "thick-3": {"$type": "color","$value": "{Subtle_Color.Lavender.600}"}},- "Lilac": {- "liliac-light-1": {+ "color-16": {+ "light-1": {"$type": "color","$value": "{Subtle_Color.Lilac.100}"},- "liliac-light-2": {+ "light-2": {"$type": "color","$value": "{Subtle_Color.Lilac.200}"},- "liliac-light-3": {+ "light-3": {"$type": "color","$value": "{Subtle_Color.Lilac.300}"},- "liliac-thick-1": {+ "thick-1": {"$type": "color","$value": "{Subtle_Color.Lilac.400}"},- "liliac-thick-2": {+ "thick-2": {"$type": "color","$value": "{Subtle_Color.Lilac.500}"},- "liliac-thick-3": {+ "thick-3": {"$type": "color","$value": "{Subtle_Color.Lilac.600}"}},- "Mallow": {- "mallow-light-1": {+ "color-17": {+ "light-1": {"$type": "color","$value": "{Subtle_Color.Mallow.100}"},- "mallow-light-2": {+ "light-2": {"$type": "color","$value": "{Subtle_Color.Mallow.200}"},- "mallow-light-3": {+ "light-3": {"$type": "color","$value": "{Subtle_Color.Mallow.300}"},- "mallow-thick-1": {+ "thick-1": {"$type": "color","$value": "{Subtle_Color.Mallow.400}"},- "mallow-thick-2": {+ "thick-2": {"$type": "color","$value": "{Subtle_Color.Mallow.500}"},- "mallow-thick-3": {+ "thick-3": {"$type": "color","$value": "{Subtle_Color.Mallow.600}"}},- "Camellia": {- "camellia-light-1": {+ "color-18": {+ "light-1": {"$type": "color","$value": "{Subtle_Color.Camellia.100}"},- "camellia-light-2": {+ "light-2": {"$type": "color","$value": "{Subtle_Color.Camellia.200}"},- "camellia-light-3": {+ "light-3": {"$type": "color","$value": "{Subtle_Color.Camellia.300}"},- "camellia-thick-1": {+ "thick-1": {"$type": "color","$value": "{Subtle_Color.Camellia.400}"},- "camellia-thick-2": {+ "thick-2": {"$type": "color","$value": "{Subtle_Color.Camellia.500}"},- "camellia-thick-3": {+ "thick-3": {"$type": "color","$value": "{Subtle_Color.Camellia.600}"}},- "Smoke": {- "smoke-light-1": {+ "color-19": {+ "light-1": {"$type": "color","$value": "{Subtle_Color.Smoke.100}"},- "smoke-light-2": {+ "light-2": {"$type": "color","$value": "{Subtle_Color.Smoke.200}"},- "smoke-light-3": {+ "light-3": {"$type": "color","$value": "{Subtle_Color.Smoke.300}"},- "smoke-thick-1": {+ "thick-1": {"$type": "color","$value": "{Subtle_Color.Smoke.400}"},- "smoke-thick-2": {+ "thick-2": {"$type": "color","$value": "{Subtle_Color.Smoke.500}"},- "smoke-thick-3": {+ "thick-3": {"$type": "color","$value": "{Subtle_Color.Smoke.600}"}},- "Iron": {- "icon-light-1": {+ "color-20": {+ "light-1": {"$type": "color","$value": "{Subtle_Color.Iron.100}"},- "icon-light-2": {+ "light-2": {"$type": "color","$value": "{Subtle_Color.Iron.200}"},- "icon-light-3": {+ "light-3": {"$type": "color","$value": "{Subtle_Color.Iron.300}"},- "icon-thick-1": {+ "thick-1": {"$type": "color","$value": "{Subtle_Color.Iron.400}"},- "icon-thick-2": {+ "thick-2": {"$type": "color","$value": "{Subtle_Color.Iron.500}"},- "icon-thick-3": {+ "thick-3": {"$type": "color","$value": "{Subtle_Color.Iron.600}"}}},- "Shadow": {- "sm": {- "$type": "dimension",- "$value": "0px"- },- "md": {- "$type": "dimension",- "$value": "0px"- }- },"Brand": {"Skyline": {"$type": "color",diff --git a/frontend/appflowy_flutter/packages/appflowy_ui/script/generate_theme.dart b/frontend/appflowy_flutter/packages/appflowy_ui/script/generate_theme.dartindex c5ee97ac60..132b832fcb 100644--- a/frontend/appflowy_flutter/packages/appflowy_ui/script/generate_theme.dart+++ b/frontend/appflowy_flutter/packages/appflowy_ui/script/generate_theme.dart@@ -116,8 +116,10 @@ class AppFlowyDefaultTheme implements AppFlowyThemeBuilder {''');// 3. Process light mode semantic tokensbuffer.writeln('''@override- AppFlowyThemeData light() {- final textStyle = AppFlowyBaseTextStyle();+ AppFlowyThemeData light({+ String? fontFamily,+ }) {+ final textStyle = AppFlowyBaseTextStyle.customFontFamily(fontFamily ?? '');final borderRadius = AppFlowySharedTokens.buildBorderRadius();final spacing = AppFlowySharedTokens.buildSpacing();final shadow = AppFlowySharedTokens.buildShadow(Brightness.light);''');@@ -158,6 +160,8 @@ class AppFlowyDefaultTheme implements AppFlowyThemeBuilder {''');brandColorScheme: brandColorScheme,otherColorsColorScheme: otherColorsColorScheme,borderRadius: borderRadius,+ surfaceContainerColorScheme: surfaceContainerColorScheme,+ badgeColorScheme: badgeColorScheme,spacing: spacing,shadow: shadow,);@@ -167,8 +171,10 @@ class AppFlowyDefaultTheme implements AppFlowyThemeBuilder {''');buffer.writeln('''@override- AppFlowyThemeData dark() {- final textStyle = AppFlowyBaseTextStyle();+ AppFlowyThemeData dark({+ String? fontFamily,+ }) {+ final textStyle = AppFlowyBaseTextStyle.customFontFamily(fontFamily ?? '');final borderRadius = AppFlowySharedTokens.buildBorderRadius();final spacing = AppFlowySharedTokens.buildSpacing();final shadow = AppFlowySharedTokens.buildShadow(Brightness.dark);''');@@ -212,6 +218,8 @@ class AppFlowyDefaultTheme implements AppFlowyThemeBuilder {''');brandColorScheme: brandColorScheme,otherColorsColorScheme: otherColorsColorScheme,borderRadius: borderRadius,+ surfaceContainerColorScheme: surfaceContainerColorScheme,+ badgeColorScheme: badgeColorScheme,spacing: spacing,shadow: shadow,);