Skip to content

feat: appearance support light/dark mode theme in CodeHike #392

feat: appearance support light/dark mode theme in CodeHike

feat: appearance support light/dark mode theme in CodeHike #392

Triggered via pull request August 2, 2023 03:44
Status Failure
Total duration 1m 6s
Artifacts

test.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 2 warnings
test (16): packages/island/src/theme-default/logic/useAppearance.ts#L27
Replace `"[data-ch-theme='github-from-css'],·[data-ch-theme='material-from-css']")` with `⏎····"[data-ch-theme='github-from-css'],·[data-ch-theme='material-from-css']"⏎··);`
test (16): packages/island/src/theme-default/logic/useAppearance.ts#L27
Strings must use singlequote
test (16): packages/island/src/theme-default/logic/useAppearance.ts#L29
Replace `el·=>·el.setAttribute('data-theme',·mode))` with `(el)·=>·el.setAttribute('data-theme',·mode));`
test (16)
Process completed with exit code 1.
test (14)
The job was canceled because "_16" failed.
test (14)
The operation was canceled.
test (18)
The job was canceled because "_16" failed.
test (18)
The operation was canceled.
test (16): packages/island/src/theme-default/components/NavScreen/index.tsx#L23
'IconMap' is assigned a value but never used
test (16): packages/plugin-backtop/src/component/BackTopDemo.tsx#L5
'props' is defined but never used