Consensys / vscode-solidity-auditor

Solidity language support and visual security auditor for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=tintinweb.solidity-visual-auditor
GNU General Public License v3.0
569 stars 60 forks source link

Docs (README): use via.placeholder.com for colors #93

Closed almndbtr closed 2 years ago

almndbtr commented 2 years ago

Summary

Closes https://github.com/ConsenSys/vscode-solidity-auditor/issues/92

This uses via.placeholder.com for colors in the syntax highlighting section of the README, updating "green" for #ccff00, the closest websafe color to #c5f015. For consistency, the inline CSS uses the specific hex color code to match rather than the previous strings (red, green).

Because both the GitHub.com README and the VS Code listing rely on this README file, this approach ensures that GitHub can render the color blocks appropriately and VS Code can apply the appropriate color to text.

tintinweb commented 2 years ago

thanks @almndbtr 🤗