Forum Discussion
MikeDunn-46a113
5 years agoCommunity Member
Rise 360 Code Snippet text colour
Hi Does anyone know if it's possible to change the text colour for Code Snippets?
My purpose is to replicate the look of a command line tool we have which generically has white mono-spaced text ...
StephenFrancis-
4 years agoCommunity Member
You can do this by exporting the package from Rise, expanding it, and adding css to the <style>
field in the index.html file and re-save. This isn't a great solution, though, because it means you have to edit the file and re-zip every time you export the package.
In this case it's this css (for a black background set in Rise):
.block-text__code{
color: white;
font-weight: bold;
}