diff --git a/package.json b/package.json index d9bcab31d1..d78a6e017d 100644 --- a/package.json +++ b/package.json @@ -30,6 +30,7 @@ "lodash.bindall": "4.4.0", "lodash.omit": "4.5.0", "minilog": "3.1.0", + "opentype.js": "^1.3.4", "parse-color": "1.0.0", "prop-types": "^15.5.10", "opentype.js": "^1.3.4" diff --git a/src/components/mode-tools/icons/text-to-shapes.svg b/src/components/mode-tools/icons/text-to-shapes.svg new file mode 100644 index 0000000000..138d7ecb39 --- /dev/null +++ b/src/components/mode-tools/icons/text-to-shapes.svg @@ -0,0 +1,26 @@ + + + + rectangle + Created with Sketch. + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/components/mode-tools/mode-tools.jsx b/src/components/mode-tools/mode-tools.jsx index 73d120148d..d1b3f7861d 100644 --- a/src/components/mode-tools/mode-tools.jsx +++ b/src/components/mode-tools/mode-tools.jsx @@ -57,6 +57,7 @@ import shapeFilterIcon from './icons/filter.svg'; import alignLeftIcon from './icons/alignLeft.svg'; import alignRightIcon from './icons/alignRight.svg'; import alignCenterIcon from './icons/alignCenter.svg'; +import textToShapesIcon from './icons/text-to-shapes.svg'; import bitBrushIcon from '../bit-brush-mode/brush.svg'; import bitEraserIcon from '../bit-eraser-mode/eraser.svg'; import bitLineIcon from '../bit-line-mode/line.svg'; @@ -784,6 +785,13 @@ const ModeToolsComponent = props => { onClick={props.onTextAlignRight} /> + + + ); case Modes.BIT_RECT: