diff --git a/apps/common/mobile/lib/component/HighlightColorPalette.jsx b/apps/common/mobile/lib/component/HighlightColorPalette.jsx new file mode 100644 index 000000000..fffaaa325 --- /dev/null +++ b/apps/common/mobile/lib/component/HighlightColorPalette.jsx @@ -0,0 +1,30 @@ +import React from 'react'; +import { f7, ListItem, List, Icon, Page } from 'framework7-react'; +import { useTranslation } from 'react-i18next'; + +const HighlightColorPalette = ({onColorClick, curColor}) => { + const { t } = useTranslation(); + const highlightColors = [ + 'FFFF00', '00FF00', '00FFFF', 'FF00FF', '0000FF', 'FF0000', '00008B', '008B8B', + '006400', '800080', '8B0000', '808000', 'FFFFFF', 'D3D3D3', 'A9A9A9', '000000' + ]; + + return ( + + +
+
+ {highlightColors.map((effect, index) => { + return ( + {onColorClick(effect)}}> + ); + })} +
+
+
+ +
+ ) +}; + +export default HighlightColorPalette; \ No newline at end of file