You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I was trying multiple theme's provided by library from HLJS or Prism, but no styles were following WCAG colour contrast. Apart from A11YLight and A11YDark, I couldn't find any which supports highlighting on functionsNames, variables, classNames of Java, CSharp etc.
Describe the solution you'd like
I have planned to create a new theme on the top of one-light theme which fixes WCAG colour contrast issue.
I have created a PR to support the above feature i.e. support A11Y in one-light theme naming (a11yOneLight) which is WCAG colour contrast fit and supports keyword highlighting in all languages.
Is your feature request related to a problem? Please describe.
I was trying multiple theme's provided by library from HLJS or Prism, but no styles were following WCAG colour contrast. Apart from A11YLight and A11YDark, I couldn't find any which supports highlighting on functionsNames, variables, classNames of Java, CSharp etc.
Describe the solution you'd like
I have planned to create a new theme on the top of one-light theme which fixes WCAG colour contrast issue.
Sandbox link : https://codesandbox.io/p/sandbox/syntax-highlighter-theme-wcag-compatible-forked-f3j9kw?file=%2Fsrc%2Fcomponents%2FCodeblock%2FoneLightWCAG.ts%3A8%2C28
Describe alternatives you've considered
NA
Additional context
NA
The text was updated successfully, but these errors were encountered: