DevExpress / DevExpress/devextreme-angular-template

How to change the theme dynamically after executing npm run build-themes

Open
#112 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
CSS
Stars
120
Forks
47
Avg merge
50m
Merged PRs (30d)
3

Description

The template overrides any theme changing I do dynamically at runtime...
ex)

DxThemes.current('material.blue.dark');

currently this doesn't work but in a different application that I havent executed "npm run build-themes" on this works.

Is there a way to undo the template/ allow it to be overriden by a piece of code like above

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the runtime DxThemes.current('material.blue.dark') call in the template after running npm run build-themes, then compare it with an application where that command was not run. Identify whether the generated theme overrides the runtime change; done means the runtime call can change the active theme or the limitation is clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, css, node.js
Domain
build-system, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.