[Accessibility bug] set colour contrast ratio 4.5.1 (#1277)

This pull request includes a small change to the `src/mdx/code.js` file. The change corrects the color code used for comments in the `Code` component. * [`src/mdx/code.js`](diffhunk://#diff-f3f4e897983cba6337e020c78ef03c356c88f8868bcd19c465eb3c07e8b96625L123-R123): Adjusted the color code for comments from `#747459` to `#747458` in the `Code` component.

Jithin Prabhakaran Girija committed Sep 13, 2024 at 16:02 UTC 13a7666610ef2f11f8d3ee08e94a3e4cc748ef10
1 file changed +1 -1
src/mdx/code.js
+1 -1
@@ -120,7 +120,7 @@ function Code({className = '', prompt, children}) {
120 ...getTokenProps({token, key}),
121 style:
122 getTokenProps({token, key}).className === 'token comment'
123 - ? {...getTokenProps({token, key}).style, color: '#747459'}
123 + ? {...getTokenProps({token, key}).style, color: '#747458'}
124 : getTokenProps({token, key}).style,
125 }}
126 />