diff --git a/docs/README.md b/docs/README.md index 97b7648..c92d908 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,5 +1,5 @@ +# **pint** (formerly gitccentify) -# **pint** (formerly gitccentify) ![rewrite-status](https://img.shields.io/badge/status-rewrite-orange) ![pint-status](https://img.shields.io/badge/pint-dev-red) ![gitccentify-status](https://img.shields.io/badge/gitccentify-released-green) @@ -16,37 +16,35 @@

- - - ## installation + you can install this extension via the chrome web store (old version) or manually. ### chrome web store installation -please note that the version in the chrome web store is V1, which is very bad and outdated. + +please note that the version in the chrome web store is V1, which is very bad and outdated. ### manual/source installation + 1. clone this repository 2. run `yarn build` or `yabai` 3. open extension settings in chrome/brave/chromium 4. turn on developer mode -5. load unpacked extension +5. load unpacked extension 6. load the build folder ## roadmap + please check #12. - - ## contributing + contributions are welcome ❤️. however, please do keep in mind that this is a very early project and things are bound to be messy. i mean just look at these linting errors.

![lintlmao](https://go.fuwa.sh/u/9eTsWq.png) - -



pint • by fuwaa


diff --git a/public/Initial.js b/public/Initial.js index 3ec6041..974a392 100644 --- a/public/Initial.js +++ b/public/Initial.js @@ -1,487 +1,489 @@ key = "pintScheme"; userScheme = {}; defaultColorScheme = { - "__color_canvas_default_transparent" : "rgba(13, 17, 23, 0)", - "__color_page_header_bg" : "#0d1117", - "__color_marketing_icon_primary" : "#79c0ff", - "__color_marketing_icon_secondary" : "#1f6feb", - "__color_diff_blob_addition_num_text" : "#c9d1d9", - "__color_diff_blob_addition_fg" : "#c9d1d9", - "__color_diff_blob_addition_num_bg" : "rgba(63, 185, 80, 0.3)", - "__color_diff_blob_addition_line_bg" : "rgba(46, 160, 67, 0.15)", - "__color_diff_blob_addition_word_bg" : "rgba(46, 160, 67, 0.4)", - "__color_diff_blob_deletion_num_text" : "#c9d1d9", - "__color_diff_blob_deletion_fg" : "#c9d1d9", - "__color_diff_blob_deletion_num_bg" : "rgba(248, 81, 73, 0.3)", - "__color_diff_blob_deletion_line_bg" : "rgba(248, 81, 73, 0.15)", - "__color_diff_blob_deletion_word_bg" : "rgba(248, 81, 73, 0.4)", - "__color_diff_blob_hunk_num_bg" : "rgba(56, 139, 253, 0.4)", - "__color_diff_blob_expander_icon" : "#8b949e", - "__color_diff_blob_selected_line_highlight_mix_blend_mode" : "screen", - "__color_diffstat_deletion_border" : "rgba(240, 246, 252, 0.1)", - "__color_diffstat_addition_border" : "rgba(240, 246, 252, 0.1)", - "__color_diffstat_addition_bg" : "#3fb950", - "__color_search_keyword_hl" : "rgba(210, 153, 34, 0.4)", - "__color_prettylights_syntax_comment" : "#8b949e", - "__color_prettylights_syntax_constant" : "#79c0ff", - "__color_prettylights_syntax_entity" : "#d2a8ff", - "__color_prettylights_syntax_storage_modifier_import" : "#c9d1d9", - "__color_prettylights_syntax_entity_tag" : "#7ee787", - "__color_prettylights_syntax_keyword" : "#ff7b72", - "__color_prettylights_syntax_string" : "#a5d6ff", - "__color_prettylights_syntax_variable" : "#ffa657", - "__color_prettylights_syntax_brackethighlighter_unmatched" : "#f85149", - "__color_prettylights_syntax_invalid_illegal_text" : "#f0f6fc", - "__color_prettylights_syntax_invalid_illegal_bg" : "#8e1519", - "__color_prettylights_syntax_carriage_return_text" : "#f0f6fc", - "__color_prettylights_syntax_carriage_return_bg" : "#b62324", - "__color_prettylights_syntax_string_regexp" : "#7ee787", - "__color_prettylights_syntax_markup_list" : "#f2cc60", - "__color_prettylights_syntax_markup_heading" : "#1f6feb", - "__color_prettylights_syntax_markup_italic" : "#c9d1d9", - "__color_prettylights_syntax_markup_bold" : "#c9d1d9", - "__color_prettylights_syntax_markup_deleted_text" : "#ffdcd7", - "__color_prettylights_syntax_markup_deleted_bg" : "#67060c", - "__color_prettylights_syntax_markup_inserted_text" : "#aff5b4", - "__color_prettylights_syntax_markup_inserted_bg" : "#033a16", - "__color_prettylights_syntax_markup_changed_text" : "#ffdfb6", - "__color_prettylights_syntax_markup_changed_bg" : "#5a1e02", - "__color_prettylights_syntax_markup_ignored_text" : "#c9d1d9", - "__color_prettylights_syntax_markup_ignored_bg" : "#1158c7", - "__color_prettylights_syntax_meta_diff_range" : "#d2a8ff", - "__color_prettylights_syntax_brackethighlighter_angle" : "#8b949e", - "__color_prettylights_syntax_sublimelinter_gutter_mark" : "#484f58", - "__color_prettylights_syntax_constant_other_reference_link" : "#a5d6ff", - "__color_codemirror_text" : "#c9d1d9", - "__color_codemirror_bg" : "#0d1117", - "__color_codemirror_gutters_bg" : "#0d1117", - "__color_codemirror_guttermarker_text" : "#0d1117", - "__color_codemirror_guttermarker_subtle_text" : "#6e7681", - "__color_codemirror_linenumber_text" : "#8b949e", - "__color_codemirror_cursor" : "#c9d1d9", - "__color_codemirror_selection_bg" : "rgba(56, 139, 253, 0.4)", - "__color_codemirror_activeline_bg" : "rgba(110, 118, 129, 0.1)", - "__color_codemirror_matchingbracket_text" : "#c9d1d9", - "__color_codemirror_lines_bg" : "#0d1117", - "__color_codemirror_syntax_comment" : "#8b949e", - "__color_codemirror_syntax_constant" : "#79c0ff", - "__color_codemirror_syntax_entity" : "#d2a8ff", - "__color_codemirror_syntax_keyword" : "#ff7b72", - "__color_codemirror_syntax_storage" : "#ff7b72", - "__color_codemirror_syntax_string" : "#a5d6ff", - "__color_codemirror_syntax_support" : "#79c0ff", - "__color_codemirror_syntax_variable" : "#ffa657", - "__color_checks_bg" : "#010409", - "__color_checks_run_border_width" : "1px", - "__color_checks_container_border_width" : "1px", - "__color_checks_text_primary" : "#c9d1d9", - "__color_checks_text_secondary" : "#8b949e", - "__color_checks_text_link" : "#58a6ff", - "__color_checks_btn_icon" : "#8b949e", - "__color_checks_btn_hover_icon" : "#c9d1d9", - "__color_checks_btn_hover_bg" : "rgba(110, 118, 129, 0.1)", - "__color_checks_input_text" : "#8b949e", - "__color_checks_input_placeholder_text" : "#6e7681", - "__color_checks_input_focus_text" : "#c9d1d9", - "__color_checks_input_bg" : "#161b22", - "__color_checks_input_shadow" : "0 0 0 1px (obj) => get_1.default(obj, path)", - "__color_checks_donut_error" : "#f85149", - "__color_checks_donut_pending" : "#d29922", - "__color_checks_donut_success" : "#2ea043", - "__color_checks_donut_neutral" : "#8b949e", - "__color_checks_dropdown_text" : "#c9d1d9", - "__color_checks_dropdown_bg" : "#161b22", - "__color_checks_dropdown_border" : "#30363d", - "__color_checks_dropdown_shadow" : "rgba(1, 4, 9, 0.3)", - "__color_checks_dropdown_hover_text" : "#c9d1d9", - "__color_checks_dropdown_hover_bg" : "rgba(110, 118, 129, 0.1)", - "__color_checks_dropdown_btn_hover_text" : "#c9d1d9", - "__color_checks_dropdown_btn_hover_bg" : "rgba(110, 118, 129, 0.1)", - "__color_checks_scrollbar_thumb_bg" : "rgba(110, 118, 129, 0.4)", - "__color_checks_header_label_text" : "#8b949e", - "__color_checks_header_label_open_text" : "#c9d1d9", - "__color_checks_header_border" : "#21262d", - "__color_checks_header_icon" : "#8b949e", - "__color_checks_line_text" : "#8b949e", - "__color_checks_line_num_text" : "#6e7681", - "__color_checks_line_timestamp_text" : "#6e7681", - "__color_checks_line_hover_bg" : "rgba(110, 118, 129, 0.1)", - "__color_checks_line_selected_bg" : "rgba(56, 139, 253, 0.15)", - "__color_checks_line_selected_num_text" : "#58a6ff", - "__color_checks_line_dt_fm_text" : "#ffffff", - "__color_checks_line_dt_fm_bg" : "#9e6a03", - "__color_checks_gate_bg" : "rgba(187, 128, 9, 0.15)", - "__color_checks_gate_text" : "#8b949e", - "__color_checks_gate_waiting_text" : "#d29922", - "__color_checks_step_header_open_bg" : "#161b22", - "__color_checks_step_error_text" : "#f85149", - "__color_checks_step_warning_text" : "#d29922", - "__color_checks_logline_text" : "#8b949e", - "__color_checks_logline_num_text" : "#6e7681", - "__color_checks_logline_debug_text" : "#a371f7", - "__color_checks_logline_error_text" : "#8b949e", - "__color_checks_logline_error_num_text" : "#6e7681", - "__color_checks_logline_error_bg" : "rgba(248, 81, 73, 0.15)", - "__color_checks_logline_warning_text" : "#8b949e", - "__color_checks_logline_warning_num_text" : "#d29922", - "__color_checks_logline_warning_bg" : "rgba(187, 128, 9, 0.15)", - "__color_checks_logline_command_text" : "#58a6ff", - "__color_checks_logline_section_text" : "#3fb950", - "__color_checks_ans_Iblack" : "#0d1117", - "__color_checks_ans_Iblack_bright" : "#161b22", - "__color_checks_ans_Iwhite" : "#b1bac4", - "__color_checks_ans_Iwhite_bright" : "#b1bac4", - "__color_checks_ans_Igray" : "#6e7681", - "__color_checks_ans_Ired" : "#ff7b72", - "__color_checks_ans_Ired_bright" : "#ffa198", - "__color_checks_ans_Igreen" : "#3fb950", - "__color_checks_ans_Igreen_bright" : "#56d364", - "__color_checks_ans_Iyellow" : "#d29922", - "__color_checks_ans_Iyellow_bright" : "#e3b341", - "__color_checks_ans_Iblue" : "#58a6ff", - "__color_checks_ans_Iblue_bright" : "#79c0ff", - "__color_checks_ans_Imagenta" : "#bc8cff", - "__color_checks_ans_Imagenta_bright" : "#d2a8ff", - "__color_checks_ans_Icyan" : "#76e3ea", - "__color_checks_ans_Icyan_bright" : "#b3f0ff", - "__color_project_header_bg" : "#0d1117", - "__color_project_sidebar_bg" : "#161b22", - "__color_project_gradient_in" : "#161b22", - "__color_project_gradient_out" : "rgba(22, 27, 34, 0)", - "__color_mktg_btn_bg" : "#f6f8fa", - "__color_mktg_btn_shadow_outline" : "rgb(255 255 255 / 25%) 0 0 0 1px inset", - "__color_mktg_btn_shadow_focus" : "rgb(255 255 255 / 25%) 0 0 0 4px", - "__color_mktg_btn_shadow_hover" : + __color_canvas_default_transparent: "rgba(13, 17, 23, 0)", + __color_page_header_bg: "#0d1117", + __color_marketing_icon_primary: "#79c0ff", + __color_marketing_icon_secondary: "#1f6feb", + __color_diff_blob_addition_num_text: "#c9d1d9", + __color_diff_blob_addition_fg: "#c9d1d9", + __color_diff_blob_addition_num_bg: "rgba(63, 185, 80, 0.3)", + __color_diff_blob_addition_line_bg: "rgba(46, 160, 67, 0.15)", + __color_diff_blob_addition_word_bg: "rgba(46, 160, 67, 0.4)", + __color_diff_blob_deletion_num_text: "#c9d1d9", + __color_diff_blob_deletion_fg: "#c9d1d9", + __color_diff_blob_deletion_num_bg: "rgba(248, 81, 73, 0.3)", + __color_diff_blob_deletion_line_bg: "rgba(248, 81, 73, 0.15)", + __color_diff_blob_deletion_word_bg: "rgba(248, 81, 73, 0.4)", + __color_diff_blob_hunk_num_bg: "rgba(56, 139, 253, 0.4)", + __color_diff_blob_expander_icon: "#8b949e", + __color_diff_blob_selected_line_highlight_mix_blend_mode: "screen", + __color_diffstat_deletion_border: "rgba(240, 246, 252, 0.1)", + __color_diffstat_addition_border: "rgba(240, 246, 252, 0.1)", + __color_diffstat_addition_bg: "#3fb950", + __color_search_keyword_hl: "rgba(210, 153, 34, 0.4)", + __color_prettylights_syntax_comment: "#8b949e", + __color_prettylights_syntax_constant: "#79c0ff", + __color_prettylights_syntax_entity: "#d2a8ff", + __color_prettylights_syntax_storage_modifier_import: "#c9d1d9", + __color_prettylights_syntax_entity_tag: "#7ee787", + __color_prettylights_syntax_keyword: "#ff7b72", + __color_prettylights_syntax_string: "#a5d6ff", + __color_prettylights_syntax_variable: "#ffa657", + __color_prettylights_syntax_brackethighlighter_unmatched: "#f85149", + __color_prettylights_syntax_invalid_illegal_text: "#f0f6fc", + __color_prettylights_syntax_invalid_illegal_bg: "#8e1519", + __color_prettylights_syntax_carriage_return_text: "#f0f6fc", + __color_prettylights_syntax_carriage_return_bg: "#b62324", + __color_prettylights_syntax_string_regexp: "#7ee787", + __color_prettylights_syntax_markup_list: "#f2cc60", + __color_prettylights_syntax_markup_heading: "#1f6feb", + __color_prettylights_syntax_markup_italic: "#c9d1d9", + __color_prettylights_syntax_markup_bold: "#c9d1d9", + __color_prettylights_syntax_markup_deleted_text: "#ffdcd7", + __color_prettylights_syntax_markup_deleted_bg: "#67060c", + __color_prettylights_syntax_markup_inserted_text: "#aff5b4", + __color_prettylights_syntax_markup_inserted_bg: "#033a16", + __color_prettylights_syntax_markup_changed_text: "#ffdfb6", + __color_prettylights_syntax_markup_changed_bg: "#5a1e02", + __color_prettylights_syntax_markup_ignored_text: "#c9d1d9", + __color_prettylights_syntax_markup_ignored_bg: "#1158c7", + __color_prettylights_syntax_meta_diff_range: "#d2a8ff", + __color_prettylights_syntax_brackethighlighter_angle: "#8b949e", + __color_prettylights_syntax_sublimelinter_gutter_mark: "#484f58", + __color_prettylights_syntax_constant_other_reference_link: "#a5d6ff", + __color_codemirror_text: "#c9d1d9", + __color_codemirror_bg: "#0d1117", + __color_codemirror_gutters_bg: "#0d1117", + __color_codemirror_guttermarker_text: "#0d1117", + __color_codemirror_guttermarker_subtle_text: "#6e7681", + __color_codemirror_linenumber_text: "#8b949e", + __color_codemirror_cursor: "#c9d1d9", + __color_codemirror_selection_bg: "rgba(56, 139, 253, 0.4)", + __color_codemirror_activeline_bg: "rgba(110, 118, 129, 0.1)", + __color_codemirror_matchingbracket_text: "#c9d1d9", + __color_codemirror_lines_bg: "#0d1117", + __color_codemirror_syntax_comment: "#8b949e", + __color_codemirror_syntax_constant: "#79c0ff", + __color_codemirror_syntax_entity: "#d2a8ff", + __color_codemirror_syntax_keyword: "#ff7b72", + __color_codemirror_syntax_storage: "#ff7b72", + __color_codemirror_syntax_string: "#a5d6ff", + __color_codemirror_syntax_support: "#79c0ff", + __color_codemirror_syntax_variable: "#ffa657", + __color_checks_bg: "#010409", + __color_checks_run_border_width: "1px", + __color_checks_container_border_width: "1px", + __color_checks_text_primary: "#c9d1d9", + __color_checks_text_secondary: "#8b949e", + __color_checks_text_link: "#58a6ff", + __color_checks_btn_icon: "#8b949e", + __color_checks_btn_hover_icon: "#c9d1d9", + __color_checks_btn_hover_bg: "rgba(110, 118, 129, 0.1)", + __color_checks_input_text: "#8b949e", + __color_checks_input_placeholder_text: "#6e7681", + __color_checks_input_focus_text: "#c9d1d9", + __color_checks_input_bg: "#161b22", + __color_checks_input_shadow: "0 0 0 1px (obj) => get_1.default(obj, path)", + __color_checks_donut_error: "#f85149", + __color_checks_donut_pending: "#d29922", + __color_checks_donut_success: "#2ea043", + __color_checks_donut_neutral: "#8b949e", + __color_checks_dropdown_text: "#c9d1d9", + __color_checks_dropdown_bg: "#161b22", + __color_checks_dropdown_border: "#30363d", + __color_checks_dropdown_shadow: "rgba(1, 4, 9, 0.3)", + __color_checks_dropdown_hover_text: "#c9d1d9", + __color_checks_dropdown_hover_bg: "rgba(110, 118, 129, 0.1)", + __color_checks_dropdown_btn_hover_text: "#c9d1d9", + __color_checks_dropdown_btn_hover_bg: "rgba(110, 118, 129, 0.1)", + __color_checks_scrollbar_thumb_bg: "rgba(110, 118, 129, 0.4)", + __color_checks_header_label_text: "#8b949e", + __color_checks_header_label_open_text: "#c9d1d9", + __color_checks_header_border: "#21262d", + __color_checks_header_icon: "#8b949e", + __color_checks_line_text: "#8b949e", + __color_checks_line_num_text: "#6e7681", + __color_checks_line_timestamp_text: "#6e7681", + __color_checks_line_hover_bg: "rgba(110, 118, 129, 0.1)", + __color_checks_line_selected_bg: "rgba(56, 139, 253, 0.15)", + __color_checks_line_selected_num_text: "#58a6ff", + __color_checks_line_dt_fm_text: "#ffffff", + __color_checks_line_dt_fm_bg: "#9e6a03", + __color_checks_gate_bg: "rgba(187, 128, 9, 0.15)", + __color_checks_gate_text: "#8b949e", + __color_checks_gate_waiting_text: "#d29922", + __color_checks_step_header_open_bg: "#161b22", + __color_checks_step_error_text: "#f85149", + __color_checks_step_warning_text: "#d29922", + __color_checks_logline_text: "#8b949e", + __color_checks_logline_num_text: "#6e7681", + __color_checks_logline_debug_text: "#a371f7", + __color_checks_logline_error_text: "#8b949e", + __color_checks_logline_error_num_text: "#6e7681", + __color_checks_logline_error_bg: "rgba(248, 81, 73, 0.15)", + __color_checks_logline_warning_text: "#8b949e", + __color_checks_logline_warning_num_text: "#d29922", + __color_checks_logline_warning_bg: "rgba(187, 128, 9, 0.15)", + __color_checks_logline_command_text: "#58a6ff", + __color_checks_logline_section_text: "#3fb950", + __color_checks_ans_Iblack: "#0d1117", + __color_checks_ans_Iblack_bright: "#161b22", + __color_checks_ans_Iwhite: "#b1bac4", + __color_checks_ans_Iwhite_bright: "#b1bac4", + __color_checks_ans_Igray: "#6e7681", + __color_checks_ans_Ired: "#ff7b72", + __color_checks_ans_Ired_bright: "#ffa198", + __color_checks_ans_Igreen: "#3fb950", + __color_checks_ans_Igreen_bright: "#56d364", + __color_checks_ans_Iyellow: "#d29922", + __color_checks_ans_Iyellow_bright: "#e3b341", + __color_checks_ans_Iblue: "#58a6ff", + __color_checks_ans_Iblue_bright: "#79c0ff", + __color_checks_ans_Imagenta: "#bc8cff", + __color_checks_ans_Imagenta_bright: "#d2a8ff", + __color_checks_ans_Icyan: "#76e3ea", + __color_checks_ans_Icyan_bright: "#b3f0ff", + __color_project_header_bg: "#0d1117", + __color_project_sidebar_bg: "#161b22", + __color_project_gradient_in: "#161b22", + __color_project_gradient_out: "rgba(22, 27, 34, 0)", + __color_mktg_btn_bg: "#f6f8fa", + __color_mktg_btn_shadow_outline: "rgb(255 255 255 / 25%) 0 0 0 1px inset", + __color_mktg_btn_shadow_focus: "rgb(255 255 255 / 25%) 0 0 0 4px", + __color_mktg_btn_shadow_hover: "0 4px 7px rgba(0, 0, 0, 0.15), 0 100px 80px rgba(255, 255, 255, 0.02), 0 42px 33px rgba(255, 255, 255, 0.024), 0 22px 18px rgba(255, 255, 255, 0.028), 0 12px 10px rgba(255, 255, 255, 0.034), 0 7px 5px rgba(255, 255, 255, 0.04), 0 3px 2px rgba(255, 255, 255, 0.07)", - "__color_mktg_btn_shadow_hover_muted" : "rgb(255 255 255) 0 0 0 2px inset", - "__color_avatar_bg" : "rgba(255, 255, 255, 0.1)", - "__color_avatar_border" : "rgba(240, 246, 252, 0.1)", - "__color_avatar_stack_fade" : "#30363d", - "__color_avatar_stack_fade_more" : "#21262d", - "__color_avatar_child_shadow" : "_2px _2px 0 #0d1117", - "__color_topic_tag_border" : "rgba(0, 0, 0, 0)", - "__color_counter_border" : "rgba(0, 0, 0, 0)", - "__color_select_menu_backdrop_border" : "#484f58", - "__color_select_menu_tap_highlight" : "rgba(48, 54, 61, 0.5)", - "__color_select_menu_tap_focus_bg" : "#0c2d6b", - "__color_overlay_shadow" : "0 0 0 1px #30363d, 0 16px 32px rgba(1, 4, 9, 0.85)", - "__color_header_text" : "rgba(255, 255, 255, 0.7)", - "__color_header_bg" : "#161b22", - "__color_header_divider" : "#8b949e", - "__color_header_logo" : "#f0f6fc", - "__color_header_search_bg" : "#0d1117", - "__color_header_search_border" : "#30363d", - "__color_sidenav_selected_bg" : "#21262d", - "__color_menu_bg_active" : "#161b22", - "__color_input_disabled_bg" : "rgba(110, 118, 129, 0)", - "__color_timeline_badge_bg" : "#21262d", - "__color_ans_Iblack" : "#484f58", - "__color_ans_Iblack_bright" : "#6e7681", - "__color_ans_Iwhite" : "#b1bac4", - "__color_ans_Iwhite_bright" : "#ffffff", - "__color_ans_Igray" : "#6e7681", - "__color_ans_Ired" : "#ff7b72", - "__color_ans_Ired_bright" : "#ffa198", - "__color_ans_Igreen" : "#3fb950", - "__color_ans_Igreen_bright" : "#56d364", - "__color_ans_Iyellow" : "#d29922", - "__color_ans_Iyellow_bright" : "#e3b341", - "__color_ans_Iblue" : "#58a6ff", - "__color_ans_Iblue_bright" : "#79c0ff", - "__color_ans_Imagenta" : "#bc8cff", - "__color_ans_Imagenta_bright" : "#d2a8ff", - "__color_ans_Icyan" : "#39c5cf", - "__color_ans_Icyan_bright" : "#56d4dd", - "__color_btn_text" : "#c9d1d9", - "__color_btn_bg" : "#21262d", - "__color_btn_border" : "rgba(240, 246, 252, 0.1)", - "__color_btn_shadow" : "0 0 transparent", - "__color_btn_inset_shadow" : "0 0 transparent", - "__color_btn_hover_bg" : "#30363d", - "__color_btn_hover_border" : "#8b949e", - "__color_btn_active_bg" : "hsla(212, 12%, 18%, 1)", - "__color_btn_active_border" : "#6e7681", - "__color_btn_selected_bg" : "#161b22", - "__color_btn_focus_bg" : "#21262d", - "__color_btn_focus_border" : "#8b949e", - "__color_btn_focus_shadow" : "0 0 0 3px rgba(139, 148, 158, 0.3)", - "__color_btn_shadow_active" : "inset 0 0.15em 0.3em rgba(1, 4, 9, 0.15)", - "__color_btn_shadow_input_focus" : "0 0 0 0.2em rgba(31, 111, 235, 0.3)", - "__color_btn_counter_bg" : "#30363d", - "__color_btn_primary_text" : "#ffffff", - "__color_btn_primary_bg" : "#238636", - "__color_btn_primary_border" : "rgba(240, 246, 252, 0.1)", - "__color_btn_primary_shadow" : "0 0 transparent", - "__color_btn_primary_inset_shadow" : "0 0 transparent", - "__color_btn_primary_hover_bg" : "#2ea043", - "__color_btn_primary_hover_border" : "rgba(240, 246, 252, 0.1)", - "__color_btn_primary_selected_bg" : "#238636", - "__color_btn_primary_selected_shadow" : "0 0 transparent", - "__color_btn_primary_disabled_text" : "rgba(255, 255, 255, 0.5)", - "__color_btn_primary_disabled_bg" : "rgba(35, 134, 54, 0.6)", - "__color_btn_primary_disabled_border" : "rgba(240, 246, 252, 0.1)", - "__color_btn_primary_focus_bg" : "#238636", - "__color_btn_primary_focus_border" : "rgba(240, 246, 252, 0.1)", - "__color_btn_primary_focus_shadow" : "0 0 0 3px rgba(46, 164, 79, 0.4)", - "__color_btn_primary_icon" : "#ffffff", - "__color_btn_primary_counter_bg" : "rgba(255, 255, 255, 0.2)", - "__color_btn_outline_text" : "#58a6ff", - "__color_btn_outline_hover_text" : "#58a6ff", - "__color_btn_outline_hover_bg" : "#30363d", - "__color_btn_outline_hover_border" : "rgba(240, 246, 252, 0.1)", - "__color_btn_outline_hover_shadow" : "0 1px 0 rgba(1, 4, 9, 0.1)", - "__color_btn_outline_hover_inset_shadow" : + __color_mktg_btn_shadow_hover_muted: "rgb(255 255 255) 0 0 0 2px inset", + __color_avatar_bg: "rgba(255, 255, 255, 0.1)", + __color_avatar_border: "rgba(240, 246, 252, 0.1)", + __color_avatar_stack_fade: "#30363d", + __color_avatar_stack_fade_more: "#21262d", + __color_avatar_child_shadow: "_2px _2px 0 #0d1117", + __color_topic_tag_border: "rgba(0, 0, 0, 0)", + __color_counter_border: "rgba(0, 0, 0, 0)", + __color_select_menu_backdrop_border: "#484f58", + __color_select_menu_tap_highlight: "rgba(48, 54, 61, 0.5)", + __color_select_menu_tap_focus_bg: "#0c2d6b", + __color_overlay_shadow: "0 0 0 1px #30363d, 0 16px 32px rgba(1, 4, 9, 0.85)", + __color_header_text: "rgba(255, 255, 255, 0.7)", + __color_header_bg: "#161b22", + __color_header_divider: "#8b949e", + __color_header_logo: "#f0f6fc", + __color_header_search_bg: "#0d1117", + __color_header_search_border: "#30363d", + __color_sidenav_selected_bg: "#21262d", + __color_menu_bg_active: "#161b22", + __color_input_disabled_bg: "rgba(110, 118, 129, 0)", + __color_timeline_badge_bg: "#21262d", + __color_ans_Iblack: "#484f58", + __color_ans_Iblack_bright: "#6e7681", + __color_ans_Iwhite: "#b1bac4", + __color_ans_Iwhite_bright: "#ffffff", + __color_ans_Igray: "#6e7681", + __color_ans_Ired: "#ff7b72", + __color_ans_Ired_bright: "#ffa198", + __color_ans_Igreen: "#3fb950", + __color_ans_Igreen_bright: "#56d364", + __color_ans_Iyellow: "#d29922", + __color_ans_Iyellow_bright: "#e3b341", + __color_ans_Iblue: "#58a6ff", + __color_ans_Iblue_bright: "#79c0ff", + __color_ans_Imagenta: "#bc8cff", + __color_ans_Imagenta_bright: "#d2a8ff", + __color_ans_Icyan: "#39c5cf", + __color_ans_Icyan_bright: "#56d4dd", + __color_btn_text: "#c9d1d9", + __color_btn_bg: "#21262d", + __color_btn_border: "rgba(240, 246, 252, 0.1)", + __color_btn_shadow: "0 0 transparent", + __color_btn_inset_shadow: "0 0 transparent", + __color_btn_hover_bg: "#30363d", + __color_btn_hover_border: "#8b949e", + __color_btn_active_bg: "hsla(212, 12%, 18%, 1)", + __color_btn_active_border: "#6e7681", + __color_btn_selected_bg: "#161b22", + __color_btn_focus_bg: "#21262d", + __color_btn_focus_border: "#8b949e", + __color_btn_focus_shadow: "0 0 0 3px rgba(139, 148, 158, 0.3)", + __color_btn_shadow_active: "inset 0 0.15em 0.3em rgba(1, 4, 9, 0.15)", + __color_btn_shadow_input_focus: "0 0 0 0.2em rgba(31, 111, 235, 0.3)", + __color_btn_counter_bg: "#30363d", + __color_btn_primary_text: "#ffffff", + __color_btn_primary_bg: "#238636", + __color_btn_primary_border: "rgba(240, 246, 252, 0.1)", + __color_btn_primary_shadow: "0 0 transparent", + __color_btn_primary_inset_shadow: "0 0 transparent", + __color_btn_primary_hover_bg: "#2ea043", + __color_btn_primary_hover_border: "rgba(240, 246, 252, 0.1)", + __color_btn_primary_selected_bg: "#238636", + __color_btn_primary_selected_shadow: "0 0 transparent", + __color_btn_primary_disabled_text: "rgba(255, 255, 255, 0.5)", + __color_btn_primary_disabled_bg: "rgba(35, 134, 54, 0.6)", + __color_btn_primary_disabled_border: "rgba(240, 246, 252, 0.1)", + __color_btn_primary_focus_bg: "#238636", + __color_btn_primary_focus_border: "rgba(240, 246, 252, 0.1)", + __color_btn_primary_focus_shadow: "0 0 0 3px rgba(46, 164, 79, 0.4)", + __color_btn_primary_icon: "#ffffff", + __color_btn_primary_counter_bg: "rgba(255, 255, 255, 0.2)", + __color_btn_outline_text: "#58a6ff", + __color_btn_outline_hover_text: "#58a6ff", + __color_btn_outline_hover_bg: "#30363d", + __color_btn_outline_hover_border: "rgba(240, 246, 252, 0.1)", + __color_btn_outline_hover_shadow: "0 1px 0 rgba(1, 4, 9, 0.1)", + __color_btn_outline_hover_inset_shadow: "inset 0 1px 0 rgba(255, 255, 255, 0.03)", - "__color_btn_outline_hover_counter_bg" : "rgba(255, 255, 255, 0.2)", - "__color_btn_outline_selected_text" : "#ffffff", - "__color_btn_outline_selected_bg" : "#0d419d", - "__color_btn_outline_selected_border" : "rgba(240, 246, 252, 0.1)", - "__color_btn_outline_selected_shadow" : "0 0 transparent", - "__color_btn_outline_disabled_text" : "rgba(88, 166, 255, 0.5)", - "__color_btn_outline_disabled_bg" : "#0d1117", - "__color_btn_outline_disabled_counter_bg" : "rgba(31, 111, 235, 0.05)", - "__color_btn_outline_focus_border" : "rgba(240, 246, 252, 0.1)", - "__color_btn_outline_focus_shadow" : "0 0 0 3px rgba(17, 88, 199, 0.4)", - "__color_btn_outline_counter_bg" : "rgba(31, 111, 235, 0.1)", - "__color_btn_danger_text" : "#f85149", - "__color_btn_danger_hover_text" : "#ffffff", - "__color_btn_danger_hover_bg" : "#da3633", - "__color_btn_danger_hover_border" : "#f85149", - "__color_btn_danger_hover_shadow" : "0 0 transparent", - "__color_btn_danger_hover_inset_shadow" : "0 0 transparent", - "__color_btn_danger_hover_icon" : "#ffffff", - "__color_btn_danger_hover_counter_bg" : "rgba(255, 255, 255, 0.2)", - "__color_btn_danger_selected_text" : "#ffffff", - "__color_btn_danger_selected_bg" : "#b62324", - "__color_btn_danger_selected_border" : "#ff7b72", - "__color_btn_danger_selected_shadow" : "0 0 transparent", - "__color_btn_danger_disabled_text" : "rgba(248, 81, 73, 0.5)", - "__color_btn_danger_disabled_bg" : "#0d1117", - "__color_btn_danger_disabled_counter_bg" : "rgba(218, 54, 51, 0.05)", - "__color_btn_danger_focus_border" : "#f85149", - "__color_btn_danger_focus_shadow" : "0 0 0 3px rgba(248, 81, 73, 0.4)", - "__color_btn_danger_counter_bg" : "rgba(218, 54, 51, 0.1)", - "__color_btn_danger_icon" : "#f85149", - "__color_underlinenav_icon" : "#6e7681", - "__color_underlinenav_border_hover" : "rgba(110, 118, 129, 0.4)", - "__color_action_list_item_inline_divider" : "rgba(48, 54, 61, 0.48)", - "__color_action_list_item_default_hover_bg" : "rgba(177, 186, 196, 0.12)", - "__color_action_list_item_default_hover_border" : "rgba(0, 0, 0, 0)", - "__color_action_list_item_default_active_bg" : "rgba(177, 186, 196, 0.2)", - "__color_action_list_item_default_active_border" : "rgba(0, 0, 0, 0)", - "__color_action_list_item_default_selected_bg" : "rgba(177, 186, 196, 0.08)", - "__color_action_list_item_danger_hover_bg" : "rgba(248, 81, 73, 0.16)", - "__color_action_list_item_danger_active_bg" : "rgba(248, 81, 73, 0.24)", - "__color_action_list_item_danger_hover_text" : "#ff7b72", - "__color_switch_track_bg" : "#010409", - "__color_switch_track_border" : "#6e7681", - "__color_switch_track_checked_bg" : "rgba(31, 111, 235, 0.35)", - "__color_switch_track_checked_hover_bg" : "rgba(31, 111, 235, 0.5)", - "__color_switch_track_checked_active_bg" : "rgba(31, 111, 235, 0.65)", - "__color_switch_track_checked_border" : "#58a6ff", - "__color_switch_knob_checked_bg" : "#1f6feb", - "__color_switch_knob_checked_disabled_bg" : "#484f58", - "__color_fg_default" : "#c9d1d9", - "__color_fg_muted" : "#8b949e", - "__color_fg_subtle" : "#6e7681", - "__color_fg_on_emphasis" : "#ffffff", - "__color_canvas_default" : "#0d1117", - "__color_canvas_overlay" : "#161b22", - "__color_canvas_inset" : "#010409", - "__color_canvas_subtle" : "#161b22", - "__color_border_default" : "#30363d", - "__color_border_muted" : "#21262d", - "__color_border_subtle" : "rgba(240, 246, 252, 0.1)", - "__color_shadow_small" : "0 0 transparent", - "__color_shadow_medium" : "0 3px 6px #010409", - "__color_shadow_large" : "0 8px 24px #010409", - "__color_shadow_extra_large" : "0 12px 48px #010409", - "__color_neutral_emphasis_plus" : "#6e7681", - "__color_neutral_emphasis" : "#6e7681", - "__color_neutral_muted" : "rgba(110, 118, 129, 0.4)", - "__color_neutral_subtle" : "rgba(110, 118, 129, 0.1)", - "__color_accent_fg" : "#58a6ff", - "__color_accent_emphasis" : "#1f6feb", - "__color_accent_muted" : "rgba(56, 139, 253, 0.4)", - "__color_accent_subtle" : "rgba(56, 139, 253, 0.15)", - "__color_success_fg" : "#3fb950", - "__color_success_emphasis" : "#238636", - "__color_success_muted" : "rgba(46, 160, 67, 0.4)", - "__color_success_subtle" : "rgba(46, 160, 67, 0.15)", - "__color_attention_fg" : "#d29922", - "__color_attention_emphasis" : "#9e6a03", - "__color_attention_muted" : "rgba(187, 128, 9, 0.4)", - "__color_attention_subtle" : "rgba(187, 128, 9, 0.15)", - "__color_severe_fg" : "#db6d28", - "__color_severe_emphasis" : "#bd561d", - "__color_severe_muted" : "rgba(219, 109, 40, 0.4)", - "__color_severe_subtle" : "rgba(219, 109, 40, 0.15)", - "__color_danger_fg" : "#f85149", - "__color_danger_emphasis" : "#da3633", - "__color_danger_muted" : "rgba(248, 81, 73, 0.4)", - "__color_danger_subtle" : "rgba(248, 81, 73, 0.15)", - "__color_open_fg" : "#3fb950", - "__color_open_emphasis" : "#238636", - "__color_open_muted" : "rgba(46, 160, 67, 0.4)", - "__color_open_subtle" : "rgba(46, 160, 67, 0.15)", - "__color_closed_fg" : "#f85149", - "__color_closed_emphasis" : "#da3633", - "__color_closed_muted" : "rgba(248, 81, 73, 0.4)", - "__color_closed_subtle" : "rgba(248, 81, 73, 0.15)", - "__color_done_fg" : "#a371f7", - "__color_done_emphasis" : "#8957e5", - "__color_done_muted" : "rgba(163, 113, 247, 0.4)", - "__color_done_subtle" : "rgba(163, 113, 247, 0.15)", - "__color_sponsors_fg" : "#db61a2", - "__color_sponsors_emphasis" : "#bf4b8a", - "__color_sponsors_muted" : "rgba(219, 97, 162, 0.4)", - "__color_sponsors_subtle" : "rgba(219, 97, 162, 0.15)", - "__color_primer_fg_disabled" : "#484f58", - "__color_primer_canvas_backdrop" : "rgba(1, 4, 9, 0.8)", - "__color_primer_canvas_sticky" : "rgba(13, 17, 23, 0.95)", - "__color_primer_border_active" : "#F78166", - "__color_primer_border_contrast" : "rgba(255, 255, 255, 0.2)", - "__color_primer_shadow_highlight" : "0 0 transparent", - "__color_primer_shadow_inset" : "0 0 transparent", - "__color_primer_shadow_focus" : "0 0 0 3px #0c2d6b", - "__color_scale_black" : "#010409", - "__color_scale_white" : "#ffffff", - "__color_scale_gray_0" : "#f0f6fc", - "__color_scale_gray_1" : "#c9d1d9", - "__color_scale_gray_2" : "#b1bac4", - "__color_scale_gray_3" : "#8b949e", - "__color_scale_gray_4" : "#6e7681", - "__color_scale_gray_5" : "#484f58", - "__color_scale_gray_6" : "#30363d", - "__color_scale_gray_7" : "#21262d", - "__color_scale_gray_8" : "#161b22", - "__color_scale_gray_9" : "#0d1117", - "__color_scale_blue_0" : "#cae8ff", - "__color_scale_blue_1" : "#a5d6ff", - "__color_scale_blue_2" : "#79c0ff", - "__color_scale_blue_3" : "#58a6ff", - "__color_scale_blue_4" : "#388bfd", - "__color_scale_blue_5" : "#1f6feb", - "__color_scale_blue_6" : "#1158c7", - "__color_scale_blue_7" : "#0d419d", - "__color_scale_blue_8" : "#0c2d6b", - "__color_scale_blue_9" : "#051d4d", - "__color_scale_green_0" : "#aff5b4", - "__color_scale_green_1" : "#7ee787", - "__color_scale_green_2" : "#56d364", - "__color_scale_green_3" : "#3fb950", - "__color_scale_green_4" : "#2ea043", - "__color_scale_green_5" : "#238636", - "__color_scale_green_6" : "#196c2e", - "__color_scale_green_7" : "#0f5323", - "__color_scale_green_8" : "#033a16", - "__color_scale_green_9" : "#04260f", - "__color_scale_yellow_0" : "#f8e3a1", - "__color_scale_yellow_1" : "#f2cc60", - "__color_scale_yellow_2" : "#e3b341", - "__color_scale_yellow_3" : "#d29922", - "__color_scale_yellow_4" : "#bb8009", - "__color_scale_yellow_5" : "#9e6a03", - "__color_scale_yellow_6" : "#845306", - "__color_scale_yellow_7" : "#693e00", - "__color_scale_yellow_8" : "#4b2900", - "__color_scale_yellow_9" : "#341a00", - "__color_scale_orange_0" : "#ffdfb6", - "__color_scale_orange_1" : "#ffc680", - "__color_scale_orange_2" : "#ffa657", - "__color_scale_orange_3" : "#f0883e", - "__color_scale_orange_4" : "#db6d28", - "__color_scale_orange_5" : "#bd561d", - "__color_scale_orange_6" : "#9b4215", - "__color_scale_orange_7" : "#762d0a", - "__color_scale_orange_8" : "#5a1e02", - "__color_scale_orange_9" : "#3d1300", - "__color_scale_red_0" : "#ffdcd7", - "__color_scale_red_1" : "#ffc1ba", - "__color_scale_red_2" : "#ffa198", - "__color_scale_red_3" : "#ff7b72", - "__color_scale_red_4" : "#f85149", - "__color_scale_red_5" : "#da3633", - "__color_scale_red_6" : "#b62324", - "__color_scale_red_7" : "#8e1519", - "__color_scale_red_8" : "#67060c", - "__color_scale_red_9" : "#490202", - "__color_scale_purple_0" : "#eddeff", - "__color_scale_purple_1" : "#e2c5ff", - "__color_scale_purple_2" : "#d2a8ff", - "__color_scale_purple_3" : "#bc8cff", - "__color_scale_purple_4" : "#a371f7", - "__color_scale_purple_5" : "#8957e5", - "__color_scale_purple_6" : "#6e40c9", - "__color_scale_purple_7" : "#553098", - "__color_scale_purple_8" : "#3c1e70", - "__color_scale_purple_9" : "#271052", - "__color_scale_pink_0" : "#ffdaec", - "__color_scale_pink_1" : "#ffbedd", - "__color_scale_pink_2" : "#ff9bce", - "__color_scale_pink_3" : "#f778ba", - "__color_scale_pink_4" : "#db61a2", - "__color_scale_pink_5" : "#bf4b8a", - "__color_scale_pink_6" : "#9e3670", - "__color_scale_pink_7" : "#7d2457", - "__color_scale_pink_8" : "#5e103e", - "__color_scale_pink_9" : "#42062a", - "__color_scale_coral_0" : "#FFDDD2", - "__color_scale_coral_1" : "#FFC2B2", - "__color_scale_coral_2" : "#FFA28B", - "__color_scale_coral_3" : "#F78166", - "__color_scale_coral_4" : "#EA6045", - "__color_scale_coral_5" : "#CF462D", - "__color_scale_coral_6" : "#AC3220", - "__color_scale_coral_7" : "#872012", - "__color_scale_coral_8" : "#640D04", - "__color_scale_coral_9" : "#460701", - "__color_workflow_card_header_shadow" : "rgba(27, 31, 35, 0.04)", - "__color_calendar_halloween_graph_day_L1_bg" : "#631c03", - "__color_calendar_halloween_graph_day_L2_bg" : "#bd561d", - "__color_calendar_halloween_graph_day_L3_bg" : "#fa7a18", - "__color_calendar_halloween_graph_day_L4_bg" : "#fddf68", - "__color_calendar_graph_day_border" : "rgba(27, 31, 35, 0.06)", - "__color_calendar_graph_day_bg" : "rgba(0,0,0,0.1)", - "__color_calendar_graph_day_L1_bg" : "#0e4429", - "__color_calendar_graph_day_L2_bg" : "#006d32", - "__color_calendar_graph_day_L3_bg" : "#26a641", - "__color_calendar_graph_day_L4_bg" : "#39d353", - "__color_calendar_graph_day_L1_border" : "rgba(255, 255, 255, 0.05)", - "__color_calendar_graph_day_L2_border" : "rgba(255, 255, 255, 0.05)", - "__color_calendar_graph_day_L3_border" : "rgba(255, 255, 255, 0.05)", - "__color_calendar_graph_day_L4_border" : "rgba(255, 255, 255, 0.05)", + __color_btn_outline_hover_counter_bg: "rgba(255, 255, 255, 0.2)", + __color_btn_outline_selected_text: "#ffffff", + __color_btn_outline_selected_bg: "#0d419d", + __color_btn_outline_selected_border: "rgba(240, 246, 252, 0.1)", + __color_btn_outline_selected_shadow: "0 0 transparent", + __color_btn_outline_disabled_text: "rgba(88, 166, 255, 0.5)", + __color_btn_outline_disabled_bg: "#0d1117", + __color_btn_outline_disabled_counter_bg: "rgba(31, 111, 235, 0.05)", + __color_btn_outline_focus_border: "rgba(240, 246, 252, 0.1)", + __color_btn_outline_focus_shadow: "0 0 0 3px rgba(17, 88, 199, 0.4)", + __color_btn_outline_counter_bg: "rgba(31, 111, 235, 0.1)", + __color_btn_danger_text: "#f85149", + __color_btn_danger_hover_text: "#ffffff", + __color_btn_danger_hover_bg: "#da3633", + __color_btn_danger_hover_border: "#f85149", + __color_btn_danger_hover_shadow: "0 0 transparent", + __color_btn_danger_hover_inset_shadow: "0 0 transparent", + __color_btn_danger_hover_icon: "#ffffff", + __color_btn_danger_hover_counter_bg: "rgba(255, 255, 255, 0.2)", + __color_btn_danger_selected_text: "#ffffff", + __color_btn_danger_selected_bg: "#b62324", + __color_btn_danger_selected_border: "#ff7b72", + __color_btn_danger_selected_shadow: "0 0 transparent", + __color_btn_danger_disabled_text: "rgba(248, 81, 73, 0.5)", + __color_btn_danger_disabled_bg: "#0d1117", + __color_btn_danger_disabled_counter_bg: "rgba(218, 54, 51, 0.05)", + __color_btn_danger_focus_border: "#f85149", + __color_btn_danger_focus_shadow: "0 0 0 3px rgba(248, 81, 73, 0.4)", + __color_btn_danger_counter_bg: "rgba(218, 54, 51, 0.1)", + __color_btn_danger_icon: "#f85149", + __color_underlinenav_icon: "#6e7681", + __color_underlinenav_border_hover: "rgba(110, 118, 129, 0.4)", + __color_action_list_item_inline_divider: "rgba(48, 54, 61, 0.48)", + __color_action_list_item_default_hover_bg: "rgba(177, 186, 196, 0.12)", + __color_action_list_item_default_hover_border: "rgba(0, 0, 0, 0)", + __color_action_list_item_default_active_bg: "rgba(177, 186, 196, 0.2)", + __color_action_list_item_default_active_border: "rgba(0, 0, 0, 0)", + __color_action_list_item_default_selected_bg: "rgba(177, 186, 196, 0.08)", + __color_action_list_item_danger_hover_bg: "rgba(248, 81, 73, 0.16)", + __color_action_list_item_danger_active_bg: "rgba(248, 81, 73, 0.24)", + __color_action_list_item_danger_hover_text: "#ff7b72", + __color_switch_track_bg: "#010409", + __color_switch_track_border: "#6e7681", + __color_switch_track_checked_bg: "rgba(31, 111, 235, 0.35)", + __color_switch_track_checked_hover_bg: "rgba(31, 111, 235, 0.5)", + __color_switch_track_checked_active_bg: "rgba(31, 111, 235, 0.65)", + __color_switch_track_checked_border: "#58a6ff", + __color_switch_knob_checked_bg: "#1f6feb", + __color_switch_knob_checked_disabled_bg: "#484f58", + __color_fg_default: "#c9d1d9", + __color_fg_muted: "#8b949e", + __color_fg_subtle: "#6e7681", + __color_fg_on_emphasis: "#ffffff", + __color_canvas_default: "#0d1117", + __color_canvas_overlay: "#161b22", + __color_canvas_inset: "#010409", + __color_canvas_subtle: "#161b22", + __color_border_default: "#30363d", + __color_border_muted: "#21262d", + __color_border_subtle: "rgba(240, 246, 252, 0.1)", + __color_shadow_small: "0 0 transparent", + __color_shadow_medium: "0 3px 6px #010409", + __color_shadow_large: "0 8px 24px #010409", + __color_shadow_extra_large: "0 12px 48px #010409", + __color_neutral_emphasis_plus: "#6e7681", + __color_neutral_emphasis: "#6e7681", + __color_neutral_muted: "rgba(110, 118, 129, 0.4)", + __color_neutral_subtle: "rgba(110, 118, 129, 0.1)", + __color_accent_fg: "#58a6ff", + __color_accent_emphasis: "#1f6feb", + __color_accent_muted: "rgba(56, 139, 253, 0.4)", + __color_accent_subtle: "rgba(56, 139, 253, 0.15)", + __color_success_fg: "#3fb950", + __color_success_emphasis: "#238636", + __color_success_muted: "rgba(46, 160, 67, 0.4)", + __color_success_subtle: "rgba(46, 160, 67, 0.15)", + __color_attention_fg: "#d29922", + __color_attention_emphasis: "#9e6a03", + __color_attention_muted: "rgba(187, 128, 9, 0.4)", + __color_attention_subtle: "rgba(187, 128, 9, 0.15)", + __color_severe_fg: "#db6d28", + __color_severe_emphasis: "#bd561d", + __color_severe_muted: "rgba(219, 109, 40, 0.4)", + __color_severe_subtle: "rgba(219, 109, 40, 0.15)", + __color_danger_fg: "#f85149", + __color_danger_emphasis: "#da3633", + __color_danger_muted: "rgba(248, 81, 73, 0.4)", + __color_danger_subtle: "rgba(248, 81, 73, 0.15)", + __color_open_fg: "#3fb950", + __color_open_emphasis: "#238636", + __color_open_muted: "rgba(46, 160, 67, 0.4)", + __color_open_subtle: "rgba(46, 160, 67, 0.15)", + __color_closed_fg: "#f85149", + __color_closed_emphasis: "#da3633", + __color_closed_muted: "rgba(248, 81, 73, 0.4)", + __color_closed_subtle: "rgba(248, 81, 73, 0.15)", + __color_done_fg: "#a371f7", + __color_done_emphasis: "#8957e5", + __color_done_muted: "rgba(163, 113, 247, 0.4)", + __color_done_subtle: "rgba(163, 113, 247, 0.15)", + __color_sponsors_fg: "#db61a2", + __color_sponsors_emphasis: "#bf4b8a", + __color_sponsors_muted: "rgba(219, 97, 162, 0.4)", + __color_sponsors_subtle: "rgba(219, 97, 162, 0.15)", + __color_primer_fg_disabled: "#484f58", + __color_primer_canvas_backdrop: "rgba(1, 4, 9, 0.8)", + __color_primer_canvas_sticky: "rgba(13, 17, 23, 0.95)", + __color_primer_border_active: "#F78166", + __color_primer_border_contrast: "rgba(255, 255, 255, 0.2)", + __color_primer_shadow_highlight: "0 0 transparent", + __color_primer_shadow_inset: "0 0 transparent", + __color_primer_shadow_focus: "0 0 0 3px #0c2d6b", + __color_scale_black: "#010409", + __color_scale_white: "#ffffff", + __color_scale_gray_0: "#f0f6fc", + __color_scale_gray_1: "#c9d1d9", + __color_scale_gray_2: "#b1bac4", + __color_scale_gray_3: "#8b949e", + __color_scale_gray_4: "#6e7681", + __color_scale_gray_5: "#484f58", + __color_scale_gray_6: "#30363d", + __color_scale_gray_7: "#21262d", + __color_scale_gray_8: "#161b22", + __color_scale_gray_9: "#0d1117", + __color_scale_blue_0: "#cae8ff", + __color_scale_blue_1: "#a5d6ff", + __color_scale_blue_2: "#79c0ff", + __color_scale_blue_3: "#58a6ff", + __color_scale_blue_4: "#388bfd", + __color_scale_blue_5: "#1f6feb", + __color_scale_blue_6: "#1158c7", + __color_scale_blue_7: "#0d419d", + __color_scale_blue_8: "#0c2d6b", + __color_scale_blue_9: "#051d4d", + __color_scale_green_0: "#aff5b4", + __color_scale_green_1: "#7ee787", + __color_scale_green_2: "#56d364", + __color_scale_green_3: "#3fb950", + __color_scale_green_4: "#2ea043", + __color_scale_green_5: "#238636", + __color_scale_green_6: "#196c2e", + __color_scale_green_7: "#0f5323", + __color_scale_green_8: "#033a16", + __color_scale_green_9: "#04260f", + __color_scale_yellow_0: "#f8e3a1", + __color_scale_yellow_1: "#f2cc60", + __color_scale_yellow_2: "#e3b341", + __color_scale_yellow_3: "#d29922", + __color_scale_yellow_4: "#bb8009", + __color_scale_yellow_5: "#9e6a03", + __color_scale_yellow_6: "#845306", + __color_scale_yellow_7: "#693e00", + __color_scale_yellow_8: "#4b2900", + __color_scale_yellow_9: "#341a00", + __color_scale_orange_0: "#ffdfb6", + __color_scale_orange_1: "#ffc680", + __color_scale_orange_2: "#ffa657", + __color_scale_orange_3: "#f0883e", + __color_scale_orange_4: "#db6d28", + __color_scale_orange_5: "#bd561d", + __color_scale_orange_6: "#9b4215", + __color_scale_orange_7: "#762d0a", + __color_scale_orange_8: "#5a1e02", + __color_scale_orange_9: "#3d1300", + __color_scale_red_0: "#ffdcd7", + __color_scale_red_1: "#ffc1ba", + __color_scale_red_2: "#ffa198", + __color_scale_red_3: "#ff7b72", + __color_scale_red_4: "#f85149", + __color_scale_red_5: "#da3633", + __color_scale_red_6: "#b62324", + __color_scale_red_7: "#8e1519", + __color_scale_red_8: "#67060c", + __color_scale_red_9: "#490202", + __color_scale_purple_0: "#eddeff", + __color_scale_purple_1: "#e2c5ff", + __color_scale_purple_2: "#d2a8ff", + __color_scale_purple_3: "#bc8cff", + __color_scale_purple_4: "#a371f7", + __color_scale_purple_5: "#8957e5", + __color_scale_purple_6: "#6e40c9", + __color_scale_purple_7: "#553098", + __color_scale_purple_8: "#3c1e70", + __color_scale_purple_9: "#271052", + __color_scale_pink_0: "#ffdaec", + __color_scale_pink_1: "#ffbedd", + __color_scale_pink_2: "#ff9bce", + __color_scale_pink_3: "#f778ba", + __color_scale_pink_4: "#db61a2", + __color_scale_pink_5: "#bf4b8a", + __color_scale_pink_6: "#9e3670", + __color_scale_pink_7: "#7d2457", + __color_scale_pink_8: "#5e103e", + __color_scale_pink_9: "#42062a", + __color_scale_coral_0: "#FFDDD2", + __color_scale_coral_1: "#FFC2B2", + __color_scale_coral_2: "#FFA28B", + __color_scale_coral_3: "#F78166", + __color_scale_coral_4: "#EA6045", + __color_scale_coral_5: "#CF462D", + __color_scale_coral_6: "#AC3220", + __color_scale_coral_7: "#872012", + __color_scale_coral_8: "#640D04", + __color_scale_coral_9: "#460701", + __color_workflow_card_header_shadow: "rgba(27, 31, 35, 0.04)", + __color_calendar_halloween_graph_day_L1_bg: "#631c03", + __color_calendar_halloween_graph_day_L2_bg: "#bd561d", + __color_calendar_halloween_graph_day_L3_bg: "#fa7a18", + __color_calendar_halloween_graph_day_L4_bg: "#fddf68", + __color_calendar_graph_day_border: "rgba(27, 31, 35, 0.06)", + __color_calendar_graph_day_bg: "rgba(0,0,0,0.1)", + __color_calendar_graph_day_L1_bg: "#0e4429", + __color_calendar_graph_day_L2_bg: "#006d32", + __color_calendar_graph_day_L3_bg: "#26a641", + __color_calendar_graph_day_L4_bg: "#39d353", + __color_calendar_graph_day_L1_border: "rgba(255, 255, 255, 0.05)", + __color_calendar_graph_day_L2_border: "rgba(255, 255, 255, 0.05)", + __color_calendar_graph_day_L3_border: "rgba(255, 255, 255, 0.05)", + __color_calendar_graph_day_L4_border: "rgba(255, 255, 255, 0.05)", }; colorSettings = Object.keys(defaultColorScheme); // function initialize() { - console.log(`Pulling Data from Local Storage`); - colorSettings.forEach((colorSetting) => { - - // replace all underscore with dash - var colorSettingVar = colorSetting.replace(/_/g, "-"); - var colorSettingPersist = colorSetting; - chrome.storage.local.get([`${colorSetting}`], function(result) { - if (result[colorSetting] === undefined) { - console.log( - `Key not In Place - ${colorSettingVar}: Defaulting ${defaultColorScheme[colorSettingPersist]}` - ); - var key = {}; - key[`${colorSetting}`] = defaultColorScheme[colorSetting]; - chrome.storage.local.set(key); - document.documentElement.style.setProperty( +console.log(`Pulling Data from Local Storage`); +colorSettings.forEach((colorSetting) => { + // replace all underscore with dash + var colorSettingVar = colorSetting.replace(/_/g, "-"); + var colorSettingPersist = colorSetting; + chrome.storage.local.get([`${colorSetting}`], function (result) { + if (result[colorSetting] === undefined) { + console.log( + `Key not In Place - ${colorSettingVar}: Defaulting ${defaultColorScheme[colorSettingPersist]}` + ); + var key = {}; + key[`${colorSetting}`] = defaultColorScheme[colorSetting]; + chrome.storage.local.set(key); + document.documentElement.style.setProperty( + `${colorSettingVar}`, + defaultColorScheme[colorSettingPersist], + "important" + ); + } else; + { + console.log(`Setting ${colorSettingVar}: ${result[colorSetting]}`); + document + .querySelector(":root") + .style.setProperty( `${colorSettingVar}`, - defaultColorScheme[colorSettingPersist], + `${result[colorSetting]}`, "important" ); - } else; { - console.log(`Setting ${colorSettingVar}: ${result[colorSetting]}`); - document - .querySelector(":root") - .style.setProperty(`${colorSettingVar}`, `${result[colorSetting]}`, "important"); - } - }); - + } }); - +}); diff --git a/public/background.js b/public/background.js index f7c463d..4cb8b36 100644 --- a/public/background.js +++ b/public/background.js @@ -1,477 +1,488 @@ defaultColorScheme = { - "__color_accent_emphasis" : "#1f6feb", - "__color_accent_fg" : "#58a6ff", - "__color_accent_muted" : "rgba(56, 139, 253, 0.4)", - "__color_accent_subtle" : "rgba(56, 139, 253, 0.15)", - "__color_action_list_item_danger_active_bg" : "rgba(248, 81, 73, 0.24)", - "__color_action_list_item_danger_hover_bg" : "rgba(248, 81, 73, 0.16)", - "__color_action_list_item_danger_hover_text" : "#ff7b72", - "__color_action_list_item_default_active_bg" : "rgba(177, 186, 196, 0.2)", - "__color_action_list_item_default_active_border" : "rgba(0, 0, 0, 0)", - "__color_action_list_item_default_hover_bg" : "rgba(177, 186, 196, 0.12)", - "__color_action_list_item_default_hover_border" : "rgba(0, 0, 0, 0)", - "__color_action_list_item_default_selected_bg" : "rgba(177, 186, 196, 0.08)", - "__color_action_list_item_inline_divider" : "rgba(48, 54, 61, 0.48)", - "__color_ans_Iblack_bright" : "#6e7681", - "__color_ans_Iblack" : "#484f58", - "__color_ans_Iblue_bright" : "#79c0ff", - "__color_ans_Iblue" : "#58a6ff", - "__color_ans_Icyan_bright" : "#56d4dd", - "__color_ans_Icyan" : "#39c5cf", - "__color_ans_Igray" : "#6e7681", - "__color_ans_Igreen_bright" : "#56d364", - "__color_ans_Igreen" : "#3fb950", - "__color_ans_Imagenta_bright" : "#d2a8ff", - "__color_ans_Imagenta" : "#bc8cff", - "__color_ans_Ired_bright" : "#ffa198", - "__color_ans_Ired" : "#ff7b72", - "__color_ans_Iwhite_bright" : "#ffffff", - "__color_ans_Iwhite" : "#b1bac4", - "__color_ans_Iyellow_bright" : "#e3b341", - "__color_ans_Iyellow" : "#d29922", - "__color_attention_emphasis" : "#9e6a03", - "__color_attention_fg" : "#d29922", - "__color_attention_muted" : "rgba(187, 128, 9, 0.4)", - "__color_attention_subtle" : "rgba(187, 128, 9, 0.15)", - "__color_avatar_bg" : "rgba(255, 255, 255, 0.1)", - "__color_avatar_border" : "rgba(240, 246, 252, 0.1)", - "__color_avatar_child_shadow" : "_2px _2px 0 #0d1117", - "__color_avatar_stack_fade_more" : "#21262d", - "__color_avatar_stack_fade" : "#30363d", - "__color_border_default" : "#30363d", - "__color_border_muted" : "#21262d", - "__color_border_subtle" : "rgba(240, 246, 252, 0.1)", - "__color_btn_active_bg" : "hsla(212, 12%, 18%, 1)", - "__color_btn_active_border" : "#6e7681", - "__color_btn_bg" : "#21262d", - "__color_btn_border" : "rgba(240, 246, 252, 0.1)", - "__color_btn_counter_bg" : "#30363d", - "__color_btn_danger_counter_bg" : "rgba(218, 54, 51, 0.1)", - "__color_btn_danger_disabled_bg" : "#0d1117", - "__color_btn_danger_disabled_counter_bg" : "rgba(218, 54, 51, 0.05)", - "__color_btn_danger_disabled_text" : "rgba(248, 81, 73, 0.5)", - "__color_btn_danger_focus_border" : "#f85149", - "__color_btn_danger_focus_shadow" : "0 0 0 3px rgba(248, 81, 73, 0.4)", - "__color_btn_danger_hover_bg" : "#da3633", - "__color_btn_danger_hover_border" : "#f85149", - "__color_btn_danger_hover_counter_bg" : "rgba(255, 255, 255, 0.2)", - "__color_btn_danger_hover_icon" : "#ffffff", - "__color_btn_danger_hover_inset_shadow" : "0 0 transparent", - "__color_btn_danger_hover_shadow" : "0 0 transparent", - "__color_btn_danger_hover_text" : "#ffffff", - "__color_btn_danger_icon" : "#f85149", - "__color_btn_danger_selected_bg" : "#b62324", - "__color_btn_danger_selected_border" : "#ff7b72", - "__color_btn_danger_selected_shadow" : "0 0 transparent", - "__color_btn_danger_selected_text" : "#ffffff", - "__color_btn_danger_text" : "#f85149", - "__color_btn_focus_bg" : "#21262d", - "__color_btn_focus_border" : "#8b949e", - "__color_btn_focus_shadow" : "0 0 0 3px rgba(139, 148, 158, 0.3)", - "__color_btn_hover_bg" : "#30363d", - "__color_btn_hover_border" : "#8b949e", - "__color_btn_inset_shadow" : "0 0 transparent", - "__color_btn_outline_counter_bg" : "rgba(31, 111, 235, 0.1)", - "__color_btn_outline_disabled_bg" : "#0d1117", - "__color_btn_outline_disabled_counter_bg" : "rgba(31, 111, 235, 0.05)", - "__color_btn_outline_disabled_text" : "rgba(88, 166, 255, 0.5)", - "__color_btn_outline_focus_border" : "rgba(240, 246, 252, 0.1)", - "__color_btn_outline_focus_shadow" : "0 0 0 3px rgba(17, 88, 199, 0.4)", - "__color_btn_outline_hover_bg" : "#30363d", - "__color_btn_outline_hover_border" : "rgba(240, 246, 252, 0.1)", - "__color_btn_outline_hover_counter_bg" : "rgba(255, 255, 255, 0.2)", - "__color_btn_outline_hover_inset_shadow" : "inset 0 1px 0 rgba(255, 255, 255, 0.03)", - "__color_btn_outline_hover_shadow" : "0 1px 0 rgba(1, 4, 9, 0.1)", - "__color_btn_outline_hover_text" : "#58a6ff", - "__color_btn_outline_selected_bg" : "#0d419d", - "__color_btn_outline_selected_border" : "rgba(240, 246, 252, 0.1)", - "__color_btn_outline_selected_shadow" : "0 0 transparent", - "__color_btn_outline_selected_text" : "#ffffff", - "__color_btn_outline_text" : "#58a6ff", - "__color_btn_primary_bg" : "#238636", - "__color_btn_primary_border" : "rgba(240, 246, 252, 0.1)", - "__color_btn_primary_counter_bg" : "rgba(255, 255, 255, 0.2)", - "__color_btn_primary_disabled_bg" : "rgba(35, 134, 54, 0.6)", - "__color_btn_primary_disabled_border" : "rgba(240, 246, 252, 0.1)", - "__color_btn_primary_disabled_text" : "rgba(255, 255, 255, 0.5)", - "__color_btn_primary_focus_bg" : "#238636", - "__color_btn_primary_focus_border" : "rgba(240, 246, 252, 0.1)", - "__color_btn_primary_focus_shadow" : "0 0 0 3px rgba(46, 164, 79, 0.4)", - "__color_btn_primary_hover_bg" : "#2ea043", - "__color_btn_primary_hover_border" : "rgba(240, 246, 252, 0.1)", - "__color_btn_primary_icon" : "#ffffff", - "__color_btn_primary_inset_shadow" : "0 0 transparent", - "__color_btn_primary_selected_bg" : "#238636", - "__color_btn_primary_selected_shadow" : "0 0 transparent", - "__color_btn_primary_shadow" : "0 0 transparent", - "__color_btn_primary_text" : "#ffffff", - "__color_btn_selected_bg" : "#161b22", - "__color_btn_shadow_active" : "inset 0 0.15em 0.3em rgba(1, 4, 9, 0.15)", - "__color_btn_shadow_input_focus" : "0 0 0 0.2em rgba(31, 111, 235, 0.3)", - "__color_btn_shadow" : "0 0 transparent", - "__color_btn_text" : "#c9d1d9", - "__color_calendar_graph_day_bg" : "rgba(0,0,0,0.1)", - "__color_calendar_graph_day_border" : "rgba(27, 31, 35, 0.06)", - "__color_calendar_graph_day_L1_bg" : "#0e4429", - "__color_calendar_graph_day_L1_border" : "rgba(255, 255, 255, 0.05)", - "__color_calendar_graph_day_L2_bg" : "#006d32", - "__color_calendar_graph_day_L2_border" : "rgba(255, 255, 255, 0.05)", - "__color_calendar_graph_day_L3_bg" : "#26a641", - "__color_calendar_graph_day_L3_border" : "rgba(255, 255, 255, 0.05)", - "__color_calendar_graph_day_L4_bg" : "#39d353", - "__color_calendar_graph_day_L4_border" : "rgba(255, 255, 255, 0.05)", - "__color_calendar_halloween_graph_day_L1_bg" : "#631c03", - "__color_calendar_halloween_graph_day_L2_bg" : "#bd561d", - "__color_calendar_halloween_graph_day_L3_bg" : "#fa7a18", - "__color_calendar_halloween_graph_day_L4_bg" : "#fddf68", - "__color_canvas_default_transparent" : "rgba(13, 17, 23, 0)", - "__color_canvas_default" : "#0d1117", - "__color_canvas_inset" : "#010409", - "__color_canvas_overlay" : "#161b22", - "__color_canvas_subtle" : "#161b22", - "__color_checks_ans_Iblack_bright" : "#161b22", - "__color_checks_ans_Iblack" : "#0d1117", - "__color_checks_ans_Iblue_bright" : "#79c0ff", - "__color_checks_ans_Iblue" : "#58a6ff", - "__color_checks_ans_Icyan_bright" : "#b3f0ff", - "__color_checks_ans_Icyan" : "#76e3ea", - "__color_checks_ans_Igray" : "#6e7681", - "__color_checks_ans_Igreen_bright" : "#56d364", - "__color_checks_ans_Igreen" : "#3fb950", - "__color_checks_ans_Imagenta_bright" : "#d2a8ff", - "__color_checks_ans_Imagenta" : "#bc8cff", - "__color_checks_ans_Ired_bright" : "#ffa198", - "__color_checks_ans_Ired" : "#ff7b72", - "__color_checks_ans_Iwhite_bright" : "#b1bac4", - "__color_checks_ans_Iwhite" : "#b1bac4", - "__color_checks_ans_Iyellow_bright" : "#e3b341", - "__color_checks_ans_Iyellow" : "#d29922", - "__color_checks_bg" : "#010409", - "__color_checks_btn_hover_bg" : "rgba(110, 118, 129, 0.1)", - "__color_checks_btn_hover_icon" : "#c9d1d9", - "__color_checks_btn_icon" : "#8b949e", - "__color_checks_container_border_width" : "1px", - "__color_checks_donut_error" : "#f85149", - "__color_checks_donut_neutral" : "#8b949e", - "__color_checks_donut_pending" : "#d29922", - "__color_checks_donut_success" : "#2ea043", - "__color_checks_dropdown_bg" : "#161b22", - "__color_checks_dropdown_border" : "#30363d", - "__color_checks_dropdown_btn_hover_bg" : "rgba(110, 118, 129, 0.1)", - "__color_checks_dropdown_btn_hover_text" : "#c9d1d9", - "__color_checks_dropdown_hover_bg" : "rgba(110, 118, 129, 0.1)", - "__color_checks_dropdown_hover_text" : "#c9d1d9", - "__color_checks_dropdown_shadow" : "rgba(1, 4, 9, 0.3)", - "__color_checks_dropdown_text" : "#c9d1d9", - "__color_checks_gate_bg" : "rgba(187, 128, 9, 0.15)", - "__color_checks_gate_text" : "#8b949e", - "__color_checks_gate_waiting_text" : "#d29922", - "__color_checks_header_border" : "#21262d", - "__color_checks_header_icon" : "#8b949e", - "__color_checks_header_label_open_text" : "#c9d1d9", - "__color_checks_header_label_text" : "#8b949e", - "__color_checks_input_bg" : "#161b22", - "__color_checks_input_focus_text" : "#c9d1d9", - "__color_checks_input_placeholder_text" : "#6e7681", - "__color_checks_input_shadow" : "0 0 0 1px (obj) => get_1.default(obj, path)", - "__color_checks_input_text" : "#8b949e", - "__color_checks_line_dt_fm_bg" : "#9e6a03", - "__color_checks_line_dt_fm_text" : "#ffffff", - "__color_checks_line_hover_bg" : "rgba(110, 118, 129, 0.1)", - "__color_checks_line_num_text" : "#6e7681", - "__color_checks_line_selected_bg" : "rgba(56, 139, 253, 0.15)", - "__color_checks_line_selected_num_text" : "#58a6ff", - "__color_checks_line_text" : "#8b949e", - "__color_checks_line_timestamp_text" : "#6e7681", - "__color_checks_logline_command_text" : "#58a6ff", - "__color_checks_logline_debug_text" : "#a371f7", - "__color_checks_logline_error_bg" : "rgba(248, 81, 73, 0.15)", - "__color_checks_logline_error_num_text" : "#6e7681", - "__color_checks_logline_error_text" : "#8b949e", - "__color_checks_logline_num_text" : "#6e7681", - "__color_checks_logline_section_text" : "#3fb950", - "__color_checks_logline_text" : "#8b949e", - "__color_checks_logline_warning_bg" : "rgba(187, 128, 9, 0.15)", - "__color_checks_logline_warning_num_text" : "#d29922", - "__color_checks_logline_warning_text" : "#8b949e", - "__color_checks_run_border_width" : "1px", - "__color_checks_scrollbar_thumb_bg" : "rgba(110, 118, 129, 0.4)", - "__color_checks_step_error_text" : "#f85149", - "__color_checks_step_header_open_bg" : "#161b22", - "__color_checks_step_warning_text" : "#d29922", - "__color_checks_text_link" : "#58a6ff", - "__color_checks_text_primary" : "#c9d1d9", - "__color_checks_text_secondary" : "#8b949e", - "__color_closed_emphasis" : "#da3633", - "__color_closed_fg" : "#f85149", - "__color_closed_muted" : "rgba(248, 81, 73, 0.4)", - "__color_closed_subtle" : "rgba(248, 81, 73, 0.15)", - "__color_codemirror_activeline_bg" : "rgba(110, 118, 129, 0.1)", - "__color_codemirror_bg" : "#0d1117", - "__color_codemirror_cursor" : "#c9d1d9", - "__color_codemirror_guttermarker_subtle_text" : "#6e7681", - "__color_codemirror_guttermarker_text" : "#0d1117", - "__color_codemirror_gutters_bg" : "#0d1117", - "__color_codemirror_linenumber_text" : "#8b949e", - "__color_codemirror_lines_bg" : "#0d1117", - "__color_codemirror_matchingbracket_text" : "#c9d1d9", - "__color_codemirror_selection_bg" : "rgba(56, 139, 253, 0.4)", - "__color_codemirror_syntax_comment" : "#8b949e", - "__color_codemirror_syntax_constant" : "#79c0ff", - "__color_codemirror_syntax_entity" : "#d2a8ff", - "__color_codemirror_syntax_keyword" : "#ff7b72", - "__color_codemirror_syntax_storage" : "#ff7b72", - "__color_codemirror_syntax_string" : "#a5d6ff", - "__color_codemirror_syntax_support" : "#79c0ff", - "__color_codemirror_syntax_variable" : "#ffa657", - "__color_codemirror_text" : "#c9d1d9", - "__color_counter_border" : "rgba(0, 0, 0, 0)", - "__color_danger_emphasis" : "#da3633", - "__color_danger_fg" : "#f85149", - "__color_danger_muted" : "rgba(248, 81, 73, 0.4)", - "__color_danger_subtle" : "rgba(248, 81, 73, 0.15)", - "__color_diff_blob_addition_fg" : "#c9d1d9", - "__color_diff_blob_addition_line_bg" : "rgba(46, 160, 67, 0.15)", - "__color_diff_blob_addition_num_bg" : "rgba(63, 185, 80, 0.3)", - "__color_diff_blob_addition_num_text" : "#c9d1d9", - "__color_diff_blob_addition_word_bg" : "rgba(46, 160, 67, 0.4)", - "__color_diff_blob_deletion_fg" : "#c9d1d9", - "__color_diff_blob_deletion_line_bg" : "rgba(248, 81, 73, 0.15)", - "__color_diff_blob_deletion_num_bg" : "rgba(248, 81, 73, 0.3)", - "__color_diff_blob_deletion_num_text" : "#c9d1d9", - "__color_diff_blob_deletion_word_bg" : "rgba(248, 81, 73, 0.4)", - "__color_diff_blob_expander_icon" : "#8b949e", - "__color_diff_blob_hunk_num_bg" : "rgba(56, 139, 253, 0.4)", - "__color_diff_blob_selected_line_highlight_mix_blend_mode" : "screen", - "__color_diffstat_addition_bg" : "#3fb950", - "__color_diffstat_addition_border" : "rgba(240, 246, 252, 0.1)", - "__color_diffstat_deletion_border" : "rgba(240, 246, 252, 0.1)", - "__color_done_emphasis" : "#8957e5", - "__color_done_fg" : "#a371f7", - "__color_done_muted" : "rgba(163, 113, 247, 0.4)", - "__color_done_subtle" : "rgba(163, 113, 247, 0.15)", - "__color_fg_default" : "#c9d1d9", - "__color_fg_muted" : "#8b949e", - "__color_fg_on_emphasis" : "#ffffff", - "__color_fg_subtle" : "#6e7681", - "__color_header_bg" : "#161b22", - "__color_header_divider" : "#8b949e", - "__color_header_logo" : "#f0f6fc", - "__color_header_search_bg" : "#0d1117", - "__color_header_search_border" : "#30363d", - "__color_header_text" : "rgba(255, 255, 255, 0.7)", - "__color_input_disabled_bg" : "rgba(110, 118, 129, 0)", - "__color_marketing_icon_primary" : "#79c0ff", - "__color_marketing_icon_secondary" : "#1f6feb", - "__color_menu_bg_active" : "#161b22", - "__color_mktg_btn_bg" : "#f6f8fa", - "__color_mktg_btn_shadow_focus" : "rgb(255 255 255 / 25%) 0 0 0 4px", - "__color_mktg_btn_shadow_hover_muted" : "rgb(255 255 255) 0 0 0 2px inset", - "__color_mktg_btn_shadow_hover" : "0 4px 7px rgba(0, 0, 0, 0.15), 0 100px 80px rgba(255, 255, 255, 0.02), 0 42px 33px rgba(255, 255, 255, 0.024), 0 22px 18px rgba(255, 255, 255, 0.028), 0 12px 10px rgba(255, 255, 255, 0.034), 0 7px 5px rgba(255, 255, 255, 0.04), 0 3px 2px rgba(255, 255, 255, 0.07)", - "__color_mktg_btn_shadow_outline" : "rgb(255 255 255 / 25%) 0 0 0 1px inset", - "__color_neutral_emphasis_plus" : "#6e7681", - "__color_neutral_emphasis" : "#6e7681", - "__color_neutral_muted" : "rgba(110, 118, 129, 0.4)", - "__color_neutral_subtle" : "rgba(110, 118, 129, 0.1)", - "__color_open_emphasis" : "#238636", - "__color_open_fg" : "#3fb950", - "__color_open_muted" : "rgba(46, 160, 67, 0.4)", - "__color_open_subtle" : "rgba(46, 160, 67, 0.15)", - "__color_overlay_shadow" : "0 0 0 1px #30363d, 0 16px 32px rgba(1, 4, 9, 0.85)", - "__color_page_header_bg" : "#0d1117", - "__color_prettylights_syntax_brackethighlighter_angle" : "#8b949e", - "__color_prettylights_syntax_brackethighlighter_unmatched" : "#f85149", - "__color_prettylights_syntax_carriage_return_bg" : "#b62324", - "__color_prettylights_syntax_carriage_return_text" : "#f0f6fc", - "__color_prettylights_syntax_comment" : "#8b949e", - "__color_prettylights_syntax_constant_other_reference_link" : "#a5d6ff", - "__color_prettylights_syntax_constant" : "#79c0ff", - "__color_prettylights_syntax_entity_tag" : "#7ee787", - "__color_prettylights_syntax_entity" : "#d2a8ff", - "__color_prettylights_syntax_invalid_illegal_bg" : "#8e1519", - "__color_prettylights_syntax_invalid_illegal_text" : "#f0f6fc", - "__color_prettylights_syntax_keyword" : "#ff7b72", - "__color_prettylights_syntax_markup_bold" : "#c9d1d9", - "__color_prettylights_syntax_markup_changed_bg" : "#5a1e02", - "__color_prettylights_syntax_markup_changed_text" : "#ffdfb6", - "__color_prettylights_syntax_markup_deleted_bg" : "#67060c", - "__color_prettylights_syntax_markup_deleted_text" : "#ffdcd7", - "__color_prettylights_syntax_markup_heading" : "#1f6feb", - "__color_prettylights_syntax_markup_ignored_bg" : "#1158c7", - "__color_prettylights_syntax_markup_ignored_text" : "#c9d1d9", - "__color_prettylights_syntax_markup_inserted_bg" : "#033a16", - "__color_prettylights_syntax_markup_inserted_text" : "#aff5b4", - "__color_prettylights_syntax_markup_italic" : "#c9d1d9", - "__color_prettylights_syntax_markup_list" : "#f2cc60", - "__color_prettylights_syntax_meta_diff_range" : "#d2a8ff", - "__color_prettylights_syntax_storage_modifier_import" : "#c9d1d9", - "__color_prettylights_syntax_string_regexp" : "#7ee787", - "__color_prettylights_syntax_string" : "#a5d6ff", - "__color_prettylights_syntax_sublimelinter_gutter_mark" : "#484f58", - "__color_prettylights_syntax_variable" : "#ffa657", - "__color_primer_border_active" : "#F78166", - "__color_primer_border_contrast" : "rgba(255, 255, 255, 0.2)", - "__color_primer_canvas_backdrop" : "rgba(1, 4, 9, 0.8)", - "__color_primer_canvas_sticky" : "rgba(13, 17, 23, 0.95)", - "__color_primer_fg_disabled" : "#484f58", - "__color_primer_shadow_focus" : "0 0 0 3px #0c2d6b", - "__color_primer_shadow_highlight" : "0 0 transparent", - "__color_primer_shadow_inset" : "0 0 transparent", - "__color_project_gradient_in" : "#161b22", - "__color_project_gradient_out" : "rgba(22, 27, 34, 0)", - "__color_project_header_bg" : "#0d1117", - "__color_project_sidebar_bg" : "#161b22", - "__color_scale_black" : "#010409", - "__color_scale_blue_0" : "#cae8ff", - "__color_scale_blue_1" : "#a5d6ff", - "__color_scale_blue_2" : "#79c0ff", - "__color_scale_blue_3" : "#58a6ff", - "__color_scale_blue_4" : "#388bfd", - "__color_scale_blue_5" : "#1f6feb", - "__color_scale_blue_6" : "#1158c7", - "__color_scale_blue_7" : "#0d419d", - "__color_scale_blue_8" : "#0c2d6b", - "__color_scale_blue_9" : "#051d4d", - "__color_scale_coral_0" : "#FFDDD2", - "__color_scale_coral_1" : "#FFC2B2", - "__color_scale_coral_2" : "#FFA28B", - "__color_scale_coral_3" : "#F78166", - "__color_scale_coral_4" : "#EA6045", - "__color_scale_coral_5" : "#CF462D", - "__color_scale_coral_6" : "#AC3220", - "__color_scale_coral_7" : "#872012", - "__color_scale_coral_8" : "#640D04", - "__color_scale_coral_9" : "#460701", - "__color_scale_gray_0" : "#f0f6fc", - "__color_scale_gray_1" : "#c9d1d9", - "__color_scale_gray_2" : "#b1bac4", - "__color_scale_gray_3" : "#8b949e", - "__color_scale_gray_4" : "#6e7681", - "__color_scale_gray_5" : "#484f58", - "__color_scale_gray_6" : "#30363d", - "__color_scale_gray_7" : "#21262d", - "__color_scale_gray_8" : "#161b22", - "__color_scale_gray_9" : "#0d1117", - "__color_scale_green_0" : "#aff5b4", - "__color_scale_green_1" : "#7ee787", - "__color_scale_green_2" : "#56d364", - "__color_scale_green_3" : "#3fb950", - "__color_scale_green_4" : "#2ea043", - "__color_scale_green_5" : "#238636", - "__color_scale_green_6" : "#196c2e", - "__color_scale_green_7" : "#0f5323", - "__color_scale_green_8" : "#033a16", - "__color_scale_green_9" : "#04260f", - "__color_scale_orange_0" : "#ffdfb6", - "__color_scale_orange_1" : "#ffc680", - "__color_scale_orange_2" : "#ffa657", - "__color_scale_orange_3" : "#f0883e", - "__color_scale_orange_4" : "#db6d28", - "__color_scale_orange_5" : "#bd561d", - "__color_scale_orange_6" : "#9b4215", - "__color_scale_orange_7" : "#762d0a", - "__color_scale_orange_8" : "#5a1e02", - "__color_scale_orange_9" : "#3d1300", - "__color_scale_pink_0" : "#ffdaec", - "__color_scale_pink_1" : "#ffbedd", - "__color_scale_pink_2" : "#ff9bce", - "__color_scale_pink_3" : "#f778ba", - "__color_scale_pink_4" : "#db61a2", - "__color_scale_pink_5" : "#bf4b8a", - "__color_scale_pink_6" : "#9e3670", - "__color_scale_pink_7" : "#7d2457", - "__color_scale_pink_8" : "#5e103e", - "__color_scale_pink_9" : "#42062a", - "__color_scale_purple_0" : "#eddeff", - "__color_scale_purple_1" : "#e2c5ff", - "__color_scale_purple_2" : "#d2a8ff", - "__color_scale_purple_3" : "#bc8cff", - "__color_scale_purple_4" : "#a371f7", - "__color_scale_purple_5" : "#8957e5", - "__color_scale_purple_6" : "#6e40c9", - "__color_scale_purple_7" : "#553098", - "__color_scale_purple_8" : "#3c1e70", - "__color_scale_purple_9" : "#271052", - "__color_scale_red_0" : "#ffdcd7", - "__color_scale_red_1" : "#ffc1ba", - "__color_scale_red_2" : "#ffa198", - "__color_scale_red_3" : "#ff7b72", - "__color_scale_red_4" : "#f85149", - "__color_scale_red_5" : "#da3633", - "__color_scale_red_6" : "#b62324", - "__color_scale_red_7" : "#8e1519", - "__color_scale_red_8" : "#67060c", - "__color_scale_red_9" : "#490202", - "__color_scale_white" : "#ffffff", - "__color_scale_yellow_0" : "#f8e3a1", - "__color_scale_yellow_1" : "#f2cc60", - "__color_scale_yellow_2" : "#e3b341", - "__color_scale_yellow_3" : "#d29922", - "__color_scale_yellow_4" : "#bb8009", - "__color_scale_yellow_5" : "#9e6a03", - "__color_scale_yellow_6" : "#845306", - "__color_scale_yellow_7" : "#693e00", - "__color_scale_yellow_8" : "#4b2900", - "__color_scale_yellow_9" : "#341a00", - "__color_search_keyword_hl" : "rgba(210, 153, 34, 0.4)", - "__color_select_menu_backdrop_border" : "#484f58", - "__color_select_menu_tap_focus_bg" : "#0c2d6b", - "__color_select_menu_tap_highlight" : "rgba(48, 54, 61, 0.5)", - "__color_severe_emphasis" : "#bd561d", - "__color_severe_fg" : "#db6d28", - "__color_severe_muted" : "rgba(219, 109, 40, 0.4)", - "__color_severe_subtle" : "rgba(219, 109, 40, 0.15)", - "__color_shadow_extra_large" : "0 12px 48px #010409", - "__color_shadow_large" : "0 8px 24px #010409", - "__color_shadow_medium" : "0 3px 6px #010409", - "__color_shadow_small" : "0 0 transparent", - "__color_sidenav_selected_bg" : "#21262d", - "__color_sponsors_emphasis" : "#bf4b8a", - "__color_sponsors_fg" : "#db61a2", - "__color_sponsors_muted" : "rgba(219, 97, 162, 0.4)", - "__color_sponsors_subtle" : "rgba(219, 97, 162, 0.15)", - "__color_success_emphasis" : "#238636", - "__color_success_fg" : "#3fb950", - "__color_success_muted" : "rgba(46, 160, 67, 0.4)", - "__color_success_subtle" : "rgba(46, 160, 67, 0.15)", - "__color_switch_knob_checked_bg" : "#1f6feb", - "__color_switch_knob_checked_disabled_bg" : "#484f58", - "__color_switch_track_bg" : "#010409", - "__color_switch_track_border" : "#6e7681", - "__color_switch_track_checked_active_bg" : "rgba(31, 111, 235, 0.65)", - "__color_switch_track_checked_bg" : "rgba(31, 111, 235, 0.35)", - "__color_switch_track_checked_border" : "#58a6ff", - "__color_switch_track_checked_hover_bg" : "rgba(31, 111, 235, 0.5)", - "__color_timeline_badge_bg" : "#21262d", - "__color_topic_tag_border" : "rgba(0, 0, 0, 0)", - "__color_underlinenav_border_hover" : "rgba(110, 118, 129, 0.4)", - "__color_underlinenav_icon" : "#6e7681", - "__color_workflow_card_header_shadow" : "rgba(27, 31, 35, 0.04)" - }; - + __color_accent_emphasis: "#1f6feb", + __color_accent_fg: "#58a6ff", + __color_accent_muted: "rgba(56, 139, 253, 0.4)", + __color_accent_subtle: "rgba(56, 139, 253, 0.15)", + __color_action_list_item_danger_active_bg: "rgba(248, 81, 73, 0.24)", + __color_action_list_item_danger_hover_bg: "rgba(248, 81, 73, 0.16)", + __color_action_list_item_danger_hover_text: "#ff7b72", + __color_action_list_item_default_active_bg: "rgba(177, 186, 196, 0.2)", + __color_action_list_item_default_active_border: "rgba(0, 0, 0, 0)", + __color_action_list_item_default_hover_bg: "rgba(177, 186, 196, 0.12)", + __color_action_list_item_default_hover_border: "rgba(0, 0, 0, 0)", + __color_action_list_item_default_selected_bg: "rgba(177, 186, 196, 0.08)", + __color_action_list_item_inline_divider: "rgba(48, 54, 61, 0.48)", + __color_ans_Iblack_bright: "#6e7681", + __color_ans_Iblack: "#484f58", + __color_ans_Iblue_bright: "#79c0ff", + __color_ans_Iblue: "#58a6ff", + __color_ans_Icyan_bright: "#56d4dd", + __color_ans_Icyan: "#39c5cf", + __color_ans_Igray: "#6e7681", + __color_ans_Igreen_bright: "#56d364", + __color_ans_Igreen: "#3fb950", + __color_ans_Imagenta_bright: "#d2a8ff", + __color_ans_Imagenta: "#bc8cff", + __color_ans_Ired_bright: "#ffa198", + __color_ans_Ired: "#ff7b72", + __color_ans_Iwhite_bright: "#ffffff", + __color_ans_Iwhite: "#b1bac4", + __color_ans_Iyellow_bright: "#e3b341", + __color_ans_Iyellow: "#d29922", + __color_attention_emphasis: "#9e6a03", + __color_attention_fg: "#d29922", + __color_attention_muted: "rgba(187, 128, 9, 0.4)", + __color_attention_subtle: "rgba(187, 128, 9, 0.15)", + __color_avatar_bg: "rgba(255, 255, 255, 0.1)", + __color_avatar_border: "rgba(240, 246, 252, 0.1)", + __color_avatar_child_shadow: "_2px _2px 0 #0d1117", + __color_avatar_stack_fade_more: "#21262d", + __color_avatar_stack_fade: "#30363d", + __color_border_default: "#30363d", + __color_border_muted: "#21262d", + __color_border_subtle: "rgba(240, 246, 252, 0.1)", + __color_btn_active_bg: "hsla(212, 12%, 18%, 1)", + __color_btn_active_border: "#6e7681", + __color_btn_bg: "#21262d", + __color_btn_border: "rgba(240, 246, 252, 0.1)", + __color_btn_counter_bg: "#30363d", + __color_btn_danger_counter_bg: "rgba(218, 54, 51, 0.1)", + __color_btn_danger_disabled_bg: "#0d1117", + __color_btn_danger_disabled_counter_bg: "rgba(218, 54, 51, 0.05)", + __color_btn_danger_disabled_text: "rgba(248, 81, 73, 0.5)", + __color_btn_danger_focus_border: "#f85149", + __color_btn_danger_focus_shadow: "0 0 0 3px rgba(248, 81, 73, 0.4)", + __color_btn_danger_hover_bg: "#da3633", + __color_btn_danger_hover_border: "#f85149", + __color_btn_danger_hover_counter_bg: "rgba(255, 255, 255, 0.2)", + __color_btn_danger_hover_icon: "#ffffff", + __color_btn_danger_hover_inset_shadow: "0 0 transparent", + __color_btn_danger_hover_shadow: "0 0 transparent", + __color_btn_danger_hover_text: "#ffffff", + __color_btn_danger_icon: "#f85149", + __color_btn_danger_selected_bg: "#b62324", + __color_btn_danger_selected_border: "#ff7b72", + __color_btn_danger_selected_shadow: "0 0 transparent", + __color_btn_danger_selected_text: "#ffffff", + __color_btn_danger_text: "#f85149", + __color_btn_focus_bg: "#21262d", + __color_btn_focus_border: "#8b949e", + __color_btn_focus_shadow: "0 0 0 3px rgba(139, 148, 158, 0.3)", + __color_btn_hover_bg: "#30363d", + __color_btn_hover_border: "#8b949e", + __color_btn_inset_shadow: "0 0 transparent", + __color_btn_outline_counter_bg: "rgba(31, 111, 235, 0.1)", + __color_btn_outline_disabled_bg: "#0d1117", + __color_btn_outline_disabled_counter_bg: "rgba(31, 111, 235, 0.05)", + __color_btn_outline_disabled_text: "rgba(88, 166, 255, 0.5)", + __color_btn_outline_focus_border: "rgba(240, 246, 252, 0.1)", + __color_btn_outline_focus_shadow: "0 0 0 3px rgba(17, 88, 199, 0.4)", + __color_btn_outline_hover_bg: "#30363d", + __color_btn_outline_hover_border: "rgba(240, 246, 252, 0.1)", + __color_btn_outline_hover_counter_bg: "rgba(255, 255, 255, 0.2)", + __color_btn_outline_hover_inset_shadow: + "inset 0 1px 0 rgba(255, 255, 255, 0.03)", + __color_btn_outline_hover_shadow: "0 1px 0 rgba(1, 4, 9, 0.1)", + __color_btn_outline_hover_text: "#58a6ff", + __color_btn_outline_selected_bg: "#0d419d", + __color_btn_outline_selected_border: "rgba(240, 246, 252, 0.1)", + __color_btn_outline_selected_shadow: "0 0 transparent", + __color_btn_outline_selected_text: "#ffffff", + __color_btn_outline_text: "#58a6ff", + __color_btn_primary_bg: "#238636", + __color_btn_primary_border: "rgba(240, 246, 252, 0.1)", + __color_btn_primary_counter_bg: "rgba(255, 255, 255, 0.2)", + __color_btn_primary_disabled_bg: "rgba(35, 134, 54, 0.6)", + __color_btn_primary_disabled_border: "rgba(240, 246, 252, 0.1)", + __color_btn_primary_disabled_text: "rgba(255, 255, 255, 0.5)", + __color_btn_primary_focus_bg: "#238636", + __color_btn_primary_focus_border: "rgba(240, 246, 252, 0.1)", + __color_btn_primary_focus_shadow: "0 0 0 3px rgba(46, 164, 79, 0.4)", + __color_btn_primary_hover_bg: "#2ea043", + __color_btn_primary_hover_border: "rgba(240, 246, 252, 0.1)", + __color_btn_primary_icon: "#ffffff", + __color_btn_primary_inset_shadow: "0 0 transparent", + __color_btn_primary_selected_bg: "#238636", + __color_btn_primary_selected_shadow: "0 0 transparent", + __color_btn_primary_shadow: "0 0 transparent", + __color_btn_primary_text: "#ffffff", + __color_btn_selected_bg: "#161b22", + __color_btn_shadow_active: "inset 0 0.15em 0.3em rgba(1, 4, 9, 0.15)", + __color_btn_shadow_input_focus: "0 0 0 0.2em rgba(31, 111, 235, 0.3)", + __color_btn_shadow: "0 0 transparent", + __color_btn_text: "#c9d1d9", + __color_calendar_graph_day_bg: "rgba(0,0,0,0.1)", + __color_calendar_graph_day_border: "rgba(27, 31, 35, 0.06)", + __color_calendar_graph_day_L1_bg: "#0e4429", + __color_calendar_graph_day_L1_border: "rgba(255, 255, 255, 0.05)", + __color_calendar_graph_day_L2_bg: "#006d32", + __color_calendar_graph_day_L2_border: "rgba(255, 255, 255, 0.05)", + __color_calendar_graph_day_L3_bg: "#26a641", + __color_calendar_graph_day_L3_border: "rgba(255, 255, 255, 0.05)", + __color_calendar_graph_day_L4_bg: "#39d353", + __color_calendar_graph_day_L4_border: "rgba(255, 255, 255, 0.05)", + __color_calendar_halloween_graph_day_L1_bg: "#631c03", + __color_calendar_halloween_graph_day_L2_bg: "#bd561d", + __color_calendar_halloween_graph_day_L3_bg: "#fa7a18", + __color_calendar_halloween_graph_day_L4_bg: "#fddf68", + __color_canvas_default_transparent: "rgba(13, 17, 23, 0)", + __color_canvas_default: "#0d1117", + __color_canvas_inset: "#010409", + __color_canvas_overlay: "#161b22", + __color_canvas_subtle: "#161b22", + __color_checks_ans_Iblack_bright: "#161b22", + __color_checks_ans_Iblack: "#0d1117", + __color_checks_ans_Iblue_bright: "#79c0ff", + __color_checks_ans_Iblue: "#58a6ff", + __color_checks_ans_Icyan_bright: "#b3f0ff", + __color_checks_ans_Icyan: "#76e3ea", + __color_checks_ans_Igray: "#6e7681", + __color_checks_ans_Igreen_bright: "#56d364", + __color_checks_ans_Igreen: "#3fb950", + __color_checks_ans_Imagenta_bright: "#d2a8ff", + __color_checks_ans_Imagenta: "#bc8cff", + __color_checks_ans_Ired_bright: "#ffa198", + __color_checks_ans_Ired: "#ff7b72", + __color_checks_ans_Iwhite_bright: "#b1bac4", + __color_checks_ans_Iwhite: "#b1bac4", + __color_checks_ans_Iyellow_bright: "#e3b341", + __color_checks_ans_Iyellow: "#d29922", + __color_checks_bg: "#010409", + __color_checks_btn_hover_bg: "rgba(110, 118, 129, 0.1)", + __color_checks_btn_hover_icon: "#c9d1d9", + __color_checks_btn_icon: "#8b949e", + __color_checks_container_border_width: "1px", + __color_checks_donut_error: "#f85149", + __color_checks_donut_neutral: "#8b949e", + __color_checks_donut_pending: "#d29922", + __color_checks_donut_success: "#2ea043", + __color_checks_dropdown_bg: "#161b22", + __color_checks_dropdown_border: "#30363d", + __color_checks_dropdown_btn_hover_bg: "rgba(110, 118, 129, 0.1)", + __color_checks_dropdown_btn_hover_text: "#c9d1d9", + __color_checks_dropdown_hover_bg: "rgba(110, 118, 129, 0.1)", + __color_checks_dropdown_hover_text: "#c9d1d9", + __color_checks_dropdown_shadow: "rgba(1, 4, 9, 0.3)", + __color_checks_dropdown_text: "#c9d1d9", + __color_checks_gate_bg: "rgba(187, 128, 9, 0.15)", + __color_checks_gate_text: "#8b949e", + __color_checks_gate_waiting_text: "#d29922", + __color_checks_header_border: "#21262d", + __color_checks_header_icon: "#8b949e", + __color_checks_header_label_open_text: "#c9d1d9", + __color_checks_header_label_text: "#8b949e", + __color_checks_input_bg: "#161b22", + __color_checks_input_focus_text: "#c9d1d9", + __color_checks_input_placeholder_text: "#6e7681", + __color_checks_input_shadow: "0 0 0 1px (obj) => get_1.default(obj, path)", + __color_checks_input_text: "#8b949e", + __color_checks_line_dt_fm_bg: "#9e6a03", + __color_checks_line_dt_fm_text: "#ffffff", + __color_checks_line_hover_bg: "rgba(110, 118, 129, 0.1)", + __color_checks_line_num_text: "#6e7681", + __color_checks_line_selected_bg: "rgba(56, 139, 253, 0.15)", + __color_checks_line_selected_num_text: "#58a6ff", + __color_checks_line_text: "#8b949e", + __color_checks_line_timestamp_text: "#6e7681", + __color_checks_logline_command_text: "#58a6ff", + __color_checks_logline_debug_text: "#a371f7", + __color_checks_logline_error_bg: "rgba(248, 81, 73, 0.15)", + __color_checks_logline_error_num_text: "#6e7681", + __color_checks_logline_error_text: "#8b949e", + __color_checks_logline_num_text: "#6e7681", + __color_checks_logline_section_text: "#3fb950", + __color_checks_logline_text: "#8b949e", + __color_checks_logline_warning_bg: "rgba(187, 128, 9, 0.15)", + __color_checks_logline_warning_num_text: "#d29922", + __color_checks_logline_warning_text: "#8b949e", + __color_checks_run_border_width: "1px", + __color_checks_scrollbar_thumb_bg: "rgba(110, 118, 129, 0.4)", + __color_checks_step_error_text: "#f85149", + __color_checks_step_header_open_bg: "#161b22", + __color_checks_step_warning_text: "#d29922", + __color_checks_text_link: "#58a6ff", + __color_checks_text_primary: "#c9d1d9", + __color_checks_text_secondary: "#8b949e", + __color_closed_emphasis: "#da3633", + __color_closed_fg: "#f85149", + __color_closed_muted: "rgba(248, 81, 73, 0.4)", + __color_closed_subtle: "rgba(248, 81, 73, 0.15)", + __color_codemirror_activeline_bg: "rgba(110, 118, 129, 0.1)", + __color_codemirror_bg: "#0d1117", + __color_codemirror_cursor: "#c9d1d9", + __color_codemirror_guttermarker_subtle_text: "#6e7681", + __color_codemirror_guttermarker_text: "#0d1117", + __color_codemirror_gutters_bg: "#0d1117", + __color_codemirror_linenumber_text: "#8b949e", + __color_codemirror_lines_bg: "#0d1117", + __color_codemirror_matchingbracket_text: "#c9d1d9", + __color_codemirror_selection_bg: "rgba(56, 139, 253, 0.4)", + __color_codemirror_syntax_comment: "#8b949e", + __color_codemirror_syntax_constant: "#79c0ff", + __color_codemirror_syntax_entity: "#d2a8ff", + __color_codemirror_syntax_keyword: "#ff7b72", + __color_codemirror_syntax_storage: "#ff7b72", + __color_codemirror_syntax_string: "#a5d6ff", + __color_codemirror_syntax_support: "#79c0ff", + __color_codemirror_syntax_variable: "#ffa657", + __color_codemirror_text: "#c9d1d9", + __color_counter_border: "rgba(0, 0, 0, 0)", + __color_danger_emphasis: "#da3633", + __color_danger_fg: "#f85149", + __color_danger_muted: "rgba(248, 81, 73, 0.4)", + __color_danger_subtle: "rgba(248, 81, 73, 0.15)", + __color_diff_blob_addition_fg: "#c9d1d9", + __color_diff_blob_addition_line_bg: "rgba(46, 160, 67, 0.15)", + __color_diff_blob_addition_num_bg: "rgba(63, 185, 80, 0.3)", + __color_diff_blob_addition_num_text: "#c9d1d9", + __color_diff_blob_addition_word_bg: "rgba(46, 160, 67, 0.4)", + __color_diff_blob_deletion_fg: "#c9d1d9", + __color_diff_blob_deletion_line_bg: "rgba(248, 81, 73, 0.15)", + __color_diff_blob_deletion_num_bg: "rgba(248, 81, 73, 0.3)", + __color_diff_blob_deletion_num_text: "#c9d1d9", + __color_diff_blob_deletion_word_bg: "rgba(248, 81, 73, 0.4)", + __color_diff_blob_expander_icon: "#8b949e", + __color_diff_blob_hunk_num_bg: "rgba(56, 139, 253, 0.4)", + __color_diff_blob_selected_line_highlight_mix_blend_mode: "screen", + __color_diffstat_addition_bg: "#3fb950", + __color_diffstat_addition_border: "rgba(240, 246, 252, 0.1)", + __color_diffstat_deletion_border: "rgba(240, 246, 252, 0.1)", + __color_done_emphasis: "#8957e5", + __color_done_fg: "#a371f7", + __color_done_muted: "rgba(163, 113, 247, 0.4)", + __color_done_subtle: "rgba(163, 113, 247, 0.15)", + __color_fg_default: "#c9d1d9", + __color_fg_muted: "#8b949e", + __color_fg_on_emphasis: "#ffffff", + __color_fg_subtle: "#6e7681", + __color_header_bg: "#161b22", + __color_header_divider: "#8b949e", + __color_header_logo: "#f0f6fc", + __color_header_search_bg: "#0d1117", + __color_header_search_border: "#30363d", + __color_header_text: "rgba(255, 255, 255, 0.7)", + __color_input_disabled_bg: "rgba(110, 118, 129, 0)", + __color_marketing_icon_primary: "#79c0ff", + __color_marketing_icon_secondary: "#1f6feb", + __color_menu_bg_active: "#161b22", + __color_mktg_btn_bg: "#f6f8fa", + __color_mktg_btn_shadow_focus: "rgb(255 255 255 / 25%) 0 0 0 4px", + __color_mktg_btn_shadow_hover_muted: "rgb(255 255 255) 0 0 0 2px inset", + __color_mktg_btn_shadow_hover: + "0 4px 7px rgba(0, 0, 0, 0.15), 0 100px 80px rgba(255, 255, 255, 0.02), 0 42px 33px rgba(255, 255, 255, 0.024), 0 22px 18px rgba(255, 255, 255, 0.028), 0 12px 10px rgba(255, 255, 255, 0.034), 0 7px 5px rgba(255, 255, 255, 0.04), 0 3px 2px rgba(255, 255, 255, 0.07)", + __color_mktg_btn_shadow_outline: "rgb(255 255 255 / 25%) 0 0 0 1px inset", + __color_neutral_emphasis_plus: "#6e7681", + __color_neutral_emphasis: "#6e7681", + __color_neutral_muted: "rgba(110, 118, 129, 0.4)", + __color_neutral_subtle: "rgba(110, 118, 129, 0.1)", + __color_open_emphasis: "#238636", + __color_open_fg: "#3fb950", + __color_open_muted: "rgba(46, 160, 67, 0.4)", + __color_open_subtle: "rgba(46, 160, 67, 0.15)", + __color_overlay_shadow: "0 0 0 1px #30363d, 0 16px 32px rgba(1, 4, 9, 0.85)", + __color_page_header_bg: "#0d1117", + __color_prettylights_syntax_brackethighlighter_angle: "#8b949e", + __color_prettylights_syntax_brackethighlighter_unmatched: "#f85149", + __color_prettylights_syntax_carriage_return_bg: "#b62324", + __color_prettylights_syntax_carriage_return_text: "#f0f6fc", + __color_prettylights_syntax_comment: "#8b949e", + __color_prettylights_syntax_constant_other_reference_link: "#a5d6ff", + __color_prettylights_syntax_constant: "#79c0ff", + __color_prettylights_syntax_entity_tag: "#7ee787", + __color_prettylights_syntax_entity: "#d2a8ff", + __color_prettylights_syntax_invalid_illegal_bg: "#8e1519", + __color_prettylights_syntax_invalid_illegal_text: "#f0f6fc", + __color_prettylights_syntax_keyword: "#ff7b72", + __color_prettylights_syntax_markup_bold: "#c9d1d9", + __color_prettylights_syntax_markup_changed_bg: "#5a1e02", + __color_prettylights_syntax_markup_changed_text: "#ffdfb6", + __color_prettylights_syntax_markup_deleted_bg: "#67060c", + __color_prettylights_syntax_markup_deleted_text: "#ffdcd7", + __color_prettylights_syntax_markup_heading: "#1f6feb", + __color_prettylights_syntax_markup_ignored_bg: "#1158c7", + __color_prettylights_syntax_markup_ignored_text: "#c9d1d9", + __color_prettylights_syntax_markup_inserted_bg: "#033a16", + __color_prettylights_syntax_markup_inserted_text: "#aff5b4", + __color_prettylights_syntax_markup_italic: "#c9d1d9", + __color_prettylights_syntax_markup_list: "#f2cc60", + __color_prettylights_syntax_meta_diff_range: "#d2a8ff", + __color_prettylights_syntax_storage_modifier_import: "#c9d1d9", + __color_prettylights_syntax_string_regexp: "#7ee787", + __color_prettylights_syntax_string: "#a5d6ff", + __color_prettylights_syntax_sublimelinter_gutter_mark: "#484f58", + __color_prettylights_syntax_variable: "#ffa657", + __color_primer_border_active: "#F78166", + __color_primer_border_contrast: "rgba(255, 255, 255, 0.2)", + __color_primer_canvas_backdrop: "rgba(1, 4, 9, 0.8)", + __color_primer_canvas_sticky: "rgba(13, 17, 23, 0.95)", + __color_primer_fg_disabled: "#484f58", + __color_primer_shadow_focus: "0 0 0 3px #0c2d6b", + __color_primer_shadow_highlight: "0 0 transparent", + __color_primer_shadow_inset: "0 0 transparent", + __color_project_gradient_in: "#161b22", + __color_project_gradient_out: "rgba(22, 27, 34, 0)", + __color_project_header_bg: "#0d1117", + __color_project_sidebar_bg: "#161b22", + __color_scale_black: "#010409", + __color_scale_blue_0: "#cae8ff", + __color_scale_blue_1: "#a5d6ff", + __color_scale_blue_2: "#79c0ff", + __color_scale_blue_3: "#58a6ff", + __color_scale_blue_4: "#388bfd", + __color_scale_blue_5: "#1f6feb", + __color_scale_blue_6: "#1158c7", + __color_scale_blue_7: "#0d419d", + __color_scale_blue_8: "#0c2d6b", + __color_scale_blue_9: "#051d4d", + __color_scale_coral_0: "#FFDDD2", + __color_scale_coral_1: "#FFC2B2", + __color_scale_coral_2: "#FFA28B", + __color_scale_coral_3: "#F78166", + __color_scale_coral_4: "#EA6045", + __color_scale_coral_5: "#CF462D", + __color_scale_coral_6: "#AC3220", + __color_scale_coral_7: "#872012", + __color_scale_coral_8: "#640D04", + __color_scale_coral_9: "#460701", + __color_scale_gray_0: "#f0f6fc", + __color_scale_gray_1: "#c9d1d9", + __color_scale_gray_2: "#b1bac4", + __color_scale_gray_3: "#8b949e", + __color_scale_gray_4: "#6e7681", + __color_scale_gray_5: "#484f58", + __color_scale_gray_6: "#30363d", + __color_scale_gray_7: "#21262d", + __color_scale_gray_8: "#161b22", + __color_scale_gray_9: "#0d1117", + __color_scale_green_0: "#aff5b4", + __color_scale_green_1: "#7ee787", + __color_scale_green_2: "#56d364", + __color_scale_green_3: "#3fb950", + __color_scale_green_4: "#2ea043", + __color_scale_green_5: "#238636", + __color_scale_green_6: "#196c2e", + __color_scale_green_7: "#0f5323", + __color_scale_green_8: "#033a16", + __color_scale_green_9: "#04260f", + __color_scale_orange_0: "#ffdfb6", + __color_scale_orange_1: "#ffc680", + __color_scale_orange_2: "#ffa657", + __color_scale_orange_3: "#f0883e", + __color_scale_orange_4: "#db6d28", + __color_scale_orange_5: "#bd561d", + __color_scale_orange_6: "#9b4215", + __color_scale_orange_7: "#762d0a", + __color_scale_orange_8: "#5a1e02", + __color_scale_orange_9: "#3d1300", + __color_scale_pink_0: "#ffdaec", + __color_scale_pink_1: "#ffbedd", + __color_scale_pink_2: "#ff9bce", + __color_scale_pink_3: "#f778ba", + __color_scale_pink_4: "#db61a2", + __color_scale_pink_5: "#bf4b8a", + __color_scale_pink_6: "#9e3670", + __color_scale_pink_7: "#7d2457", + __color_scale_pink_8: "#5e103e", + __color_scale_pink_9: "#42062a", + __color_scale_purple_0: "#eddeff", + __color_scale_purple_1: "#e2c5ff", + __color_scale_purple_2: "#d2a8ff", + __color_scale_purple_3: "#bc8cff", + __color_scale_purple_4: "#a371f7", + __color_scale_purple_5: "#8957e5", + __color_scale_purple_6: "#6e40c9", + __color_scale_purple_7: "#553098", + __color_scale_purple_8: "#3c1e70", + __color_scale_purple_9: "#271052", + __color_scale_red_0: "#ffdcd7", + __color_scale_red_1: "#ffc1ba", + __color_scale_red_2: "#ffa198", + __color_scale_red_3: "#ff7b72", + __color_scale_red_4: "#f85149", + __color_scale_red_5: "#da3633", + __color_scale_red_6: "#b62324", + __color_scale_red_7: "#8e1519", + __color_scale_red_8: "#67060c", + __color_scale_red_9: "#490202", + __color_scale_white: "#ffffff", + __color_scale_yellow_0: "#f8e3a1", + __color_scale_yellow_1: "#f2cc60", + __color_scale_yellow_2: "#e3b341", + __color_scale_yellow_3: "#d29922", + __color_scale_yellow_4: "#bb8009", + __color_scale_yellow_5: "#9e6a03", + __color_scale_yellow_6: "#845306", + __color_scale_yellow_7: "#693e00", + __color_scale_yellow_8: "#4b2900", + __color_scale_yellow_9: "#341a00", + __color_search_keyword_hl: "rgba(210, 153, 34, 0.4)", + __color_select_menu_backdrop_border: "#484f58", + __color_select_menu_tap_focus_bg: "#0c2d6b", + __color_select_menu_tap_highlight: "rgba(48, 54, 61, 0.5)", + __color_severe_emphasis: "#bd561d", + __color_severe_fg: "#db6d28", + __color_severe_muted: "rgba(219, 109, 40, 0.4)", + __color_severe_subtle: "rgba(219, 109, 40, 0.15)", + __color_shadow_extra_large: "0 12px 48px #010409", + __color_shadow_large: "0 8px 24px #010409", + __color_shadow_medium: "0 3px 6px #010409", + __color_shadow_small: "0 0 transparent", + __color_sidenav_selected_bg: "#21262d", + __color_sponsors_emphasis: "#bf4b8a", + __color_sponsors_fg: "#db61a2", + __color_sponsors_muted: "rgba(219, 97, 162, 0.4)", + __color_sponsors_subtle: "rgba(219, 97, 162, 0.15)", + __color_success_emphasis: "#238636", + __color_success_fg: "#3fb950", + __color_success_muted: "rgba(46, 160, 67, 0.4)", + __color_success_subtle: "rgba(46, 160, 67, 0.15)", + __color_switch_knob_checked_bg: "#1f6feb", + __color_switch_knob_checked_disabled_bg: "#484f58", + __color_switch_track_bg: "#010409", + __color_switch_track_border: "#6e7681", + __color_switch_track_checked_active_bg: "rgba(31, 111, 235, 0.65)", + __color_switch_track_checked_bg: "rgba(31, 111, 235, 0.35)", + __color_switch_track_checked_border: "#58a6ff", + __color_switch_track_checked_hover_bg: "rgba(31, 111, 235, 0.5)", + __color_timeline_badge_bg: "#21262d", + __color_topic_tag_border: "rgba(0, 0, 0, 0)", + __color_underlinenav_border_hover: "rgba(110, 118, 129, 0.4)", + __color_underlinenav_icon: "#6e7681", + __color_workflow_card_header_shadow: "rgba(27, 31, 35, 0.04)", +}; + initialSettings = Object.keys(defaultColorScheme); const filter = { - url: [{ - urlMatches: 'https://*.github.com/*', - }, ], + url: [ + { + urlMatches: "https://*.github.com/*", + }, + ], }; // loop through all the keys in the defaultColorScheme object // and set the value of the key to the value of the key in the defaultColorScheme object chrome.runtime.onInstalled.addListener(() => { - initialSettings.forEach((initialSetting) => { - var key = {}; - key[`${initialSetting}`] = defaultColorScheme[initialSetting]; - chrome.storage.local.set(key); - console.log("Setup: Configuring " + initialSetting + " >> " + defaultColorScheme[initialSetting]); - }); -}) - -chrome.tabs.onUpdated.addListener((tabId, changeInfo, tab) => { - chrome.scripting.executeScript({ - target: { tabId: tabId }, - files: ['initial.js'] - }, () => chrome.runtime.lastError); + initialSettings.forEach((initialSetting) => { + var key = {}; + key[`${initialSetting}`] = defaultColorScheme[initialSetting]; + chrome.storage.local.set(key); + console.log( + "Setup: Configuring " + + initialSetting + + " >> " + + defaultColorScheme[initialSetting] + ); + }); }); +chrome.tabs.onUpdated.addListener((tabId, changeInfo, tab) => { + chrome.scripting.executeScript( + { + target: { tabId: tabId }, + files: ["initial.js"], + }, + () => chrome.runtime.lastError + ); +}); diff --git a/public/manifest.json b/public/manifest.json index f9c9e5d..423407d 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -40,12 +40,12 @@ "matches": ["https://*.github.com/*"], "js": ["initial.js"], "css": ["unhide.css"] - },{ + }, + { "run_at": "document_idle", "matches": ["https://*.github.com/*"], "js": ["initial.js"] } - ], "permissions": ["storage", "scripting"], diff --git a/public/onload.js b/public/onload.js index 95b0c2c..01ddf03 100644 --- a/public/onload.js +++ b/public/onload.js @@ -1,6 +1,7 @@ -var link = document.createElement('link'); -link.href = chrome.extension.getURL('pint-css.css'); -link.type = 'text/css'; -link.rel = 'stylesheet'; -link.media = 'all'; -document.getElementsByTagName('head')[0].appendChild(link); \ No newline at end of file +/*global chrome*/ +var link = document.createElement("link"); +link.href = chrome.extension.getURL("pint-css.css"); +link.type = "text/css"; +link.rel = "stylesheet"; +link.media = "all"; +document.getElementsByTagName("head")[0].appendChild(link); diff --git a/public/pint-css.css b/public/pint-css.css index 4918a6c..de0d195 100644 --- a/public/pint-css.css +++ b/public/pint-css.css @@ -1,471 +1,473 @@ -[data-color-mode=light][data-light-theme=dark], [data-color-mode=dark][data-dark-theme=dark] { - --color-canvas-default-transparent: initial !important; - --color-page-header-bg: initial !important; - --color-marketing-icon-primary: initial !important; - --color-marketing-icon-secondary: initial !important; - --color-diff-blob-addition-num-text: initial !important; - --color-diff-blob-addition-fg: initial !important; - --color-diff-blob-addition-num-bg: initial !important; - --color-diff-blob-addition-line-bg: initial !important; - --color-diff-blob-addition-word-bg: initial !important; - --color-diff-blob-deletion-num-text: initial !important; - --color-diff-blob-deletion-fg: initial !important; - --color-diff-blob-deletion-num-bg: initial !important; - --color-diff-blob-deletion-line-bg: initial !important; - --color-diff-blob-deletion-word-bg: initial !important; - --color-diff-blob-hunk-num-bg: initial !important; - --color-diff-blob-expander-icon: initial !important; - --color-diff-blob-selected-line-highlight-mix-blend-mode: initial !important; - --color-diffstat-deletion-border: initial !important; - --color-diffstat-addition-border: initial !important; - --color-diffstat-addition-bg: initial !important; - --color-search-keyword-hl: initial !important; - --color-prettylights-syntax-comment: initial !important; - --color-prettylights-syntax-constant: initial !important; - --color-prettylights-syntax-entity: initial !important; - --color-prettylights-syntax-storage-modifier-import: initial !important; - --color-prettylights-syntax-entity-tag: initial !important; - --color-prettylights-syntax-keyword: initial !important; - --color-prettylights-syntax-string: initial !important; - --color-prettylights-syntax-variable: initial !important; - --color-prettylights-syntax-brackethighlighter-unmatched: initial !important; - --color-prettylights-syntax-invalid-illegal-text: initial !important; - --color-prettylights-syntax-invalid-illegal-bg: initial !important; - --color-prettylights-syntax-carriage-return-text: initial !important; - --color-prettylights-syntax-carriage-return-bg: initial !important; - --color-prettylights-syntax-string-regexp: initial !important; - --color-prettylights-syntax-markup-list: initial !important; - --color-prettylights-syntax-markup-heading: initial !important; - --color-prettylights-syntax-markup-italic: initial !important; - --color-prettylights-syntax-markup-bold: initial !important; - --color-prettylights-syntax-markup-deleted-text: initial !important; - --color-prettylights-syntax-markup-deleted-bg: initial !important; - --color-prettylights-syntax-markup-inserted-text: initial !important; - --color-prettylights-syntax-markup-inserted-bg: initial !important; - --color-prettylights-syntax-markup-changed-text: initial !important; - --color-prettylights-syntax-markup-changed-bg: initial !important; - --color-prettylights-syntax-markup-ignored-text: initial !important; - --color-prettylights-syntax-markup-ignored-bg: initial !important; - --color-prettylights-syntax-meta-diff-range: initial !important; - --color-prettylights-syntax-brackethighlighter-angle: initial !important; - --color-prettylights-syntax-sublimelinter-gutter-mark: initial !important; - --color-prettylights-syntax-constant-other-reference-link: initial !important; - --color-codemirror-text: initial !important; - --color-codemirror-bg: initial !important; - --color-codemirror-gutters-bg: initial !important; - --color-codemirror-guttermarker-text: initial !important; - --color-codemirror-guttermarker-subtle-text: initial !important; - --color-codemirror-linenumber-text: initial !important; - --color-codemirror-cursor: initial !important; - --color-codemirror-selection-bg: initial !important; - --color-codemirror-activeline-bg: initial !important; - --color-codemirror-matchingbracket-text: initial !important; - --color-codemirror-lines-bg: initial !important; - --color-codemirror-syntax-comment: initial !important; - --color-codemirror-syntax-constant: initial !important; - --color-codemirror-syntax-entity: initial !important; - --color-codemirror-syntax-keyword: initial !important; - --color-codemirror-syntax-storage: initial !important; - --color-codemirror-syntax-string: initial !important; - --color-codemirror-syntax-support: initial !important; - --color-codemirror-syntax-variable: initial !important; - --color-checks-bg: initial !important; - --color-checks-run-border-width: initial !important; - --color-checks-container-border-width: initial !important; - --color-checks-text-primary: initial !important; - --color-checks-text-secondary: initial !important; - --color-checks-text-link: initial !important; - --color-checks-btn-icon: initial !important; - --color-checks-btn-hover-icon: initial !important; - --color-checks-btn-hover-bg: initial !important; - --color-checks-input-text: initial !important; - --color-checks-input-placeholder-text: initial !important; - --color-checks-input-focus-text: initial !important; - --color-checks-input-bg: initial !important; - --color-checks-input-shadow: initial !important; - --color-checks-donut-error: initial !important; - --color-checks-donut-pending: initial !important; - --color-checks-donut-success: initial !important; - --color-checks-donut-neutral: initial !important; - --color-checks-dropdown-text: initial !important; - --color-checks-dropdown-bg: initial !important; - --color-checks-dropdown-border: initial !important; - --color-checks-dropdown-shadow: initial !important; - --color-checks-dropdown-hover-text: initial !important; - --color-checks-dropdown-hover-bg: initial !important; - --color-checks-dropdown-btn-hover-text: initial !important; - --color-checks-dropdown-btn-hover-bg: initial !important; - --color-checks-scrollbar-thumb-bg: initial !important; - --color-checks-header-label-text: initial !important; - --color-checks-header-label-open-text: initial !important; - --color-checks-header-border: initial !important; - --color-checks-header-icon: initial !important; - --color-checks-line-text: initial !important; - --color-checks-line-num-text: initial !important; - --color-checks-line-timestamp-text: initial !important; - --color-checks-line-hover-bg: initial !important; - --color-checks-line-selected-bg: initial !important; - --color-checks-line-selected-num-text: initial !important; - --color-checks-line-dt-fm-text: initial !important; - --color-checks-line-dt-fm-bg: initial !important; - --color-checks-gate-bg: initial !important; - --color-checks-gate-text: initial !important; - --color-checks-gate-waiting-text: initial !important; - --color-checks-step-header-open-bg: initial !important; - --color-checks-step-error-text: initial !important; - --color-checks-step-warning-text: initial !important; - --color-checks-logline-text: initial !important; - --color-checks-logline-num-text: initial !important; - --color-checks-logline-debug-text: initial !important; - --color-checks-logline-error-text: initial !important; - --color-checks-logline-error-num-text: initial !important; - --color-checks-logline-error-bg: initial !important; - --color-checks-logline-warning-text: initial !important; - --color-checks-logline-warning-num-text: initial !important; - --color-checks-logline-warning-bg: initial !important; - --color-checks-logline-command-text: initial !important; - --color-checks-logline-section-text: initial !important; - --color-checks-ansi-black: initial !important; - --color-checks-ansi-black-bright: initial !important; - --color-checks-ansi-white: initial !important; - --color-checks-ansi-white-bright: initial !important; - --color-checks-ansi-gray: initial !important; - --color-checks-ansi-red: initial !important; - --color-checks-ansi-red-bright: initial !important; - --color-checks-ansi-green: initial !important; - --color-checks-ansi-green-bright: initial !important; - --color-checks-ansi-yellow: initial !important; - --color-checks-ansi-yellow-bright: initial !important; - --color-checks-ansi-blue: initial !important; - --color-checks-ansi-blue-bright: initial !important; - --color-checks-ansi-magenta: initial !important; - --color-checks-ansi-magenta-bright: initial !important; - --color-checks-ansi-cyan: initial !important; - --color-checks-ansi-cyan-bright: initial !important; - --color-project-header-bg: initial !important; - --color-project-sidebar-bg: initial !important; - --color-project-gradient-in: initial !important; - --color-project-gradient-out: initial !important; - --color-mktg-btn-bg: initial !important; - --color-mktg-btn-shadow-outline: initial !important; - --color-mktg-btn-shadow-focus: initial !important; - --color-mktg-btn-shadow-hover: initial !important; - --color-mktg-btn-shadow-hover-muted: initial !important; - --color-avatar-bg: initial !important; - --color-avatar-border: initial !important; - --color-avatar-stack-fade: initial !important; - --color-avatar-stack-fade-more: initial !important; - --color-avatar-child-shadow: initial !important; - --color-topic-tag-border: initial !important; - --color-counter-border: initial !important; - --color-select-menu-backdrop-border: initial !important; - --color-select-menu-tap-highlight: initial !important; - --color-select-menu-tap-focus-bg: initial !important; - --color-overlay-shadow: initial !important; - --color-header-text: initial !important; - --color-header-bg: initial !important; - --color-header-divider: initial !important; - --color-header-logo: initial !important; - --color-header-search-bg: initial !important; - --color-header-search-border: initial !important; - --color-sidenav-selected-bg: initial !important; - --color-menu-bg-active: initial !important; - --color-input-disabled-bg: initial !important; - --color-timeline-badge-bg: initial !important; - --color-ansi-black: initial !important; - --color-ansi-black-bright: initial !important; - --color-ansi-white: initial !important; - --color-ansi-white-bright: initial !important; - --color-ansi-gray: initial !important; - --color-ansi-red: initial !important; - --color-ansi-red-bright: initial !important; - --color-ansi-green: initial !important; - --color-ansi-green-bright: initial !important; - --color-ansi-yellow: initial !important; - --color-ansi-yellow-bright: initial !important; - --color-ansi-blue: initial !important; - --color-ansi-blue-bright: initial !important; - --color-ansi-magenta: initial !important; - --color-ansi-magenta-bright: initial !important; - --color-ansi-cyan: initial !important; - --color-ansi-cyan-bright: initial !important; - --color-btn-text: initial !important; - --color-btn-bg: initial !important; - --color-btn-border: initial !important; - --color-btn-shadow: initial !important; - --color-btn-inset-shadow: initial !important; - --color-btn-hover-bg: initial !important; - --color-btn-hover-border: initial !important; - --color-btn-active-bg: initial !important; - --color-btn-active-border: initial !important; - --color-btn-selected-bg: initial !important; - --color-btn-focus-bg: initial !important; - --color-btn-focus-border: initial !important; - --color-btn-focus-shadow: initial !important; - --color-btn-shadow-active: initial !important; - --color-btn-shadow-input-focus: initial !important; - --color-btn-counter-bg: initial !important; - --color-btn-primary-text: initial !important; - --color-btn-primary-bg: initial !important; - --color-btn-primary-border: initial !important; - --color-btn-primary-shadow: initial !important; - --color-btn-primary-inset-shadow: initial !important; - --color-btn-primary-hover-bg: initial !important; - --color-btn-primary-hover-border: initial !important; - --color-btn-primary-selected-bg: initial !important; - --color-btn-primary-selected-shadow: initial !important; - --color-btn-primary-disabled-text: initial !important; - --color-btn-primary-disabled-bg: initial !important; - --color-btn-primary-disabled-border: initial !important; - --color-btn-primary-focus-bg: initial !important; - --color-btn-primary-focus-border: initial !important; - --color-btn-primary-focus-shadow: initial !important; - --color-btn-primary-icon: initial !important; - --color-btn-primary-counter-bg: initial !important; - --color-btn-outline-text: initial !important; - --color-btn-outline-hover-text: initial !important; - --color-btn-outline-hover-bg: initial !important; - --color-btn-outline-hover-border: initial !important; - --color-btn-outline-hover-shadow: initial !important; - --color-btn-outline-hover-inset-shadow: initial !important; - --color-btn-outline-hover-counter-bg: initial !important; - --color-btn-outline-selected-text: initial !important; - --color-btn-outline-selected-bg: initial !important; - --color-btn-outline-selected-border: initial !important; - --color-btn-outline-selected-shadow: initial !important; - --color-btn-outline-disabled-text: initial !important; - --color-btn-outline-disabled-bg: initial !important; - --color-btn-outline-disabled-counter-bg: initial !important; - --color-btn-outline-focus-border: initial !important; - --color-btn-outline-focus-shadow: initial !important; - --color-btn-outline-counter-bg: initial !important; - --color-btn-danger-text: initial !important; - --color-btn-danger-hover-text: initial !important; - --color-btn-danger-hover-bg: initial !important; - --color-btn-danger-hover-border: initial !important; - --color-btn-danger-hover-shadow: initial !important; - --color-btn-danger-hover-inset-shadow: initial !important; - --color-btn-danger-hover-icon: initial !important; - --color-btn-danger-hover-counter-bg: initial !important; - --color-btn-danger-selected-text: initial !important; - --color-btn-danger-selected-bg: initial !important; - --color-btn-danger-selected-border: initial !important; - --color-btn-danger-selected-shadow: intial !important; - --color-btn-danger-disabled-text: initial !important; - --color-btn-danger-disabled-bg: initial !important; - --color-btn-danger-disabled-counter-bg: initial !important; - --color-btn-danger-focus-border: initial !important; - --color-btn-danger-focus-shadow: initial !important; - --color-btn-danger-counter-bg: initial !important; - --color-btn-danger-icon: initial !important; - --color-underlinenav-icon: initial !important; - --color-underlinenav-border-hover: initial !important; - --color-action-list-item-inline-divider: initial !important; - --color-action-list-item-default-hover-bg: initial !important; - --color-action-list-item-default-hover-border: initial !important; - --color-action-list-item-default-active-bg: initial !important; - --color-action-list-item-default-active-border: initial !important; - --color-action-list-item-default-selected-bg: initial !important; - --color-action-list-item-danger-hover-bg: initial !important; - --color-action-list-item-danger-active-bg: initial !important; - --color-action-list-item-danger-hover-text: initial !important; - --color-switch-track-bg: initial !important; - --color-switch-track-border: initial !important; - --color-switch-track-checked-bg: initial !important; - --color-switch-track-checked-hover-bg: initial !important; - --color-switch-track-checked-active-bg: initial !important; - --color-switch-track-checked-border: initial !important; - --color-switch-knob-checked-bg: initial !important; - --color-switch-knob-checked-disabled-bg: initial !important; - --color-fg-default: initial !important; - --color-fg-muted: initial !important; - --color-fg-subtle: initial !important; - --color-fg-on-emphasis: initial !important; - --color-canvas-default: initial !important; - --color-canvas-overlay: initial !important; - --color-canvas-inset: initial !important; - --color-canvas-subtle: initial !important; - --color-border-default: initial !important; - --color-border-muted: initial !important; - --color-border-subtle: initial !important; - --color-shadow-small: initial !important; - --color-shadow-medium: initial !important; - --color-shadow-large: initial !important; - --color-shadow-extra-large: initial !important; - --color-neutral-emphasis-plus: initial !important; - --color-neutral-emphasis: initial !important; - --color-neutral-muted: initial !important; - --color-neutral-subtle: initial !important; - --color-accent-fg: initial !important; - --color-accent-emphasis: initial !important; - --color-accent-muted: initial !important; - --color-accent-subtle: initial !important; - --color-success-fg: initial !important; - --color-success-emphasis: initial !important; - --color-success-muted: initial !important; - --color-success-subtle: initial !important; - --color-attention-fg: initial !important; - --color-attention-emphasis: initial !important; - --color-attention-muted: initial !important; - --color-attention-subtle: initial !important; - --color-severe-fg: initial !important; - --color-severe-emphasis: initial !important; - --color-severe-muted: initial !important; - --color-severe-subtle: initial !important; - --color-danger-fg: initial !important; - --color-danger-emphasis: initial !important; - --color-danger-muted: initial !important; - --color-danger-subtle: initial !important; - --color-open-fg: initial !important; - --color-open-emphasis: initial !important; - --color-open-muted: initial !important; - --color-open-subtle: initial !important; - --color-closed-fg: initial !important; - --color-closed-emphasis: initial !important; - --color-closed-muted: initial !important; - --color-closed-subtle: initial !important; - --color-done-fg: initial !important; - --color-done-emphasis: initial !important; - --color-done-muted: initial !important; - --color-done-subtle: initial !important; - --color-sponsors-fg: initial !important; - --color-sponsors-emphasis: initial !important; - --color-sponsors-muted: initial !important; - --color-sponsors-subtle: initial !important; - --color-primer-fg-disabled: initial !important; - --color-primer-canvas-backdrop: initial !important; - --color-primer-canvas-sticky: initial !important; - --color-primer-border-active: initial !important; - --color-primer-border-contrast: initial !important; - --color-primer-shadow-highlight: initial !important; - --color-primer-shadow-inset: initial !important; - --color-primer-shadow-focus: initial !important; - --color-scale-black: initial !important; - --color-scale-white: initial !important; - --color-scale-gray-0: initial !important; - --color-scale-gray-1: initial !important; - --color-scale-gray-2: initial !important; - --color-scale-gray-3: initial !important; - --color-scale-gray-4: initial !important; - --color-scale-gray-5: initial !important; - --color-scale-gray-6: initial !important; - --color-scale-gray-7: initial !important; - --color-scale-gray-8: initial !important; - --color-scale-gray-9: initial !important; - --color-scale-blue-0: initial !important; - --color-scale-blue-1: initial !important; - --color-scale-blue-2: initial !important; - --color-scale-blue-3: initial !important; - --color-scale-blue-4: initial !important; - --color-scale-blue-5: initial !important; - --color-scale-blue-6: initial !important; - --color-scale-blue-7: initial !important; - --color-scale-blue-8: initial !important; - --color-scale-blue-9: initial !important; - --color-scale-green-0: initial !important; - --color-scale-green-1: initial !important; - --color-scale-green-2: initial !important; - --color-scale-green-3: initial !important; - --color-scale-green-4: initial !important; - --color-scale-green-5: initial !important; - --color-scale-green-6: initial !important; - --color-scale-green-7: initial !important; - --color-scale-green-8: initial !important; - --color-scale-green-9: initial !important; - --color-scale-yellow-0: initial !important; - --color-scale-yellow-1: initial !important; - --color-scale-yellow-2: initial !important; - --color-scale-yellow-3: initial !important; - --color-scale-yellow-4: initial !important; - --color-scale-yellow-5: initial !important; - --color-scale-yellow-6: initial !important; - --color-scale-yellow-7: initial !important; - --color-scale-yellow-8: initial !important; - --color-scale-yellow-9: initial !important; - --color-scale-orange-0: initial !important; - --color-scale-orange-1: initial !important; - --color-scale-orange-2: initial !important; - --color-scale-orange-3: initial !important; - --color-scale-orange-4: initial !important; - --color-scale-orange-5: initial !important; - --color-scale-orange-6: initial !important; - --color-scale-orange-7: initial !important; - --color-scale-orange-8: initial !important; - --color-scale-orange-9: initial !important; - --color-scale-red-0: initial !important; - --color-scale-red-1: initial !important; - --color-scale-red-2: initial !important; - --color-scale-red-3: initial !important; - --color-scale-red-4: initial !important; - --color-scale-red-5: initial !important; - --color-scale-red-6: initial !important; - --color-scale-red-7: initial !important; - --color-scale-red-8: initial !important; - --color-scale-red-9: initial !important; - --color-scale-purple-0: initial !important; - --color-scale-purple-1: initial !important; - --color-scale-purple-2: initial !important; - --color-scale-purple-3: initial !important; - --color-scale-purple-4: initial !important; - --color-scale-purple-5: initial !important; - --color-scale-purple-6: initial !important; - --color-scale-purple-7: initial !important; - --color-scale-purple-8: initial !important; - --color-scale-purple-9: initial !important; - --color-scale-pink-0: initial !important; - --color-scale-pink-1: initial !important; - --color-scale-pink-2: initial !important; - --color-scale-pink-3: initial !important; - --color-scale-pink-4: initial !important; - --color-scale-pink-5: initial !important; - --color-scale-pink-6: initial !important; - --color-scale-pink-7: initial !important; - --color-scale-pink-8: initial !important; - --color-scale-pink-9: initial !important; - --color-scale-coral-0: initial !important; - --color-scale-coral-1: initial !important; - --color-scale-coral-2: initial !important; - --color-scale-coral-3: initial !important; - --color-scale-coral-4: initial !important; - --color-scale-coral-5: initial !important; - --color-scale-coral-6: initial !important; - --color-scale-coral-7: initial !important; - --color-scale-coral-8: initial !important; - --color-scale-coral-9: initial !important; - --color-workflow-card-header-shadow: initial !important; - --color-bg-discussions-row-emoji-box: initial !important; - --color-calendar-halloween-graph-day-L1-bg: initial !important; - --color-calendar-halloween-graph-day-L2-bg: initial !important; - --color-calendar-halloween-graph-day-L3-bg: initial !important; - --color-calendar-halloween-graph-day-L4-bg: initial !important; - --color-calendar-graph-day-bg: initial !important; - --color-calendar-graph-day-border: initial !important; - --color-calendar-graph-day-bg : initial !important; - --color-calendar-graph-day-L1-bg: initial !important; - --color-calendar-graph-day-L2-bg: initial !important; - --color-calendar-graph-day-L3-bg: initial !important; - --color-calendar-graph-day-L4-bg: initial !important; - --color-calendar-graph-day-L1-border: initial !important; - --color-calendar-graph-day-L2-border: initial !important; - --color-calendar-graph-day-L3-border: initial !important; - --color-calendar-graph-day-L4-border: initial !important; +[data-color-mode="light"][data-light-theme="dark"], +[data-color-mode="dark"][data-dark-theme="dark"] { + --color-canvas-default-transparent: initial !important; + --color-page-header-bg: initial !important; + --color-marketing-icon-primary: initial !important; + --color-marketing-icon-secondary: initial !important; + --color-diff-blob-addition-num-text: initial !important; + --color-diff-blob-addition-fg: initial !important; + --color-diff-blob-addition-num-bg: initial !important; + --color-diff-blob-addition-line-bg: initial !important; + --color-diff-blob-addition-word-bg: initial !important; + --color-diff-blob-deletion-num-text: initial !important; + --color-diff-blob-deletion-fg: initial !important; + --color-diff-blob-deletion-num-bg: initial !important; + --color-diff-blob-deletion-line-bg: initial !important; + --color-diff-blob-deletion-word-bg: initial !important; + --color-diff-blob-hunk-num-bg: initial !important; + --color-diff-blob-expander-icon: initial !important; + --color-diff-blob-selected-line-highlight-mix-blend-mode: initial !important; + --color-diffstat-deletion-border: initial !important; + --color-diffstat-addition-border: initial !important; + --color-diffstat-addition-bg: initial !important; + --color-search-keyword-hl: initial !important; + --color-prettylights-syntax-comment: initial !important; + --color-prettylights-syntax-constant: initial !important; + --color-prettylights-syntax-entity: initial !important; + --color-prettylights-syntax-storage-modifier-import: initial !important; + --color-prettylights-syntax-entity-tag: initial !important; + --color-prettylights-syntax-keyword: initial !important; + --color-prettylights-syntax-string: initial !important; + --color-prettylights-syntax-variable: initial !important; + --color-prettylights-syntax-brackethighlighter-unmatched: initial !important; + --color-prettylights-syntax-invalid-illegal-text: initial !important; + --color-prettylights-syntax-invalid-illegal-bg: initial !important; + --color-prettylights-syntax-carriage-return-text: initial !important; + --color-prettylights-syntax-carriage-return-bg: initial !important; + --color-prettylights-syntax-string-regexp: initial !important; + --color-prettylights-syntax-markup-list: initial !important; + --color-prettylights-syntax-markup-heading: initial !important; + --color-prettylights-syntax-markup-italic: initial !important; + --color-prettylights-syntax-markup-bold: initial !important; + --color-prettylights-syntax-markup-deleted-text: initial !important; + --color-prettylights-syntax-markup-deleted-bg: initial !important; + --color-prettylights-syntax-markup-inserted-text: initial !important; + --color-prettylights-syntax-markup-inserted-bg: initial !important; + --color-prettylights-syntax-markup-changed-text: initial !important; + --color-prettylights-syntax-markup-changed-bg: initial !important; + --color-prettylights-syntax-markup-ignored-text: initial !important; + --color-prettylights-syntax-markup-ignored-bg: initial !important; + --color-prettylights-syntax-meta-diff-range: initial !important; + --color-prettylights-syntax-brackethighlighter-angle: initial !important; + --color-prettylights-syntax-sublimelinter-gutter-mark: initial !important; + --color-prettylights-syntax-constant-other-reference-link: initial !important; + --color-codemirror-text: initial !important; + --color-codemirror-bg: initial !important; + --color-codemirror-gutters-bg: initial !important; + --color-codemirror-guttermarker-text: initial !important; + --color-codemirror-guttermarker-subtle-text: initial !important; + --color-codemirror-linenumber-text: initial !important; + --color-codemirror-cursor: initial !important; + --color-codemirror-selection-bg: initial !important; + --color-codemirror-activeline-bg: initial !important; + --color-codemirror-matchingbracket-text: initial !important; + --color-codemirror-lines-bg: initial !important; + --color-codemirror-syntax-comment: initial !important; + --color-codemirror-syntax-constant: initial !important; + --color-codemirror-syntax-entity: initial !important; + --color-codemirror-syntax-keyword: initial !important; + --color-codemirror-syntax-storage: initial !important; + --color-codemirror-syntax-string: initial !important; + --color-codemirror-syntax-support: initial !important; + --color-codemirror-syntax-variable: initial !important; + --color-checks-bg: initial !important; + --color-checks-run-border-width: initial !important; + --color-checks-container-border-width: initial !important; + --color-checks-text-primary: initial !important; + --color-checks-text-secondary: initial !important; + --color-checks-text-link: initial !important; + --color-checks-btn-icon: initial !important; + --color-checks-btn-hover-icon: initial !important; + --color-checks-btn-hover-bg: initial !important; + --color-checks-input-text: initial !important; + --color-checks-input-placeholder-text: initial !important; + --color-checks-input-focus-text: initial !important; + --color-checks-input-bg: initial !important; + --color-checks-input-shadow: initial !important; + --color-checks-donut-error: initial !important; + --color-checks-donut-pending: initial !important; + --color-checks-donut-success: initial !important; + --color-checks-donut-neutral: initial !important; + --color-checks-dropdown-text: initial !important; + --color-checks-dropdown-bg: initial !important; + --color-checks-dropdown-border: initial !important; + --color-checks-dropdown-shadow: initial !important; + --color-checks-dropdown-hover-text: initial !important; + --color-checks-dropdown-hover-bg: initial !important; + --color-checks-dropdown-btn-hover-text: initial !important; + --color-checks-dropdown-btn-hover-bg: initial !important; + --color-checks-scrollbar-thumb-bg: initial !important; + --color-checks-header-label-text: initial !important; + --color-checks-header-label-open-text: initial !important; + --color-checks-header-border: initial !important; + --color-checks-header-icon: initial !important; + --color-checks-line-text: initial !important; + --color-checks-line-num-text: initial !important; + --color-checks-line-timestamp-text: initial !important; + --color-checks-line-hover-bg: initial !important; + --color-checks-line-selected-bg: initial !important; + --color-checks-line-selected-num-text: initial !important; + --color-checks-line-dt-fm-text: initial !important; + --color-checks-line-dt-fm-bg: initial !important; + --color-checks-gate-bg: initial !important; + --color-checks-gate-text: initial !important; + --color-checks-gate-waiting-text: initial !important; + --color-checks-step-header-open-bg: initial !important; + --color-checks-step-error-text: initial !important; + --color-checks-step-warning-text: initial !important; + --color-checks-logline-text: initial !important; + --color-checks-logline-num-text: initial !important; + --color-checks-logline-debug-text: initial !important; + --color-checks-logline-error-text: initial !important; + --color-checks-logline-error-num-text: initial !important; + --color-checks-logline-error-bg: initial !important; + --color-checks-logline-warning-text: initial !important; + --color-checks-logline-warning-num-text: initial !important; + --color-checks-logline-warning-bg: initial !important; + --color-checks-logline-command-text: initial !important; + --color-checks-logline-section-text: initial !important; + --color-checks-ansi-black: initial !important; + --color-checks-ansi-black-bright: initial !important; + --color-checks-ansi-white: initial !important; + --color-checks-ansi-white-bright: initial !important; + --color-checks-ansi-gray: initial !important; + --color-checks-ansi-red: initial !important; + --color-checks-ansi-red-bright: initial !important; + --color-checks-ansi-green: initial !important; + --color-checks-ansi-green-bright: initial !important; + --color-checks-ansi-yellow: initial !important; + --color-checks-ansi-yellow-bright: initial !important; + --color-checks-ansi-blue: initial !important; + --color-checks-ansi-blue-bright: initial !important; + --color-checks-ansi-magenta: initial !important; + --color-checks-ansi-magenta-bright: initial !important; + --color-checks-ansi-cyan: initial !important; + --color-checks-ansi-cyan-bright: initial !important; + --color-project-header-bg: initial !important; + --color-project-sidebar-bg: initial !important; + --color-project-gradient-in: initial !important; + --color-project-gradient-out: initial !important; + --color-mktg-btn-bg: initial !important; + --color-mktg-btn-shadow-outline: initial !important; + --color-mktg-btn-shadow-focus: initial !important; + --color-mktg-btn-shadow-hover: initial !important; + --color-mktg-btn-shadow-hover-muted: initial !important; + --color-avatar-bg: initial !important; + --color-avatar-border: initial !important; + --color-avatar-stack-fade: initial !important; + --color-avatar-stack-fade-more: initial !important; + --color-avatar-child-shadow: initial !important; + --color-topic-tag-border: initial !important; + --color-counter-border: initial !important; + --color-select-menu-backdrop-border: initial !important; + --color-select-menu-tap-highlight: initial !important; + --color-select-menu-tap-focus-bg: initial !important; + --color-overlay-shadow: initial !important; + --color-header-text: initial !important; + --color-header-bg: initial !important; + --color-header-divider: initial !important; + --color-header-logo: initial !important; + --color-header-search-bg: initial !important; + --color-header-search-border: initial !important; + --color-sidenav-selected-bg: initial !important; + --color-menu-bg-active: initial !important; + --color-input-disabled-bg: initial !important; + --color-timeline-badge-bg: initial !important; + --color-ansi-black: initial !important; + --color-ansi-black-bright: initial !important; + --color-ansi-white: initial !important; + --color-ansi-white-bright: initial !important; + --color-ansi-gray: initial !important; + --color-ansi-red: initial !important; + --color-ansi-red-bright: initial !important; + --color-ansi-green: initial !important; + --color-ansi-green-bright: initial !important; + --color-ansi-yellow: initial !important; + --color-ansi-yellow-bright: initial !important; + --color-ansi-blue: initial !important; + --color-ansi-blue-bright: initial !important; + --color-ansi-magenta: initial !important; + --color-ansi-magenta-bright: initial !important; + --color-ansi-cyan: initial !important; + --color-ansi-cyan-bright: initial !important; + --color-btn-text: initial !important; + --color-btn-bg: initial !important; + --color-btn-border: initial !important; + --color-btn-shadow: initial !important; + --color-btn-inset-shadow: initial !important; + --color-btn-hover-bg: initial !important; + --color-btn-hover-border: initial !important; + --color-btn-active-bg: initial !important; + --color-btn-active-border: initial !important; + --color-btn-selected-bg: initial !important; + --color-btn-focus-bg: initial !important; + --color-btn-focus-border: initial !important; + --color-btn-focus-shadow: initial !important; + --color-btn-shadow-active: initial !important; + --color-btn-shadow-input-focus: initial !important; + --color-btn-counter-bg: initial !important; + --color-btn-primary-text: initial !important; + --color-btn-primary-bg: initial !important; + --color-btn-primary-border: initial !important; + --color-btn-primary-shadow: initial !important; + --color-btn-primary-inset-shadow: initial !important; + --color-btn-primary-hover-bg: initial !important; + --color-btn-primary-hover-border: initial !important; + --color-btn-primary-selected-bg: initial !important; + --color-btn-primary-selected-shadow: initial !important; + --color-btn-primary-disabled-text: initial !important; + --color-btn-primary-disabled-bg: initial !important; + --color-btn-primary-disabled-border: initial !important; + --color-btn-primary-focus-bg: initial !important; + --color-btn-primary-focus-border: initial !important; + --color-btn-primary-focus-shadow: initial !important; + --color-btn-primary-icon: initial !important; + --color-btn-primary-counter-bg: initial !important; + --color-btn-outline-text: initial !important; + --color-btn-outline-hover-text: initial !important; + --color-btn-outline-hover-bg: initial !important; + --color-btn-outline-hover-border: initial !important; + --color-btn-outline-hover-shadow: initial !important; + --color-btn-outline-hover-inset-shadow: initial !important; + --color-btn-outline-hover-counter-bg: initial !important; + --color-btn-outline-selected-text: initial !important; + --color-btn-outline-selected-bg: initial !important; + --color-btn-outline-selected-border: initial !important; + --color-btn-outline-selected-shadow: initial !important; + --color-btn-outline-disabled-text: initial !important; + --color-btn-outline-disabled-bg: initial !important; + --color-btn-outline-disabled-counter-bg: initial !important; + --color-btn-outline-focus-border: initial !important; + --color-btn-outline-focus-shadow: initial !important; + --color-btn-outline-counter-bg: initial !important; + --color-btn-danger-text: initial !important; + --color-btn-danger-hover-text: initial !important; + --color-btn-danger-hover-bg: initial !important; + --color-btn-danger-hover-border: initial !important; + --color-btn-danger-hover-shadow: initial !important; + --color-btn-danger-hover-inset-shadow: initial !important; + --color-btn-danger-hover-icon: initial !important; + --color-btn-danger-hover-counter-bg: initial !important; + --color-btn-danger-selected-text: initial !important; + --color-btn-danger-selected-bg: initial !important; + --color-btn-danger-selected-border: initial !important; + --color-btn-danger-selected-shadow: intial !important; + --color-btn-danger-disabled-text: initial !important; + --color-btn-danger-disabled-bg: initial !important; + --color-btn-danger-disabled-counter-bg: initial !important; + --color-btn-danger-focus-border: initial !important; + --color-btn-danger-focus-shadow: initial !important; + --color-btn-danger-counter-bg: initial !important; + --color-btn-danger-icon: initial !important; + --color-underlinenav-icon: initial !important; + --color-underlinenav-border-hover: initial !important; + --color-action-list-item-inline-divider: initial !important; + --color-action-list-item-default-hover-bg: initial !important; + --color-action-list-item-default-hover-border: initial !important; + --color-action-list-item-default-active-bg: initial !important; + --color-action-list-item-default-active-border: initial !important; + --color-action-list-item-default-selected-bg: initial !important; + --color-action-list-item-danger-hover-bg: initial !important; + --color-action-list-item-danger-active-bg: initial !important; + --color-action-list-item-danger-hover-text: initial !important; + --color-switch-track-bg: initial !important; + --color-switch-track-border: initial !important; + --color-switch-track-checked-bg: initial !important; + --color-switch-track-checked-hover-bg: initial !important; + --color-switch-track-checked-active-bg: initial !important; + --color-switch-track-checked-border: initial !important; + --color-switch-knob-checked-bg: initial !important; + --color-switch-knob-checked-disabled-bg: initial !important; + --color-fg-default: initial !important; + --color-fg-muted: initial !important; + --color-fg-subtle: initial !important; + --color-fg-on-emphasis: initial !important; + --color-canvas-default: initial !important; + --color-canvas-overlay: initial !important; + --color-canvas-inset: initial !important; + --color-canvas-subtle: initial !important; + --color-border-default: initial !important; + --color-border-muted: initial !important; + --color-border-subtle: initial !important; + --color-shadow-small: initial !important; + --color-shadow-medium: initial !important; + --color-shadow-large: initial !important; + --color-shadow-extra-large: initial !important; + --color-neutral-emphasis-plus: initial !important; + --color-neutral-emphasis: initial !important; + --color-neutral-muted: initial !important; + --color-neutral-subtle: initial !important; + --color-accent-fg: initial !important; + --color-accent-emphasis: initial !important; + --color-accent-muted: initial !important; + --color-accent-subtle: initial !important; + --color-success-fg: initial !important; + --color-success-emphasis: initial !important; + --color-success-muted: initial !important; + --color-success-subtle: initial !important; + --color-attention-fg: initial !important; + --color-attention-emphasis: initial !important; + --color-attention-muted: initial !important; + --color-attention-subtle: initial !important; + --color-severe-fg: initial !important; + --color-severe-emphasis: initial !important; + --color-severe-muted: initial !important; + --color-severe-subtle: initial !important; + --color-danger-fg: initial !important; + --color-danger-emphasis: initial !important; + --color-danger-muted: initial !important; + --color-danger-subtle: initial !important; + --color-open-fg: initial !important; + --color-open-emphasis: initial !important; + --color-open-muted: initial !important; + --color-open-subtle: initial !important; + --color-closed-fg: initial !important; + --color-closed-emphasis: initial !important; + --color-closed-muted: initial !important; + --color-closed-subtle: initial !important; + --color-done-fg: initial !important; + --color-done-emphasis: initial !important; + --color-done-muted: initial !important; + --color-done-subtle: initial !important; + --color-sponsors-fg: initial !important; + --color-sponsors-emphasis: initial !important; + --color-sponsors-muted: initial !important; + --color-sponsors-subtle: initial !important; + --color-primer-fg-disabled: initial !important; + --color-primer-canvas-backdrop: initial !important; + --color-primer-canvas-sticky: initial !important; + --color-primer-border-active: initial !important; + --color-primer-border-contrast: initial !important; + --color-primer-shadow-highlight: initial !important; + --color-primer-shadow-inset: initial !important; + --color-primer-shadow-focus: initial !important; + --color-scale-black: initial !important; + --color-scale-white: initial !important; + --color-scale-gray-0: initial !important; + --color-scale-gray-1: initial !important; + --color-scale-gray-2: initial !important; + --color-scale-gray-3: initial !important; + --color-scale-gray-4: initial !important; + --color-scale-gray-5: initial !important; + --color-scale-gray-6: initial !important; + --color-scale-gray-7: initial !important; + --color-scale-gray-8: initial !important; + --color-scale-gray-9: initial !important; + --color-scale-blue-0: initial !important; + --color-scale-blue-1: initial !important; + --color-scale-blue-2: initial !important; + --color-scale-blue-3: initial !important; + --color-scale-blue-4: initial !important; + --color-scale-blue-5: initial !important; + --color-scale-blue-6: initial !important; + --color-scale-blue-7: initial !important; + --color-scale-blue-8: initial !important; + --color-scale-blue-9: initial !important; + --color-scale-green-0: initial !important; + --color-scale-green-1: initial !important; + --color-scale-green-2: initial !important; + --color-scale-green-3: initial !important; + --color-scale-green-4: initial !important; + --color-scale-green-5: initial !important; + --color-scale-green-6: initial !important; + --color-scale-green-7: initial !important; + --color-scale-green-8: initial !important; + --color-scale-green-9: initial !important; + --color-scale-yellow-0: initial !important; + --color-scale-yellow-1: initial !important; + --color-scale-yellow-2: initial !important; + --color-scale-yellow-3: initial !important; + --color-scale-yellow-4: initial !important; + --color-scale-yellow-5: initial !important; + --color-scale-yellow-6: initial !important; + --color-scale-yellow-7: initial !important; + --color-scale-yellow-8: initial !important; + --color-scale-yellow-9: initial !important; + --color-scale-orange-0: initial !important; + --color-scale-orange-1: initial !important; + --color-scale-orange-2: initial !important; + --color-scale-orange-3: initial !important; + --color-scale-orange-4: initial !important; + --color-scale-orange-5: initial !important; + --color-scale-orange-6: initial !important; + --color-scale-orange-7: initial !important; + --color-scale-orange-8: initial !important; + --color-scale-orange-9: initial !important; + --color-scale-red-0: initial !important; + --color-scale-red-1: initial !important; + --color-scale-red-2: initial !important; + --color-scale-red-3: initial !important; + --color-scale-red-4: initial !important; + --color-scale-red-5: initial !important; + --color-scale-red-6: initial !important; + --color-scale-red-7: initial !important; + --color-scale-red-8: initial !important; + --color-scale-red-9: initial !important; + --color-scale-purple-0: initial !important; + --color-scale-purple-1: initial !important; + --color-scale-purple-2: initial !important; + --color-scale-purple-3: initial !important; + --color-scale-purple-4: initial !important; + --color-scale-purple-5: initial !important; + --color-scale-purple-6: initial !important; + --color-scale-purple-7: initial !important; + --color-scale-purple-8: initial !important; + --color-scale-purple-9: initial !important; + --color-scale-pink-0: initial !important; + --color-scale-pink-1: initial !important; + --color-scale-pink-2: initial !important; + --color-scale-pink-3: initial !important; + --color-scale-pink-4: initial !important; + --color-scale-pink-5: initial !important; + --color-scale-pink-6: initial !important; + --color-scale-pink-7: initial !important; + --color-scale-pink-8: initial !important; + --color-scale-pink-9: initial !important; + --color-scale-coral-0: initial !important; + --color-scale-coral-1: initial !important; + --color-scale-coral-2: initial !important; + --color-scale-coral-3: initial !important; + --color-scale-coral-4: initial !important; + --color-scale-coral-5: initial !important; + --color-scale-coral-6: initial !important; + --color-scale-coral-7: initial !important; + --color-scale-coral-8: initial !important; + --color-scale-coral-9: initial !important; + --color-workflow-card-header-shadow: initial !important; + --color-bg-discussions-row-emoji-box: initial !important; + --color-calendar-halloween-graph-day-L1-bg: initial !important; + --color-calendar-halloween-graph-day-L2-bg: initial !important; + --color-calendar-halloween-graph-day-L3-bg: initial !important; + --color-calendar-halloween-graph-day-L4-bg: initial !important; + --color-calendar-graph-day-bg: initial !important; + --color-calendar-graph-day-border: initial !important; + --color-calendar-graph-day-bg: initial !important; + --color-calendar-graph-day-L1-bg: initial !important; + --color-calendar-graph-day-L2-bg: initial !important; + --color-calendar-graph-day-L3-bg: initial !important; + --color-calendar-graph-day-L4-bg: initial !important; + --color-calendar-graph-day-L1-border: initial !important; + --color-calendar-graph-day-L2-border: initial !important; + --color-calendar-graph-day-L3-border: initial !important; + --color-calendar-graph-day-L4-border: initial !important; } -html, body { - visibility: hidden !important +html, +body { + visibility: hidden !important; } .Progress-item { - background-color: var(--color-calendar-graph-day-L4-bg) !important; + background-color: var(--color-calendar-graph-day-L4-bg) !important; } .js-highlight-blob { - fill: var(--color-calendar-graph-day-L3-bg) !important; - stroke: var(--color-calendar-graph-day-L4-bg) !important; + fill: var(--color-calendar-graph-day-L3-bg) !important; + stroke: var(--color-calendar-graph-day-L4-bg) !important; } svg { - color: var(--color-scale-gray-0) !important; + color: var(--color-scale-gray-0) !important; } /* a,p { @@ -474,4 +476,4 @@ svg { span { color: var(--color-scale-gray-0) !important; -} */ \ No newline at end of file +} */ diff --git a/public/unhide.css b/public/unhide.css index fdc85f4..b6fe33c 100644 --- a/public/unhide.css +++ b/public/unhide.css @@ -1,3 +1,4 @@ -html, body { - visibility: visible !important; -} \ No newline at end of file +html, +body { + visibility: visible !important; +} diff --git a/src/App.test.tsx b/src/App.test.tsx index 2f5dfc4..c653c68 100644 --- a/src/App.test.tsx +++ b/src/App.test.tsx @@ -1,8 +1,8 @@ -import React from 'react'; -import { render, screen } from '@testing-library/react'; -import Popup from './views/Popup'; +import React from "react"; +import { render, screen } from "@testing-library/react"; +import Popup from "./views/Popup"; -test('renders learn react link', () => { +test("renders learn react link", () => { render(); const linkElement = screen.getByText(/learn react/i); expect(linkElement).toBeInTheDocument(); diff --git a/src/App.tsx b/src/App.tsx index d123fae..5397bda 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,11 +1,9 @@ -import React, { useState, useEffect } from 'react'; -import logo from './assets/images/pint.svg'; -import './assets/styles/App.css'; -import Popup from './views/Popup'; -import Options from './views/Options'; +import React, { useState, useEffect } from "react"; +import "./assets/styles/App.css"; +import Popup from "./views/Popup"; +import Options from "./views/Options"; export default function App() { - const [isOptionsUi, setOptionsUI] = useState(window.innerWidth > 375); const updateMedia = () => { @@ -18,12 +16,6 @@ export default function App() { }); return ( -
- {isOptionsUi ? - ( - ) : ( - - )} -
+
{isOptionsUi ? : }
); } diff --git a/src/components/global/CardTitle.tsx b/src/components/global/CardTitle.tsx index f6fd637..10a774b 100644 --- a/src/components/global/CardTitle.tsx +++ b/src/components/global/CardTitle.tsx @@ -1,17 +1,21 @@ -import react from "react"; import "../../assets/styles/App.css"; interface Props { - name: string, - color?: string, - textcolor?: string | "#ffffff", + name: string; + color?: string; + textcolor?: string | "#ffffff"; } export default function CardTitle(props: Props) { - const { name,color, textcolor } = props; - return( -
-

{name} {color}

-
- ); -} \ No newline at end of file + const { name, color, textcolor } = props; + return ( +
+

+ {name} {color} +

+
+ ); +} diff --git a/src/components/global/Preview.tsx b/src/components/global/Preview.tsx index 99342b5..8b63bd6 100644 --- a/src/components/global/Preview.tsx +++ b/src/components/global/Preview.tsx @@ -1,23 +1,18 @@ -import react from "react"; import "../../assets/styles/App.css"; interface RequiredProps { - name: string, - color: string, + name: string; + color: string; } interface OptionalProps { - modifier?: string + modifier?: string; } interface Props extends RequiredProps, OptionalProps {} -const defaultProps: OptionalProps = { - modifier: "ff" -}; - -export default function Preview( props: Props ) { - const { name, color, modifier="ff" } = props; +export default function Preview(props: Props) { + const { name, color, modifier = "ff" } = props; return (

{name}

diff --git a/src/components/options/ChangeCard.tsx b/src/components/options/ChangeCard.tsx index db1c4bb..c9738ee 100644 --- a/src/components/options/ChangeCard.tsx +++ b/src/components/options/ChangeCard.tsx @@ -1,23 +1,8 @@ -import react, { MouseEventHandler } from "react"; +import react from "react"; import "../../assets/styles/App.css"; -import { HexColorInput, HexColorPicker } from "react-colorful"; -import { TextField } from "@mui/material"; import { IoIosBrush } from "react-icons/io"; -import Preview from "../global/Preview"; import CardTitle from "../global/CardTitle"; -import { - pintSet, - pintSetNoReload, - updateMultiple, - pintGetUpdate, -} from "../../methods/helper"; -import * as quickScheme from "../../methods/quickScheme"; -import { - bgGen, - generateAccent, - updateViaQuickScheme, -} from "../../methods/schemeGen"; -import { bgcolor } from "@mui/system"; +import { pintSetNoReload, pintGetUpdate } from "../../methods/helper"; var defaultValue = "#c0ffee"; @@ -46,7 +31,7 @@ export default function ChangeCard(props: Props) { const [current, setCurrent] = react.useState(`${defaultValue}`); function updateColor() { - var stringifiedColor = `rgba(${colorPickerColor.r},${colorPickerColor.g},${colorPickerColor.b},${colorPickerColor.a})` + var stringifiedColor = `rgba(${colorPickerColor.r},${colorPickerColor.g},${colorPickerColor.b},${colorPickerColor.a})`; setCurrent(stringifiedColor); pintSetNoReload(settingName, stringifiedColor); } @@ -61,18 +46,25 @@ export default function ChangeCard(props: Props) {
-
-
- updateColorExplicitly(e.target.value)} /> -
+
+
+ updateColorExplicitly(e.target.value)} + /> +
-
-
+
+ ); } diff --git a/src/components/options/Header.tsx b/src/components/options/Header.tsx index c3aa4ea..5c4212e 100644 --- a/src/components/options/Header.tsx +++ b/src/components/options/Header.tsx @@ -1,21 +1,17 @@ -import react from "react"; import logo from "../../assets/images/pint.svg"; import "../../assets/styles/App.css"; -import { IoMdSettings } from "react-icons/io"; export default function Header() { return ( -
-
- logo -
-

pint for github

-

2.0-dev - advanced mode

-
-
-
-
- -
+
+
+ logo +
+

pint for github

+

2.0-dev - advanced mode

+
+
+
+
); } diff --git a/src/components/options/QuickChange.tsx b/src/components/options/QuickChange.tsx index 55bbca2..740c824 100644 --- a/src/components/options/QuickChange.tsx +++ b/src/components/options/QuickChange.tsx @@ -1,35 +1,34 @@ -import react, { MouseEventHandler } from "react"; +import react from "react"; import "../../assets/styles/App.css"; import { HexColorInput, HexColorPicker } from "react-colorful"; -import { TextField } from "@mui/material"; -import { IoIosBrush } from "react-icons/io"; -import Preview from "../global/Preview"; import CardTitle from "../global/CardTitle"; -import { pintSet, pintSetNoReload, updateMultiple, pintGetUpdate } from "../../methods/helper"; -import * as quickScheme from "../../methods/quickScheme"; -import { bgGen, generateAccent, updateViaQuickScheme, } from "../../methods/schemeGen"; -import { bgcolor } from "@mui/system"; -var defaultValue = "#c0ffee" +var defaultValue = "#c0ffee"; export default function QuickChange() { - - react.useLayoutEffect(() => { - }) + react.useLayoutEffect(() => {}); const [color, setColor] = react.useState(`${defaultValue}`); return (
-
+
- +
- +
-
+
); } diff --git a/src/components/popup/Header.tsx b/src/components/popup/Header.tsx index 9dc89a8..8332ead 100644 --- a/src/components/popup/Header.tsx +++ b/src/components/popup/Header.tsx @@ -1,38 +1,44 @@ -import react from "react"; import logo from "../../assets/images/pint.svg"; import "../../assets/styles/App.css"; import { IoMdSettings } from "react-icons/io"; import { AiFillGithub } from "react-icons/ai"; export default function Header() { - function openOptions() { - chrome.runtime.openOptionsPage() + chrome.runtime.openOptionsPage(); } function openGithub() { chrome.tabs.create({ - url: 'https://github.com/fuwaa/pint', + url: "https://github.com/fuwaa/pint", selected: true, - }) + }); } return ( -
-
- logo -
-

pint for github

-

2.0-dev - simple mode

-
-
-
- - -
-
+
+
+ logo +
+

pint for github

+

2.0-dev - simple mode

+
+
+
+ + +
+
); } diff --git a/src/components/popup/QuickChange.tsx b/src/components/popup/QuickChange.tsx index 6ce9cc3..ec89e12 100644 --- a/src/components/popup/QuickChange.tsx +++ b/src/components/popup/QuickChange.tsx @@ -1,49 +1,32 @@ -import react, { MouseEventHandler } from "react"; +import react from "react"; import "../../assets/styles/App.css"; import { HexColorPicker, HexColorInput } from "react-colorful"; import { TextField } from "@mui/material"; import { IoIosBrush } from "react-icons/io"; -import Preview from "../global/Preview"; import CardTitle from "../global/CardTitle"; -import { pintSet, pintSetNoReload, updateMultiple, pintGetUpdate } from "../../methods/helper"; -import * as quickScheme from "../../methods/quickScheme"; -import { bgGen, generateAccent, updateText, updateViaQuickScheme, } from "../../methods/schemeGen"; -import { bgcolor } from "@mui/system"; +import { pintGetUpdate } from "../../methods/helper"; +import { + bgGen, + generateAccent, + updateText, + updateViaQuickScheme, +} from "../../methods/schemeGen"; -var defaultValue = "#c0ffee" +var defaultValue = "#c0ffee"; export default function QuickChange() { - react.useLayoutEffect(() => { pintGetUpdate("__color_canvas_default", setBgColor); - pintGetUpdate("__color_calendar_graph_day_L4_bg", setL4) - pintGetUpdate("__color_calendar_graph_day_L3_bg", setL3) - pintGetUpdate("__color_calendar_graph_day_L2_bg", setL2) - pintGetUpdate("__color_calendar_graph_day_L1_bg", setL1) - pintGetUpdate("__color_accent_emphasis", setAccentEmphasis) - pintGetUpdate("__color_btn_primary_bg", setButtonPrimary) - pintGetUpdate("__color_btn_primary_hover_bg", setHoverButton) - pintGetUpdate("__color_btn_primary_active_bg", setActiveButton) - pintGetUpdate("__color_btn_primary_focus_bg", setClickedButton) - pintGetUpdate("__color_btn_primary_disabled_bg", setDisabledButton) - pintGetUpdate("__color_scale_gray_1", setTextColor) - }) + pintGetUpdate("__color_calendar_graph_day_L4_bg", setL4); + pintGetUpdate("__color_scale_gray_1", setTextColor); + }); const [bgColor, setBgColor] = react.useState(`${defaultValue}`); const [color, setColor] = react.useState(`${defaultValue}`); const [textColor, setTextColor] = react.useState(`${defaultValue}`); // l1-l4 and other used shit - const [l1, setL1] = react.useState(`${defaultValue}`); - const [l2, setL2] = react.useState(`${defaultValue}`); - const [l3, setL3] = react.useState(`${defaultValue}`); const [l4, setL4] = react.useState(`${defaultValue}`); - const [activeButton, setActiveButton] = react.useState(`${defaultValue}`); - const [buttonPrimary, setButtonPrimary] = react.useState(`${defaultValue}`); - const [accentEmphasis, setAccentEmphasis] = react.useState(`${defaultValue}`); - const [disabledButton, setDisabledButton] = react.useState(`${defaultValue}`); - const [hoverButton, setHoverButton] = react.useState(`${defaultValue}`); - const [clickedButton, setClickedButton] = react.useState(`${defaultValue}`); function paintAccent() { updateViaQuickScheme(color); @@ -66,7 +49,11 @@ export default function QuickChange() {
- +
@@ -84,6 +71,7 @@ export default function QuickChange() { size="small" />
-
- -
- -
-
-
+
+ +
+ +
+
+ ); } diff --git a/src/index.tsx b/src/index.tsx index cafac7b..cfe8296 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1,11 +1,11 @@ -import React from 'react'; -import ReactDOM from 'react-dom/client'; -import './assets/styles/index.css'; -import App from './App'; -import reportWebVitals from './reportWebVitals'; +import React from "react"; +import ReactDOM from "react-dom/client"; +import "./assets/styles/index.css"; +import App from "./App"; +import reportWebVitals from "./reportWebVitals"; const root = ReactDOM.createRoot( - document.getElementById('root') as HTMLElement + document.getElementById("root") as HTMLElement ); root.render( diff --git a/src/methods/helper.js b/src/methods/helper.js index 0c47231..3ff6696 100644 --- a/src/methods/helper.js +++ b/src/methods/helper.js @@ -1,33 +1,30 @@ /*global chrome*/ -export function pintSet( setting, value ) { - var pintKey = {}; - pintKey[`${setting}`] = value; - var settingVar = setting.replace(/_/g, "-"); - chrome.storage.local.set(pintKey); - chrome.tabs.reload(); -} - -export function pintSetNoReload( setting, value ) { +export function pintSet(setting, value) { var pintKey = {}; pintKey[`${setting}`] = value; - var settingVar = setting.replace(/_/g, "-"); chrome.storage.local.set(pintKey); + chrome.tabs.reload(); } +export function pintSetNoReload(setting, value) { + var pintKey = {}; + pintKey[`${setting}`] = value; + chrome.storage.local.set(pintKey); +} export function pintGet(setting, cb) { var output = ""; chrome.storage.local.get([`${setting}`], function (result) { - output = result[`${setting}`] + output = result[`${setting}`]; cb(output); - }) + }); } export function pintGetUpdate(setting, func) { chrome.storage.local.get([`${setting}`], function (result) { func(result[`${setting}`]); - }) + }); } export function updateMultiple(array, color) { diff --git a/src/methods/schemeGen.js b/src/methods/schemeGen.js index df750d1..f75a71d 100644 --- a/src/methods/schemeGen.js +++ b/src/methods/schemeGen.js @@ -1,6 +1,6 @@ /*global chrome*/ -import { pintGet, pintSet, pintGetUpdate, pintSetNoReload, updateMultiple } from './helper.js'; -import * as qs from './quickScheme.js'; +import { pintSetNoReload, updateMultiple } from "./helper.js"; +import * as qs from "./quickScheme.js"; // function to convert hex to rgb export function hexToRgb(hex) { @@ -21,13 +21,16 @@ export function rgbToHex(r, g, b) { } export function rgba2hex(orig) { - var a, isPercent, - rgb = orig.replace(/\s/g, '').match(/^rgba?\((\d+),(\d+),(\d+),?([^,\s)]+)?/i), - alpha = (rgb && rgb[4] || "").trim(), - hex = rgb ? - (rgb[1] | 1 << 8).toString(16).slice(1) + - (rgb[2] | 1 << 8).toString(16).slice(1) + - (rgb[3] | 1 << 8).toString(16).slice(1) : orig; + var a, + rgb = orig + .replace(/\s/g, "") + .match(/^rgba?\((\d+),(\d+),(\d+),?([^,\s)]+)?/i), + alpha = ((rgb && rgb[4]) || "").trim(), + hex = rgb + ? (rgb[1] | (1 << 8)).toString(16).slice(1) + + (rgb[2] | (1 << 8)).toString(16).slice(1) + + (rgb[3] | (1 << 8)).toString(16).slice(1) + : orig; if (alpha !== "") { a = alpha; @@ -35,7 +38,7 @@ export function rgba2hex(orig) { a = 1; } // multiply before convert to HEX - a = ((a * 255) | 1 << 8).toString(16).slice(1) + a = ((a * 255) | (1 << 8)).toString(16).slice(1); hex = hex + a; return hex; @@ -64,10 +67,10 @@ export function generateAccent(hex, modifier) { export function updateViaQuickScheme(color) { var gradient = generateHexGradients(color); - pintSetNoReload("__color_calendar_graph_day_L4_bg", `${gradient[0]}` + "ff"); - pintSetNoReload("__color_calendar_graph_day_L3_bg", `${gradient[0]}` + "c5"); - pintSetNoReload("__color_calendar_graph_day_L2_bg", `${gradient[0]}` + "8a"); - pintSetNoReload("__color_calendar_graph_day_L1_bg", `${gradient[0]}` + "54"); + pintSetNoReload("__color_calendar_graph_day_L4_bg", `${gradient[0]}ff`); + pintSetNoReload("__color_calendar_graph_day_L3_bg", `${gradient[0]}c5`); + pintSetNoReload("__color_calendar_graph_day_L2_bg", `${gradient[0]}8a`); + pintSetNoReload("__color_calendar_graph_day_L1_bg", `${gradient[0]}54`); pintSetNoReload("__color_accent_emphasis", gradient[4]); pintSetNoReload("__color_btn_primary_bg", gradient[5]); pintSetNoReload("__color_btn_primary_hover_bg", gradient[4]); @@ -79,16 +82,16 @@ export function updateViaQuickScheme(color) { export function bgGen(color) { updateMultiple(qs.BG9, color); - updateMultiple(qs.ScaleBlack, generateAccent(color, 10)) - updateMultiple(qs.BG8, generateAccent(color, -10)) - updateMultiple(qs.BG7, generateAccent(color, -20)) - updateMultiple(qs.BG6, generateAccent(color, -30)) - updateMultiple(qs.BG5, generateAccent(color, -50)) - updateMultiple(qs.BG4, generateAccent(color, -70)) - updateMultiple(qs.BG3, generateAccent(color, -90)) - updateMultiple(qs.BG2, generateAccent(color, -110)) - updateMultiple(qs.BG1, generateAccent("#ffffff", 0)) - updateMultiple(qs.BG0, generateAccent(color, -130)) + updateMultiple(qs.ScaleBlack, generateAccent(color, 10)); + updateMultiple(qs.BG8, generateAccent(color, -10)); + updateMultiple(qs.BG7, generateAccent(color, -20)); + updateMultiple(qs.BG6, generateAccent(color, -30)); + updateMultiple(qs.BG5, generateAccent(color, -50)); + updateMultiple(qs.BG4, generateAccent(color, -70)); + updateMultiple(qs.BG3, generateAccent(color, -90)); + updateMultiple(qs.BG2, generateAccent(color, -110)); + updateMultiple(qs.BG1, generateAccent("#ffffff", 0)); + updateMultiple(qs.BG0, generateAccent(color, -130)); chrome.tabs.reload(); } @@ -97,6 +100,4 @@ export function updateText(color) { chrome.tabs.reload(); } -export function accentGen(color) { - -} \ No newline at end of file +export function accentGen(color) {} diff --git a/src/methods/settings.js b/src/methods/settings.js index 5c1b559..cd9bf76 100644 --- a/src/methods/settings.js +++ b/src/methods/settings.js @@ -1,450 +1,452 @@ export const settings = { - "__color_accent_emphasis" : "#1f6feb", - "__color_accent_fg" : "#58a6ff", - "__color_accent_muted" : "rgba(56, 139, 253, 0.4)", - "__color_accent_subtle" : "rgba(56, 139, 253, 0.15)", - "__color_action_list_item_danger_active_bg" : "rgba(248, 81, 73, 0.24)", - "__color_action_list_item_danger_hover_bg" : "rgba(248, 81, 73, 0.16)", - "__color_action_list_item_danger_hover_text" : "#ff7b72", - "__color_action_list_item_default_active_bg" : "rgba(177, 186, 196, 0.2)", - "__color_action_list_item_default_active_border" : "rgba(0, 0, 0, 0)", - "__color_action_list_item_default_hover_bg" : "rgba(177, 186, 196, 0.12)", - "__color_action_list_item_default_hover_border" : "rgba(0, 0, 0, 0)", - "__color_action_list_item_default_selected_bg" : "rgba(177, 186, 196, 0.08)", - "__color_action_list_item_inline_divider" : "rgba(48, 54, 61, 0.48)", - "__color_ans_Iblack_bright" : "#6e7681", - "__color_ans_Iblack" : "#484f58", - "__color_ans_Iblue_bright" : "#79c0ff", - "__color_ans_Iblue" : "#58a6ff", - "__color_ans_Icyan_bright" : "#56d4dd", - "__color_ans_Icyan" : "#39c5cf", - "__color_ans_Igray" : "#6e7681", - "__color_ans_Igreen_bright" : "#56d364", - "__color_ans_Igreen" : "#3fb950", - "__color_ans_Imagenta_bright" : "#d2a8ff", - "__color_ans_Imagenta" : "#bc8cff", - "__color_ans_Ired_bright" : "#ffa198", - "__color_ans_Ired" : "#ff7b72", - "__color_ans_Iwhite_bright" : "#ffffff", - "__color_ans_Iwhite" : "#b1bac4", - "__color_ans_Iyellow_bright" : "#e3b341", - "__color_ans_Iyellow" : "#d29922", - "__color_attention_emphasis" : "#9e6a03", - "__color_attention_fg" : "#d29922", - "__color_attention_muted" : "rgba(187, 128, 9, 0.4)", - "__color_attention_subtle" : "rgba(187, 128, 9, 0.15)", - "__color_avatar_bg" : "rgba(255, 255, 255, 0.1)", - "__color_avatar_border" : "rgba(240, 246, 252, 0.1)", - "__color_avatar_child_shadow" : "_2px _2px 0 #0d1117", - "__color_avatar_stack_fade_more" : "#21262d", - "__color_avatar_stack_fade" : "#30363d", - "__color_border_default" : "#30363d", - "__color_border_muted" : "#21262d", - "__color_border_subtle" : "rgba(240, 246, 252, 0.1)", - "__color_btn_active_bg" : "hsla(212, 12%, 18%, 1)", - "__color_btn_active_border" : "#6e7681", - "__color_btn_bg" : "#21262d", - "__color_btn_border" : "rgba(240, 246, 252, 0.1)", - "__color_btn_counter_bg" : "#30363d", - "__color_btn_danger_counter_bg" : "rgba(218, 54, 51, 0.1)", - "__color_btn_danger_disabled_bg" : "#0d1117", - "__color_btn_danger_disabled_counter_bg" : "rgba(218, 54, 51, 0.05)", - "__color_btn_danger_disabled_text" : "rgba(248, 81, 73, 0.5)", - "__color_btn_danger_focus_border" : "#f85149", - "__color_btn_danger_focus_shadow" : "0 0 0 3px rgba(248, 81, 73, 0.4)", - "__color_btn_danger_hover_bg" : "#da3633", - "__color_btn_danger_hover_border" : "#f85149", - "__color_btn_danger_hover_counter_bg" : "rgba(255, 255, 255, 0.2)", - "__color_btn_danger_hover_icon" : "#ffffff", - "__color_btn_danger_hover_inset_shadow" : "0 0 transparent", - "__color_btn_danger_hover_shadow" : "0 0 transparent", - "__color_btn_danger_hover_text" : "#ffffff", - "__color_btn_danger_icon" : "#f85149", - "__color_btn_danger_selected_bg" : "#b62324", - "__color_btn_danger_selected_border" : "#ff7b72", - "__color_btn_danger_selected_shadow" : "0 0 transparent", - "__color_btn_danger_selected_text" : "#ffffff", - "__color_btn_danger_text" : "#f85149", - "__color_btn_focus_bg" : "#21262d", - "__color_btn_focus_border" : "#8b949e", - "__color_btn_focus_shadow" : "0 0 0 3px rgba(139, 148, 158, 0.3)", - "__color_btn_hover_bg" : "#30363d", - "__color_btn_hover_border" : "#8b949e", - "__color_btn_inset_shadow" : "0 0 transparent", - "__color_btn_outline_counter_bg" : "rgba(31, 111, 235, 0.1)", - "__color_btn_outline_disabled_bg" : "#0d1117", - "__color_btn_outline_disabled_counter_bg" : "rgba(31, 111, 235, 0.05)", - "__color_btn_outline_disabled_text" : "rgba(88, 166, 255, 0.5)", - "__color_btn_outline_focus_border" : "rgba(240, 246, 252, 0.1)", - "__color_btn_outline_focus_shadow" : "0 0 0 3px rgba(17, 88, 199, 0.4)", - "__color_btn_outline_hover_bg" : "#30363d", - "__color_btn_outline_hover_border" : "rgba(240, 246, 252, 0.1)", - "__color_btn_outline_hover_counter_bg" : "rgba(255, 255, 255, 0.2)", - "__color_btn_outline_hover_inset_shadow" : "inset 0 1px 0 rgba(255, 255, 255, 0.03)", - "__color_btn_outline_hover_shadow" : "0 1px 0 rgba(1, 4, 9, 0.1)", - "__color_btn_outline_hover_text" : "#58a6ff", - "__color_btn_outline_selected_bg" : "#0d419d", - "__color_btn_outline_selected_border" : "rgba(240, 246, 252, 0.1)", - "__color_btn_outline_selected_shadow" : "0 0 transparent", - "__color_btn_outline_selected_text" : "#ffffff", - "__color_btn_outline_text" : "#58a6ff", - "__color_btn_primary_bg" : "#238636", - "__color_btn_primary_border" : "rgba(240, 246, 252, 0.1)", - "__color_btn_primary_counter_bg" : "rgba(255, 255, 255, 0.2)", - "__color_btn_primary_disabled_bg" : "rgba(35, 134, 54, 0.6)", - "__color_btn_primary_disabled_border" : "rgba(240, 246, 252, 0.1)", - "__color_btn_primary_disabled_text" : "rgba(255, 255, 255, 0.5)", - "__color_btn_primary_focus_bg" : "#238636", - "__color_btn_primary_focus_border" : "rgba(240, 246, 252, 0.1)", - "__color_btn_primary_focus_shadow" : "0 0 0 3px rgba(46, 164, 79, 0.4)", - "__color_btn_primary_hover_bg" : "#2ea043", - "__color_btn_primary_hover_border" : "rgba(240, 246, 252, 0.1)", - "__color_btn_primary_icon" : "#ffffff", - "__color_btn_primary_inset_shadow" : "0 0 transparent", - "__color_btn_primary_selected_bg" : "#238636", - "__color_btn_primary_selected_shadow" : "0 0 transparent", - "__color_btn_primary_shadow" : "0 0 transparent", - "__color_btn_primary_text" : "#ffffff", - "__color_btn_selected_bg" : "#161b22", - "__color_btn_shadow_active" : "inset 0 0.15em 0.3em rgba(1, 4, 9, 0.15)", - "__color_btn_shadow_input_focus" : "0 0 0 0.2em rgba(31, 111, 235, 0.3)", - "__color_btn_shadow" : "0 0 transparent", - "__color_btn_text" : "#c9d1d9", - "__color_calendar_graph_day_bg" : "rgba(0,0,0,0.1)", - "__color_calendar_graph_day_border" : "rgba(27, 31, 35, 0.06)", - "__color_calendar_graph_day_L1_bg" : "#0e4429", - "__color_calendar_graph_day_L1_border" : "rgba(255, 255, 255, 0.05)", - "__color_calendar_graph_day_L2_bg" : "#006d32", - "__color_calendar_graph_day_L2_border" : "rgba(255, 255, 255, 0.05)", - "__color_calendar_graph_day_L3_bg" : "#26a641", - "__color_calendar_graph_day_L3_border" : "rgba(255, 255, 255, 0.05)", - "__color_calendar_graph_day_L4_bg" : "#39d353", - "__color_calendar_graph_day_L4_border" : "rgba(255, 255, 255, 0.05)", - "__color_calendar_halloween_graph_day_L1_bg" : "#631c03", - "__color_calendar_halloween_graph_day_L2_bg" : "#bd561d", - "__color_calendar_halloween_graph_day_L3_bg" : "#fa7a18", - "__color_calendar_halloween_graph_day_L4_bg" : "#fddf68", - "__color_canvas_default_transparent" : "rgba(13, 17, 23, 0)", - "__color_canvas_default" : "#0d1117", - "__color_canvas_inset" : "#010409", - "__color_canvas_overlay" : "#161b22", - "__color_canvas_subtle" : "#161b22", - "__color_checks_ans_Iblack_bright" : "#161b22", - "__color_checks_ans_Iblack" : "#0d1117", - "__color_checks_ans_Iblue_bright" : "#79c0ff", - "__color_checks_ans_Iblue" : "#58a6ff", - "__color_checks_ans_Icyan_bright" : "#b3f0ff", - "__color_checks_ans_Icyan" : "#76e3ea", - "__color_checks_ans_Igray" : "#6e7681", - "__color_checks_ans_Igreen_bright" : "#56d364", - "__color_checks_ans_Igreen" : "#3fb950", - "__color_checks_ans_Imagenta_bright" : "#d2a8ff", - "__color_checks_ans_Imagenta" : "#bc8cff", - "__color_checks_ans_Ired_bright" : "#ffa198", - "__color_checks_ans_Ired" : "#ff7b72", - "__color_checks_ans_Iwhite_bright" : "#b1bac4", - "__color_checks_ans_Iwhite" : "#b1bac4", - "__color_checks_ans_Iyellow_bright" : "#e3b341", - "__color_checks_ans_Iyellow" : "#d29922", - "__color_checks_bg" : "#010409", - "__color_checks_btn_hover_bg" : "rgba(110, 118, 129, 0.1)", - "__color_checks_btn_hover_icon" : "#c9d1d9", - "__color_checks_btn_icon" : "#8b949e", - "__color_checks_container_border_width" : "1px", - "__color_checks_donut_error" : "#f85149", - "__color_checks_donut_neutral" : "#8b949e", - "__color_checks_donut_pending" : "#d29922", - "__color_checks_donut_success" : "#2ea043", - "__color_checks_dropdown_bg" : "#161b22", - "__color_checks_dropdown_border" : "#30363d", - "__color_checks_dropdown_btn_hover_bg" : "rgba(110, 118, 129, 0.1)", - "__color_checks_dropdown_btn_hover_text" : "#c9d1d9", - "__color_checks_dropdown_hover_bg" : "rgba(110, 118, 129, 0.1)", - "__color_checks_dropdown_hover_text" : "#c9d1d9", - "__color_checks_dropdown_shadow" : "rgba(1, 4, 9, 0.3)", - "__color_checks_dropdown_text" : "#c9d1d9", - "__color_checks_gate_bg" : "rgba(187, 128, 9, 0.15)", - "__color_checks_gate_text" : "#8b949e", - "__color_checks_gate_waiting_text" : "#d29922", - "__color_checks_header_border" : "#21262d", - "__color_checks_header_icon" : "#8b949e", - "__color_checks_header_label_open_text" : "#c9d1d9", - "__color_checks_header_label_text" : "#8b949e", - "__color_checks_input_bg" : "#161b22", - "__color_checks_input_focus_text" : "#c9d1d9", - "__color_checks_input_placeholder_text" : "#6e7681", - "__color_checks_input_shadow" : "0 0 0 1px (obj) => get_1.default(obj, path)", - "__color_checks_input_text" : "#8b949e", - "__color_checks_line_dt_fm_bg" : "#9e6a03", - "__color_checks_line_dt_fm_text" : "#ffffff", - "__color_checks_line_hover_bg" : "rgba(110, 118, 129, 0.1)", - "__color_checks_line_num_text" : "#6e7681", - "__color_checks_line_selected_bg" : "rgba(56, 139, 253, 0.15)", - "__color_checks_line_selected_num_text" : "#58a6ff", - "__color_checks_line_text" : "#8b949e", - "__color_checks_line_timestamp_text" : "#6e7681", - "__color_checks_logline_command_text" : "#58a6ff", - "__color_checks_logline_debug_text" : "#a371f7", - "__color_checks_logline_error_bg" : "rgba(248, 81, 73, 0.15)", - "__color_checks_logline_error_num_text" : "#6e7681", - "__color_checks_logline_error_text" : "#8b949e", - "__color_checks_logline_num_text" : "#6e7681", - "__color_checks_logline_section_text" : "#3fb950", - "__color_checks_logline_text" : "#8b949e", - "__color_checks_logline_warning_bg" : "rgba(187, 128, 9, 0.15)", - "__color_checks_logline_warning_num_text" : "#d29922", - "__color_checks_logline_warning_text" : "#8b949e", - "__color_checks_run_border_width" : "1px", - "__color_checks_scrollbar_thumb_bg" : "rgba(110, 118, 129, 0.4)", - "__color_checks_step_error_text" : "#f85149", - "__color_checks_step_header_open_bg" : "#161b22", - "__color_checks_step_warning_text" : "#d29922", - "__color_checks_text_link" : "#58a6ff", - "__color_checks_text_primary" : "#c9d1d9", - "__color_checks_text_secondary" : "#8b949e", - "__color_closed_emphasis" : "#da3633", - "__color_closed_fg" : "#f85149", - "__color_closed_muted" : "rgba(248, 81, 73, 0.4)", - "__color_closed_subtle" : "rgba(248, 81, 73, 0.15)", - "__color_codemirror_activeline_bg" : "rgba(110, 118, 129, 0.1)", - "__color_codemirror_bg" : "#0d1117", - "__color_codemirror_cursor" : "#c9d1d9", - "__color_codemirror_guttermarker_subtle_text" : "#6e7681", - "__color_codemirror_guttermarker_text" : "#0d1117", - "__color_codemirror_gutters_bg" : "#0d1117", - "__color_codemirror_linenumber_text" : "#8b949e", - "__color_codemirror_lines_bg" : "#0d1117", - "__color_codemirror_matchingbracket_text" : "#c9d1d9", - "__color_codemirror_selection_bg" : "rgba(56, 139, 253, 0.4)", - "__color_codemirror_syntax_comment" : "#8b949e", - "__color_codemirror_syntax_constant" : "#79c0ff", - "__color_codemirror_syntax_entity" : "#d2a8ff", - "__color_codemirror_syntax_keyword" : "#ff7b72", - "__color_codemirror_syntax_storage" : "#ff7b72", - "__color_codemirror_syntax_string" : "#a5d6ff", - "__color_codemirror_syntax_support" : "#79c0ff", - "__color_codemirror_syntax_variable" : "#ffa657", - "__color_codemirror_text" : "#c9d1d9", - "__color_counter_border" : "rgba(0, 0, 0, 0)", - "__color_danger_emphasis" : "#da3633", - "__color_danger_fg" : "#f85149", - "__color_danger_muted" : "rgba(248, 81, 73, 0.4)", - "__color_danger_subtle" : "rgba(248, 81, 73, 0.15)", - "__color_diff_blob_addition_fg" : "#c9d1d9", - "__color_diff_blob_addition_line_bg" : "rgba(46, 160, 67, 0.15)", - "__color_diff_blob_addition_num_bg" : "rgba(63, 185, 80, 0.3)", - "__color_diff_blob_addition_num_text" : "#c9d1d9", - "__color_diff_blob_addition_word_bg" : "rgba(46, 160, 67, 0.4)", - "__color_diff_blob_deletion_fg" : "#c9d1d9", - "__color_diff_blob_deletion_line_bg" : "rgba(248, 81, 73, 0.15)", - "__color_diff_blob_deletion_num_bg" : "rgba(248, 81, 73, 0.3)", - "__color_diff_blob_deletion_num_text" : "#c9d1d9", - "__color_diff_blob_deletion_word_bg" : "rgba(248, 81, 73, 0.4)", - "__color_diff_blob_expander_icon" : "#8b949e", - "__color_diff_blob_hunk_num_bg" : "rgba(56, 139, 253, 0.4)", - "__color_diff_blob_selected_line_highlight_mix_blend_mode" : "screen", - "__color_diffstat_addition_bg" : "#3fb950", - "__color_diffstat_addition_border" : "rgba(240, 246, 252, 0.1)", - "__color_diffstat_deletion_border" : "rgba(240, 246, 252, 0.1)", - "__color_done_emphasis" : "#8957e5", - "__color_done_fg" : "#a371f7", - "__color_done_muted" : "rgba(163, 113, 247, 0.4)", - "__color_done_subtle" : "rgba(163, 113, 247, 0.15)", - "__color_fg_default" : "#c9d1d9", - "__color_fg_muted" : "#8b949e", - "__color_fg_on_emphasis" : "#ffffff", - "__color_fg_subtle" : "#6e7681", - "__color_header_bg" : "#161b22", - "__color_header_divider" : "#8b949e", - "__color_header_logo" : "#f0f6fc", - "__color_header_search_bg" : "#0d1117", - "__color_header_search_border" : "#30363d", - "__color_header_text" : "rgba(255, 255, 255, 0.7)", - "__color_input_disabled_bg" : "rgba(110, 118, 129, 0)", - "__color_marketing_icon_primary" : "#79c0ff", - "__color_marketing_icon_secondary" : "#1f6feb", - "__color_menu_bg_active" : "#161b22", - "__color_mktg_btn_bg" : "#f6f8fa", - "__color_mktg_btn_shadow_focus" : "rgb(255 255 255 / 25%) 0 0 0 4px", - "__color_mktg_btn_shadow_hover_muted" : "rgb(255 255 255) 0 0 0 2px inset", - "__color_mktg_btn_shadow_hover" : "0 4px 7px rgba(0, 0, 0, 0.15), 0 100px 80px rgba(255, 255, 255, 0.02), 0 42px 33px rgba(255, 255, 255, 0.024), 0 22px 18px rgba(255, 255, 255, 0.028), 0 12px 10px rgba(255, 255, 255, 0.034), 0 7px 5px rgba(255, 255, 255, 0.04), 0 3px 2px rgba(255, 255, 255, 0.07)", - "__color_mktg_btn_shadow_outline" : "rgb(255 255 255 / 25%) 0 0 0 1px inset", - "__color_neutral_emphasis_plus" : "#6e7681", - "__color_neutral_emphasis" : "#6e7681", - "__color_neutral_muted" : "rgba(110, 118, 129, 0.4)", - "__color_neutral_subtle" : "rgba(110, 118, 129, 0.1)", - "__color_open_emphasis" : "#238636", - "__color_open_fg" : "#3fb950", - "__color_open_muted" : "rgba(46, 160, 67, 0.4)", - "__color_open_subtle" : "rgba(46, 160, 67, 0.15)", - "__color_overlay_shadow" : "0 0 0 1px #30363d, 0 16px 32px rgba(1, 4, 9, 0.85)", - "__color_page_header_bg" : "#0d1117", - "__color_prettylights_syntax_brackethighlighter_angle" : "#8b949e", - "__color_prettylights_syntax_brackethighlighter_unmatched" : "#f85149", - "__color_prettylights_syntax_carriage_return_bg" : "#b62324", - "__color_prettylights_syntax_carriage_return_text" : "#f0f6fc", - "__color_prettylights_syntax_comment" : "#8b949e", - "__color_prettylights_syntax_constant_other_reference_link" : "#a5d6ff", - "__color_prettylights_syntax_constant" : "#79c0ff", - "__color_prettylights_syntax_entity_tag" : "#7ee787", - "__color_prettylights_syntax_entity" : "#d2a8ff", - "__color_prettylights_syntax_invalid_illegal_bg" : "#8e1519", - "__color_prettylights_syntax_invalid_illegal_text" : "#f0f6fc", - "__color_prettylights_syntax_keyword" : "#ff7b72", - "__color_prettylights_syntax_markup_bold" : "#c9d1d9", - "__color_prettylights_syntax_markup_changed_bg" : "#5a1e02", - "__color_prettylights_syntax_markup_changed_text" : "#ffdfb6", - "__color_prettylights_syntax_markup_deleted_bg" : "#67060c", - "__color_prettylights_syntax_markup_deleted_text" : "#ffdcd7", - "__color_prettylights_syntax_markup_heading" : "#1f6feb", - "__color_prettylights_syntax_markup_ignored_bg" : "#1158c7", - "__color_prettylights_syntax_markup_ignored_text" : "#c9d1d9", - "__color_prettylights_syntax_markup_inserted_bg" : "#033a16", - "__color_prettylights_syntax_markup_inserted_text" : "#aff5b4", - "__color_prettylights_syntax_markup_italic" : "#c9d1d9", - "__color_prettylights_syntax_markup_list" : "#f2cc60", - "__color_prettylights_syntax_meta_diff_range" : "#d2a8ff", - "__color_prettylights_syntax_storage_modifier_import" : "#c9d1d9", - "__color_prettylights_syntax_string_regexp" : "#7ee787", - "__color_prettylights_syntax_string" : "#a5d6ff", - "__color_prettylights_syntax_sublimelinter_gutter_mark" : "#484f58", - "__color_prettylights_syntax_variable" : "#ffa657", - "__color_primer_border_active" : "#F78166", - "__color_primer_border_contrast" : "rgba(255, 255, 255, 0.2)", - "__color_primer_canvas_backdrop" : "rgba(1, 4, 9, 0.8)", - "__color_primer_canvas_sticky" : "rgba(13, 17, 23, 0.95)", - "__color_primer_fg_disabled" : "#484f58", - "__color_primer_shadow_focus" : "0 0 0 3px #0c2d6b", - "__color_primer_shadow_highlight" : "0 0 transparent", - "__color_primer_shadow_inset" : "0 0 transparent", - "__color_project_gradient_in" : "#161b22", - "__color_project_gradient_out" : "rgba(22, 27, 34, 0)", - "__color_project_header_bg" : "#0d1117", - "__color_project_sidebar_bg" : "#161b22", - "__color_scale_black" : "#010409", - "__color_scale_blue_0" : "#cae8ff", - "__color_scale_blue_1" : "#a5d6ff", - "__color_scale_blue_2" : "#79c0ff", - "__color_scale_blue_3" : "#58a6ff", - "__color_scale_blue_4" : "#388bfd", - "__color_scale_blue_5" : "#1f6feb", - "__color_scale_blue_6" : "#1158c7", - "__color_scale_blue_7" : "#0d419d", - "__color_scale_blue_8" : "#0c2d6b", - "__color_scale_blue_9" : "#051d4d", - "__color_scale_coral_0" : "#FFDDD2", - "__color_scale_coral_1" : "#FFC2B2", - "__color_scale_coral_2" : "#FFA28B", - "__color_scale_coral_3" : "#F78166", - "__color_scale_coral_4" : "#EA6045", - "__color_scale_coral_5" : "#CF462D", - "__color_scale_coral_6" : "#AC3220", - "__color_scale_coral_7" : "#872012", - "__color_scale_coral_8" : "#640D04", - "__color_scale_coral_9" : "#460701", - "__color_scale_gray_0" : "#f0f6fc", - "__color_scale_gray_1" : "#c9d1d9", - "__color_scale_gray_2" : "#b1bac4", - "__color_scale_gray_3" : "#8b949e", - "__color_scale_gray_4" : "#6e7681", - "__color_scale_gray_5" : "#484f58", - "__color_scale_gray_6" : "#30363d", - "__color_scale_gray_7" : "#21262d", - "__color_scale_gray_8" : "#161b22", - "__color_scale_gray_9" : "#0d1117", - "__color_scale_green_0" : "#aff5b4", - "__color_scale_green_1" : "#7ee787", - "__color_scale_green_2" : "#56d364", - "__color_scale_green_3" : "#3fb950", - "__color_scale_green_4" : "#2ea043", - "__color_scale_green_5" : "#238636", - "__color_scale_green_6" : "#196c2e", - "__color_scale_green_7" : "#0f5323", - "__color_scale_green_8" : "#033a16", - "__color_scale_green_9" : "#04260f", - "__color_scale_orange_0" : "#ffdfb6", - "__color_scale_orange_1" : "#ffc680", - "__color_scale_orange_2" : "#ffa657", - "__color_scale_orange_3" : "#f0883e", - "__color_scale_orange_4" : "#db6d28", - "__color_scale_orange_5" : "#bd561d", - "__color_scale_orange_6" : "#9b4215", - "__color_scale_orange_7" : "#762d0a", - "__color_scale_orange_8" : "#5a1e02", - "__color_scale_orange_9" : "#3d1300", - "__color_scale_pink_0" : "#ffdaec", - "__color_scale_pink_1" : "#ffbedd", - "__color_scale_pink_2" : "#ff9bce", - "__color_scale_pink_3" : "#f778ba", - "__color_scale_pink_4" : "#db61a2", - "__color_scale_pink_5" : "#bf4b8a", - "__color_scale_pink_6" : "#9e3670", - "__color_scale_pink_7" : "#7d2457", - "__color_scale_pink_8" : "#5e103e", - "__color_scale_pink_9" : "#42062a", - "__color_scale_purple_0" : "#eddeff", - "__color_scale_purple_1" : "#e2c5ff", - "__color_scale_purple_2" : "#d2a8ff", - "__color_scale_purple_3" : "#bc8cff", - "__color_scale_purple_4" : "#a371f7", - "__color_scale_purple_5" : "#8957e5", - "__color_scale_purple_6" : "#6e40c9", - "__color_scale_purple_7" : "#553098", - "__color_scale_purple_8" : "#3c1e70", - "__color_scale_purple_9" : "#271052", - "__color_scale_red_0" : "#ffdcd7", - "__color_scale_red_1" : "#ffc1ba", - "__color_scale_red_2" : "#ffa198", - "__color_scale_red_3" : "#ff7b72", - "__color_scale_red_4" : "#f85149", - "__color_scale_red_5" : "#da3633", - "__color_scale_red_6" : "#b62324", - "__color_scale_red_7" : "#8e1519", - "__color_scale_red_8" : "#67060c", - "__color_scale_red_9" : "#490202", - "__color_scale_white" : "#ffffff", - "__color_scale_yellow_0" : "#f8e3a1", - "__color_scale_yellow_1" : "#f2cc60", - "__color_scale_yellow_2" : "#e3b341", - "__color_scale_yellow_3" : "#d29922", - "__color_scale_yellow_4" : "#bb8009", - "__color_scale_yellow_5" : "#9e6a03", - "__color_scale_yellow_6" : "#845306", - "__color_scale_yellow_7" : "#693e00", - "__color_scale_yellow_8" : "#4b2900", - "__color_scale_yellow_9" : "#341a00", - "__color_search_keyword_hl" : "rgba(210, 153, 34, 0.4)", - "__color_select_menu_backdrop_border" : "#484f58", - "__color_select_menu_tap_focus_bg" : "#0c2d6b", - "__color_select_menu_tap_highlight" : "rgba(48, 54, 61, 0.5)", - "__color_severe_emphasis" : "#bd561d", - "__color_severe_fg" : "#db6d28", - "__color_severe_muted" : "rgba(219, 109, 40, 0.4)", - "__color_severe_subtle" : "rgba(219, 109, 40, 0.15)", - "__color_shadow_extra_large" : "0 12px 48px #010409", - "__color_shadow_large" : "0 8px 24px #010409", - "__color_shadow_medium" : "0 3px 6px #010409", - "__color_shadow_small" : "0 0 transparent", - "__color_sidenav_selected_bg" : "#21262d", - "__color_sponsors_emphasis" : "#bf4b8a", - "__color_sponsors_fg" : "#db61a2", - "__color_sponsors_muted" : "rgba(219, 97, 162, 0.4)", - "__color_sponsors_subtle" : "rgba(219, 97, 162, 0.15)", - "__color_success_emphasis" : "#238636", - "__color_success_fg" : "#3fb950", - "__color_success_muted" : "rgba(46, 160, 67, 0.4)", - "__color_success_subtle" : "rgba(46, 160, 67, 0.15)", - "__color_switch_knob_checked_bg" : "#1f6feb", - "__color_switch_knob_checked_disabled_bg" : "#484f58", - "__color_switch_track_bg" : "#010409", - "__color_switch_track_border" : "#6e7681", - "__color_switch_track_checked_active_bg" : "rgba(31, 111, 235, 0.65)", - "__color_switch_track_checked_bg" : "rgba(31, 111, 235, 0.35)", - "__color_switch_track_checked_border" : "#58a6ff", - "__color_switch_track_checked_hover_bg" : "rgba(31, 111, 235, 0.5)", - "__color_timeline_badge_bg" : "#21262d", - "__color_topic_tag_border" : "rgba(0, 0, 0, 0)", - "__color_underlinenav_border_hover" : "rgba(110, 118, 129, 0.4)", - "__color_underlinenav_icon" : "#6e7681", - "__color_workflow_card_header_shadow" : "rgba(27, 31, 35, 0.04)" - }; \ No newline at end of file + __color_accent_emphasis: "#1f6feb", + __color_accent_fg: "#58a6ff", + __color_accent_muted: "rgba(56, 139, 253, 0.4)", + __color_accent_subtle: "rgba(56, 139, 253, 0.15)", + __color_action_list_item_danger_active_bg: "rgba(248, 81, 73, 0.24)", + __color_action_list_item_danger_hover_bg: "rgba(248, 81, 73, 0.16)", + __color_action_list_item_danger_hover_text: "#ff7b72", + __color_action_list_item_default_active_bg: "rgba(177, 186, 196, 0.2)", + __color_action_list_item_default_active_border: "rgba(0, 0, 0, 0)", + __color_action_list_item_default_hover_bg: "rgba(177, 186, 196, 0.12)", + __color_action_list_item_default_hover_border: "rgba(0, 0, 0, 0)", + __color_action_list_item_default_selected_bg: "rgba(177, 186, 196, 0.08)", + __color_action_list_item_inline_divider: "rgba(48, 54, 61, 0.48)", + __color_ans_Iblack_bright: "#6e7681", + __color_ans_Iblack: "#484f58", + __color_ans_Iblue_bright: "#79c0ff", + __color_ans_Iblue: "#58a6ff", + __color_ans_Icyan_bright: "#56d4dd", + __color_ans_Icyan: "#39c5cf", + __color_ans_Igray: "#6e7681", + __color_ans_Igreen_bright: "#56d364", + __color_ans_Igreen: "#3fb950", + __color_ans_Imagenta_bright: "#d2a8ff", + __color_ans_Imagenta: "#bc8cff", + __color_ans_Ired_bright: "#ffa198", + __color_ans_Ired: "#ff7b72", + __color_ans_Iwhite_bright: "#ffffff", + __color_ans_Iwhite: "#b1bac4", + __color_ans_Iyellow_bright: "#e3b341", + __color_ans_Iyellow: "#d29922", + __color_attention_emphasis: "#9e6a03", + __color_attention_fg: "#d29922", + __color_attention_muted: "rgba(187, 128, 9, 0.4)", + __color_attention_subtle: "rgba(187, 128, 9, 0.15)", + __color_avatar_bg: "rgba(255, 255, 255, 0.1)", + __color_avatar_border: "rgba(240, 246, 252, 0.1)", + __color_avatar_child_shadow: "_2px _2px 0 #0d1117", + __color_avatar_stack_fade_more: "#21262d", + __color_avatar_stack_fade: "#30363d", + __color_border_default: "#30363d", + __color_border_muted: "#21262d", + __color_border_subtle: "rgba(240, 246, 252, 0.1)", + __color_btn_active_bg: "hsla(212, 12%, 18%, 1)", + __color_btn_active_border: "#6e7681", + __color_btn_bg: "#21262d", + __color_btn_border: "rgba(240, 246, 252, 0.1)", + __color_btn_counter_bg: "#30363d", + __color_btn_danger_counter_bg: "rgba(218, 54, 51, 0.1)", + __color_btn_danger_disabled_bg: "#0d1117", + __color_btn_danger_disabled_counter_bg: "rgba(218, 54, 51, 0.05)", + __color_btn_danger_disabled_text: "rgba(248, 81, 73, 0.5)", + __color_btn_danger_focus_border: "#f85149", + __color_btn_danger_focus_shadow: "0 0 0 3px rgba(248, 81, 73, 0.4)", + __color_btn_danger_hover_bg: "#da3633", + __color_btn_danger_hover_border: "#f85149", + __color_btn_danger_hover_counter_bg: "rgba(255, 255, 255, 0.2)", + __color_btn_danger_hover_icon: "#ffffff", + __color_btn_danger_hover_inset_shadow: "0 0 transparent", + __color_btn_danger_hover_shadow: "0 0 transparent", + __color_btn_danger_hover_text: "#ffffff", + __color_btn_danger_icon: "#f85149", + __color_btn_danger_selected_bg: "#b62324", + __color_btn_danger_selected_border: "#ff7b72", + __color_btn_danger_selected_shadow: "0 0 transparent", + __color_btn_danger_selected_text: "#ffffff", + __color_btn_danger_text: "#f85149", + __color_btn_focus_bg: "#21262d", + __color_btn_focus_border: "#8b949e", + __color_btn_focus_shadow: "0 0 0 3px rgba(139, 148, 158, 0.3)", + __color_btn_hover_bg: "#30363d", + __color_btn_hover_border: "#8b949e", + __color_btn_inset_shadow: "0 0 transparent", + __color_btn_outline_counter_bg: "rgba(31, 111, 235, 0.1)", + __color_btn_outline_disabled_bg: "#0d1117", + __color_btn_outline_disabled_counter_bg: "rgba(31, 111, 235, 0.05)", + __color_btn_outline_disabled_text: "rgba(88, 166, 255, 0.5)", + __color_btn_outline_focus_border: "rgba(240, 246, 252, 0.1)", + __color_btn_outline_focus_shadow: "0 0 0 3px rgba(17, 88, 199, 0.4)", + __color_btn_outline_hover_bg: "#30363d", + __color_btn_outline_hover_border: "rgba(240, 246, 252, 0.1)", + __color_btn_outline_hover_counter_bg: "rgba(255, 255, 255, 0.2)", + __color_btn_outline_hover_inset_shadow: + "inset 0 1px 0 rgba(255, 255, 255, 0.03)", + __color_btn_outline_hover_shadow: "0 1px 0 rgba(1, 4, 9, 0.1)", + __color_btn_outline_hover_text: "#58a6ff", + __color_btn_outline_selected_bg: "#0d419d", + __color_btn_outline_selected_border: "rgba(240, 246, 252, 0.1)", + __color_btn_outline_selected_shadow: "0 0 transparent", + __color_btn_outline_selected_text: "#ffffff", + __color_btn_outline_text: "#58a6ff", + __color_btn_primary_bg: "#238636", + __color_btn_primary_border: "rgba(240, 246, 252, 0.1)", + __color_btn_primary_counter_bg: "rgba(255, 255, 255, 0.2)", + __color_btn_primary_disabled_bg: "rgba(35, 134, 54, 0.6)", + __color_btn_primary_disabled_border: "rgba(240, 246, 252, 0.1)", + __color_btn_primary_disabled_text: "rgba(255, 255, 255, 0.5)", + __color_btn_primary_focus_bg: "#238636", + __color_btn_primary_focus_border: "rgba(240, 246, 252, 0.1)", + __color_btn_primary_focus_shadow: "0 0 0 3px rgba(46, 164, 79, 0.4)", + __color_btn_primary_hover_bg: "#2ea043", + __color_btn_primary_hover_border: "rgba(240, 246, 252, 0.1)", + __color_btn_primary_icon: "#ffffff", + __color_btn_primary_inset_shadow: "0 0 transparent", + __color_btn_primary_selected_bg: "#238636", + __color_btn_primary_selected_shadow: "0 0 transparent", + __color_btn_primary_shadow: "0 0 transparent", + __color_btn_primary_text: "#ffffff", + __color_btn_selected_bg: "#161b22", + __color_btn_shadow_active: "inset 0 0.15em 0.3em rgba(1, 4, 9, 0.15)", + __color_btn_shadow_input_focus: "0 0 0 0.2em rgba(31, 111, 235, 0.3)", + __color_btn_shadow: "0 0 transparent", + __color_btn_text: "#c9d1d9", + __color_calendar_graph_day_bg: "rgba(0,0,0,0.1)", + __color_calendar_graph_day_border: "rgba(27, 31, 35, 0.06)", + __color_calendar_graph_day_L1_bg: "#0e4429", + __color_calendar_graph_day_L1_border: "rgba(255, 255, 255, 0.05)", + __color_calendar_graph_day_L2_bg: "#006d32", + __color_calendar_graph_day_L2_border: "rgba(255, 255, 255, 0.05)", + __color_calendar_graph_day_L3_bg: "#26a641", + __color_calendar_graph_day_L3_border: "rgba(255, 255, 255, 0.05)", + __color_calendar_graph_day_L4_bg: "#39d353", + __color_calendar_graph_day_L4_border: "rgba(255, 255, 255, 0.05)", + __color_calendar_halloween_graph_day_L1_bg: "#631c03", + __color_calendar_halloween_graph_day_L2_bg: "#bd561d", + __color_calendar_halloween_graph_day_L3_bg: "#fa7a18", + __color_calendar_halloween_graph_day_L4_bg: "#fddf68", + __color_canvas_default_transparent: "rgba(13, 17, 23, 0)", + __color_canvas_default: "#0d1117", + __color_canvas_inset: "#010409", + __color_canvas_overlay: "#161b22", + __color_canvas_subtle: "#161b22", + __color_checks_ans_Iblack_bright: "#161b22", + __color_checks_ans_Iblack: "#0d1117", + __color_checks_ans_Iblue_bright: "#79c0ff", + __color_checks_ans_Iblue: "#58a6ff", + __color_checks_ans_Icyan_bright: "#b3f0ff", + __color_checks_ans_Icyan: "#76e3ea", + __color_checks_ans_Igray: "#6e7681", + __color_checks_ans_Igreen_bright: "#56d364", + __color_checks_ans_Igreen: "#3fb950", + __color_checks_ans_Imagenta_bright: "#d2a8ff", + __color_checks_ans_Imagenta: "#bc8cff", + __color_checks_ans_Ired_bright: "#ffa198", + __color_checks_ans_Ired: "#ff7b72", + __color_checks_ans_Iwhite_bright: "#b1bac4", + __color_checks_ans_Iwhite: "#b1bac4", + __color_checks_ans_Iyellow_bright: "#e3b341", + __color_checks_ans_Iyellow: "#d29922", + __color_checks_bg: "#010409", + __color_checks_btn_hover_bg: "rgba(110, 118, 129, 0.1)", + __color_checks_btn_hover_icon: "#c9d1d9", + __color_checks_btn_icon: "#8b949e", + __color_checks_container_border_width: "1px", + __color_checks_donut_error: "#f85149", + __color_checks_donut_neutral: "#8b949e", + __color_checks_donut_pending: "#d29922", + __color_checks_donut_success: "#2ea043", + __color_checks_dropdown_bg: "#161b22", + __color_checks_dropdown_border: "#30363d", + __color_checks_dropdown_btn_hover_bg: "rgba(110, 118, 129, 0.1)", + __color_checks_dropdown_btn_hover_text: "#c9d1d9", + __color_checks_dropdown_hover_bg: "rgba(110, 118, 129, 0.1)", + __color_checks_dropdown_hover_text: "#c9d1d9", + __color_checks_dropdown_shadow: "rgba(1, 4, 9, 0.3)", + __color_checks_dropdown_text: "#c9d1d9", + __color_checks_gate_bg: "rgba(187, 128, 9, 0.15)", + __color_checks_gate_text: "#8b949e", + __color_checks_gate_waiting_text: "#d29922", + __color_checks_header_border: "#21262d", + __color_checks_header_icon: "#8b949e", + __color_checks_header_label_open_text: "#c9d1d9", + __color_checks_header_label_text: "#8b949e", + __color_checks_input_bg: "#161b22", + __color_checks_input_focus_text: "#c9d1d9", + __color_checks_input_placeholder_text: "#6e7681", + __color_checks_input_shadow: "0 0 0 1px (obj) => get_1.default(obj, path)", + __color_checks_input_text: "#8b949e", + __color_checks_line_dt_fm_bg: "#9e6a03", + __color_checks_line_dt_fm_text: "#ffffff", + __color_checks_line_hover_bg: "rgba(110, 118, 129, 0.1)", + __color_checks_line_num_text: "#6e7681", + __color_checks_line_selected_bg: "rgba(56, 139, 253, 0.15)", + __color_checks_line_selected_num_text: "#58a6ff", + __color_checks_line_text: "#8b949e", + __color_checks_line_timestamp_text: "#6e7681", + __color_checks_logline_command_text: "#58a6ff", + __color_checks_logline_debug_text: "#a371f7", + __color_checks_logline_error_bg: "rgba(248, 81, 73, 0.15)", + __color_checks_logline_error_num_text: "#6e7681", + __color_checks_logline_error_text: "#8b949e", + __color_checks_logline_num_text: "#6e7681", + __color_checks_logline_section_text: "#3fb950", + __color_checks_logline_text: "#8b949e", + __color_checks_logline_warning_bg: "rgba(187, 128, 9, 0.15)", + __color_checks_logline_warning_num_text: "#d29922", + __color_checks_logline_warning_text: "#8b949e", + __color_checks_run_border_width: "1px", + __color_checks_scrollbar_thumb_bg: "rgba(110, 118, 129, 0.4)", + __color_checks_step_error_text: "#f85149", + __color_checks_step_header_open_bg: "#161b22", + __color_checks_step_warning_text: "#d29922", + __color_checks_text_link: "#58a6ff", + __color_checks_text_primary: "#c9d1d9", + __color_checks_text_secondary: "#8b949e", + __color_closed_emphasis: "#da3633", + __color_closed_fg: "#f85149", + __color_closed_muted: "rgba(248, 81, 73, 0.4)", + __color_closed_subtle: "rgba(248, 81, 73, 0.15)", + __color_codemirror_activeline_bg: "rgba(110, 118, 129, 0.1)", + __color_codemirror_bg: "#0d1117", + __color_codemirror_cursor: "#c9d1d9", + __color_codemirror_guttermarker_subtle_text: "#6e7681", + __color_codemirror_guttermarker_text: "#0d1117", + __color_codemirror_gutters_bg: "#0d1117", + __color_codemirror_linenumber_text: "#8b949e", + __color_codemirror_lines_bg: "#0d1117", + __color_codemirror_matchingbracket_text: "#c9d1d9", + __color_codemirror_selection_bg: "rgba(56, 139, 253, 0.4)", + __color_codemirror_syntax_comment: "#8b949e", + __color_codemirror_syntax_constant: "#79c0ff", + __color_codemirror_syntax_entity: "#d2a8ff", + __color_codemirror_syntax_keyword: "#ff7b72", + __color_codemirror_syntax_storage: "#ff7b72", + __color_codemirror_syntax_string: "#a5d6ff", + __color_codemirror_syntax_support: "#79c0ff", + __color_codemirror_syntax_variable: "#ffa657", + __color_codemirror_text: "#c9d1d9", + __color_counter_border: "rgba(0, 0, 0, 0)", + __color_danger_emphasis: "#da3633", + __color_danger_fg: "#f85149", + __color_danger_muted: "rgba(248, 81, 73, 0.4)", + __color_danger_subtle: "rgba(248, 81, 73, 0.15)", + __color_diff_blob_addition_fg: "#c9d1d9", + __color_diff_blob_addition_line_bg: "rgba(46, 160, 67, 0.15)", + __color_diff_blob_addition_num_bg: "rgba(63, 185, 80, 0.3)", + __color_diff_blob_addition_num_text: "#c9d1d9", + __color_diff_blob_addition_word_bg: "rgba(46, 160, 67, 0.4)", + __color_diff_blob_deletion_fg: "#c9d1d9", + __color_diff_blob_deletion_line_bg: "rgba(248, 81, 73, 0.15)", + __color_diff_blob_deletion_num_bg: "rgba(248, 81, 73, 0.3)", + __color_diff_blob_deletion_num_text: "#c9d1d9", + __color_diff_blob_deletion_word_bg: "rgba(248, 81, 73, 0.4)", + __color_diff_blob_expander_icon: "#8b949e", + __color_diff_blob_hunk_num_bg: "rgba(56, 139, 253, 0.4)", + __color_diff_blob_selected_line_highlight_mix_blend_mode: "screen", + __color_diffstat_addition_bg: "#3fb950", + __color_diffstat_addition_border: "rgba(240, 246, 252, 0.1)", + __color_diffstat_deletion_border: "rgba(240, 246, 252, 0.1)", + __color_done_emphasis: "#8957e5", + __color_done_fg: "#a371f7", + __color_done_muted: "rgba(163, 113, 247, 0.4)", + __color_done_subtle: "rgba(163, 113, 247, 0.15)", + __color_fg_default: "#c9d1d9", + __color_fg_muted: "#8b949e", + __color_fg_on_emphasis: "#ffffff", + __color_fg_subtle: "#6e7681", + __color_header_bg: "#161b22", + __color_header_divider: "#8b949e", + __color_header_logo: "#f0f6fc", + __color_header_search_bg: "#0d1117", + __color_header_search_border: "#30363d", + __color_header_text: "rgba(255, 255, 255, 0.7)", + __color_input_disabled_bg: "rgba(110, 118, 129, 0)", + __color_marketing_icon_primary: "#79c0ff", + __color_marketing_icon_secondary: "#1f6feb", + __color_menu_bg_active: "#161b22", + __color_mktg_btn_bg: "#f6f8fa", + __color_mktg_btn_shadow_focus: "rgb(255 255 255 / 25%) 0 0 0 4px", + __color_mktg_btn_shadow_hover_muted: "rgb(255 255 255) 0 0 0 2px inset", + __color_mktg_btn_shadow_hover: + "0 4px 7px rgba(0, 0, 0, 0.15), 0 100px 80px rgba(255, 255, 255, 0.02), 0 42px 33px rgba(255, 255, 255, 0.024), 0 22px 18px rgba(255, 255, 255, 0.028), 0 12px 10px rgba(255, 255, 255, 0.034), 0 7px 5px rgba(255, 255, 255, 0.04), 0 3px 2px rgba(255, 255, 255, 0.07)", + __color_mktg_btn_shadow_outline: "rgb(255 255 255 / 25%) 0 0 0 1px inset", + __color_neutral_emphasis_plus: "#6e7681", + __color_neutral_emphasis: "#6e7681", + __color_neutral_muted: "rgba(110, 118, 129, 0.4)", + __color_neutral_subtle: "rgba(110, 118, 129, 0.1)", + __color_open_emphasis: "#238636", + __color_open_fg: "#3fb950", + __color_open_muted: "rgba(46, 160, 67, 0.4)", + __color_open_subtle: "rgba(46, 160, 67, 0.15)", + __color_overlay_shadow: "0 0 0 1px #30363d, 0 16px 32px rgba(1, 4, 9, 0.85)", + __color_page_header_bg: "#0d1117", + __color_prettylights_syntax_brackethighlighter_angle: "#8b949e", + __color_prettylights_syntax_brackethighlighter_unmatched: "#f85149", + __color_prettylights_syntax_carriage_return_bg: "#b62324", + __color_prettylights_syntax_carriage_return_text: "#f0f6fc", + __color_prettylights_syntax_comment: "#8b949e", + __color_prettylights_syntax_constant_other_reference_link: "#a5d6ff", + __color_prettylights_syntax_constant: "#79c0ff", + __color_prettylights_syntax_entity_tag: "#7ee787", + __color_prettylights_syntax_entity: "#d2a8ff", + __color_prettylights_syntax_invalid_illegal_bg: "#8e1519", + __color_prettylights_syntax_invalid_illegal_text: "#f0f6fc", + __color_prettylights_syntax_keyword: "#ff7b72", + __color_prettylights_syntax_markup_bold: "#c9d1d9", + __color_prettylights_syntax_markup_changed_bg: "#5a1e02", + __color_prettylights_syntax_markup_changed_text: "#ffdfb6", + __color_prettylights_syntax_markup_deleted_bg: "#67060c", + __color_prettylights_syntax_markup_deleted_text: "#ffdcd7", + __color_prettylights_syntax_markup_heading: "#1f6feb", + __color_prettylights_syntax_markup_ignored_bg: "#1158c7", + __color_prettylights_syntax_markup_ignored_text: "#c9d1d9", + __color_prettylights_syntax_markup_inserted_bg: "#033a16", + __color_prettylights_syntax_markup_inserted_text: "#aff5b4", + __color_prettylights_syntax_markup_italic: "#c9d1d9", + __color_prettylights_syntax_markup_list: "#f2cc60", + __color_prettylights_syntax_meta_diff_range: "#d2a8ff", + __color_prettylights_syntax_storage_modifier_import: "#c9d1d9", + __color_prettylights_syntax_string_regexp: "#7ee787", + __color_prettylights_syntax_string: "#a5d6ff", + __color_prettylights_syntax_sublimelinter_gutter_mark: "#484f58", + __color_prettylights_syntax_variable: "#ffa657", + __color_primer_border_active: "#F78166", + __color_primer_border_contrast: "rgba(255, 255, 255, 0.2)", + __color_primer_canvas_backdrop: "rgba(1, 4, 9, 0.8)", + __color_primer_canvas_sticky: "rgba(13, 17, 23, 0.95)", + __color_primer_fg_disabled: "#484f58", + __color_primer_shadow_focus: "0 0 0 3px #0c2d6b", + __color_primer_shadow_highlight: "0 0 transparent", + __color_primer_shadow_inset: "0 0 transparent", + __color_project_gradient_in: "#161b22", + __color_project_gradient_out: "rgba(22, 27, 34, 0)", + __color_project_header_bg: "#0d1117", + __color_project_sidebar_bg: "#161b22", + __color_scale_black: "#010409", + __color_scale_blue_0: "#cae8ff", + __color_scale_blue_1: "#a5d6ff", + __color_scale_blue_2: "#79c0ff", + __color_scale_blue_3: "#58a6ff", + __color_scale_blue_4: "#388bfd", + __color_scale_blue_5: "#1f6feb", + __color_scale_blue_6: "#1158c7", + __color_scale_blue_7: "#0d419d", + __color_scale_blue_8: "#0c2d6b", + __color_scale_blue_9: "#051d4d", + __color_scale_coral_0: "#FFDDD2", + __color_scale_coral_1: "#FFC2B2", + __color_scale_coral_2: "#FFA28B", + __color_scale_coral_3: "#F78166", + __color_scale_coral_4: "#EA6045", + __color_scale_coral_5: "#CF462D", + __color_scale_coral_6: "#AC3220", + __color_scale_coral_7: "#872012", + __color_scale_coral_8: "#640D04", + __color_scale_coral_9: "#460701", + __color_scale_gray_0: "#f0f6fc", + __color_scale_gray_1: "#c9d1d9", + __color_scale_gray_2: "#b1bac4", + __color_scale_gray_3: "#8b949e", + __color_scale_gray_4: "#6e7681", + __color_scale_gray_5: "#484f58", + __color_scale_gray_6: "#30363d", + __color_scale_gray_7: "#21262d", + __color_scale_gray_8: "#161b22", + __color_scale_gray_9: "#0d1117", + __color_scale_green_0: "#aff5b4", + __color_scale_green_1: "#7ee787", + __color_scale_green_2: "#56d364", + __color_scale_green_3: "#3fb950", + __color_scale_green_4: "#2ea043", + __color_scale_green_5: "#238636", + __color_scale_green_6: "#196c2e", + __color_scale_green_7: "#0f5323", + __color_scale_green_8: "#033a16", + __color_scale_green_9: "#04260f", + __color_scale_orange_0: "#ffdfb6", + __color_scale_orange_1: "#ffc680", + __color_scale_orange_2: "#ffa657", + __color_scale_orange_3: "#f0883e", + __color_scale_orange_4: "#db6d28", + __color_scale_orange_5: "#bd561d", + __color_scale_orange_6: "#9b4215", + __color_scale_orange_7: "#762d0a", + __color_scale_orange_8: "#5a1e02", + __color_scale_orange_9: "#3d1300", + __color_scale_pink_0: "#ffdaec", + __color_scale_pink_1: "#ffbedd", + __color_scale_pink_2: "#ff9bce", + __color_scale_pink_3: "#f778ba", + __color_scale_pink_4: "#db61a2", + __color_scale_pink_5: "#bf4b8a", + __color_scale_pink_6: "#9e3670", + __color_scale_pink_7: "#7d2457", + __color_scale_pink_8: "#5e103e", + __color_scale_pink_9: "#42062a", + __color_scale_purple_0: "#eddeff", + __color_scale_purple_1: "#e2c5ff", + __color_scale_purple_2: "#d2a8ff", + __color_scale_purple_3: "#bc8cff", + __color_scale_purple_4: "#a371f7", + __color_scale_purple_5: "#8957e5", + __color_scale_purple_6: "#6e40c9", + __color_scale_purple_7: "#553098", + __color_scale_purple_8: "#3c1e70", + __color_scale_purple_9: "#271052", + __color_scale_red_0: "#ffdcd7", + __color_scale_red_1: "#ffc1ba", + __color_scale_red_2: "#ffa198", + __color_scale_red_3: "#ff7b72", + __color_scale_red_4: "#f85149", + __color_scale_red_5: "#da3633", + __color_scale_red_6: "#b62324", + __color_scale_red_7: "#8e1519", + __color_scale_red_8: "#67060c", + __color_scale_red_9: "#490202", + __color_scale_white: "#ffffff", + __color_scale_yellow_0: "#f8e3a1", + __color_scale_yellow_1: "#f2cc60", + __color_scale_yellow_2: "#e3b341", + __color_scale_yellow_3: "#d29922", + __color_scale_yellow_4: "#bb8009", + __color_scale_yellow_5: "#9e6a03", + __color_scale_yellow_6: "#845306", + __color_scale_yellow_7: "#693e00", + __color_scale_yellow_8: "#4b2900", + __color_scale_yellow_9: "#341a00", + __color_search_keyword_hl: "rgba(210, 153, 34, 0.4)", + __color_select_menu_backdrop_border: "#484f58", + __color_select_menu_tap_focus_bg: "#0c2d6b", + __color_select_menu_tap_highlight: "rgba(48, 54, 61, 0.5)", + __color_severe_emphasis: "#bd561d", + __color_severe_fg: "#db6d28", + __color_severe_muted: "rgba(219, 109, 40, 0.4)", + __color_severe_subtle: "rgba(219, 109, 40, 0.15)", + __color_shadow_extra_large: "0 12px 48px #010409", + __color_shadow_large: "0 8px 24px #010409", + __color_shadow_medium: "0 3px 6px #010409", + __color_shadow_small: "0 0 transparent", + __color_sidenav_selected_bg: "#21262d", + __color_sponsors_emphasis: "#bf4b8a", + __color_sponsors_fg: "#db61a2", + __color_sponsors_muted: "rgba(219, 97, 162, 0.4)", + __color_sponsors_subtle: "rgba(219, 97, 162, 0.15)", + __color_success_emphasis: "#238636", + __color_success_fg: "#3fb950", + __color_success_muted: "rgba(46, 160, 67, 0.4)", + __color_success_subtle: "rgba(46, 160, 67, 0.15)", + __color_switch_knob_checked_bg: "#1f6feb", + __color_switch_knob_checked_disabled_bg: "#484f58", + __color_switch_track_bg: "#010409", + __color_switch_track_border: "#6e7681", + __color_switch_track_checked_active_bg: "rgba(31, 111, 235, 0.65)", + __color_switch_track_checked_bg: "rgba(31, 111, 235, 0.35)", + __color_switch_track_checked_border: "#58a6ff", + __color_switch_track_checked_hover_bg: "rgba(31, 111, 235, 0.5)", + __color_timeline_badge_bg: "#21262d", + __color_topic_tag_border: "rgba(0, 0, 0, 0)", + __color_underlinenav_border_hover: "rgba(110, 118, 129, 0.4)", + __color_underlinenav_icon: "#6e7681", + __color_workflow_card_header_shadow: "rgba(27, 31, 35, 0.04)", +}; diff --git a/src/reportWebVitals.ts b/src/reportWebVitals.ts index 49a2a16..5fa3583 100644 --- a/src/reportWebVitals.ts +++ b/src/reportWebVitals.ts @@ -1,8 +1,8 @@ -import { ReportHandler } from 'web-vitals'; +import { ReportHandler } from "web-vitals"; const reportWebVitals = (onPerfEntry?: ReportHandler) => { if (onPerfEntry && onPerfEntry instanceof Function) { - import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => { + import("web-vitals").then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => { getCLS(onPerfEntry); getFID(onPerfEntry); getFCP(onPerfEntry); diff --git a/src/setupTests.ts b/src/setupTests.ts index 8f2609b..1dd407a 100644 --- a/src/setupTests.ts +++ b/src/setupTests.ts @@ -2,4 +2,4 @@ // allows you to do things like: // expect(element).toHaveTextContent(/react/i) // learn more: https://github.com/testing-library/jest-dom -import '@testing-library/jest-dom'; +import "@testing-library/jest-dom"; diff --git a/src/views/Options.tsx b/src/views/Options.tsx index da93e27..d5edf13 100644 --- a/src/views/Options.tsx +++ b/src/views/Options.tsx @@ -1,73 +1,78 @@ -import React from 'react'; -import '../assets/styles/App.css'; -import Header from '../components/options/Header'; -import QuickChange from '../components/options/QuickChange'; -import QuickSettings from '../components/popup/QuickSettings'; -import '../methods/settings.js'; -import { settings } from '../methods/settings'; -import ChangeCard from '../components/options/ChangeCard'; -import react from 'react'; -import { HexColorInput, HexColorPicker, RgbaColorPicker } from 'react-colorful'; -import CardTitle from '../components/global/CardTitle'; -import { rgba2hex } from '../methods/schemeGen'; +import React from "react"; +import "../assets/styles/App.css"; +import Header from "../components/options/Header"; +import QuickSettings from "../components/popup/QuickSettings"; +import "../methods/settings.js"; +import { settings } from "../methods/settings"; +import ChangeCard from "../components/options/ChangeCard"; +import react from "react"; +import { RgbaColorPicker } from "react-colorful"; +import CardTitle from "../components/global/CardTitle"; +import { rgba2hex } from "../methods/schemeGen"; var settingsList = Object.keys(settings); -var defaultValue = { r: 200, g: 150, b: 35, a: 0.5 } -var stringifiedColor = `rgba(${defaultValue.r},${defaultValue.g},${defaultValue.b},${defaultValue.a})` -var defaultHexValue = rgba2hex(stringifiedColor); +var defaultValue = { r: 200, g: 150, b: 35, a: 0.5 }; +var stringifiedColor = `rgba(${defaultValue.r},${defaultValue.g},${defaultValue.b},${defaultValue.a})`; export default function Options() { - const [color, setColor] = react.useState(defaultValue); - const [hexColor, setHexColor] = react.useState() - - react.useLayoutEffect(() => { - stringifiedColor = `rgba(${color.r},${color.g},${color.b},${color.a})` - setHexColor(rgba2hex(stringifiedColor)); + const [hexColor, setHexColor] = react.useState(); + react.useLayoutEffect(() => { + stringifiedColor = `rgba(${color.r},${color.g},${color.b},${color.a})`; + setHexColor(rgba2hex(stringifiedColor)); }); return ( -
-
-
-
-
-
- +
+
+
+
+
+
-
-

hex-rgba converter

-
-
-

rgb({color.r},{color.g},{color.b},{color.a})

-

{hexColor}

+
+

hex-rgba converter

+
+
+

+ rgb({color.r},{color.g},{color.b},{color.a}) +

+

{hexColor}

+
+
+
- -
-
-
-
-
- -
-
- +
+
+ +
+
+ +
+
+
+
+
+

all settings

+

+ customise everything from every text to every div +

+
+ {settingsList.map((setting) => { + return ( + + ); + })} +
-
-
-
-

all settings

-

customise everything from every text to every div

-
- {settingsList.map((setting) => { - return - })} -
-
-
-
- )}; +
+ ); +} diff --git a/src/views/Popup.tsx b/src/views/Popup.tsx index e846d5d..69ece72 100644 --- a/src/views/Popup.tsx +++ b/src/views/Popup.tsx @@ -1,16 +1,16 @@ -import React from 'react'; -import '../assets/styles/App.css'; -import QuickChange from '../components/popup/QuickChange'; -import Header from '../components/popup/Header'; +import React from "react"; +import "../assets/styles/App.css"; +import QuickChange from "../components/popup/QuickChange"; +import Header from "../components/popup/Header"; -import QuickSettings from '../components/popup/QuickSettings'; +import QuickSettings from "../components/popup/QuickSettings"; function Popup() { return (
-
- - +
+ +
); }