---
source: zellij-server/src/plugins/./unit/plugin_tests.rs
expression: "format!(\"{:#?}\", switch_to_mode_event)"
---
Some(
    ChangeMode(
        ModeInfo {
            mode: Tab,
            base_mode: Some(
                Normal,
            ),
            keybinds: [],
            style: Style {
                colors: Styling {
                    text_unselected: StyleDeclaration {
                        base: EightBit(
                            245,
                        ),
                        background: EightBit(
                            238,
                        ),
                        emphasis_0: EightBit(
                            166,
                        ),
                        emphasis_1: EightBit(
                            51,
                        ),
                        emphasis_2: EightBit(
                            154,
                        ),
                        emphasis_3: EightBit(
                            201,
                        ),
                    },
                    text_selected: StyleDeclaration {
                        base: EightBit(
                            245,
                        ),
                        background: EightBit(
                            238,
                        ),
                        emphasis_0: EightBit(
                            166,
                        ),
                        emphasis_1: EightBit(
                            51,
                        ),
                        emphasis_2: EightBit(
                            154,
                        ),
                        emphasis_3: EightBit(
                            201,
                        ),
                    },
                    ribbon_unselected: StyleDeclaration {
                        base: EightBit(
                            16,
                        ),
                        background: EightBit(
                            238,
                        ),
                        emphasis_0: EightBit(
                            124,
                        ),
                        emphasis_1: EightBit(
                            255,
                        ),
                        emphasis_2: EightBit(
                            45,
                        ),
                        emphasis_3: EightBit(
                            201,
                        ),
                    },
                    ribbon_selected: StyleDeclaration {
                        base: EightBit(
                            16,
                        ),
                        background: EightBit(
                            154,
                        ),
                        emphasis_0: EightBit(
                            124,
                        ),
                        emphasis_1: EightBit(
                            166,
                        ),
                        emphasis_2: EightBit(
                            201,
                        ),
                        emphasis_3: EightBit(
                            45,
                        ),
                    },
                    table_title: StyleDeclaration {
                        base: EightBit(
                            154,
                        ),
                        background: EightBit(
                            238,
                        ),
                        emphasis_0: EightBit(
                            166,
                        ),
                        emphasis_1: EightBit(
                            51,
                        ),
                        emphasis_2: EightBit(
                            154,
                        ),
                        emphasis_3: EightBit(
                            201,
                        ),
                    },
                    table_cell_unselected: StyleDeclaration {
                        base: EightBit(
                            245,
                        ),
                        background: EightBit(
                            238,
                        ),
                        emphasis_0: EightBit(
                            166,
                        ),
                        emphasis_1: EightBit(
                            51,
                        ),
                        emphasis_2: EightBit(
                            154,
                        ),
                        emphasis_3: EightBit(
                            201,
                        ),
                    },
                    table_cell_selected: StyleDeclaration {
                        base: EightBit(
                            154,
                        ),
                        background: EightBit(
                            238,
                        ),
                        emphasis_0: EightBit(
                            166,
                        ),
                        emphasis_1: EightBit(
                            51,
                        ),
                        emphasis_2: EightBit(
                            124,
                        ),
                        emphasis_3: EightBit(
                            201,
                        ),
                    },
                    list_unselected: StyleDeclaration {
                        base: EightBit(
                            245,
                        ),
                        background: EightBit(
                            238,
                        ),
                        emphasis_0: EightBit(
                            166,
                        ),
                        emphasis_1: EightBit(
                            51,
                        ),
                        emphasis_2: EightBit(
                            154,
                        ),
                        emphasis_3: EightBit(
                            201,
                        ),
                    },
                    list_selected: StyleDeclaration {
                        base: EightBit(
                            154,
                        ),
                        background: EightBit(
                            238,
                        ),
                        emphasis_0: EightBit(
                            166,
                        ),
                        emphasis_1: EightBit(
                            51,
                        ),
                        emphasis_2: EightBit(
                            124,
                        ),
                        emphasis_3: EightBit(
                            201,
                        ),
                    },
                    frame_unselected: None,
                    frame_selected: StyleDeclaration {
                        base: EightBit(
                            154,
                        ),
                        background: EightBit(
                            238,
                        ),
                        emphasis_0: EightBit(
                            166,
                        ),
                        emphasis_1: EightBit(
                            51,
                        ),
                        emphasis_2: EightBit(
                            201,
                        ),
                        emphasis_3: EightBit(
                            215,
                        ),
                    },
                    frame_highlight: StyleDeclaration {
                        base: EightBit(
                            166,
                        ),
                        background: EightBit(
                            154,
                        ),
                        emphasis_0: EightBit(
                            201,
                        ),
                        emphasis_1: EightBit(
                            99,
                        ),
                        emphasis_2: EightBit(
                            154,
                        ),
                        emphasis_3: EightBit(
                            154,
                        ),
                    },
                    exit_code_success: StyleDeclaration {
                        base: EightBit(
                            154,
                        ),
                        background: EightBit(
                            238,
                        ),
                        emphasis_0: EightBit(
                            51,
                        ),
                        emphasis_1: EightBit(
                            16,
                        ),
                        emphasis_2: EightBit(
                            201,
                        ),
                        emphasis_3: EightBit(
                            45,
                        ),
                    },
                    exit_code_error: StyleDeclaration {
                        base: EightBit(
                            124,
                        ),
                        background: EightBit(
                            238,
                        ),
                        emphasis_0: EightBit(
                            226,
                        ),
                        emphasis_1: EightBit(
                            136,
                        ),
                        emphasis_2: EightBit(
                            245,
                        ),
                        emphasis_3: EightBit(
                            99,
                        ),
                    },
                    multiplayer_user_colors: MultiplayerColors {
                        player_1: EightBit(
                            201,
                        ),
                        player_2: EightBit(
                            45,
                        ),
                        player_3: EightBit(
                            99,
                        ),
                        player_4: EightBit(
                            226,
                        ),
                        player_5: EightBit(
                            51,
                        ),
                        player_6: EightBit(
                            136,
                        ),
                        player_7: EightBit(
                            124,
                        ),
                        player_8: EightBit(
                            245,
                        ),
                        player_9: EightBit(
                            207,
                        ),
                        player_10: EightBit(
                            215,
                        ),
                    },
                },
                rounded_corners: false,
                hide_session_name: false,
            },
            capabilities: PluginCapabilities {
                arrow_fonts: true,
            },
            session_name: Some(
                "zellij-test",
            ),
            editor: None,
            shell: None,
            web_clients_allowed: None,
            web_sharing: None,
            currently_marking_pane_group: None,
            is_web_client: None,
            web_server_ip: None,
            web_server_port: None,
            web_server_capability: None,
        },
        1,
    ),
)
