support.polkadot.network runs on Freshdesk platform.
This repository provides:
style.css
that overrides default Freshdesk’s css theme with imported Polkadot’s bootstrap theme and other customizationsstyle.css
over gh-pages back to FreshdeskFreshdesk doesn’t provide any local development environment. This repository provides a setup that uses Chrome’s Local Overrides from DevTools in order to compile scss and to use hot-reloading locally.
mkdir -p ~/polkadot-support-page-assets-dev/w3f-webops.github.io && cd ~/polkadot-support-page-assets-dev/w3f-webops.github.io
git clone https://github.com/w3f-webops/polkadot-support-page-assets.git
DevTools/Sources/Overrides
panel, select your local folder ~/polkadot-support-page-assets-dev
and allow DevTools to access itstyle.css
should be now set up to be overwritten by your local copycd polkadot-support-page-assets
npm install && npm run scss
style.css
served over gh-pages is linked in the custom Head
panel (https://support-page-assets.polkadot.network/style.css)Stylesheet
panel (importing directly from the style.css would break the Local Overrides setup)