Frontmatter
| id | 1490 |
| title | SharedDialog.view.MainContainerController: createDialog() => pass the theme cls |
| state | Closed |
| labels | enhancement |
| assignees | tobiu |
| createdAt | Jan 18, 2021, 1:22 PM |
| updatedAt | Jan 18, 2021, 1:39 PM |
| githubUrl | https://github.com/neomjs/neo/issues/1490 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jan 18, 2021, 1:39 PM |
since the theme switching logic inside this demo app does not set the theme cls on the doc body, but on the main container div node, it does not affect dialogs (direct child nodes of the doc body).
we need to set the theme on the dialog top level as well when changing the theme here.