Skip to content

Log a warning when a theme is not loaded #2828

Closed
@jelbourn

Description

@jelbourn

Not having a theme loaded is the most common issue that people seem to encounter. We should find a way to throw a dev-mode warning when we detect that a theme isn't loaded, similar to what we do for HammerJS not being loaded.

Ideally we would avoid using getComputedStyle or anything else expensive. We can add whatever simple marker style to the md-core mixin necessary if that helps.

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions