ng-alain sf一个组件的值怎么传给另一个组件

schema = {
        properties: {
           colortheme: {
                type: "string",
                title: "主题切换",
                ui: {
                    widget: "wrapper",
                    module: "color-select-widget",
                    optionalHelp: "主题里面已搭配字体颜色",
                    spanLabel: 12,
                    spanControl: 12,
                    grid: {
                        span: 8,
                    },
                },
            },
            calltitle_font: {
                type: "string",
                title: "标题",
                default: { 
                        value: 2.5, 
                        color: '',
                        checked: true 
                    },
                ui: {
                    spanLabel: 6,
                    spanControl: 14,
                    widget: "wrapper",
                    module: "font-styles",
                    grid: {
                        span: 12,
                    },
                    visibleIf: {enabled: (value: any) => value === true,},
                   
                },
            },
    }
}

把主题切换里面的颜色传给下面默认的color,让下面的color默认值能够根据不同的值来切换

组件有关系吗,是嵌套关系吗,组件通信实现https://blog.csdn.net/li_bing_/article/details/95198175  跨组件可以使用数据管理得库,ng我没用过想来应该有类似于vuex之类的。或者emit也能实现。再不行就直接用本地存储实现,哈哈