import * as __WEBPACK_EXTERNAL_MODULE__schema_component_antd_builtins_index_mjs__ from "../../../schema-component/antd/__builtins__/index.mjs";
const useSchemaInitializerStyles = (0, __WEBPACK_EXTERNAL_MODULE__schema_component_antd_builtins_index_mjs__.genStyleHook)('tb-schema-initializer', (token)=>{
    const { componentCls } = token;
    return {
        [componentCls]: {
            '.ant-menu': {
                background: 'transparent',
                borderInlineEnd: 'none !important'
            },
            ':not(.ant-menu)': {
                ["".concat(componentCls, "-group-title")]: {
                    color: token.colorTextDescription,
                    lineHeight: "".concat(token.controlHeight, "px"),
                    paddingLeft: token.padding,
                    paddingRight: token.paddingSM
                },
                ["".concat(componentCls, "-menu-item")]: {
                    marginInline: token.marginXXS,
                    paddingLeft: token.padding,
                    paddingRight: token.paddingSM,
                    lineHeight: "".concat(token.controlHeight, "px"),
                    color: token.colorText,
                    cursor: 'pointer',
                    '&:hover': {
                        borderRadius: token.borderRadiusSM,
                        backgroundColor: token.colorBgTextHover
                    }
                }
            }
        },
        ["".concat(componentCls, "-menu-sub")]: {
            ul: {
                maxHeight: '50vh !important'
            }
        },
        ["".concat(componentCls, "-item-content")]: {
            marginLeft: token.marginXS
        }
    };
});
export { useSchemaInitializerStyles };
