This is another super sweet, animated one https://dribbble.com/shots/4419357-Day-Night-Mode-Switcher but no public source
This one has fun animation too: http://paulfreeman.design/toggle/ Source https://github.com/pfreema1/day-night-toggle
Great article. There’s a lot going on indeed. :)
There are two things that I want to mention, which are not obvious yet are important.
From the perspective of TypeScript newbie (which is me currently), it didn’t seem clear how you…
This was super helpful thanks.
I went ahead and created a starter project which includes all the stuff in this blog, along with allowing absolute path imports, and pre-commit type checking and linting:
Thanks for the article, very useful. Only one thing, you forgot to add gatsby-plugin-tslint in the yarn command:
yarn add gatsby-plugin-typescript gatsby-plugin-tslint && yarn add --dev typescript tslint tslint-loader @types/react @types/react-dom tslint-react tslint-config-prettier tslint-plugin-prettier