@rte-ds/core 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +320 -0
- package/assets/fonts/nunito-bold-700.woff2 +0 -0
- package/assets/fonts/nunito-light-300.woff2 +0 -0
- package/assets/fonts/nunito-regular-400.woff2 +0 -0
- package/assets/fonts/nunito-semi-bold-600.woff2 +0 -0
- package/assets/icons/add.svg +3 -0
- package/assets/icons/add_circle_filled.svg +3 -0
- package/assets/icons/add_circle_outlined.svg +3 -0
- package/assets/icons/admin_panel_settings_filled.svg +3 -0
- package/assets/icons/admin_panel_settings_outlined.svg +3 -0
- package/assets/icons/alt_route.svg +3 -0
- package/assets/icons/analytics_filled.svg +3 -0
- package/assets/icons/analytics_outlined.svg +3 -0
- package/assets/icons/apps.svg +3 -0
- package/assets/icons/archive_filled.svg +3 -0
- package/assets/icons/archive_outlined.svg +3 -0
- package/assets/icons/arrow_alt_down.svg +3 -0
- package/assets/icons/arrow_alt_down_left.svg +3 -0
- package/assets/icons/arrow_alt_down_right.svg +3 -0
- package/assets/icons/arrow_alt_left.svg +3 -0
- package/assets/icons/arrow_alt_right.svg +3 -0
- package/assets/icons/arrow_alt_up.svg +3 -0
- package/assets/icons/arrow_alt_up_left.svg +3 -0
- package/assets/icons/arrow_alt_up_right.svg +3 -0
- package/assets/icons/arrow_angle_down_left.svg +3 -0
- package/assets/icons/arrow_angle_down_right.svg +3 -0
- package/assets/icons/arrow_angle_up_left.svg +3 -0
- package/assets/icons/arrow_angle_up_right.svg +3 -0
- package/assets/icons/arrow_chevron_down.svg +3 -0
- package/assets/icons/arrow_chevron_left.svg +3 -0
- package/assets/icons/arrow_chevron_right.svg +3 -0
- package/assets/icons/arrow_chevron_up.svg +3 -0
- package/assets/icons/arrow_circle_chevron_down_filled.svg +3 -0
- package/assets/icons/arrow_circle_chevron_down_outlined.svg +3 -0
- package/assets/icons/arrow_circle_chevron_left_filled.svg +3 -0
- package/assets/icons/arrow_circle_chevron_left_outlined.svg +3 -0
- package/assets/icons/arrow_circle_chevron_right_filled.svg +3 -0
- package/assets/icons/arrow_circle_chevron_right_outlined.svg +3 -0
- package/assets/icons/arrow_circle_chevron_up_filled.svg +3 -0
- package/assets/icons/arrow_circle_chevron_up_outlined.svg +3 -0
- package/assets/icons/arrow_circle_down_filled.svg +3 -0
- package/assets/icons/arrow_circle_down_outlined.svg +3 -0
- package/assets/icons/arrow_circle_left_filled.svg +3 -0
- package/assets/icons/arrow_circle_left_outlined.svg +3 -0
- package/assets/icons/arrow_circle_right_filled.svg +3 -0
- package/assets/icons/arrow_circle_right_outlined.svg +3 -0
- package/assets/icons/arrow_circle_up_filled.svg +3 -0
- package/assets/icons/arrow_circle_up_outlined.svg +3 -0
- package/assets/icons/arrow_double_down.svg +3 -0
- package/assets/icons/arrow_double_left.svg +3 -0
- package/assets/icons/arrow_double_right.svg +3 -0
- package/assets/icons/arrow_double_up.svg +3 -0
- package/assets/icons/arrow_down.svg +3 -0
- package/assets/icons/arrow_down_left.svg +3 -0
- package/assets/icons/arrow_down_right.svg +3 -0
- package/assets/icons/arrow_drop_down.svg +3 -0
- package/assets/icons/arrow_drop_up.svg +3 -0
- package/assets/icons/arrow_left.svg +3 -0
- package/assets/icons/arrow_right.svg +3 -0
- package/assets/icons/arrow_up.svg +3 -0
- package/assets/icons/arrow_up_left.svg +3 -0
- package/assets/icons/arrow_up_right.svg +3 -0
- package/assets/icons/article_filled.svg +3 -0
- package/assets/icons/article_outlined.svg +3 -0
- package/assets/icons/assignment_complete_filled.svg +3 -0
- package/assets/icons/assignment_complete_outlined.svg +3 -0
- package/assets/icons/assignment_filled.svg +3 -0
- package/assets/icons/assignment_outlined.svg +3 -0
- package/assets/icons/asterisk.svg +3 -0
- package/assets/icons/attach_file.svg +3 -0
- package/assets/icons/battery_alert_filled.svg +3 -0
- package/assets/icons/battery_alert_outlined.svg +3 -0
- package/assets/icons/battery_alt_empty.svg +3 -0
- package/assets/icons/battery_alt_full.svg +3 -0
- package/assets/icons/battery_charging.svg +3 -0
- package/assets/icons/battery_charging_full_filled.svg +3 -0
- package/assets/icons/battery_charging_full_outlined.svg +3 -0
- package/assets/icons/battery_empty.svg +3 -0
- package/assets/icons/battery_full.svg +3 -0
- package/assets/icons/bluetooth.svg +3 -0
- package/assets/icons/bluetooth_off.svg +3 -0
- package/assets/icons/bolt_alt_circle_filled.svg +3 -0
- package/assets/icons/bolt_alt_circle_outlined.svg +3 -0
- package/assets/icons/bolt_alt_filled.svg +3 -0
- package/assets/icons/bolt_alt_outlined.svg +3 -0
- package/assets/icons/bolt_circle_filled.svg +3 -0
- package/assets/icons/bolt_circle_outlined.svg +3 -0
- package/assets/icons/bolt_filled.svg +3 -0
- package/assets/icons/bolt_outlined.svg +3 -0
- package/assets/icons/bookmark_filled.svg +3 -0
- package/assets/icons/bookmark_outlined.svg +3 -0
- package/assets/icons/bookmarks_filled.svg +3 -0
- package/assets/icons/bookmarks_outlined.svg +3 -0
- package/assets/icons/build_filled.svg +3 -0
- package/assets/icons/build_outlined.svg +3 -0
- package/assets/icons/calendar_available_filled.svg +3 -0
- package/assets/icons/calendar_available_outlined.svg +3 -0
- package/assets/icons/calendar_busy_filled.svg +3 -0
- package/assets/icons/calendar_busy_outlined.svg +3 -0
- package/assets/icons/calendar_month_filled.svg +3 -0
- package/assets/icons/calendar_month_outlined.svg +3 -0
- package/assets/icons/calendar_today_filled.svg +3 -0
- package/assets/icons/calendar_today_outlined.svg +3 -0
- package/assets/icons/call_filled.svg +3 -0
- package/assets/icons/call_outlined.svg +3 -0
- package/assets/icons/cancel_filled.svg +3 -0
- package/assets/icons/cancel_outlined.svg +3 -0
- package/assets/icons/category_filled.svg +3 -0
- package/assets/icons/category_outlined.svg +3 -0
- package/assets/icons/chart_add_filled.svg +3 -0
- package/assets/icons/chart_add_outlined.svg +3 -0
- package/assets/icons/chart_area_filled.svg +3 -0
- package/assets/icons/chart_area_outlined.svg +3 -0
- package/assets/icons/chart_bar.svg +3 -0
- package/assets/icons/chart_bar_stacked.svg +3 -0
- package/assets/icons/chart_pie_filled.svg +3 -0
- package/assets/icons/chart_pie_outlined.svg +3 -0
- package/assets/icons/chart_table_filled.svg +3 -0
- package/assets/icons/chart_table_outlined.svg +3 -0
- package/assets/icons/chat_alt_filled.svg +3 -0
- package/assets/icons/chat_alt_outlined.svg +3 -0
- package/assets/icons/chat_alt_unread_filled.svg +3 -0
- package/assets/icons/chat_alt_unread_outlined.svg +3 -0
- package/assets/icons/chat_filled.svg +3 -0
- package/assets/icons/chat_outlined.svg +3 -0
- package/assets/icons/chat_unread_filled.svg +3 -0
- package/assets/icons/chat_unread_outlined.svg +3 -0
- package/assets/icons/check.svg +3 -0
- package/assets/icons/check_circle_filled.svg +3 -0
- package/assets/icons/check_circle_outlined.svg +3 -0
- package/assets/icons/check_indeterminate.svg +3 -0
- package/assets/icons/check_small.svg +3 -0
- package/assets/icons/checkbox_empty.svg +3 -0
- package/assets/icons/checkbox_filled.svg +3 -0
- package/assets/icons/checkbox_indeterminate_filled.svg +3 -0
- package/assets/icons/checkbox_indeterminate_outlined.svg +3 -0
- package/assets/icons/checkbox_outlined.svg +3 -0
- package/assets/icons/clock_filled.svg +3 -0
- package/assets/icons/clock_outlined.svg +3 -0
- package/assets/icons/close.svg +3 -0
- package/assets/icons/cloud_download_filled.svg +3 -0
- package/assets/icons/cloud_download_outlined.svg +3 -0
- package/assets/icons/cloud_filled.svg +3 -0
- package/assets/icons/cloud_off_filled.svg +3 -0
- package/assets/icons/cloud_off_outlined.svg +3 -0
- package/assets/icons/cloud_outlined.svg +3 -0
- package/assets/icons/cloud_upload_filled.svg +3 -0
- package/assets/icons/cloud_upload_outlined.svg +3 -0
- package/assets/icons/comment_add_filled.svg +3 -0
- package/assets/icons/comment_add_outlined.svg +3 -0
- package/assets/icons/comment_filled.svg +3 -0
- package/assets/icons/comment_outlined.svg +3 -0
- package/assets/icons/compare.svg +3 -0
- package/assets/icons/copy_all.svg +3 -0
- package/assets/icons/copy_filled.svg +3 -0
- package/assets/icons/copy_outlined.svg +3 -0
- package/assets/icons/crisis_alert.svg +3 -0
- package/assets/icons/cut.svg +3 -0
- package/assets/icons/dangerous_filled.svg +3 -0
- package/assets/icons/dangerous_outlined.svg +3 -0
- package/assets/icons/dashboard_filled.svg +3 -0
- package/assets/icons/dashboard_outlined.svg +3 -0
- package/assets/icons/database_filled.svg +3 -0
- package/assets/icons/database_outlined.svg +3 -0
- package/assets/icons/delete_filled.svg +3 -0
- package/assets/icons/delete_outlined.svg +3 -0
- package/assets/icons/desktop_filled.svg +3 -0
- package/assets/icons/desktop_outlined.svg +3 -0
- package/assets/icons/devices_filled.svg +3 -0
- package/assets/icons/devices_outlined.svg +3 -0
- package/assets/icons/download.svg +3 -0
- package/assets/icons/download_done.svg +3 -0
- package/assets/icons/draft_filled.svg +3 -0
- package/assets/icons/draft_outlined.svg +3 -0
- package/assets/icons/drag_handle.svg +3 -0
- package/assets/icons/drag_indicator.svg +3 -0
- package/assets/icons/eco_filled.svg +3 -0
- package/assets/icons/eco_outlined.svg +3 -0
- package/assets/icons/edit_filled.svg +3 -0
- package/assets/icons/edit_outlined.svg +3 -0
- package/assets/icons/electric_meter_filled.svg +3 -0
- package/assets/icons/electric_meter_outlined.svg +3 -0
- package/assets/icons/error_filled.svg +3 -0
- package/assets/icons/error_outlined.svg +3 -0
- package/assets/icons/exclamation.svg +3 -0
- package/assets/icons/explore_filled.svg +3 -0
- package/assets/icons/explore_off_filled.svg +3 -0
- package/assets/icons/explore_off_outlined.svg +3 -0
- package/assets/icons/explore_outlined.svg +3 -0
- package/assets/icons/explore_travel.svg +3 -0
- package/assets/icons/external_link.svg +3 -0
- package/assets/icons/fast_forward_filled.svg +3 -0
- package/assets/icons/fast_forward_outlined.svg +3 -0
- package/assets/icons/fast_rewind_filled.svg +3 -0
- package/assets/icons/fast_rewind_outlined.svg +3 -0
- package/assets/icons/feedback_filled.svg +3 -0
- package/assets/icons/feedback_outlined.svg +3 -0
- package/assets/icons/file_copy_filled.svg +3 -0
- package/assets/icons/file_copy_outlined.svg +3 -0
- package/assets/icons/file_download_filled.svg +3 -0
- package/assets/icons/file_download_outlined.svg +3 -0
- package/assets/icons/file_upload_filled.svg +3 -0
- package/assets/icons/file_upload_outlined.svg +3 -0
- package/assets/icons/filter.svg +3 -0
- package/assets/icons/filter_alt_filled.svg +3 -0
- package/assets/icons/filter_alt_off_filled.svg +3 -0
- package/assets/icons/filter_alt_off_outlined.svg +3 -0
- package/assets/icons/filter_alt_outlined.svg +3 -0
- package/assets/icons/filter_off.svg +3 -0
- package/assets/icons/fire_filled.svg +3 -0
- package/assets/icons/fire_outlined.svg +3 -0
- package/assets/icons/first_page.svg +3 -0
- package/assets/icons/fit_screen_filled.svg +3 -0
- package/assets/icons/fit_screen_outlined.svg +3 -0
- package/assets/icons/flag_filled.svg +3 -0
- package/assets/icons/flag_outlined.svg +3 -0
- package/assets/icons/flash_filled.svg +3 -0
- package/assets/icons/flash_off_filled.svg +3 -0
- package/assets/icons/flash_off_outlined.svg +3 -0
- package/assets/icons/flash_outlined.svg +3 -0
- package/assets/icons/folder_add_filled.svg +3 -0
- package/assets/icons/folder_add_outlined.svg +3 -0
- package/assets/icons/folder_filled.svg +3 -0
- package/assets/icons/folder_move_filled.svg +3 -0
- package/assets/icons/folder_move_outlined.svg +3 -0
- package/assets/icons/folder_open_filled.svg +3 -0
- package/assets/icons/folder_open_outlined.svg +3 -0
- package/assets/icons/folder_outlined.svg +3 -0
- package/assets/icons/folder_shared_filled.svg +3 -0
- package/assets/icons/folder_shared_outlined.svg +3 -0
- package/assets/icons/forum_filled.svg +3 -0
- package/assets/icons/forum_outlined.svg +3 -0
- package/assets/icons/forward.svg +3 -0
- package/assets/icons/fullscreen.svg +3 -0
- package/assets/icons/fullscreen_exit.svg +3 -0
- package/assets/icons/group_add_filled.svg +3 -0
- package/assets/icons/group_add_outlined.svg +3 -0
- package/assets/icons/group_filled.svg +3 -0
- package/assets/icons/group_outlined.svg +3 -0
- package/assets/icons/groups_filled.svg +3 -0
- package/assets/icons/groups_outlined.svg +3 -0
- package/assets/icons/headphones_filled.svg +3 -0
- package/assets/icons/headphones_outlined.svg +3 -0
- package/assets/icons/heart_filled.svg +3 -0
- package/assets/icons/heart_outlined.svg +3 -0
- package/assets/icons/help_filled.svg +3 -0
- package/assets/icons/help_outlined.svg +3 -0
- package/assets/icons/history.svg +3 -0
- package/assets/icons/home_filled.svg +3 -0
- package/assets/icons/home_outlined.svg +3 -0
- package/assets/icons/hourglass_empty.svg +3 -0
- package/assets/icons/hourglass_filled.svg +3 -0
- package/assets/icons/hourglass_outlined.svg +3 -0
- package/assets/icons/image_broken_filled.svg +3 -0
- package/assets/icons/image_broken_outlined.svg +3 -0
- package/assets/icons/image_filled.svg +3 -0
- package/assets/icons/image_gallery_filled.svg +3 -0
- package/assets/icons/image_gallery_outlined.svg +3 -0
- package/assets/icons/image_outlined.svg +3 -0
- package/assets/icons/inbox_filled.svg +3 -0
- package/assets/icons/inbox_outlined.svg +3 -0
- package/assets/icons/info_filled.svg +3 -0
- package/assets/icons/info_i.svg +3 -0
- package/assets/icons/info_outlined.svg +3 -0
- package/assets/icons/keep_filled.svg +3 -0
- package/assets/icons/keep_off_filled.svg +3 -0
- package/assets/icons/keep_off_outlined.svg +3 -0
- package/assets/icons/keep_outlined.svg +3 -0
- package/assets/icons/label_filled.svg +3 -0
- package/assets/icons/label_outlined.svg +3 -0
- package/assets/icons/language.svg +3 -0
- package/assets/icons/laptop_filled.svg +3 -0
- package/assets/icons/laptop_outlined.svg +3 -0
- package/assets/icons/last_page.svg +3 -0
- package/assets/icons/left_panel_close_filled.svg +3 -0
- package/assets/icons/left_panel_close_outlined.svg +3 -0
- package/assets/icons/left_panel_open_filled.svg +3 -0
- package/assets/icons/left_panel_open_outlined.svg +3 -0
- package/assets/icons/light_off_filled.svg +3 -0
- package/assets/icons/light_off_outlined.svg +3 -0
- package/assets/icons/lightbulb_alt_filled.svg +3 -0
- package/assets/icons/lightbulb_alt_outlined.svg +3 -0
- package/assets/icons/lightbulb_circle_filled.svg +3 -0
- package/assets/icons/lightbulb_circle_outlined.svg +3 -0
- package/assets/icons/lightbulb_filled.svg +3 -0
- package/assets/icons/lightbulb_outlined.svg +3 -0
- package/assets/icons/link.svg +3 -0
- package/assets/icons/link_off.svg +3 -0
- package/assets/icons/list.svg +3 -0
- package/assets/icons/list_alt_filled.svg +3 -0
- package/assets/icons/list_alt_outlined.svg +3 -0
- package/assets/icons/location_disabled.svg +10 -0
- package/assets/icons/location_me_filled.svg +3 -0
- package/assets/icons/location_me_outlined.svg +3 -0
- package/assets/icons/location_off_filled.svg +3 -0
- package/assets/icons/location_off_outlined.svg +3 -0
- package/assets/icons/location_on_filled.svg +3 -0
- package/assets/icons/location_on_outlined.svg +3 -0
- package/assets/icons/lock_filled.svg +3 -0
- package/assets/icons/lock_open_filled.svg +3 -0
- package/assets/icons/lock_open_outlined.svg +3 -0
- package/assets/icons/lock_open_right_filled.svg +3 -0
- package/assets/icons/lock_open_right_outlined.svg +3 -0
- package/assets/icons/lock_outlined.svg +3 -0
- package/assets/icons/login.svg +3 -0
- package/assets/icons/logout.svg +3 -0
- package/assets/icons/mail_filled.svg +3 -0
- package/assets/icons/mail_outlined.svg +3 -0
- package/assets/icons/mail_unread_filled.svg +3 -0
- package/assets/icons/mail_unread_outlined.svg +3 -0
- package/assets/icons/map_filled.svg +3 -0
- package/assets/icons/map_outlined.svg +3 -0
- package/assets/icons/menu.svg +3 -0
- package/assets/icons/menu_open.svg +3 -0
- package/assets/icons/mic_filled.svg +3 -0
- package/assets/icons/mic_off_filled.svg +3 -0
- package/assets/icons/mic_off_outlined.svg +3 -0
- package/assets/icons/mic_outlined.svg +3 -0
- package/assets/icons/mode_dark_filled.svg +3 -0
- package/assets/icons/mode_dark_outlined.svg +3 -0
- package/assets/icons/mode_light_filled.svg +10 -0
- package/assets/icons/mode_light_outlined.svg +10 -0
- package/assets/icons/monitoring.svg +3 -0
- package/assets/icons/more_down.svg +3 -0
- package/assets/icons/more_horiz.svg +3 -0
- package/assets/icons/more_up.svg +3 -0
- package/assets/icons/more_vert.svg +3 -0
- package/assets/icons/notification_filled.svg +3 -0
- package/assets/icons/notification_important_filled.svg +3 -0
- package/assets/icons/notification_important_outlined.svg +3 -0
- package/assets/icons/notification_off_filled.svg +3 -0
- package/assets/icons/notification_off_outlined.svg +3 -0
- package/assets/icons/notification_outlined.svg +3 -0
- package/assets/icons/notification_unread_filled.svg +3 -0
- package/assets/icons/notification_unread_outlined.svg +3 -0
- package/assets/icons/ohm.svg +3 -0
- package/assets/icons/open_in_full.svg +3 -0
- package/assets/icons/palette_filled.svg +3 -0
- package/assets/icons/palette_outlined.svg +3 -0
- package/assets/icons/paste.svg +3 -0
- package/assets/icons/pause_circle_filled.svg +3 -0
- package/assets/icons/pause_circle_outlined.svg +3 -0
- package/assets/icons/pause_filled.svg +3 -0
- package/assets/icons/pause_outlined.svg +3 -0
- package/assets/icons/photo_camera_filled.svg +3 -0
- package/assets/icons/photo_camera_outlined.svg +3 -0
- package/assets/icons/play_circle_filled.svg +3 -0
- package/assets/icons/play_circle_outlined.svg +3 -0
- package/assets/icons/play_filled.svg +3 -0
- package/assets/icons/play_outlined.svg +3 -0
- package/assets/icons/play_pause.svg +3 -0
- package/assets/icons/power_filled.svg +3 -0
- package/assets/icons/power_input.svg +3 -0
- package/assets/icons/power_off_filled.svg +3 -0
- package/assets/icons/power_off_outlined.svg +3 -0
- package/assets/icons/power_outlined.svg +3 -0
- package/assets/icons/power_plug.svg +3 -0
- package/assets/icons/power_plug_connect_filled.svg +3 -0
- package/assets/icons/power_plug_connect_outlined.svg +3 -0
- package/assets/icons/power_settings.svg +3 -0
- package/assets/icons/power_settings_circle_filled.svg +3 -0
- package/assets/icons/power_settings_circle_outlined.svg +3 -0
- package/assets/icons/power_solar_filled.svg +3 -0
- package/assets/icons/power_solar_outlined.svg +3 -0
- package/assets/icons/power_switch_filled.svg +3 -0
- package/assets/icons/power_switch_outlined.svg +3 -0
- package/assets/icons/power_wind_filled.svg +3 -0
- package/assets/icons/power_wind_outlined.svg +3 -0
- package/assets/icons/print_filled.svg +3 -0
- package/assets/icons/print_outlined.svg +3 -0
- package/assets/icons/priority_high.svg +3 -0
- package/assets/icons/public.svg +3 -0
- package/assets/icons/publish.svg +3 -0
- package/assets/icons/question_mark.svg +3 -0
- package/assets/icons/radar.svg +3 -0
- package/assets/icons/radio_button_empty.svg +3 -0
- package/assets/icons/redo.svg +3 -0
- package/assets/icons/reload.svg +3 -0
- package/assets/icons/remove.svg +3 -0
- package/assets/icons/reply.svg +3 -0
- package/assets/icons/reply_all.svg +3 -0
- package/assets/icons/right_panel_close_filled.svg +3 -0
- package/assets/icons/right_panel_close_outlined.svg +3 -0
- package/assets/icons/right_panel_open_filled.svg +3 -0
- package/assets/icons/right_panel_open_outlined.svg +3 -0
- package/assets/icons/route.svg +3 -0
- package/assets/icons/save_filled.svg +3 -0
- package/assets/icons/save_outlined.svg +3 -0
- package/assets/icons/search.svg +3 -0
- package/assets/icons/send_filled.svg +3 -0
- package/assets/icons/send_outlined.svg +3 -0
- package/assets/icons/settings_filled.svg +3 -0
- package/assets/icons/settings_outlined.svg +3 -0
- package/assets/icons/share_filled.svg +3 -0
- package/assets/icons/share_outlined.svg +3 -0
- package/assets/icons/side_navigation.svg +3 -0
- package/assets/icons/skip_next_filled.svg +3 -0
- package/assets/icons/skip_next_outlined.svg +3 -0
- package/assets/icons/skip_previous_filled.svg +3 -0
- package/assets/icons/skip_previous_outlined.svg +3 -0
- package/assets/icons/smartphone_filled.svg +3 -0
- package/assets/icons/smartphone_outlined.svg +3 -0
- package/assets/icons/sort.svg +3 -0
- package/assets/icons/star_filled.svg +3 -0
- package/assets/icons/star_outlined.svg +3 -0
- package/assets/icons/sticky_note_filled.svg +3 -0
- package/assets/icons/sticky_note_outlined.svg +3 -0
- package/assets/icons/stop_circle_filled.svg +3 -0
- package/assets/icons/stop_circle_outlined.svg +3 -0
- package/assets/icons/stop_filled.svg +3 -0
- package/assets/icons/stop_outlined.svg +3 -0
- package/assets/icons/subtitles_filled.svg +3 -0
- package/assets/icons/subtitles_outlined.svg +3 -0
- package/assets/icons/support_agent.svg +3 -0
- package/assets/icons/text_snippet_filled.svg +3 -0
- package/assets/icons/text_snippet_outlined.svg +3 -0
- package/assets/icons/timeline.svg +3 -0
- package/assets/icons/trash_restore_filled.svg +3 -0
- package/assets/icons/trash_restore_outlined.svg +3 -0
- package/assets/icons/trending_down.svg +3 -0
- package/assets/icons/trending_flat.svg +3 -0
- package/assets/icons/trending_up.svg +3 -0
- package/assets/icons/tune.svg +3 -0
- package/assets/icons/unarchive_filled.svg +3 -0
- package/assets/icons/unarchive_outlined.svg +3 -0
- package/assets/icons/undo.svg +3 -0
- package/assets/icons/upload.svg +3 -0
- package/assets/icons/user_add_filled.svg +3 -0
- package/assets/icons/user_add_outlined.svg +3 -0
- package/assets/icons/user_circle_filled.svg +3 -0
- package/assets/icons/user_circle_outlined.svg +3 -0
- package/assets/icons/user_filled.svg +3 -0
- package/assets/icons/user_outlined.svg +3 -0
- package/assets/icons/user_settings_filled.svg +3 -0
- package/assets/icons/user_settings_outlined.svg +3 -0
- package/assets/icons/verified_filled.svg +3 -0
- package/assets/icons/verified_outlined.svg +3 -0
- package/assets/icons/video_camera_filled.svg +3 -0
- package/assets/icons/video_camera_off_filled.svg +3 -0
- package/assets/icons/video_camera_off_outlined.svg +3 -0
- package/assets/icons/video_camera_outlined.svg +3 -0
- package/assets/icons/video_gallery_filled.svg +3 -0
- package/assets/icons/video_gallery_outlined.svg +3 -0
- package/assets/icons/view_agenda_filled.svg +3 -0
- package/assets/icons/view_agenda_outlined.svg +3 -0
- package/assets/icons/view_column_filled.svg +3 -0
- package/assets/icons/view_column_outlined.svg +3 -0
- package/assets/icons/view_grid_filled.svg +3 -0
- package/assets/icons/view_grid_outlined.svg +3 -0
- package/assets/icons/view_kanban_filled.svg +3 -0
- package/assets/icons/view_kanban_outlined.svg +3 -0
- package/assets/icons/view_module_filled.svg +3 -0
- package/assets/icons/view_module_outlined.svg +3 -0
- package/assets/icons/view_timeline_filled.svg +3 -0
- package/assets/icons/view_timeline_outlined.svg +3 -0
- package/assets/icons/visibility_hide_filled.svg +3 -0
- package/assets/icons/visibility_hide_outlined.svg +3 -0
- package/assets/icons/visibility_show_filled.svg +3 -0
- package/assets/icons/visibility_show_outlined.svg +3 -0
- package/assets/icons/volume_down_filled.svg +3 -0
- package/assets/icons/volume_down_outlined.svg +3 -0
- package/assets/icons/volume_mute_filled.svg +3 -0
- package/assets/icons/volume_mute_outlined.svg +3 -0
- package/assets/icons/volume_off_filled.svg +3 -0
- package/assets/icons/volume_off_outlined.svg +3 -0
- package/assets/icons/volume_up_filled.svg +3 -0
- package/assets/icons/volume_up_outlined.svg +3 -0
- package/assets/icons/warning_filled.svg +3 -0
- package/assets/icons/warning_outlined.svg +3 -0
- package/assets/icons/water.svg +3 -0
- package/assets/icons/water_alt.svg +3 -0
- package/assets/icons/waterdrop_filled.svg +3 -0
- package/assets/icons/waterdrop_outlined.svg +3 -0
- package/assets/icons/wifi.svg +3 -0
- package/assets/icons/wifi_off.svg +3 -0
- package/assets/icons/windmill.svg +3 -0
- package/assets/icons/zoom_in.svg +3 -0
- package/assets/icons/zoom_out.svg +3 -0
- package/common/animation.ts +5 -0
- package/common/common-types.ts +4 -0
- package/components/assistive-text/assistive-text.constants.ts +8 -0
- package/components/assistive-text/assistive-text.interface.d.ts +10 -0
- package/components/assistive-text/assistive-text.utils.ts +8 -0
- package/components/badge/badge.interface.d.ts +20 -0
- package/components/badge/badge.utils.ts +75 -0
- package/components/badge/docs/AccessibilityTable.tsx +113 -0
- package/components/badge/docs/Badge.mdx +127 -0
- package/components/badge/docs/Behaviors.scss +12 -0
- package/components/badge/docs/Behaviors.tsx +110 -0
- package/components/badge/docs/Options.tsx +90 -0
- package/components/badge/docs/Usage.tsx +30 -0
- package/components/badge/docs/assets/doNot.svg +397 -0
- package/components/badge/stories/img/Accessibility.png +0 -0
- package/components/badge/stories/img/BadgeTypes.svg +72 -0
- package/components/badge/stories/img/Layout.svg +86 -0
- package/components/badge/stories/img/OtherComponent.svg +34 -0
- package/components/badge/stories/img/StructureComposant.svg +40 -0
- package/components/badge/stories/img/TableOfOptions.svg +200 -0
- package/components/badge/stories/img/Taille.svg +79 -0
- package/components/badge/stories/img/TextOptions.svg +34 -0
- package/components/banner/banner.interface.d.ts +14 -0
- package/components/breadcrumbs/breadcrumbs.constants.ts +1 -0
- package/components/breadcrumbs/breadcrumbs.interface.d.ts +24 -0
- package/components/breadcrumbs/breadcrumbs.utils.ts +24 -0
- package/components/breadcrumbs/docs/AccessibilityTable.tsx +96 -0
- package/components/breadcrumbs/docs/Behaviors.tsx +129 -0
- package/components/breadcrumbs/docs/Breadcrumbs.mdx +104 -0
- package/components/breadcrumbs/docs/Options.scss +26 -0
- package/components/breadcrumbs/docs/Options.tsx +59 -0
- package/components/breadcrumbs/docs/TabOfOptions.tsx +19 -0
- package/components/breadcrumbs/docs/Usage.scss +7 -0
- package/components/breadcrumbs/docs/Usage.tsx +28 -0
- package/components/breadcrumbs/docs/assets/doNot.svg +127 -0
- package/components/button/button.interface.d.ts +14 -0
- package/components/button/common/common-button.constants.ts +15 -0
- package/components/button/common/common-button.d.ts +2 -0
- package/components/button/icon-button/icon-button.interface.d.ts +17 -0
- package/components/card/card.constats.ts +9 -0
- package/components/card/card.interface.d.ts +10 -0
- package/components/card/card.stories.shared.ts +112 -0
- package/components/checkbox/checkbox.interface.d.ts +10 -0
- package/components/checkbox-group/checkbox-group.interface.d.ts +13 -0
- package/components/chip/chip.constants.ts +5 -0
- package/components/chip/chip.interface.d.ts +12 -0
- package/components/chip/stories/img/ChipsAccessibility.png +0 -0
- package/components/chip/stories/img/ChipsInteractionsStates.svg +46 -0
- package/components/chip/stories/img/ChipsKeyboardInteractions.svg +76 -0
- package/components/chip/stories/img/ChipsLayout.svg +86 -0
- package/components/chip/stories/img/ChipsStructure.svg +24 -0
- package/components/chip/stories/img/ChipsTableOfOptions.svg +146 -0
- package/components/chip/stories/img/ChipsTaille.svg +36 -0
- package/components/chip/stories/img/ChipsTypes.svg +50 -0
- package/components/common/common-types.ts +4 -0
- package/components/common/input-props.d.ts +20 -0
- package/components/divider/divider.interface.d.ts +10 -0
- package/components/divider/stories/img/DividerAccessibility.png +0 -0
- package/components/divider/stories/img/DividerBehaviors.svg +36 -0
- package/components/divider/stories/img/DividerOrientation.svg +34 -0
- package/components/divider/stories/img/DividerStructure.png +0 -0
- package/components/divider/stories/img/DividerTableOfOptions.svg +74 -0
- package/components/divider/stories/img/DividerThickness.svg +38 -0
- package/components/dropdown/DropdownManager.ts +59 -0
- package/components/dropdown/dropdown.constants.ts +1 -0
- package/components/dropdown/dropdown.interface.d.ts +28 -0
- package/components/grid/grid.interface.d.ts +14 -0
- package/components/grid/grid.scss +81 -0
- package/components/grid/grid.stories.scss +23 -0
- package/components/icon/icon-utils.ts +3 -0
- package/components/icon/icon.constants.ts +16 -0
- package/components/icon/icon.interface.d.ts +12 -0
- package/components/link/link.interface.d.ts +6 -0
- package/components/loader/loader.constants.ts +7 -0
- package/components/loader/loader.interface.d.ts +11 -0
- package/components/loader/stories/img/LoaderAccessibility.png +0 -0
- package/components/loader/stories/img/LoaderAppearance.svg +36 -0
- package/components/loader/stories/img/LoaderBooleanOptions.svg +26 -0
- package/components/loader/stories/img/LoaderInteractions.svg +36 -0
- package/components/loader/stories/img/LoaderKeyboardInteractions.svg +26 -0
- package/components/loader/stories/img/LoaderLayout.svg +56 -0
- package/components/loader/stories/img/LoaderPosition.svg +36 -0
- package/components/loader/stories/img/LoaderSafezone.svg +36 -0
- package/components/loader/stories/img/LoaderStructure.svg +21 -0
- package/components/loader/stories/img/LoaderTableOfOptions.svg +134 -0
- package/components/loader/stories/img/LoaderTaille.svg +46 -0
- package/components/loader/stories/img/LoaderTextOptions.svg +26 -0
- package/components/modal/modal.interface.d.ts +10 -0
- package/components/popover/popover.constants.ts +2 -0
- package/components/popover/popover.interface.d.ts +16 -0
- package/components/radio-button/radio-button.constants.ts +1 -0
- package/components/radio-button/radio-button.interface.d.ts +8 -0
- package/components/radio-button-group/radio-button-group.interface.d.ts +14 -0
- package/components/required-indicator/required-indicator.constant.ts +7 -0
- package/components/required-indicator/required-indicator.interface.ts +6 -0
- package/components/searchbar/docs/AccessibilityTable.tsx +119 -0
- package/components/searchbar/docs/Behaviors.tsx +130 -0
- package/components/searchbar/docs/Options.tsx +127 -0
- package/components/searchbar/docs/Searchbar.mdx +124 -0
- package/components/searchbar/docs/Usage.tsx +37 -0
- package/components/searchbar/docs/assets/doNot.svg +212 -0
- package/components/searchbar/searchbar.constants.ts +18 -0
- package/components/searchbar/searchbar.interface.d.ts +11 -0
- package/components/segmented-control/segmented-control-utils.ts +77 -0
- package/components/segmented-control/segmented-control.interface.d.ts +21 -0
- package/components/segmented-control/stories/img/SegControlAccessibility.png +0 -0
- package/components/segmented-control/stories/img/SegControlAnimations.svg +11 -0
- package/components/segmented-control/stories/img/SegControlAutreHTMLNatif.svg +36 -0
- package/components/segmented-control/stories/img/SegControlBooleanOptions.svg +26 -0
- package/components/segmented-control/stories/img/SegControlContent.svg +34 -0
- package/components/segmented-control/stories/img/SegControlDoDont.svg +141 -0
- package/components/segmented-control/stories/img/SegControlFocus.svg +20 -0
- package/components/segmented-control/stories/img/SegControlIconOptions.svg +42 -0
- package/components/segmented-control/stories/img/SegControlInteractionState.svg +40 -0
- package/components/segmented-control/stories/img/SegControlKeyboardInteractions.svg +56 -0
- package/components/segmented-control/stories/img/SegControlLayout.svg +36 -0
- package/components/segmented-control/stories/img/SegControlNestedProperties.svg +154 -0
- package/components/segmented-control/stories/img/SegControlSegments.svg +33 -0
- package/components/segmented-control/stories/img/SegControlStructure.svg +27 -0
- package/components/segmented-control/stories/img/SegControlTableOfOptions.svg +54 -0
- package/components/segmented-control/stories/img/SegControlTextOptions.svg +26 -0
- package/components/select/docs/AccessibilityTable.tsx +121 -0
- package/components/select/docs/Behaviors.tsx +155 -0
- package/components/select/docs/Options.scss +26 -0
- package/components/select/docs/Options.tsx +148 -0
- package/components/select/docs/OverviewOptions.scss +14 -0
- package/components/select/docs/OverviewOptions.tsx +67 -0
- package/components/select/docs/Select.mdx +132 -0
- package/components/select/docs/Usage.scss +7 -0
- package/components/select/docs/Usage.tsx +39 -0
- package/components/select/docs/assets/doNot.svg +394 -0
- package/components/select/select.constants.ts +3 -0
- package/components/select/select.interface.d.ts +8 -0
- package/components/side-nav/nav-item/nav-item.interface.d.ts +20 -0
- package/components/side-nav/nav-item/nav-item.utils.ts +8 -0
- package/components/side-nav/nav-menu/nav-menu.interface.d.ts +7 -0
- package/components/side-nav/side-nav.constants.ts +16 -0
- package/components/side-nav/side-nav.interface.d.ts +34 -0
- package/components/split-button/split-button.constants.ts +13 -0
- package/components/split-button/split-button.interface.d.ts +31 -0
- package/components/switch/stories/img/SwitchAccessibility.png +0 -0
- package/components/switch/stories/img/SwitchAnimations.svg +20 -0
- package/components/switch/stories/img/SwitchAppearance.svg +34 -0
- package/components/switch/stories/img/SwitchAutonomousLabel.svg +27 -0
- package/components/switch/stories/img/SwitchAutreContextuel.svg +36 -0
- package/components/switch/stories/img/SwitchBooleanOptions.svg +46 -0
- package/components/switch/stories/img/SwitchDistinctCheckbox.svg +41 -0
- package/components/switch/stories/img/SwitchFocus.svg +46 -0
- package/components/switch/stories/img/SwitchInteractionState.svg +60 -0
- package/components/switch/stories/img/SwitchKeyboardInteractions.svg +46 -0
- package/components/switch/stories/img/SwitchLayout.svg +46 -0
- package/components/switch/stories/img/SwitchStructure.svg +22 -0
- package/components/switch/stories/img/SwitchTableOfOptions.svg +165 -0
- package/components/switch/stories/img/SwitchTextOptions.svg +34 -0
- package/components/switch/switch.constants.ts +2 -0
- package/components/switch/switch.interface.d.ts +10 -0
- package/components/tab/tab.interface.d.ts +31 -0
- package/components/tab/tab.utils.ts +60 -0
- package/components/tag/stories/img/TagAccessibility.png +0 -0
- package/components/tag/stories/img/TagLayout.svg +86 -0
- package/components/tag/stories/img/TagStatus.svg +52 -0
- package/components/tag/stories/img/TagStructure.svg +19 -0
- package/components/tag/stories/img/TagTableOfOptions.svg +178 -0
- package/components/tag/stories/img/TagTaille.svg +36 -0
- package/components/tag/stories/img/TagTypes.svg +38 -0
- package/components/tag/tag.interface.d.ts +34 -0
- package/components/text-input/stories/img/TextInputAccessibility.png +0 -0
- package/components/text-input/stories/img/TextInputBooleanOptions.svg +76 -0
- package/components/text-input/stories/img/TextInputDoDont.svg +100 -0
- package/components/text-input/stories/img/TextInputKeyboardInteractions.svg +46 -0
- package/components/text-input/stories/img/TextInputLabelPosition.svg +40 -0
- package/components/text-input/stories/img/TextInputLayout.svg +46 -0
- package/components/text-input/stories/img/TextInputPosition.svg +80 -0
- package/components/text-input/stories/img/TextInputPrecisions.png +0 -0
- package/components/text-input/stories/img/TextInputRequiredIndicator.svg +44 -0
- package/components/text-input/stories/img/TextInputStructure.svg +33 -0
- package/components/text-input/stories/img/TextInputTableOfOptions.svg +346 -0
- package/components/text-input/stories/img/TextInputTextOptions.svg +63 -0
- package/components/text-input/text-input.interface.d.ts +28 -0
- package/components/textarea/stories/img/TextAreaAccessibility.png +0 -0
- package/components/textarea/stories/img/TextAreaBooleanOption.svg +70 -0
- package/components/textarea/stories/img/TextAreaDoDont.svg +119 -0
- package/components/textarea/stories/img/TextAreaKeyboardInteractions.svg +46 -0
- package/components/textarea/stories/img/TextAreaLabelPosition.svg +40 -0
- package/components/textarea/stories/img/TextAreaLayout.svg +57 -0
- package/components/textarea/stories/img/TextAreaPosition.svg +80 -0
- package/components/textarea/stories/img/TextAreaPrecisions.png +0 -0
- package/components/textarea/stories/img/TextAreaRequiredIndicator.svg +44 -0
- package/components/textarea/stories/img/TextAreaStructure.svg +39 -0
- package/components/textarea/stories/img/TextAreaTableOfOptions.svg +286 -0
- package/components/textarea/stories/img/TextAreaTextOptions.svg +69 -0
- package/components/textarea/textarea.constants.ts +1 -0
- package/components/textarea/textarea.interface.d.ts +20 -0
- package/components/toast/toast.constants.ts +9 -0
- package/components/toast/toast.interface.d.ts +21 -0
- package/components/toast/toast.utils.ts +33 -0
- package/components/tooltip/tooltip.constants.ts +4 -0
- package/components/tooltip/tooltip.interface.d.ts +7 -0
- package/components/tooltip/tooltip.utils.ts +5 -0
- package/components/utils/auto-placement.ts +220 -0
- package/constants/dom/dom.constants.ts +13 -0
- package/constants/keyboard/keyboard-test.constants.ts +21 -0
- package/constants/keyboard/keyboard.constants.ts +10 -0
- package/css/bleu_iceberg.css +1 -0
- package/css/rte-fonts.css +1 -0
- package/css/rte-themes.css +1 -0
- package/css/vert_foret.css +1 -0
- package/css/violet.css +1 -0
- package/css-font-generator.ts +51 -0
- package/design-tokens/abstract/_index.scss +1 -0
- package/design-tokens/abstract/mixins/_index.scss +3 -0
- package/design-tokens/abstract/mixins/_shadow.scss +3 -0
- package/design-tokens/abstract/mixins/_theme.scss +21 -0
- package/design-tokens/abstract/mixins/_typography.scss +335 -0
- package/design-tokens/fonts.scss +31 -0
- package/design-tokens/main-internal.scss +2 -0
- package/design-tokens/main.scss +2 -0
- package/design-tokens/primitives/_colors.scss +254 -0
- package/design-tokens/primitives/_devColors.scss +12 -0
- package/design-tokens/primitives/_index.scss +2 -0
- package/design-tokens/primitives/_typography.scss +37 -0
- package/design-tokens/scripts/sourceFiles/primitives.json +2075 -0
- package/design-tokens/scripts/sourceFiles/tokens.json +9642 -0
- package/design-tokens/tokens/_index.scss +1 -0
- package/design-tokens/tokens/private/_gradient.scss +54 -0
- package/design-tokens/tokens/private/_index.scss +4 -0
- package/design-tokens/tokens/private/_shadows.scss +38 -0
- package/design-tokens/tokens/private/_size.scss +7 -0
- package/design-tokens/tokens/private/_zindex.scss +5 -0
- package/design-tokens/tokens/public/_border.scss +15 -0
- package/design-tokens/tokens/public/_elevation.scss +154 -0
- package/design-tokens/tokens/public/_index.scss +6 -0
- package/design-tokens/tokens/public/_layout.scss +16 -0
- package/design-tokens/tokens/public/_opacity.scss +14 -0
- package/design-tokens/tokens/public/_spacing.scss +25 -0
- package/design-tokens/tokens/public/_typography.scss +119 -0
- package/design-tokens/tokens/public/themes/_index.scss +22 -0
- package/design-tokens/tokens/public/themes/base/_bleu-iceberg-dark.scss +171 -0
- package/design-tokens/tokens/public/themes/base/_bleu-iceberg-light.scss +171 -0
- package/design-tokens/tokens/public/themes/base/_index.scss +6 -0
- package/design-tokens/tokens/public/themes/base/_vert-foret-dark.scss +171 -0
- package/design-tokens/tokens/public/themes/base/_vert-foret-light.scss +171 -0
- package/design-tokens/tokens/public/themes/base/_violet-dark.scss +171 -0
- package/design-tokens/tokens/public/themes/base/_violet-light.scss +171 -0
- package/eslint.config.js +1 -0
- package/package.json +31 -0
- package/scripts/design-tokens/common.ts +35 -0
- package/scripts/design-tokens/generator.ts +24 -0
- package/scripts/design-tokens/primitives-generator.spec.ts +84 -0
- package/scripts/design-tokens/primitives-generator.ts +66 -0
- package/scripts/design-tokens/sourceFiles/primitives.json +2075 -0
- package/scripts/design-tokens/sourceFiles/tokens.json +10561 -0
- package/scripts/design-tokens/tokens-generator.spec.ts +184 -0
- package/scripts/design-tokens/tokens-generator.ts +155 -0
- package/scripts/design-tokens/tokens-generators/colors.ts +142 -0
- package/scripts/design-tokens/tokens-generators/layout.ts +22 -0
- package/scripts/design-tokens/tokens-generators/opacity.ts +14 -0
- package/scripts/design-tokens/tokens-generators/shadows.ts +18 -0
- package/scripts/design-tokens/tokens-generators/typography.ts +58 -0
- package/scripts/design-tokens/tokens-generators/zIndex.ts +18 -0
- package/tsconfig.json +12 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const TEXTAREA_ICON_SIZE = 16;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export type TextareaLabelPosition = "top" | "side";
|
|
2
|
+
export type TextareaAssistiveTextAppearance = "description" | "error" | "success" | "link";
|
|
3
|
+
export type TextareaRequirementIndicator = "required" | "requiredIcon" | "optional";
|
|
4
|
+
|
|
5
|
+
export interface TextareaProps {
|
|
6
|
+
label?: string;
|
|
7
|
+
labelId?: string;
|
|
8
|
+
labelPosition?: TextareaLabelPosition;
|
|
9
|
+
required?: boolean;
|
|
10
|
+
showLabelRequirement?: boolean;
|
|
11
|
+
resizeable?: boolean;
|
|
12
|
+
showCounter?: boolean;
|
|
13
|
+
value?: string;
|
|
14
|
+
defaultValue?: string;
|
|
15
|
+
assistiveTextLabel?: string;
|
|
16
|
+
assistiveTextAppearance?: TextareaAssistiveTextAppearance;
|
|
17
|
+
assistiveTextLink?: string;
|
|
18
|
+
showHandleIcon?: boolean;
|
|
19
|
+
showScrollBar?: boolean;
|
|
20
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export type ToastType = "info" | "success" | "warning" | "error" | "neutral";
|
|
2
|
+
|
|
3
|
+
export type ToastDuration = "short" | "medium" | "long";
|
|
4
|
+
|
|
5
|
+
export type ToastPlacement = "top-right" | "top-left" | "bottom-right" | "bottom-left" | "bottom-center";
|
|
6
|
+
|
|
7
|
+
export interface ToastProps {
|
|
8
|
+
message: string;
|
|
9
|
+
isOpen?: boolean;
|
|
10
|
+
type?: ToastType;
|
|
11
|
+
duration?: ToastDuration;
|
|
12
|
+
onClose?: () => void;
|
|
13
|
+
placement?: ToastPlacement;
|
|
14
|
+
closable?: boolean;
|
|
15
|
+
autoDismiss?: boolean;
|
|
16
|
+
iconName?: string;
|
|
17
|
+
showLeftIcon?: boolean;
|
|
18
|
+
showActionButton?: boolean;
|
|
19
|
+
actionButtonLabel?: string;
|
|
20
|
+
onActionButtonClick?: () => void;
|
|
21
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export const getToastPriority = (toast: {
|
|
2
|
+
hasActionButton: boolean;
|
|
3
|
+
type: "info" | "success" | "warning" | "error" | "neutral";
|
|
4
|
+
}) => {
|
|
5
|
+
const { hasActionButton: hasButtonAction, type } = toast;
|
|
6
|
+
if (hasButtonAction) {
|
|
7
|
+
switch (type) {
|
|
8
|
+
case "error":
|
|
9
|
+
return 1;
|
|
10
|
+
case "warning":
|
|
11
|
+
return 3;
|
|
12
|
+
case "success":
|
|
13
|
+
return 5;
|
|
14
|
+
case "info":
|
|
15
|
+
return 6;
|
|
16
|
+
default:
|
|
17
|
+
return 7;
|
|
18
|
+
}
|
|
19
|
+
} else {
|
|
20
|
+
switch (type) {
|
|
21
|
+
case "error":
|
|
22
|
+
return 2;
|
|
23
|
+
case "warning":
|
|
24
|
+
return 4;
|
|
25
|
+
case "success":
|
|
26
|
+
return 8;
|
|
27
|
+
case "info":
|
|
28
|
+
return 9;
|
|
29
|
+
default:
|
|
30
|
+
return 10;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
};
|
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
import { Alignment, Position } from "../common/common-types";
|
|
2
|
+
|
|
3
|
+
export const getAutoPlacement = (
|
|
4
|
+
hostElement: HTMLElement,
|
|
5
|
+
castedElement: Element,
|
|
6
|
+
defaultPosition: Exclude<Position, "auto">,
|
|
7
|
+
offset: number = 0,
|
|
8
|
+
hasParent: boolean = false,
|
|
9
|
+
): Exclude<Position, "auto"> => {
|
|
10
|
+
let sides: Record<Exclude<Position, "auto">, boolean>;
|
|
11
|
+
const triggerRect = hostElement.getBoundingClientRect();
|
|
12
|
+
if (hasParent) {
|
|
13
|
+
const triggerParent = hostElement.parentElement;
|
|
14
|
+
if (!triggerParent) {
|
|
15
|
+
return defaultPosition;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
const maxWidth = parseInt(getComputedStyle(castedElement).getPropertyValue("max-width"));
|
|
19
|
+
const maxHeight = parseInt(getComputedStyle(castedElement).getPropertyValue("max-height"));
|
|
20
|
+
const parentRect = triggerParent.getBoundingClientRect();
|
|
21
|
+
sides = {
|
|
22
|
+
top: triggerRect.top - parentRect.top > maxHeight + offset,
|
|
23
|
+
right: parentRect.right - triggerRect.right > maxWidth + offset,
|
|
24
|
+
bottom: parentRect.bottom - triggerRect.bottom >= maxHeight + offset,
|
|
25
|
+
left: triggerRect.left - parentRect.left > maxWidth + offset,
|
|
26
|
+
} as const;
|
|
27
|
+
} else {
|
|
28
|
+
const elementRect = castedElement.getBoundingClientRect();
|
|
29
|
+
sides = {
|
|
30
|
+
top: elementRect.height + offset < triggerRect.top,
|
|
31
|
+
right: elementRect.width + offset < window.innerWidth - triggerRect.right,
|
|
32
|
+
bottom: elementRect.height + offset < window.innerHeight - triggerRect.bottom,
|
|
33
|
+
left: elementRect.width + offset < triggerRect.left,
|
|
34
|
+
} as const;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
if (sides.top) return "top";
|
|
38
|
+
if (sides.bottom) return "bottom";
|
|
39
|
+
if (sides.left) return "left";
|
|
40
|
+
if (sides.right) return "right";
|
|
41
|
+
|
|
42
|
+
return defaultPosition;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
export const getAutoPlacementDropdown = (
|
|
46
|
+
hostElement: HTMLElement,
|
|
47
|
+
castedElement: Element,
|
|
48
|
+
defaultPosition: Exclude<Position, "auto">,
|
|
49
|
+
offset: number = 0,
|
|
50
|
+
hasDropdownParent: boolean = false,
|
|
51
|
+
): Exclude<Position, "auto"> => {
|
|
52
|
+
const triggerRect = hostElement.getBoundingClientRect();
|
|
53
|
+
const elementRect = castedElement.getBoundingClientRect();
|
|
54
|
+
const sides = {
|
|
55
|
+
top: elementRect.height + offset < triggerRect.top,
|
|
56
|
+
right: elementRect.width + offset < window.innerWidth - triggerRect.right,
|
|
57
|
+
bottom: elementRect.height + offset < window.innerHeight - triggerRect.bottom,
|
|
58
|
+
left: elementRect.width + offset < triggerRect.left,
|
|
59
|
+
} as const;
|
|
60
|
+
|
|
61
|
+
if (hasDropdownParent) {
|
|
62
|
+
return getAutoPlacementDropdownWithParent(sides, defaultPosition);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
return getAutoPlacementDropdownWithoutParent(sides, defaultPosition);
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
const getAutoPlacementDropdownWithParent = (
|
|
69
|
+
sides: Record<Exclude<Position, "auto">, boolean>,
|
|
70
|
+
defaultPosition: Exclude<Position, "auto">,
|
|
71
|
+
) => {
|
|
72
|
+
if (sides.right) return "right";
|
|
73
|
+
if (sides.left) return "left";
|
|
74
|
+
if (sides.bottom) return "bottom";
|
|
75
|
+
if (sides.top) return "top";
|
|
76
|
+
|
|
77
|
+
return defaultPosition;
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
const getAutoPlacementDropdownWithoutParent = (
|
|
81
|
+
sides: Record<Exclude<Position, "auto">, boolean>,
|
|
82
|
+
defaultPosition: Exclude<Position, "auto">,
|
|
83
|
+
) => {
|
|
84
|
+
if (sides.bottom) return "bottom";
|
|
85
|
+
if (sides.right) return "right";
|
|
86
|
+
if (sides.left) return "left";
|
|
87
|
+
if (sides.top) return "top";
|
|
88
|
+
|
|
89
|
+
return defaultPosition;
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
export const getAutoAlignment = (
|
|
93
|
+
hostElement: HTMLElement,
|
|
94
|
+
castedElement: Element,
|
|
95
|
+
position: Exclude<Position, "auto">,
|
|
96
|
+
) => {
|
|
97
|
+
const defaultPosition = "center";
|
|
98
|
+
const triggerParent = hostElement.parentElement;
|
|
99
|
+
if (!triggerParent) {
|
|
100
|
+
return defaultPosition;
|
|
101
|
+
}
|
|
102
|
+
const triggerRect = hostElement.getBoundingClientRect();
|
|
103
|
+
const castedRect = castedElement.getBoundingClientRect();
|
|
104
|
+
|
|
105
|
+
const alignments = {
|
|
106
|
+
end:
|
|
107
|
+
position === "top" || position === "bottom"
|
|
108
|
+
? triggerRect.right >= castedRect.width
|
|
109
|
+
: window.innerHeight - triggerRect.bottom >= castedRect.height,
|
|
110
|
+
start:
|
|
111
|
+
position === "top" || position === "bottom"
|
|
112
|
+
? window.innerWidth - triggerRect.left >= castedRect.width
|
|
113
|
+
: window.innerHeight - triggerRect.top >= castedRect.height,
|
|
114
|
+
} as const;
|
|
115
|
+
if (alignments.start) return "start";
|
|
116
|
+
if (alignments.end) return "end";
|
|
117
|
+
return defaultPosition;
|
|
118
|
+
};
|
|
119
|
+
|
|
120
|
+
export const getCoordinates = (
|
|
121
|
+
position: Exclude<Position, "auto">,
|
|
122
|
+
triggerElement: HTMLElement,
|
|
123
|
+
castedElement: HTMLElement,
|
|
124
|
+
offset: number = 0,
|
|
125
|
+
alignment: Alignment = "center",
|
|
126
|
+
) => {
|
|
127
|
+
const triggerElementRect = triggerElement.getBoundingClientRect();
|
|
128
|
+
const castedElementRect = castedElement.getBoundingClientRect();
|
|
129
|
+
|
|
130
|
+
if (position === "bottom") {
|
|
131
|
+
return handleBottomPosition(triggerElementRect, castedElementRect, offset, alignment);
|
|
132
|
+
} else if (position === "left") {
|
|
133
|
+
return handleLeftPosition(triggerElementRect, castedElementRect, offset, alignment);
|
|
134
|
+
} else if (position === "right") {
|
|
135
|
+
return handleRightPosition(triggerElementRect, castedElementRect, offset, alignment);
|
|
136
|
+
} else {
|
|
137
|
+
return handleTopPosition(triggerElementRect, castedElementRect, offset, alignment);
|
|
138
|
+
}
|
|
139
|
+
};
|
|
140
|
+
|
|
141
|
+
const handleBottomPosition = (
|
|
142
|
+
triggerElementRect: DOMRect,
|
|
143
|
+
castedElementRect: DOMRect,
|
|
144
|
+
offset: number,
|
|
145
|
+
alignment: Alignment,
|
|
146
|
+
) => {
|
|
147
|
+
const top = triggerElementRect.bottom + offset + window.scrollY;
|
|
148
|
+
let left = 0;
|
|
149
|
+
|
|
150
|
+
if (alignment === "start") {
|
|
151
|
+
left = triggerElementRect.left + window.scrollX;
|
|
152
|
+
} else if (alignment === "end") {
|
|
153
|
+
left = triggerElementRect.right - castedElementRect.width + window.scrollX;
|
|
154
|
+
} else {
|
|
155
|
+
left = triggerElementRect.left + triggerElementRect.width / 2 - castedElementRect.width / 2 + window.scrollX;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
return { top, left };
|
|
159
|
+
};
|
|
160
|
+
|
|
161
|
+
const handleLeftPosition = (
|
|
162
|
+
triggerElementRect: DOMRect,
|
|
163
|
+
castedElementRect: DOMRect,
|
|
164
|
+
offset: number,
|
|
165
|
+
alignment: Alignment,
|
|
166
|
+
) => {
|
|
167
|
+
const left = triggerElementRect.left - castedElementRect.width - offset + window.scrollX;
|
|
168
|
+
let top = 0;
|
|
169
|
+
|
|
170
|
+
if (alignment === "start") {
|
|
171
|
+
top = triggerElementRect.top + window.scrollY;
|
|
172
|
+
} else if (alignment === "end") {
|
|
173
|
+
top = triggerElementRect.bottom - castedElementRect.height + window.scrollY;
|
|
174
|
+
} else {
|
|
175
|
+
top = triggerElementRect.top + triggerElementRect.height / 2 - castedElementRect.height / 2 + window.scrollY;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
return { top, left };
|
|
179
|
+
};
|
|
180
|
+
|
|
181
|
+
const handleRightPosition = (
|
|
182
|
+
triggerElementRect: DOMRect,
|
|
183
|
+
castedElementRect: DOMRect,
|
|
184
|
+
offset: number,
|
|
185
|
+
alignment: Alignment,
|
|
186
|
+
) => {
|
|
187
|
+
const left = triggerElementRect.right + offset + window.scrollX;
|
|
188
|
+
let top = 0;
|
|
189
|
+
|
|
190
|
+
if (alignment === "start") {
|
|
191
|
+
top = triggerElementRect.top + window.scrollY;
|
|
192
|
+
} else if (alignment === "end") {
|
|
193
|
+
top = triggerElementRect.bottom - castedElementRect.height + window.scrollY;
|
|
194
|
+
} else {
|
|
195
|
+
top = triggerElementRect.top + triggerElementRect.height / 2 - castedElementRect.height / 2 + window.scrollY;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
return { top, left };
|
|
199
|
+
};
|
|
200
|
+
|
|
201
|
+
const handleTopPosition = (
|
|
202
|
+
triggerElementRect: DOMRect,
|
|
203
|
+
castedElementRect: DOMRect,
|
|
204
|
+
offset: number,
|
|
205
|
+
alignment: Alignment,
|
|
206
|
+
) => {
|
|
207
|
+
const top = triggerElementRect.top - castedElementRect.height - offset + window.scrollY;
|
|
208
|
+
|
|
209
|
+
let left = 0;
|
|
210
|
+
|
|
211
|
+
if (alignment === "start") {
|
|
212
|
+
left = triggerElementRect.left + window.scrollX;
|
|
213
|
+
} else if (alignment === "end") {
|
|
214
|
+
left = triggerElementRect.right - castedElementRect.width + window.scrollX;
|
|
215
|
+
} else {
|
|
216
|
+
left = triggerElementRect.left + triggerElementRect.width / 2 - castedElementRect.width / 2 + window.scrollX;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
return { top, left };
|
|
220
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export const FOCUSABLE_ELEMENTS = [
|
|
2
|
+
"button",
|
|
3
|
+
"a[href]",
|
|
4
|
+
"input",
|
|
5
|
+
"select",
|
|
6
|
+
"textarea",
|
|
7
|
+
"details",
|
|
8
|
+
'[tabindex]:not([tabindex="-1"])',
|
|
9
|
+
];
|
|
10
|
+
|
|
11
|
+
export const FOCUSABLE_ELEMENTS_QUERY = FOCUSABLE_ELEMENTS.map(
|
|
12
|
+
(element) => element + ":not([disabled]):not([aria-hidden])",
|
|
13
|
+
).join(",");
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import {
|
|
2
|
+
SPACE_KEY,
|
|
3
|
+
ENTER_KEY,
|
|
4
|
+
BACKSPACE_KEY,
|
|
5
|
+
DELETE_KEY,
|
|
6
|
+
ARROW_RIGHT_KEY,
|
|
7
|
+
ARROW_LEFT_KEY,
|
|
8
|
+
ESCAPE_KEY,
|
|
9
|
+
ARROW_UP_KEY,
|
|
10
|
+
ARROW_DOWN_KEY,
|
|
11
|
+
} from "./keyboard.constants";
|
|
12
|
+
|
|
13
|
+
export const TESTING_SPACE_KEY = `{${SPACE_KEY}}`;
|
|
14
|
+
export const TESTING_ENTER_KEY = `{${ENTER_KEY}}`;
|
|
15
|
+
export const TESTING_ESCAPE_KEY = `{${ESCAPE_KEY}}`;
|
|
16
|
+
export const TESTING_UP_KEY = `{${ARROW_UP_KEY}}`;
|
|
17
|
+
export const TESTING_DOWN_KEY = `{${ARROW_DOWN_KEY}}`;
|
|
18
|
+
export const TESTING_BACKSPACE_KEY = `{${BACKSPACE_KEY}}`;
|
|
19
|
+
export const TESTING_DELETE_KEY = `{${DELETE_KEY}}`;
|
|
20
|
+
export const TESTING_ARROW_RIGHT_KEY = `{${ARROW_RIGHT_KEY}}`;
|
|
21
|
+
export const TESTING_ARROW_LEFT_KEY = `{${ARROW_LEFT_KEY}}`;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export const SPACE_KEY = " ";
|
|
2
|
+
export const ENTER_KEY = "Enter";
|
|
3
|
+
export const TAB_KEY = "Tab";
|
|
4
|
+
export const BACKSPACE_KEY = "Backspace";
|
|
5
|
+
export const DELETE_KEY = "Delete";
|
|
6
|
+
export const ARROW_LEFT_KEY = "ArrowLeft";
|
|
7
|
+
export const ARROW_RIGHT_KEY = "ArrowRight";
|
|
8
|
+
export const ARROW_UP_KEY = "ArrowUp";
|
|
9
|
+
export const ARROW_DOWN_KEY = "ArrowDown";
|
|
10
|
+
export const ESCAPE_KEY = "Escape";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
:root [data-theme=bleu_iceberg][data-mode=light]{--background-default: #ffffff;--background-hover: #ebebea;--background-neutral-regular-default: #e1e1e0;--background-neutral-regular-hover: #c2c1c0;--background-neutral-bold-default: #737272;--background-neutral-bold-hover: #4c4c4b;--background-neutral-navigation-default: #ebebea;--background-neutral-navigation-hover: #e1e1e0;--background-disabled: #f4f5f4;--background-inverse: #201f1f;--background-brand-default: #2964a0;--background-brand-hover: #225082;--background-brand-pressed: #214770;--background-brand-selected-default: #2964a0;--background-brand-selected-hover: #225082;--background-brand-unselected-default: #e6eef8;--background-brand-unselected-hover: #c7dbf0;--background-brand-inverse-default: #ffffff;--background-brand-inverse-hover: #f3f6fc;--background-brand-inverse-pressed: #e6eef8;--background-brand-navigation-default: #15253c;--background-brand-navigation-hover: #1f3b5b;--background-brand-navigation-pressed: #225082;--background-danger-default: #de2048;--background-danger-hover: #c81640;--background-danger-pressed: #9d1439;--background-info-default: #1465fc;--background-warning-default: #ffe500;--background-success-default: #0b8a4d;--border-primary: #737272;--border-secondary: #a1a1a0;--border-tertiary: #cdcccb;--border-divider: #cdcccb;--border-disabled: #cdcccb;--border-inverse: #ffffff;--border-brand-default: #2964a0;--border-brand-focused: #1f3b5b;--border-brand-navigation-active: #225082;--border-brand-navigation-divider: #214770;--border-danger: #de2048;--border-info: #1465fc;--border-warning: #f4922b;--border-success: #0b8a4d;--content-primary: #201f1f;--content-secondary: #3e3e3d;--content-tertiary: #737272;--content-primary-inverse: #ffffff;--content-disabled: #cdcccb;--content-brand-default: #2964a0;--content-brand-hover: #225082;--content-brand-pressed: #214770;--content-brand-navigation-default: #e6eef8;--content-brand-navigation-hover: #f3f6fc;--content-brand-navigation-disabled: #225082;--content-link-default: #2b86ff;--content-link-hover: #1465fc;--content-link-pressed: #0d4fea;--content-link-visited-default: #7d5a9f;--content-link-visited-hover: #674883;--content-link-visited-pressed: #563c6c;--content-danger-default: #de2048;--content-danger-hover: #c81640;--content-danger-inverse: #ffffff;--content-success-default: #0b8a4d;--content-success-hover: #0e6d40;--content-info-default: #1465fc;--content-info-hover: #0d4fea;--content-decorative: #201f1f;--brand-navigation-divider: #214770;--brand-navigation-divider-2: #214770;--brand-navigation-divider-3: #214770;--brand-navigation-divider-4: #214770;--chart-brand: #397ebe;--chart-neutral: #acacab;--chart-category-1: #397ebe;--chart-category-2: #ff2c74;--chart-category-3: #7d5a9f;--chart-category-4: #4dba97;--chart-category-5: #233857;--chart-category-6: #ed6e13;--chart-category-7: #73636c;--chart-category-8: #639cad;--chart-bleu-iceberg: #e6eef8;--chart-bleu-iceberg-bold: #397ebe;--chart-vert-foret: #d7f4e6;--chart-vert-foret-bold: #4dba97;--chart-violet: #d2c3e4;--chart-violet-bold: #7d5a9f;--chart-bleu-rte: #e0f5fe;--chart-bleu-rte-bold: #00a6d9;--chart-bleu-digital: #d8ebff;--chart-bleu-digital-bold: #2b86ff;--chart-marine: #e7edf7;--chart-marine-bold: #2f5d9a;--chart-bleu-petrole: #deecef;--chart-bleu-petrole-bold: #478093;--chart-bleu-cyan: #d1f9fc;--chart-bleu-cyan-bold: #0fb3cb;--chart-vert: #c7fff4;--chart-vert-bold: #04c8b1;--chart-vert-indications: #e6f2a4;--chart-vert-indications-bold: #bed942;--chart-vert-digital: #d9ffec;--chart-vert-digital-bold: #3cec96;--chart-jaune: #faffc1;--chart-jaune-bold: #ffe500;--chart-jaune-ocre: #faefc7;--chart-jaune-ocre-bold: #ebb53d;--chart-jaune-indications: #fce7c9;--chart-jaune-indications-bold: #f4922b;--chart-saumon: #fde8e3;--chart-saumon-bold: #ec775c;--chart-rose-digital: #ffccd1;--chart-rose-digital-bold: #f93a58;--chart-fuschia: #ffe1e9;--chart-fuschia-bold: #ff2c74;--chart-rouge-indications: #fdced4;--chart-rouge-indications-bold: #f14662;--chart-greyscale: #ebebea;--chart-greyscale-bold: #7f7e7e;--chart-taupe: #e7e3e6;--chart-taupe-bold: #8a7883;--decorative-neutral: #ebebea;--decorative-bleu-iceberg: #c7dbf0;--decorative-vert-foret: #d7f4e6;--decorative-violet: #e6def0;--decorative-bleu-rte: #b9edfe;--decorative-bleu-digital: #baddff;--decorative-marine: #e7edf7;--decorative-bleu-petrole: #c1dae0;--decorative-bleu-cyan: #a9f2f8;--decorative-vert: #90ffe8;--decorative-vert-indications: #e6f2a4;--decorative-vert-digital: #b5fdd9;--decorative-jaune: #faffc1;--decorative-jaune-ocre: #f5de93;--decorative-jaune-indications: #f9ce8e;--decorative-saumon: #f9b7a8;--decorative-rose-digital: #ffccd1;--decorative-fuschia: #ffc8d8;--decorative-rouge-indication: #ffe4e6;--decorative-taupe: #e7e3e6;--elevation-surface-inner-shadow: rgba(0, 0, 0, 0);--elevation-surface-shadow-1: rgba(255, 255, 255, 0);--elevation-surface-shadow-2: rgba(255, 255, 255, 0);--elevation-surface-shadow-3: rgba(255, 255, 255, 0);--elevation-surface-shadow-4: rgba(255, 255, 255, 0);--elevation-surface-shadow-5: rgba(255, 255, 255, 0);--elevation-surface-shadow-6: rgba(255, 255, 255, 0);--elevation-shadow-ambient: rgba(0, 0, 0, 0.12);--elevation-shadow-ambient-darker: rgba(0, 0, 0, 0.2);--elevation-shadow-ambient-brand: rgba(0, 0, 0, 0.25);--elevation-shadow-key: rgba(0, 0, 0, 0.14);--elevation-shadow-key-darker: rgba(0, 0, 0, 0.24);--elevation-shadow-key-brand: rgba(0, 0, 0, 0.31);--brand-navigation-divider-5: #214770;--brand-navigation-divider-6: #214770;--brand-navigation-divider-7: #214770;--background-brand-hover-opacity-20: rgba(34, 80, 130, 0.2);--background-danger-hover-opacity-20: rgba(200, 22, 64, 0.2);--background-hover-opacity-50: rgba(235, 235, 234, 0.5)}:root [data-theme=bleu_iceberg][data-mode=dark]{--background-default: #201f1f;--background-hover: #3e3e3d;--background-neutral-regular-default: #595958;--background-neutral-regular-hover: #7f7e7e;--background-neutral-bold-default: #cdcccb;--background-neutral-bold-hover: #ebebea;--background-neutral-navigation-default: #ebebea;--background-neutral-navigation-hover: #e1e1e0;--background-disabled: #3e3e3d;--background-inverse: #ffffff;--background-brand-default: #96bde3;--background-brand-hover: #c7dbf0;--background-brand-pressed: #e6eef8;--background-brand-selected-default: #96bde3;--background-brand-selected-hover: #c7dbf0;--background-brand-unselected-default: #225082;--background-brand-unselected-hover: #2964a0;--background-brand-inverse-default: #201f1f;--background-brand-inverse-hover: #225082;--background-brand-inverse-pressed: #2964a0;--background-brand-navigation-default: #15253c;--background-brand-navigation-hover: #1f3b5b;--background-brand-navigation-pressed: #225082;--background-danger-default: #f14662;--background-danger-hover: #f97385;--background-danger-pressed: #fca5af;--background-info-default: #53aaff;--background-warning-default: #ffe500;--background-success-default: #3cec96;--border-primary: #a1a1a0;--border-secondary: #737272;--border-tertiary: #3e3e3d;--border-divider: #a1a1a0;--border-disabled: #595958;--border-inverse: #201f1f;--border-brand-default: #f9fbfd;--border-brand-focused: #f9fbfd;--border-brand-navigation-active: #225082;--border-brand-navigation-divider: #214770;--border-danger: #f14662;--border-info: #53aaff;--border-warning: #f4922b;--border-success: #3cec96;--content-primary: #ffffff;--content-secondary: #e1e1e0;--content-tertiary: #b7b7b6;--content-primary-inverse: #201f1f;--content-disabled: #595958;--content-brand-default: #f9fbfd;--content-brand-hover: #f3f6fc;--content-brand-pressed: #e6eef8;--content-brand-navigation-default: #e6eef8;--content-brand-navigation-hover: #f3f6fc;--content-brand-navigation-disabled: #225082;--content-link-default: #2b86ff;--content-link-hover: #53aaff;--content-link-pressed: #8ac8ff;--content-link-visited-default: #9979bc;--content-link-visited-hover: #b89fd3;--content-link-visited-pressed: #d2c3e4;--content-danger-default: #f14662;--content-danger-hover: #f97385;--content-danger-inverse: #ffffff;--content-success-default: #3cec96;--content-success-hover: #12d577;--content-info-default: #53aaff;--content-info-hover: #2b86ff;--content-decorative: #201f1f;--brand-navigation-divider: #214770;--brand-navigation-divider-2: #214770;--brand-navigation-divider-3: #214770;--brand-navigation-divider-4: #214770;--chart-brand: #397ebe;--chart-neutral: #acacab;--chart-category-1: #397ebe;--chart-category-2: #ff2c74;--chart-category-3: #7d5a9f;--chart-category-4: #2a9f7d;--chart-category-5: #233857;--chart-category-6: #ed6e13;--chart-category-7: #73636c;--chart-category-8: #639cad;--chart-bleu-iceberg: #e6eef8;--chart-bleu-iceberg-bold: #397ebe;--chart-vert-foret: #d7f4e6;--chart-vert-foret-bold: #4dba97;--chart-violet: #d2c3e4;--chart-violet-bold: #7d5a9f;--chart-bleu-rte: #e0f5fe;--chart-bleu-rte-bold: #00a6d9;--chart-bleu-digital: #d8ebff;--chart-bleu-digital-bold: #2b86ff;--chart-marine: #e7edf7;--chart-marine-bold: #3d70ad;--chart-bleu-petrole: #deecef;--chart-bleu-petrole-bold: #478093;--chart-bleu-cyan: #d1f9fc;--chart-bleu-cyan-bold: #0fb3cb;--chart-vert: #c7fff4;--chart-vert-bold: #04c8b1;--chart-vert-indications: #e6f2a4;--chart-vert-indications-bold: #bed942;--chart-vert-digital: #d9ffec;--chart-vert-digital-bold: #3cec96;--chart-jaune: #faffc1;--chart-jaune-bold: #ffe500;--chart-jaune-ocre: #faefc7;--chart-jaune-ocre-bold: #ebb53d;--chart-jaune-indications: #fce7c9;--chart-jaune-indications-bold: #f4922b;--chart-saumon: #fde8e3;--chart-saumon-bold: #ec775c;--chart-rose-digital: #ffccd1;--chart-rose-digital-bold: #f93a58;--chart-fuschia: #ffe1e9;--chart-fuschia-bold: #ff2c74;--chart-rouge-indications: #ffe4e6;--chart-rouge-indications-bold: #f14662;--chart-greyscale: #ebebea;--chart-greyscale-bold: #7f7e7e;--chart-taupe: #e7e3e6;--chart-taupe-bold: #8a7883;--decorative-neutral: #ebebea;--decorative-bleu-iceberg: #c7dbf0;--decorative-vert-foret: #d7f4e6;--decorative-violet: #e6def0;--decorative-bleu-rte: #b9edfe;--decorative-bleu-digital: #baddff;--decorative-marine: #e7edf7;--decorative-bleu-petrole: #c1dae0;--decorative-bleu-cyan: #a9f2f8;--decorative-vert: #90ffe8;--decorative-vert-indications: #e6f2a4;--decorative-vert-digital: #b5fdd9;--decorative-jaune: #faffc1;--decorative-jaune-ocre: #f5de93;--decorative-jaune-indications: #f9ce8e;--decorative-saumon: #f9b7a8;--decorative-rose-digital: #ffccd1;--decorative-fuschia: #ffc8d8;--decorative-rouge-indication: #ffe4e6;--decorative-taupe: #e7e3e6;--elevation-surface-inner-shadow: rgba(0, 0, 0, 0.2);--elevation-surface-shadow-1: rgba(255, 255, 255, 0.03);--elevation-surface-shadow-2: rgba(255, 255, 255, 0.05);--elevation-surface-shadow-3: rgba(255, 255, 255, 0.08);--elevation-surface-shadow-4: rgba(255, 255, 255, 0.1);--elevation-surface-shadow-5: rgba(255, 255, 255, 0.12);--elevation-surface-shadow-6: rgba(255, 255, 255, 0.14);--elevation-shadow-ambient: rgba(0, 0, 0, 0.2);--elevation-shadow-ambient-darker: rgba(0, 0, 0, 0.4);--elevation-shadow-ambient-brand: rgba(0, 0, 0, 0.17);--elevation-shadow-key: rgba(0, 0, 0, 0.28);--elevation-shadow-key-darker: rgba(0, 0, 0, 0.48);--elevation-shadow-key-brand: rgba(0, 0, 0, 0.21);--brand-navigation-divider-5: #214770;--brand-navigation-divider-6: #214770;--brand-navigation-divider-7: #214770;--background-brand-hover-opacity-20: rgba(199, 219, 240, 0.2);--background-danger-hover-opacity-20: rgba(241, 70, 98, 0.2);--background-hover-opacity-50: rgba(62, 62, 61, 0.5)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@font-face{font-display:swap;font-family:"Nunito";font-style:normal;font-weight:300;src:url("@design-system-rte/core/assets/fonts/nunito-light-300.woff2") format("woff2")}@font-face{font-display:swap;font-family:"Nunito";font-style:normal;font-weight:400;src:url("@design-system-rte/core/assets/fonts/nunito-regular-400.woff2") format("woff2")}@font-face{font-display:swap;font-family:"Nunito";font-style:normal;font-weight:600;src:url("@design-system-rte/core/assets/fonts/nunito-semi-bold-600.woff2") format("woff2")}@font-face{font-display:swap;font-family:"Nunito";font-style:normal;font-weight:700;src:url("@design-system-rte/core/assets/fonts/nunito-bold-700.woff2") format("woff2")}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[data-theme=bleu_iceberg][data-mode=light]{--background-default: #ffffff;--background-hover: #ebebea;--background-neutral-regular-default: #e1e1e0;--background-neutral-regular-hover: #c2c1c0;--background-neutral-bold-default: #737272;--background-neutral-bold-hover: #4c4c4b;--background-neutral-navigation-default: #ebebea;--background-neutral-navigation-hover: #e1e1e0;--background-disabled: #f4f5f4;--background-inverse: #201f1f;--background-brand-default: #2964a0;--background-brand-hover: #225082;--background-brand-pressed: #214770;--background-brand-selected-default: #2964a0;--background-brand-selected-hover: #225082;--background-brand-unselected-default: #e6eef8;--background-brand-unselected-hover: #c7dbf0;--background-brand-inverse-default: #ffffff;--background-brand-inverse-hover: #f3f6fc;--background-brand-inverse-pressed: #e6eef8;--background-brand-navigation-default: #15253c;--background-brand-navigation-hover: #1f3b5b;--background-brand-navigation-pressed: #225082;--background-danger-default: #de2048;--background-danger-hover: #c81640;--background-danger-pressed: #9d1439;--background-info-default: #1465fc;--background-warning-default: #ffe500;--background-success-default: #0b8a4d;--border-primary: #737272;--border-secondary: #a1a1a0;--border-tertiary: #cdcccb;--border-divider: #cdcccb;--border-disabled: #cdcccb;--border-inverse: #ffffff;--border-brand-default: #2964a0;--border-brand-focused: #1f3b5b;--border-brand-navigation-active: #225082;--border-brand-navigation-divider: #214770;--border-danger: #de2048;--border-info: #1465fc;--border-warning: #f4922b;--border-success: #0b8a4d;--content-primary: #201f1f;--content-secondary: #3e3e3d;--content-tertiary: #737272;--content-primary-inverse: #ffffff;--content-disabled: #cdcccb;--content-brand-default: #2964a0;--content-brand-hover: #225082;--content-brand-pressed: #214770;--content-brand-navigation-default: #e6eef8;--content-brand-navigation-hover: #f3f6fc;--content-brand-navigation-disabled: #225082;--content-link-default: #2b86ff;--content-link-hover: #1465fc;--content-link-pressed: #0d4fea;--content-link-visited-default: #7d5a9f;--content-link-visited-hover: #674883;--content-link-visited-pressed: #563c6c;--content-danger-default: #de2048;--content-danger-hover: #c81640;--content-danger-inverse: #ffffff;--content-success-default: #0b8a4d;--content-success-hover: #0e6d40;--content-info-default: #1465fc;--content-info-hover: #0d4fea;--content-decorative: #201f1f;--brand-navigation-divider: #214770;--brand-navigation-divider-2: #214770;--brand-navigation-divider-3: #214770;--brand-navigation-divider-4: #214770;--chart-brand: #397ebe;--chart-neutral: #acacab;--chart-category-1: #397ebe;--chart-category-2: #ff2c74;--chart-category-3: #7d5a9f;--chart-category-4: #4dba97;--chart-category-5: #233857;--chart-category-6: #ed6e13;--chart-category-7: #73636c;--chart-category-8: #639cad;--chart-bleu-iceberg: #e6eef8;--chart-bleu-iceberg-bold: #397ebe;--chart-vert-foret: #d7f4e6;--chart-vert-foret-bold: #4dba97;--chart-violet: #d2c3e4;--chart-violet-bold: #7d5a9f;--chart-bleu-rte: #e0f5fe;--chart-bleu-rte-bold: #00a6d9;--chart-bleu-digital: #d8ebff;--chart-bleu-digital-bold: #2b86ff;--chart-marine: #e7edf7;--chart-marine-bold: #2f5d9a;--chart-bleu-petrole: #deecef;--chart-bleu-petrole-bold: #478093;--chart-bleu-cyan: #d1f9fc;--chart-bleu-cyan-bold: #0fb3cb;--chart-vert: #c7fff4;--chart-vert-bold: #04c8b1;--chart-vert-indications: #e6f2a4;--chart-vert-indications-bold: #bed942;--chart-vert-digital: #d9ffec;--chart-vert-digital-bold: #3cec96;--chart-jaune: #faffc1;--chart-jaune-bold: #ffe500;--chart-jaune-ocre: #faefc7;--chart-jaune-ocre-bold: #ebb53d;--chart-jaune-indications: #fce7c9;--chart-jaune-indications-bold: #f4922b;--chart-saumon: #fde8e3;--chart-saumon-bold: #ec775c;--chart-rose-digital: #ffccd1;--chart-rose-digital-bold: #f93a58;--chart-fuschia: #ffe1e9;--chart-fuschia-bold: #ff2c74;--chart-rouge-indications: #fdced4;--chart-rouge-indications-bold: #f14662;--chart-greyscale: #ebebea;--chart-greyscale-bold: #7f7e7e;--chart-taupe: #e7e3e6;--chart-taupe-bold: #8a7883;--decorative-neutral: #ebebea;--decorative-bleu-iceberg: #c7dbf0;--decorative-vert-foret: #d7f4e6;--decorative-violet: #e6def0;--decorative-bleu-rte: #b9edfe;--decorative-bleu-digital: #baddff;--decorative-marine: #e7edf7;--decorative-bleu-petrole: #c1dae0;--decorative-bleu-cyan: #a9f2f8;--decorative-vert: #90ffe8;--decorative-vert-indications: #e6f2a4;--decorative-vert-digital: #b5fdd9;--decorative-jaune: #faffc1;--decorative-jaune-ocre: #f5de93;--decorative-jaune-indications: #f9ce8e;--decorative-saumon: #f9b7a8;--decorative-rose-digital: #ffccd1;--decorative-fuschia: #ffc8d8;--decorative-rouge-indication: #ffe4e6;--decorative-taupe: #e7e3e6;--elevation-surface-inner-shadow: rgba(0, 0, 0, 0);--elevation-surface-shadow-1: rgba(255, 255, 255, 0);--elevation-surface-shadow-2: rgba(255, 255, 255, 0);--elevation-surface-shadow-3: rgba(255, 255, 255, 0);--elevation-surface-shadow-4: rgba(255, 255, 255, 0);--elevation-surface-shadow-5: rgba(255, 255, 255, 0);--elevation-surface-shadow-6: rgba(255, 255, 255, 0);--elevation-shadow-ambient: rgba(0, 0, 0, 0.12);--elevation-shadow-ambient-darker: rgba(0, 0, 0, 0.2);--elevation-shadow-ambient-brand: rgba(0, 0, 0, 0.25);--elevation-shadow-key: rgba(0, 0, 0, 0.14);--elevation-shadow-key-darker: rgba(0, 0, 0, 0.24);--elevation-shadow-key-brand: rgba(0, 0, 0, 0.31);--brand-navigation-divider-5: #214770;--brand-navigation-divider-6: #214770;--brand-navigation-divider-7: #214770;--background-brand-hover-opacity-20: rgba(34, 80, 130, 0.2);--background-danger-hover-opacity-20: rgba(200, 22, 64, 0.2);--background-hover-opacity-50: rgba(235, 235, 234, 0.5)}[data-theme=bleu_iceberg][data-mode=dark]{--background-default: #201f1f;--background-hover: #3e3e3d;--background-neutral-regular-default: #595958;--background-neutral-regular-hover: #7f7e7e;--background-neutral-bold-default: #cdcccb;--background-neutral-bold-hover: #ebebea;--background-neutral-navigation-default: #ebebea;--background-neutral-navigation-hover: #e1e1e0;--background-disabled: #3e3e3d;--background-inverse: #ffffff;--background-brand-default: #96bde3;--background-brand-hover: #c7dbf0;--background-brand-pressed: #e6eef8;--background-brand-selected-default: #96bde3;--background-brand-selected-hover: #c7dbf0;--background-brand-unselected-default: #225082;--background-brand-unselected-hover: #2964a0;--background-brand-inverse-default: #201f1f;--background-brand-inverse-hover: #225082;--background-brand-inverse-pressed: #2964a0;--background-brand-navigation-default: #15253c;--background-brand-navigation-hover: #1f3b5b;--background-brand-navigation-pressed: #225082;--background-danger-default: #f14662;--background-danger-hover: #f97385;--background-danger-pressed: #fca5af;--background-info-default: #53aaff;--background-warning-default: #ffe500;--background-success-default: #3cec96;--border-primary: #a1a1a0;--border-secondary: #737272;--border-tertiary: #3e3e3d;--border-divider: #a1a1a0;--border-disabled: #595958;--border-inverse: #201f1f;--border-brand-default: #f9fbfd;--border-brand-focused: #f9fbfd;--border-brand-navigation-active: #225082;--border-brand-navigation-divider: #214770;--border-danger: #f14662;--border-info: #53aaff;--border-warning: #f4922b;--border-success: #3cec96;--content-primary: #ffffff;--content-secondary: #e1e1e0;--content-tertiary: #b7b7b6;--content-primary-inverse: #201f1f;--content-disabled: #595958;--content-brand-default: #f9fbfd;--content-brand-hover: #f3f6fc;--content-brand-pressed: #e6eef8;--content-brand-navigation-default: #e6eef8;--content-brand-navigation-hover: #f3f6fc;--content-brand-navigation-disabled: #225082;--content-link-default: #2b86ff;--content-link-hover: #53aaff;--content-link-pressed: #8ac8ff;--content-link-visited-default: #9979bc;--content-link-visited-hover: #b89fd3;--content-link-visited-pressed: #d2c3e4;--content-danger-default: #f14662;--content-danger-hover: #f97385;--content-danger-inverse: #ffffff;--content-success-default: #3cec96;--content-success-hover: #12d577;--content-info-default: #53aaff;--content-info-hover: #2b86ff;--content-decorative: #201f1f;--brand-navigation-divider: #214770;--brand-navigation-divider-2: #214770;--brand-navigation-divider-3: #214770;--brand-navigation-divider-4: #214770;--chart-brand: #397ebe;--chart-neutral: #acacab;--chart-category-1: #397ebe;--chart-category-2: #ff2c74;--chart-category-3: #7d5a9f;--chart-category-4: #2a9f7d;--chart-category-5: #233857;--chart-category-6: #ed6e13;--chart-category-7: #73636c;--chart-category-8: #639cad;--chart-bleu-iceberg: #e6eef8;--chart-bleu-iceberg-bold: #397ebe;--chart-vert-foret: #d7f4e6;--chart-vert-foret-bold: #4dba97;--chart-violet: #d2c3e4;--chart-violet-bold: #7d5a9f;--chart-bleu-rte: #e0f5fe;--chart-bleu-rte-bold: #00a6d9;--chart-bleu-digital: #d8ebff;--chart-bleu-digital-bold: #2b86ff;--chart-marine: #e7edf7;--chart-marine-bold: #3d70ad;--chart-bleu-petrole: #deecef;--chart-bleu-petrole-bold: #478093;--chart-bleu-cyan: #d1f9fc;--chart-bleu-cyan-bold: #0fb3cb;--chart-vert: #c7fff4;--chart-vert-bold: #04c8b1;--chart-vert-indications: #e6f2a4;--chart-vert-indications-bold: #bed942;--chart-vert-digital: #d9ffec;--chart-vert-digital-bold: #3cec96;--chart-jaune: #faffc1;--chart-jaune-bold: #ffe500;--chart-jaune-ocre: #faefc7;--chart-jaune-ocre-bold: #ebb53d;--chart-jaune-indications: #fce7c9;--chart-jaune-indications-bold: #f4922b;--chart-saumon: #fde8e3;--chart-saumon-bold: #ec775c;--chart-rose-digital: #ffccd1;--chart-rose-digital-bold: #f93a58;--chart-fuschia: #ffe1e9;--chart-fuschia-bold: #ff2c74;--chart-rouge-indications: #ffe4e6;--chart-rouge-indications-bold: #f14662;--chart-greyscale: #ebebea;--chart-greyscale-bold: #7f7e7e;--chart-taupe: #e7e3e6;--chart-taupe-bold: #8a7883;--decorative-neutral: #ebebea;--decorative-bleu-iceberg: #c7dbf0;--decorative-vert-foret: #d7f4e6;--decorative-violet: #e6def0;--decorative-bleu-rte: #b9edfe;--decorative-bleu-digital: #baddff;--decorative-marine: #e7edf7;--decorative-bleu-petrole: #c1dae0;--decorative-bleu-cyan: #a9f2f8;--decorative-vert: #90ffe8;--decorative-vert-indications: #e6f2a4;--decorative-vert-digital: #b5fdd9;--decorative-jaune: #faffc1;--decorative-jaune-ocre: #f5de93;--decorative-jaune-indications: #f9ce8e;--decorative-saumon: #f9b7a8;--decorative-rose-digital: #ffccd1;--decorative-fuschia: #ffc8d8;--decorative-rouge-indication: #ffe4e6;--decorative-taupe: #e7e3e6;--elevation-surface-inner-shadow: rgba(0, 0, 0, 0.2);--elevation-surface-shadow-1: rgba(255, 255, 255, 0.03);--elevation-surface-shadow-2: rgba(255, 255, 255, 0.05);--elevation-surface-shadow-3: rgba(255, 255, 255, 0.08);--elevation-surface-shadow-4: rgba(255, 255, 255, 0.1);--elevation-surface-shadow-5: rgba(255, 255, 255, 0.12);--elevation-surface-shadow-6: rgba(255, 255, 255, 0.14);--elevation-shadow-ambient: rgba(0, 0, 0, 0.2);--elevation-shadow-ambient-darker: rgba(0, 0, 0, 0.4);--elevation-shadow-ambient-brand: rgba(0, 0, 0, 0.17);--elevation-shadow-key: rgba(0, 0, 0, 0.28);--elevation-shadow-key-darker: rgba(0, 0, 0, 0.48);--elevation-shadow-key-brand: rgba(0, 0, 0, 0.21);--brand-navigation-divider-5: #214770;--brand-navigation-divider-6: #214770;--brand-navigation-divider-7: #214770;--background-brand-hover-opacity-20: rgba(199, 219, 240, 0.2);--background-danger-hover-opacity-20: rgba(241, 70, 98, 0.2);--background-hover-opacity-50: rgba(62, 62, 61, 0.5)}[data-theme=violet][data-mode=light]{--background-default: #ffffff;--background-hover: #ebebea;--background-neutral-regular-default: #e1e1e0;--background-neutral-regular-hover: #c2c1c0;--background-neutral-bold-default: #737272;--background-neutral-bold-hover: #4c4c4b;--background-neutral-navigation-default: #ebebea;--background-neutral-navigation-hover: #e1e1e0;--background-disabled: #f4f5f4;--background-inverse: #201f1f;--background-brand-default: #7d5a9f;--background-brand-hover: #674883;--background-brand-pressed: #563c6c;--background-brand-selected-default: #7d5a9f;--background-brand-selected-hover: #674883;--background-brand-unselected-default: #f3eff8;--background-brand-unselected-hover: #e6def0;--background-brand-inverse-default: #ffffff;--background-brand-inverse-hover: #f9f7fc;--background-brand-inverse-pressed: #f3eff8;--background-brand-navigation-default: #2b1a38;--background-brand-navigation-hover: #4a355a;--background-brand-navigation-pressed: #674883;--background-danger-default: #de2048;--background-danger-hover: #c81640;--background-danger-pressed: #9d1439;--background-info-default: #1465fc;--background-warning-default: #ffe500;--background-success-default: #0b8a4d;--border-primary: #737272;--border-secondary: #a1a1a0;--border-tertiary: #cdcccb;--border-divider: #cdcccb;--border-disabled: #cdcccb;--border-inverse: #ffffff;--border-brand-default: #7d5a9f;--border-brand-focused: #4a355a;--border-brand-navigation-active: #674883;--border-brand-navigation-divider: #563c6c;--border-danger: #de2048;--border-info: #1465fc;--border-warning: #f4922b;--border-success: #0b8a4d;--content-primary: #201f1f;--content-secondary: #3e3e3d;--content-tertiary: #737272;--content-primary-inverse: #ffffff;--content-disabled: #cdcccb;--content-brand-default: #7d5a9f;--content-brand-hover: #674883;--content-brand-pressed: #563c6c;--content-brand-navigation-default: #f3eff8;--content-brand-navigation-hover: #f9f7fc;--content-brand-navigation-disabled: #674883;--content-link-default: #2b86ff;--content-link-hover: #1465fc;--content-link-pressed: #0d4fea;--content-link-visited-default: #7d5a9f;--content-link-visited-hover: #674883;--content-link-visited-pressed: #563c6c;--content-danger-default: #de2048;--content-danger-hover: #c81640;--content-danger-inverse: #ffffff;--content-success-default: #0b8a4d;--content-success-hover: #0e6d40;--content-info-default: #1465fc;--content-info-hover: #0d4fea;--content-decorative: #201f1f;--brand-navigation-divider: #563c6c;--brand-navigation-divider-2: #563c6c;--brand-navigation-divider-3: #563c6c;--brand-navigation-divider-4: #563c6c;--chart-brand: #7d5a9f;--chart-neutral: #acacab;--chart-category-1: #397ebe;--chart-category-2: #ff2c74;--chart-category-3: #7d5a9f;--chart-category-4: #2a9f7d;--chart-category-5: #233857;--chart-category-6: #ed6e13;--chart-category-7: #73636c;--chart-category-8: #639cad;--chart-bleu-iceberg: #e6eef8;--chart-bleu-iceberg-bold: #397ebe;--chart-vert-foret: #d7f4e6;--chart-vert-foret-bold: #4dba97;--chart-violet: #d2c3e4;--chart-violet-bold: #7d5a9f;--chart-bleu-rte: #e0f5fe;--chart-bleu-rte-bold: #00a6d9;--chart-bleu-digital: #d8ebff;--chart-bleu-digital-bold: #2b86ff;--chart-marine: #e7edf7;--chart-marine-bold: #3d70ad;--chart-bleu-petrole: #deecef;--chart-bleu-petrole-bold: #478093;--chart-bleu-cyan: #d1f9fc;--chart-bleu-cyan-bold: #0fb3cb;--chart-vert: #c7fff4;--chart-vert-bold: #04c8b1;--chart-vert-indications: #e6f2a4;--chart-vert-indications-bold: #bed942;--chart-vert-digital: #d9ffec;--chart-vert-digital-bold: #3cec96;--chart-jaune: #faffc1;--chart-jaune-bold: #ffe500;--chart-jaune-ocre: #faefc7;--chart-jaune-ocre-bold: #ebb53d;--chart-jaune-indications: #fce7c9;--chart-jaune-indications-bold: #f4922b;--chart-saumon: #fde8e3;--chart-saumon-bold: #ec775c;--chart-rose-digital: #ffccd1;--chart-rose-digital-bold: #f93a58;--chart-fuschia: #ffe1e9;--chart-fuschia-bold: #ff2c74;--chart-rouge-indications: #ffe4e6;--chart-rouge-indications-bold: #f14662;--chart-greyscale: #ebebea;--chart-greyscale-bold: #7f7e7e;--chart-taupe: #e7e3e6;--chart-taupe-bold: #8a7883;--decorative-neutral: #ebebea;--decorative-bleu-iceberg: #c7dbf0;--decorative-vert-foret: #d7f4e6;--decorative-violet: #e6def0;--decorative-bleu-rte: #b9edfe;--decorative-bleu-digital: #baddff;--decorative-marine: #e7edf7;--decorative-bleu-petrole: #c1dae0;--decorative-bleu-cyan: #a9f2f8;--decorative-vert: #90ffe8;--decorative-vert-indications: #e6f2a4;--decorative-vert-digital: #b5fdd9;--decorative-jaune: #faffc1;--decorative-jaune-ocre: #f5de93;--decorative-jaune-indications: #f9ce8e;--decorative-saumon: #f9b7a8;--decorative-rose-digital: #ffccd1;--decorative-fuschia: #ffc8d8;--decorative-rouge-indication: #ffe4e6;--decorative-taupe: #e7e3e6;--elevation-surface-inner-shadow: rgba(0, 0, 0, 0);--elevation-surface-shadow-1: rgba(255, 255, 255, 0);--elevation-surface-shadow-2: rgba(255, 255, 255, 0);--elevation-surface-shadow-3: rgba(255, 255, 255, 0);--elevation-surface-shadow-4: rgba(255, 255, 255, 0);--elevation-surface-shadow-5: rgba(255, 255, 255, 0);--elevation-surface-shadow-6: rgba(255, 255, 255, 0);--elevation-shadow-ambient: rgba(0, 0, 0, 0.12);--elevation-shadow-ambient-darker: rgba(0, 0, 0, 0.2);--elevation-shadow-ambient-brand: rgba(0, 0, 0, 0.25);--elevation-shadow-key: rgba(0, 0, 0, 0.14);--elevation-shadow-key-darker: rgba(0, 0, 0, 0.24);--elevation-shadow-key-brand: rgba(0, 0, 0, 0.31);--brand-navigation-divider-5: #563c6c;--brand-navigation-divider-6: #563c6c;--brand-navigation-divider-7: #563c6c;--background-brand-hover-opacity-20: rgba(103, 72, 131, 0.2);--background-danger-hover-opacity-20: rgba(200, 22, 64, 0.2);--background-hover-opacity-50: rgba(235, 235, 234, 0.5)}[data-theme=violet][data-mode=dark]{--background-default: #201f1f;--background-hover: #3e3e3d;--background-neutral-regular-default: #595958;--background-neutral-regular-hover: #7f7e7e;--background-neutral-bold-default: #cdcccb;--background-neutral-bold-hover: #ebebea;--background-neutral-navigation-default: #ebebea;--background-neutral-navigation-hover: #e1e1e0;--background-disabled: #3e3e3d;--background-inverse: #ffffff;--background-brand-default: #d2c3e4;--background-brand-hover: #e6def0;--background-brand-pressed: #f3eff8;--background-brand-selected-default: #d2c3e4;--background-brand-selected-hover: #e6def0;--background-brand-unselected-default: #674883;--background-brand-unselected-hover: #7d5a9f;--background-brand-inverse-default: #201f1f;--background-brand-inverse-hover: #674883;--background-brand-inverse-pressed: #7d5a9f;--background-brand-navigation-default: #2b1a38;--background-brand-navigation-hover: #4a355a;--background-brand-navigation-pressed: #674883;--background-danger-default: #f14662;--background-danger-hover: #f97385;--background-danger-pressed: #fca5af;--background-info-default: #53aaff;--background-warning-default: #ffe500;--background-success-default: #3cec96;--border-primary: #a1a1a0;--border-secondary: #737272;--border-tertiary: #3e3e3d;--border-divider: #a1a1a0;--border-disabled: #595958;--border-inverse: #201f1f;--border-brand-default: #fcfbfd;--border-brand-focused: #fcfbfd;--border-brand-navigation-active: #674883;--border-brand-navigation-divider: #563c6c;--border-danger: #f14662;--border-info: #53aaff;--border-warning: #f4922b;--border-success: #3cec96;--content-primary: #ffffff;--content-secondary: #e1e1e0;--content-tertiary: #b7b7b6;--content-primary-inverse: #201f1f;--content-disabled: #595958;--content-brand-default: #fcfbfd;--content-brand-hover: #f9f7fc;--content-brand-pressed: #f3eff8;--content-brand-navigation-default: #f3eff8;--content-brand-navigation-hover: #f9f7fc;--content-brand-navigation-disabled: #674883;--content-link-default: #2b86ff;--content-link-hover: #53aaff;--content-link-pressed: #8ac8ff;--content-link-visited-default: #9979bc;--content-link-visited-hover: #b89fd3;--content-link-visited-pressed: #d2c3e4;--content-danger-default: #f14662;--content-danger-hover: #f97385;--content-danger-inverse: #ffffff;--content-success-default: #3cec96;--content-success-hover: #12d577;--content-info-default: #53aaff;--content-info-hover: #2b86ff;--content-decorative: #201f1f;--brand-navigation-divider: #563c6c;--brand-navigation-divider-2: #563c6c;--brand-navigation-divider-3: #563c6c;--brand-navigation-divider-4: #563c6c;--chart-brand: #7d5a9f;--chart-neutral: #acacab;--chart-category-1: #397ebe;--chart-category-2: #ff2c74;--chart-category-3: #7d5a9f;--chart-category-4: #2a9f7d;--chart-category-5: #233857;--chart-category-6: #ed6e13;--chart-category-7: #73636c;--chart-category-8: #639cad;--chart-bleu-iceberg: #e6eef8;--chart-bleu-iceberg-bold: #397ebe;--chart-vert-foret: #d7f4e6;--chart-vert-foret-bold: #4dba97;--chart-violet: #d2c3e4;--chart-violet-bold: #7d5a9f;--chart-bleu-rte: #e0f5fe;--chart-bleu-rte-bold: #00a6d9;--chart-bleu-digital: #d8ebff;--chart-bleu-digital-bold: #2b86ff;--chart-marine: #e7edf7;--chart-marine-bold: #3d70ad;--chart-bleu-petrole: #deecef;--chart-bleu-petrole-bold: #478093;--chart-bleu-cyan: #d1f9fc;--chart-bleu-cyan-bold: #0fb3cb;--chart-vert: #c7fff4;--chart-vert-bold: #04c8b1;--chart-vert-indications: #e6f2a4;--chart-vert-indications-bold: #bed942;--chart-vert-digital: #d9ffec;--chart-vert-digital-bold: #3cec96;--chart-jaune: #faffc1;--chart-jaune-bold: #ffe500;--chart-jaune-ocre: #faefc7;--chart-jaune-ocre-bold: #ebb53d;--chart-jaune-indications: #fce7c9;--chart-jaune-indications-bold: #f4922b;--chart-saumon: #fde8e3;--chart-saumon-bold: #ec775c;--chart-rose-digital: #ffccd1;--chart-rose-digital-bold: #f93a58;--chart-fuschia: #ffe1e9;--chart-fuschia-bold: #ff2c74;--chart-rouge-indications: #ffe4e6;--chart-rouge-indications-bold: #f14662;--chart-greyscale: #ebebea;--chart-greyscale-bold: #7f7e7e;--chart-taupe: #e7e3e6;--chart-taupe-bold: #8a7883;--decorative-neutral: #ebebea;--decorative-bleu-iceberg: #c7dbf0;--decorative-vert-foret: #d7f4e6;--decorative-violet: #e6def0;--decorative-bleu-rte: #b9edfe;--decorative-bleu-digital: #baddff;--decorative-marine: #e7edf7;--decorative-bleu-petrole: #c1dae0;--decorative-bleu-cyan: #a9f2f8;--decorative-vert: #90ffe8;--decorative-vert-indications: #e6f2a4;--decorative-vert-digital: #b5fdd9;--decorative-jaune: #faffc1;--decorative-jaune-ocre: #f5de93;--decorative-jaune-indications: #f9ce8e;--decorative-saumon: #f9b7a8;--decorative-rose-digital: #ffccd1;--decorative-fuschia: #ffc8d8;--decorative-rouge-indication: #ffe4e6;--decorative-taupe: #e7e3e6;--elevation-surface-inner-shadow: rgba(0, 0, 0, 0.2);--elevation-surface-shadow-1: rgba(255, 255, 255, 0.03);--elevation-surface-shadow-2: rgba(255, 255, 255, 0.05);--elevation-surface-shadow-3: rgba(255, 255, 255, 0.08);--elevation-surface-shadow-4: rgba(255, 255, 255, 0.1);--elevation-surface-shadow-5: rgba(255, 255, 255, 0.12);--elevation-surface-shadow-6: rgba(255, 255, 255, 0.14);--elevation-shadow-ambient: rgba(0, 0, 0, 0.2);--elevation-shadow-ambient-darker: rgba(0, 0, 0, 0.4);--elevation-shadow-ambient-brand: rgba(0, 0, 0, 0.17);--elevation-shadow-key: rgba(0, 0, 0, 0.28);--elevation-shadow-key-darker: rgba(0, 0, 0, 0.48);--elevation-shadow-key-brand: rgba(0, 0, 0, 0.21);--brand-navigation-divider-5: #563c6c;--brand-navigation-divider-6: #563c6c;--brand-navigation-divider-7: #563c6c;--background-brand-hover-opacity-20: rgba(230, 222, 240, 0.2);--background-danger-hover-opacity-20: rgba(241, 70, 98, 0.2);--background-hover-opacity-50: rgba(62, 62, 61, 0.5)}[data-theme=vert_foret][data-mode=light]{--background-default: #ffffff;--background-hover: #ebebea;--background-neutral-regular-default: #e1e1e0;--background-neutral-regular-hover: #c2c1c0;--background-neutral-bold-default: #737272;--background-neutral-bold-hover: #4c4c4b;--background-neutral-navigation-default: #ebebea;--background-neutral-navigation-hover: #e1e1e0;--background-disabled: #f4f5f4;--background-inverse: #201f1f;--background-brand-default: #1b8065;--background-brand-hover: #176b57;--background-brand-pressed: #145143;--background-brand-selected-default: #1b8065;--background-brand-selected-hover: #176b57;--background-brand-unselected-default: #d7f4e6;--background-brand-unselected-hover: #b3e7d1;--background-brand-inverse-default: #ffffff;--background-brand-inverse-hover: #effaf6;--background-brand-inverse-pressed: #d7f4e6;--background-brand-navigation-default: #082620;--background-brand-navigation-hover: #114338;--background-brand-navigation-pressed: #176b57;--background-danger-default: #de2048;--background-danger-hover: #c81640;--background-danger-pressed: #9d1439;--background-info-default: #1465fc;--background-warning-default: #ffe500;--background-success-default: #0b8a4d;--border-primary: #737272;--border-secondary: #a1a1a0;--border-tertiary: #cdcccb;--border-divider: #cdcccb;--border-disabled: #cdcccb;--border-inverse: #ffffff;--border-brand-default: #1b8065;--border-brand-focused: #114338;--border-brand-navigation-active: #176b57;--border-brand-navigation-divider: #145143;--border-danger: #de2048;--border-info: #1465fc;--border-warning: #f4922b;--border-success: #0b8a4d;--content-primary: #201f1f;--content-secondary: #3e3e3d;--content-tertiary: #737272;--content-primary-inverse: #ffffff;--content-disabled: #cdcccb;--content-brand-default: #1b8065;--content-brand-hover: #176b57;--content-brand-pressed: #145143;--content-brand-navigation-default: #d7f4e6;--content-brand-navigation-hover: #effaf6;--content-brand-navigation-disabled: #176b57;--content-link-default: #2b86ff;--content-link-hover: #1465fc;--content-link-pressed: #0d4fea;--content-link-visited-default: #7d5a9f;--content-link-visited-hover: #674883;--content-link-visited-pressed: #563c6c;--content-danger-default: #de2048;--content-danger-hover: #c81640;--content-danger-inverse: #ffffff;--content-success-default: #0b8a4d;--content-success-hover: #0e6d40;--content-info-default: #1465fc;--content-info-hover: #0d4fea;--content-decorative: #201f1f;--brand-navigation-divider: #145143;--brand-navigation-divider-2: #145143;--brand-navigation-divider-3: #145143;--brand-navigation-divider-4: #145143;--chart-brand: #2a9f7d;--chart-neutral: #acacab;--chart-category-1: #397ebe;--chart-category-2: #ff2c74;--chart-category-3: #7d5a9f;--chart-category-4: #2a9f7d;--chart-category-5: #233857;--chart-category-6: #ed6e13;--chart-category-7: #73636c;--chart-category-8: #639cad;--chart-bleu-iceberg: #e6eef8;--chart-bleu-iceberg-bold: #397ebe;--chart-vert-foret: #d7f4e6;--chart-vert-foret-bold: #4dba97;--chart-violet: #d2c3e4;--chart-violet-bold: #7d5a9f;--chart-bleu-rte: #e0f5fe;--chart-bleu-rte-bold: #00a6d9;--chart-bleu-digital: #d8ebff;--chart-bleu-digital-bold: #2b86ff;--chart-marine: #e7edf7;--chart-marine-bold: #3d70ad;--chart-bleu-petrole: #deecef;--chart-bleu-petrole-bold: #478093;--chart-bleu-cyan: #d1f9fc;--chart-bleu-cyan-bold: #0fb3cb;--chart-vert: #c7fff4;--chart-vert-bold: #04c8b1;--chart-vert-indications: #e6f2a4;--chart-vert-indications-bold: #bed942;--chart-vert-digital: #d9ffec;--chart-vert-digital-bold: #3cec96;--chart-jaune: #faffc1;--chart-jaune-bold: #ffe500;--chart-jaune-ocre: #faefc7;--chart-jaune-ocre-bold: #ebb53d;--chart-jaune-indications: #fce7c9;--chart-jaune-indications-bold: #f4922b;--chart-saumon: #fde8e3;--chart-saumon-bold: #ec775c;--chart-rose-digital: #ffccd1;--chart-rose-digital-bold: #f93a58;--chart-fuschia: #ffe1e9;--chart-fuschia-bold: #ff2c74;--chart-rouge-indications: #ffe4e6;--chart-rouge-indications-bold: #f14662;--chart-greyscale: #ebebea;--chart-greyscale-bold: #7f7e7e;--chart-taupe: #e7e3e6;--chart-taupe-bold: #8a7883;--decorative-neutral: #ebebea;--decorative-bleu-iceberg: #c7dbf0;--decorative-vert-foret: #d7f4e6;--decorative-violet: #e6def0;--decorative-bleu-rte: #b9edfe;--decorative-bleu-digital: #baddff;--decorative-marine: #e7edf7;--decorative-bleu-petrole: #c1dae0;--decorative-bleu-cyan: #a9f2f8;--decorative-vert: #90ffe8;--decorative-vert-indications: #e6f2a4;--decorative-vert-digital: #b5fdd9;--decorative-jaune: #faffc1;--decorative-jaune-ocre: #f5de93;--decorative-jaune-indications: #f9ce8e;--decorative-saumon: #f9b7a8;--decorative-rose-digital: #ffccd1;--decorative-fuschia: #ffc8d8;--decorative-rouge-indication: #ffe4e6;--decorative-taupe: #e7e3e6;--elevation-surface-inner-shadow: rgba(0, 0, 0, 0);--elevation-surface-shadow-1: rgba(255, 255, 255, 0);--elevation-surface-shadow-2: rgba(255, 255, 255, 0);--elevation-surface-shadow-3: rgba(255, 255, 255, 0);--elevation-surface-shadow-4: rgba(255, 255, 255, 0);--elevation-surface-shadow-5: rgba(255, 255, 255, 0);--elevation-surface-shadow-6: rgba(255, 255, 255, 0);--elevation-shadow-ambient: rgba(0, 0, 0, 0.12);--elevation-shadow-ambient-darker: rgba(0, 0, 0, 0.2);--elevation-shadow-ambient-brand: rgba(0, 0, 0, 0.25);--elevation-shadow-key: rgba(0, 0, 0, 0.14);--elevation-shadow-key-darker: rgba(0, 0, 0, 0.24);--elevation-shadow-key-brand: rgba(0, 0, 0, 0.31);--brand-navigation-divider-5: #145143;--brand-navigation-divider-6: #145143;--brand-navigation-divider-7: #145143;--background-brand-hover-opacity-20: rgba(23, 107, 87, 0.2);--background-danger-hover-opacity-20: rgba(200, 22, 64, 0.2);--background-hover-opacity-50: rgba(235, 235, 234, 0.5)}[data-theme=vert_foret][data-mode=dark]{--background-default: #201f1f;--background-hover: #3e3e3d;--background-neutral-regular-default: #595958;--background-neutral-regular-hover: #7f7e7e;--background-neutral-bold-default: #cdcccb;--background-neutral-bold-hover: #ebebea;--background-neutral-navigation-default: #ebebea;--background-neutral-navigation-hover: #e1e1e0;--background-disabled: #3e3e3d;--background-inverse: #ffffff;--background-brand-default: #81d4b7;--background-brand-hover: #b3e7d1;--background-brand-pressed: #d7f4e6;--background-brand-selected-default: #81d4b7;--background-brand-selected-hover: #b3e7d1;--background-brand-unselected-default: #176b57;--background-brand-unselected-hover: #1b8065;--background-brand-inverse-default: #201f1f;--background-brand-inverse-hover: #176b57;--background-brand-inverse-pressed: #1b8065;--background-brand-navigation-default: #082620;--background-brand-navigation-hover: #114338;--background-brand-navigation-pressed: #176b57;--background-danger-default: #f14662;--background-danger-hover: #f97385;--background-danger-pressed: #fca5af;--background-info-default: #53aaff;--background-warning-default: #ffe500;--background-success-default: #3cec96;--border-primary: #a1a1a0;--border-secondary: #737272;--border-tertiary: #3e3e3d;--border-divider: #a1a1a0;--border-disabled: #595958;--border-inverse: #201f1f;--border-brand-default: #f5fcfa;--border-brand-focused: #f5fcfa;--border-brand-navigation-active: #176b57;--border-brand-navigation-divider: #145143;--border-danger: #f14662;--border-info: #53aaff;--border-warning: #f4922b;--border-success: #3cec96;--content-primary: #ffffff;--content-secondary: #e1e1e0;--content-tertiary: #b7b7b6;--content-primary-inverse: #201f1f;--content-disabled: #595958;--content-brand-default: #f5fcfa;--content-brand-hover: #effaf6;--content-brand-pressed: #d7f4e6;--content-brand-navigation-default: #d7f4e6;--content-brand-navigation-hover: #effaf6;--content-brand-navigation-disabled: #176b57;--content-link-default: #2b86ff;--content-link-hover: #53aaff;--content-link-pressed: #8ac8ff;--content-link-visited-default: #9979bc;--content-link-visited-hover: #b89fd3;--content-link-visited-pressed: #d2c3e4;--content-danger-default: #f14662;--content-danger-hover: #f97385;--content-danger-inverse: #ffffff;--content-success-default: #3cec96;--content-success-hover: #12d577;--content-info-default: #53aaff;--content-info-hover: #2b86ff;--content-decorative: #201f1f;--brand-navigation-divider: #145143;--brand-navigation-divider-2: #145143;--brand-navigation-divider-3: #145143;--brand-navigation-divider-4: #145143;--chart-brand: #2a9f7d;--chart-neutral: #acacab;--chart-category-1: #397ebe;--chart-category-2: #ff2c74;--chart-category-3: #7d5a9f;--chart-category-4: #2a9f7d;--chart-category-5: #233857;--chart-category-6: #ed6e13;--chart-category-7: #73636c;--chart-category-8: #639cad;--chart-bleu-iceberg: #e6eef8;--chart-bleu-iceberg-bold: #397ebe;--chart-vert-foret: #d7f4e6;--chart-vert-foret-bold: #4dba97;--chart-violet: #d2c3e4;--chart-violet-bold: #7d5a9f;--chart-bleu-rte: #e0f5fe;--chart-bleu-rte-bold: #00a6d9;--chart-bleu-digital: #d8ebff;--chart-bleu-digital-bold: #2b86ff;--chart-marine: #e7edf7;--chart-marine-bold: #3d70ad;--chart-bleu-petrole: #deecef;--chart-bleu-petrole-bold: #478093;--chart-bleu-cyan: #d1f9fc;--chart-bleu-cyan-bold: #0fb3cb;--chart-vert: #c7fff4;--chart-vert-bold: #04c8b1;--chart-vert-indications: #e6f2a4;--chart-vert-indications-bold: #bed942;--chart-vert-digital: #d9ffec;--chart-vert-digital-bold: #3cec96;--chart-jaune: #faffc1;--chart-jaune-bold: #ffe500;--chart-jaune-ocre: #faefc7;--chart-jaune-ocre-bold: #ebb53d;--chart-jaune-indications: #fce7c9;--chart-jaune-indications-bold: #f4922b;--chart-saumon: #fde8e3;--chart-saumon-bold: #ec775c;--chart-rose-digital: #ffccd1;--chart-rose-digital-bold: #f93a58;--chart-fuschia: #ffe1e9;--chart-fuschia-bold: #ff2c74;--chart-rouge-indications: #ffe4e6;--chart-rouge-indications-bold: #f14662;--chart-greyscale: #ebebea;--chart-greyscale-bold: #7f7e7e;--chart-taupe: #e7e3e6;--chart-taupe-bold: #8a7883;--decorative-neutral: #ebebea;--decorative-bleu-iceberg: #c7dbf0;--decorative-vert-foret: #d7f4e6;--decorative-violet: #e6def0;--decorative-bleu-rte: #b9edfe;--decorative-bleu-digital: #baddff;--decorative-marine: #e7edf7;--decorative-bleu-petrole: #c1dae0;--decorative-bleu-cyan: #a9f2f8;--decorative-vert: #90ffe8;--decorative-vert-indications: #e6f2a4;--decorative-vert-digital: #b5fdd9;--decorative-jaune: #faffc1;--decorative-jaune-ocre: #f5de93;--decorative-jaune-indications: #f9ce8e;--decorative-saumon: #f9b7a8;--decorative-rose-digital: #ffccd1;--decorative-fuschia: #ffc8d8;--decorative-rouge-indication: #ffe4e6;--decorative-taupe: #e7e3e6;--elevation-surface-inner-shadow: rgba(0, 0, 0, 0.2);--elevation-surface-shadow-1: rgba(255, 255, 255, 0.03);--elevation-surface-shadow-2: rgba(255, 255, 255, 0.05);--elevation-surface-shadow-3: rgba(255, 255, 255, 0.08);--elevation-surface-shadow-4: rgba(255, 255, 255, 0.1);--elevation-surface-shadow-5: rgba(255, 255, 255, 0.12);--elevation-surface-shadow-6: rgba(255, 255, 255, 0.14);--elevation-shadow-ambient: rgba(0, 0, 0, 0.2);--elevation-shadow-ambient-darker: rgba(0, 0, 0, 0.4);--elevation-shadow-ambient-brand: rgba(0, 0, 0, 0.17);--elevation-shadow-key: rgba(0, 0, 0, 0.28);--elevation-shadow-key-darker: rgba(0, 0, 0, 0.48);--elevation-shadow-key-brand: rgba(0, 0, 0, 0.21);--brand-navigation-divider-5: #145143;--brand-navigation-divider-6: #145143;--brand-navigation-divider-7: #145143;--background-brand-hover-opacity-20: rgba(179, 231, 209, 0.2);--background-danger-hover-opacity-20: rgba(241, 70, 98, 0.2);--background-hover-opacity-50: rgba(62, 62, 61, 0.5)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
:root [data-theme=vert_foret][data-mode=light]{--background-default: #ffffff;--background-hover: #ebebea;--background-neutral-regular-default: #e1e1e0;--background-neutral-regular-hover: #c2c1c0;--background-neutral-bold-default: #737272;--background-neutral-bold-hover: #4c4c4b;--background-neutral-navigation-default: #ebebea;--background-neutral-navigation-hover: #e1e1e0;--background-disabled: #f4f5f4;--background-inverse: #201f1f;--background-brand-default: #1b8065;--background-brand-hover: #176b57;--background-brand-pressed: #145143;--background-brand-selected-default: #1b8065;--background-brand-selected-hover: #176b57;--background-brand-unselected-default: #d7f4e6;--background-brand-unselected-hover: #b3e7d1;--background-brand-inverse-default: #ffffff;--background-brand-inverse-hover: #effaf6;--background-brand-inverse-pressed: #d7f4e6;--background-brand-navigation-default: #082620;--background-brand-navigation-hover: #114338;--background-brand-navigation-pressed: #176b57;--background-danger-default: #de2048;--background-danger-hover: #c81640;--background-danger-pressed: #9d1439;--background-info-default: #1465fc;--background-warning-default: #ffe500;--background-success-default: #0b8a4d;--border-primary: #737272;--border-secondary: #a1a1a0;--border-tertiary: #cdcccb;--border-divider: #cdcccb;--border-disabled: #cdcccb;--border-inverse: #ffffff;--border-brand-default: #1b8065;--border-brand-focused: #114338;--border-brand-navigation-active: #176b57;--border-brand-navigation-divider: #145143;--border-danger: #de2048;--border-info: #1465fc;--border-warning: #f4922b;--border-success: #0b8a4d;--content-primary: #201f1f;--content-secondary: #3e3e3d;--content-tertiary: #737272;--content-primary-inverse: #ffffff;--content-disabled: #cdcccb;--content-brand-default: #1b8065;--content-brand-hover: #176b57;--content-brand-pressed: #145143;--content-brand-navigation-default: #d7f4e6;--content-brand-navigation-hover: #effaf6;--content-brand-navigation-disabled: #176b57;--content-link-default: #2b86ff;--content-link-hover: #1465fc;--content-link-pressed: #0d4fea;--content-link-visited-default: #7d5a9f;--content-link-visited-hover: #674883;--content-link-visited-pressed: #563c6c;--content-danger-default: #de2048;--content-danger-hover: #c81640;--content-danger-inverse: #ffffff;--content-success-default: #0b8a4d;--content-success-hover: #0e6d40;--content-info-default: #1465fc;--content-info-hover: #0d4fea;--content-decorative: #201f1f;--brand-navigation-divider: #145143;--brand-navigation-divider-2: #145143;--brand-navigation-divider-3: #145143;--brand-navigation-divider-4: #145143;--chart-brand: #2a9f7d;--chart-neutral: #acacab;--chart-category-1: #397ebe;--chart-category-2: #ff2c74;--chart-category-3: #7d5a9f;--chart-category-4: #2a9f7d;--chart-category-5: #233857;--chart-category-6: #ed6e13;--chart-category-7: #73636c;--chart-category-8: #639cad;--chart-bleu-iceberg: #e6eef8;--chart-bleu-iceberg-bold: #397ebe;--chart-vert-foret: #d7f4e6;--chart-vert-foret-bold: #4dba97;--chart-violet: #d2c3e4;--chart-violet-bold: #7d5a9f;--chart-bleu-rte: #e0f5fe;--chart-bleu-rte-bold: #00a6d9;--chart-bleu-digital: #d8ebff;--chart-bleu-digital-bold: #2b86ff;--chart-marine: #e7edf7;--chart-marine-bold: #3d70ad;--chart-bleu-petrole: #deecef;--chart-bleu-petrole-bold: #478093;--chart-bleu-cyan: #d1f9fc;--chart-bleu-cyan-bold: #0fb3cb;--chart-vert: #c7fff4;--chart-vert-bold: #04c8b1;--chart-vert-indications: #e6f2a4;--chart-vert-indications-bold: #bed942;--chart-vert-digital: #d9ffec;--chart-vert-digital-bold: #3cec96;--chart-jaune: #faffc1;--chart-jaune-bold: #ffe500;--chart-jaune-ocre: #faefc7;--chart-jaune-ocre-bold: #ebb53d;--chart-jaune-indications: #fce7c9;--chart-jaune-indications-bold: #f4922b;--chart-saumon: #fde8e3;--chart-saumon-bold: #ec775c;--chart-rose-digital: #ffccd1;--chart-rose-digital-bold: #f93a58;--chart-fuschia: #ffe1e9;--chart-fuschia-bold: #ff2c74;--chart-rouge-indications: #ffe4e6;--chart-rouge-indications-bold: #f14662;--chart-greyscale: #ebebea;--chart-greyscale-bold: #7f7e7e;--chart-taupe: #e7e3e6;--chart-taupe-bold: #8a7883;--decorative-neutral: #ebebea;--decorative-bleu-iceberg: #c7dbf0;--decorative-vert-foret: #d7f4e6;--decorative-violet: #e6def0;--decorative-bleu-rte: #b9edfe;--decorative-bleu-digital: #baddff;--decorative-marine: #e7edf7;--decorative-bleu-petrole: #c1dae0;--decorative-bleu-cyan: #a9f2f8;--decorative-vert: #90ffe8;--decorative-vert-indications: #e6f2a4;--decorative-vert-digital: #b5fdd9;--decorative-jaune: #faffc1;--decorative-jaune-ocre: #f5de93;--decorative-jaune-indications: #f9ce8e;--decorative-saumon: #f9b7a8;--decorative-rose-digital: #ffccd1;--decorative-fuschia: #ffc8d8;--decorative-rouge-indication: #ffe4e6;--decorative-taupe: #e7e3e6;--elevation-surface-inner-shadow: rgba(0, 0, 0, 0);--elevation-surface-shadow-1: rgba(255, 255, 255, 0);--elevation-surface-shadow-2: rgba(255, 255, 255, 0);--elevation-surface-shadow-3: rgba(255, 255, 255, 0);--elevation-surface-shadow-4: rgba(255, 255, 255, 0);--elevation-surface-shadow-5: rgba(255, 255, 255, 0);--elevation-surface-shadow-6: rgba(255, 255, 255, 0);--elevation-shadow-ambient: rgba(0, 0, 0, 0.12);--elevation-shadow-ambient-darker: rgba(0, 0, 0, 0.2);--elevation-shadow-ambient-brand: rgba(0, 0, 0, 0.25);--elevation-shadow-key: rgba(0, 0, 0, 0.14);--elevation-shadow-key-darker: rgba(0, 0, 0, 0.24);--elevation-shadow-key-brand: rgba(0, 0, 0, 0.31);--brand-navigation-divider-5: #145143;--brand-navigation-divider-6: #145143;--brand-navigation-divider-7: #145143;--background-brand-hover-opacity-20: rgba(23, 107, 87, 0.2);--background-danger-hover-opacity-20: rgba(200, 22, 64, 0.2);--background-hover-opacity-50: rgba(235, 235, 234, 0.5)}:root [data-theme=vert_foret][data-mode=dark]{--background-default: #201f1f;--background-hover: #3e3e3d;--background-neutral-regular-default: #595958;--background-neutral-regular-hover: #7f7e7e;--background-neutral-bold-default: #cdcccb;--background-neutral-bold-hover: #ebebea;--background-neutral-navigation-default: #ebebea;--background-neutral-navigation-hover: #e1e1e0;--background-disabled: #3e3e3d;--background-inverse: #ffffff;--background-brand-default: #81d4b7;--background-brand-hover: #b3e7d1;--background-brand-pressed: #d7f4e6;--background-brand-selected-default: #81d4b7;--background-brand-selected-hover: #b3e7d1;--background-brand-unselected-default: #176b57;--background-brand-unselected-hover: #1b8065;--background-brand-inverse-default: #201f1f;--background-brand-inverse-hover: #176b57;--background-brand-inverse-pressed: #1b8065;--background-brand-navigation-default: #082620;--background-brand-navigation-hover: #114338;--background-brand-navigation-pressed: #176b57;--background-danger-default: #f14662;--background-danger-hover: #f97385;--background-danger-pressed: #fca5af;--background-info-default: #53aaff;--background-warning-default: #ffe500;--background-success-default: #3cec96;--border-primary: #a1a1a0;--border-secondary: #737272;--border-tertiary: #3e3e3d;--border-divider: #a1a1a0;--border-disabled: #595958;--border-inverse: #201f1f;--border-brand-default: #f5fcfa;--border-brand-focused: #f5fcfa;--border-brand-navigation-active: #176b57;--border-brand-navigation-divider: #145143;--border-danger: #f14662;--border-info: #53aaff;--border-warning: #f4922b;--border-success: #3cec96;--content-primary: #ffffff;--content-secondary: #e1e1e0;--content-tertiary: #b7b7b6;--content-primary-inverse: #201f1f;--content-disabled: #595958;--content-brand-default: #f5fcfa;--content-brand-hover: #effaf6;--content-brand-pressed: #d7f4e6;--content-brand-navigation-default: #d7f4e6;--content-brand-navigation-hover: #effaf6;--content-brand-navigation-disabled: #176b57;--content-link-default: #2b86ff;--content-link-hover: #53aaff;--content-link-pressed: #8ac8ff;--content-link-visited-default: #9979bc;--content-link-visited-hover: #b89fd3;--content-link-visited-pressed: #d2c3e4;--content-danger-default: #f14662;--content-danger-hover: #f97385;--content-danger-inverse: #ffffff;--content-success-default: #3cec96;--content-success-hover: #12d577;--content-info-default: #53aaff;--content-info-hover: #2b86ff;--content-decorative: #201f1f;--brand-navigation-divider: #145143;--brand-navigation-divider-2: #145143;--brand-navigation-divider-3: #145143;--brand-navigation-divider-4: #145143;--chart-brand: #2a9f7d;--chart-neutral: #acacab;--chart-category-1: #397ebe;--chart-category-2: #ff2c74;--chart-category-3: #7d5a9f;--chart-category-4: #2a9f7d;--chart-category-5: #233857;--chart-category-6: #ed6e13;--chart-category-7: #73636c;--chart-category-8: #639cad;--chart-bleu-iceberg: #e6eef8;--chart-bleu-iceberg-bold: #397ebe;--chart-vert-foret: #d7f4e6;--chart-vert-foret-bold: #4dba97;--chart-violet: #d2c3e4;--chart-violet-bold: #7d5a9f;--chart-bleu-rte: #e0f5fe;--chart-bleu-rte-bold: #00a6d9;--chart-bleu-digital: #d8ebff;--chart-bleu-digital-bold: #2b86ff;--chart-marine: #e7edf7;--chart-marine-bold: #3d70ad;--chart-bleu-petrole: #deecef;--chart-bleu-petrole-bold: #478093;--chart-bleu-cyan: #d1f9fc;--chart-bleu-cyan-bold: #0fb3cb;--chart-vert: #c7fff4;--chart-vert-bold: #04c8b1;--chart-vert-indications: #e6f2a4;--chart-vert-indications-bold: #bed942;--chart-vert-digital: #d9ffec;--chart-vert-digital-bold: #3cec96;--chart-jaune: #faffc1;--chart-jaune-bold: #ffe500;--chart-jaune-ocre: #faefc7;--chart-jaune-ocre-bold: #ebb53d;--chart-jaune-indications: #fce7c9;--chart-jaune-indications-bold: #f4922b;--chart-saumon: #fde8e3;--chart-saumon-bold: #ec775c;--chart-rose-digital: #ffccd1;--chart-rose-digital-bold: #f93a58;--chart-fuschia: #ffe1e9;--chart-fuschia-bold: #ff2c74;--chart-rouge-indications: #ffe4e6;--chart-rouge-indications-bold: #f14662;--chart-greyscale: #ebebea;--chart-greyscale-bold: #7f7e7e;--chart-taupe: #e7e3e6;--chart-taupe-bold: #8a7883;--decorative-neutral: #ebebea;--decorative-bleu-iceberg: #c7dbf0;--decorative-vert-foret: #d7f4e6;--decorative-violet: #e6def0;--decorative-bleu-rte: #b9edfe;--decorative-bleu-digital: #baddff;--decorative-marine: #e7edf7;--decorative-bleu-petrole: #c1dae0;--decorative-bleu-cyan: #a9f2f8;--decorative-vert: #90ffe8;--decorative-vert-indications: #e6f2a4;--decorative-vert-digital: #b5fdd9;--decorative-jaune: #faffc1;--decorative-jaune-ocre: #f5de93;--decorative-jaune-indications: #f9ce8e;--decorative-saumon: #f9b7a8;--decorative-rose-digital: #ffccd1;--decorative-fuschia: #ffc8d8;--decorative-rouge-indication: #ffe4e6;--decorative-taupe: #e7e3e6;--elevation-surface-inner-shadow: rgba(0, 0, 0, 0.2);--elevation-surface-shadow-1: rgba(255, 255, 255, 0.03);--elevation-surface-shadow-2: rgba(255, 255, 255, 0.05);--elevation-surface-shadow-3: rgba(255, 255, 255, 0.08);--elevation-surface-shadow-4: rgba(255, 255, 255, 0.1);--elevation-surface-shadow-5: rgba(255, 255, 255, 0.12);--elevation-surface-shadow-6: rgba(255, 255, 255, 0.14);--elevation-shadow-ambient: rgba(0, 0, 0, 0.2);--elevation-shadow-ambient-darker: rgba(0, 0, 0, 0.4);--elevation-shadow-ambient-brand: rgba(0, 0, 0, 0.17);--elevation-shadow-key: rgba(0, 0, 0, 0.28);--elevation-shadow-key-darker: rgba(0, 0, 0, 0.48);--elevation-shadow-key-brand: rgba(0, 0, 0, 0.21);--brand-navigation-divider-5: #145143;--brand-navigation-divider-6: #145143;--brand-navigation-divider-7: #145143;--background-brand-hover-opacity-20: rgba(179, 231, 209, 0.2);--background-danger-hover-opacity-20: rgba(241, 70, 98, 0.2);--background-hover-opacity-50: rgba(62, 62, 61, 0.5)}
|
package/css/violet.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
:root [data-theme=violet][data-mode=light]{--: }:root [data-theme=violet][data-mode=dark]{--: }
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import fs from "fs";
|
|
2
|
+
import path from "path";
|
|
3
|
+
|
|
4
|
+
import sass from "sass";
|
|
5
|
+
|
|
6
|
+
const outputDir = path.resolve(__dirname, "css");
|
|
7
|
+
|
|
8
|
+
if (!fs.existsSync(outputDir)) {
|
|
9
|
+
fs.mkdirSync(outputDir);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
const fontFile = `
|
|
13
|
+
@font-face {
|
|
14
|
+
font-display: swap;
|
|
15
|
+
font-family: 'Nunito';
|
|
16
|
+
font-style: normal;
|
|
17
|
+
font-weight: 300;
|
|
18
|
+
src: url('@design-system-rte/core/assets/fonts/nunito-light-300.woff2') format('woff2');
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@font-face {
|
|
22
|
+
font-display: swap;
|
|
23
|
+
font-family: 'Nunito';
|
|
24
|
+
font-style: normal;
|
|
25
|
+
font-weight: 400;
|
|
26
|
+
src: url('@design-system-rte/core/assets/fonts/nunito-regular-400.woff2') format('woff2');
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@font-face {
|
|
30
|
+
font-display: swap;
|
|
31
|
+
font-family: 'Nunito';
|
|
32
|
+
font-style: normal;
|
|
33
|
+
font-weight: 600;
|
|
34
|
+
src: url('@design-system-rte/core/assets/fonts/nunito-semi-bold-600.woff2') format('woff2');
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
@font-face {
|
|
38
|
+
font-display: swap;
|
|
39
|
+
font-family: 'Nunito';
|
|
40
|
+
font-style: normal;
|
|
41
|
+
font-weight: 700;
|
|
42
|
+
src: url('@design-system-rte/core/assets/fonts/nunito-bold-700.woff2') format('woff2');
|
|
43
|
+
}
|
|
44
|
+
`;
|
|
45
|
+
|
|
46
|
+
const fontResult = sass.compileString(fontFile, {
|
|
47
|
+
loadPaths: [path.resolve(__dirname)],
|
|
48
|
+
style: "compressed",
|
|
49
|
+
});
|
|
50
|
+
|
|
51
|
+
fs.writeFileSync(path.join(outputDir, "rte-fonts.css"), fontResult.css);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@forward "mixins";
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '../../tokens/public/themes' as *;
|
|
3
|
+
|
|
4
|
+
@mixin apply-theme($targetTheme: bleu_iceberg, $mode: light) {
|
|
5
|
+
$selectedTheme: map.get($themes, $targetTheme, $mode);
|
|
6
|
+
@include extract-custom-properties-from-theme($selectedTheme);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@mixin theme-selector($targetTheme: bleu_iceberg, $mode: light) {
|
|
10
|
+
$theme: map.get($themes, $targetTheme, $mode);
|
|
11
|
+
|
|
12
|
+
[data-theme="#{$targetTheme}"][data-mode="#{$mode}"] {
|
|
13
|
+
@include extract-custom-properties-from-theme($theme);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@mixin extract-custom-properties-from-theme($theme) {
|
|
18
|
+
@each $property, $value in $theme {
|
|
19
|
+
--#{$property}: #{$value};
|
|
20
|
+
}
|
|
21
|
+
}
|