Customizing CSS
If you would like to customize the theme, follow these steps after a successful deployment:
ssh in and stop the BlockScout service:
sudo systemctl stop blockscout.service
Navigate to
blockscout/apps/block_scout_web/assets/css/theme
.Edit
_poa_variables.scss
with appropriate theme colors.Rebuild the static assets:
sudo npm run-script deploy
(from blockscout/apps/block_scout_web/assets directory).Restart the BlockScout service:
sudo systemctl start blockscout.service
The BlockScout application will now be running with the designated theme changes.
Last updated