According to https://github.com/PeculiarVentures/hancock-app/issues/5291 we want to have different colors of highlighted code examples on dark and light modes of Hancock. Currently, it's impossible because colors for these elements are set by hex value in the theme file. We can solve it by using CSS variables to apply colors instead of hardcoded values. Now to style the code example we are using the next colors variables:
According to https://github.com/PeculiarVentures/hancock-app/issues/5291 we want to have different colors of highlighted code examples on dark and light modes of Hancock. Currently, it's impossible because colors for these elements are set by hex value in the theme file. We can solve it by using CSS variables to apply colors instead of hardcoded values. Now to style the code example we are using the next colors variables:
highlightCodeColor
highlightCodeBorderColor
highlightCodeBackgroundColor
highlightCodeColorComment
highlightCodeColorKeyword
highlightCodeColorPunctuation
highlightCodeColorProperty
highlightCodeColorSelector
highlightCodeColorOperator
highlightCodeColorFunction
highlightCodeColorVariable