Automattic / Automattic/syntaxhighlighter
support for '@' symbol in dark mode
- Dominant language
- CSS
- Stars
- 251
- Forks
- 81
- PR merge metrics
- No merged PRs in 30d
Description
I have chosen Python in Gutenberg editor. In python i have used '@' symbol as decorator in the code.
and I have used dark mode.
while displaying '@mock' background and font end text both becoming dark, So can not see the code in the browser.
@mock.patch("mock_function.randint", return_value=2, autospec=True)
def test_mock(v):
assert abc(2) == 4
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the issue in the Gutenberg editor with the provided Python decorator snippet while dark mode is enabled, then inspect the syntax-highlighting styles that affect the @mock text. Done means the decorator and surrounding code remain readable with sufficient contrast in dark mode.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css, python, wordpress
- Domain
- accessibility, frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- Half a day
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100