LearnNewsExamplesServices
Frontmatter
id3778
titlemain.addon.HighlightJS: add a Neo.config for selecting the initial theme
stateClosed
labels
enhancementstale
assignees[]
createdAtJan 4, 2023, 5:57 PM
updatedAtSep 14, 2024, 4:26 AM
githubUrlhttps://github.com/neomjs/neo/issues/3778
authortobiu
commentsCount4
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtSep 14, 2024, 4:26 AM

main.addon.HighlightJS: add a Neo.config for selecting the initial theme

Closed v8.1.0 enhancementstale
tobiu
tobiu commented on Jan 4, 2023, 5:57 PM

(No description provided)

tobiu added the enhancement label on Jan 4, 2023, 5:57 PM
Dinkh
Dinkh Jan 4, 2023, 7:09 PM

I updated HighlightJS (#3779). Now you can use:

Neo.main.addon.HighlightJS.switchTheme('light');
Neo.main.addon.HighlightJS.switchTheme('dark');
Neo.main.addon.HighlightJS.switchTheme('./path/to/css/file.css');

Is that good enough?

tobiu
tobiu Jan 4, 2023, 9:37 PM

for dynamically switching themes yes. for the initial theme no :)

i will add the config as well.

@github-actions - 2024-08-30T02:27:20Z

This issue is stale because it has been open for 90 days with no activity.

  • 2024-08-30T02:27:21Z @github-actions added the stale label

@github-actions - 2024-09-14T02:26:21Z

This issue was closed because it has been inactive for 14 days since being marked as stale.

  • 2024-09-14T02:26:21Z @github-actions closed this issue