Playing around with the WebSpeech API, CSS custom properties and CSS named colours. Code modified from references linked below. Probably quite buggy still. Submit issue if you find a bug and maybe I'll get around to fixing it, thanks.
References:
git clone [email protected]:singaporecss/colour-speech.git
npm install
gulp
- Styles go in the styles.scss file, and will be compiled by Gulp
- Scripts go into the js folder, and will be concatenated by Gulp