diff --git a/apps/presentationeditor/mobile/locale/en.json b/apps/presentationeditor/mobile/locale/en.json index 0e99c1e05..94050c126 100644 --- a/apps/presentationeditor/mobile/locale/en.json +++ b/apps/presentationeditor/mobile/locale/en.json @@ -122,7 +122,16 @@ "textZoomIn": "Zoom In", "textZoomOut": "Zoom Out", "textZoomRotate": "Zoom and Rotate", - "textSec": "s" + "textSec": "s", + "textAddCustomColor": "Add Custom Color", + "textFill": "Fill" + } + }, + "Common": { + "ThemeColorPalette": { + "textThemeColors": "Theme Colors", + "textStandardColors": "Standard Colors", + "textCustomColors": "Custom Colors" } } } \ No newline at end of file diff --git a/apps/presentationeditor/mobile/src/controller/Main.jsx b/apps/presentationeditor/mobile/src/controller/Main.jsx index 0cda019e2..8ff4b3297 100644 --- a/apps/presentationeditor/mobile/src/controller/Main.jsx +++ b/apps/presentationeditor/mobile/src/controller/Main.jsx @@ -224,6 +224,10 @@ class MainController extends Component { storeLayout.addArrayLayouts(layouts); }); + this.api.asc_registerCallback('asc_onSendThemeColors', (colors, standart_colors) => { + Common.Utils.ThemeColor.setColors(colors, standart_colors); + }); + } _onDocumentContentReady() { diff --git a/apps/presentationeditor/mobile/src/controller/edit/Style.jsx b/apps/presentationeditor/mobile/src/controller/edit/Style.jsx new file mode 100644 index 000000000..67567013e --- /dev/null +++ b/apps/presentationeditor/mobile/src/controller/edit/Style.jsx @@ -0,0 +1,16 @@ +import React, { Component } from "react"; +import Style from "../../view/edit/Style"; + +class StyleController extends Component { + constructor(props) { + super(props); + } + + render() { + return ( +