mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Theming: Make new theme exposed by ThemeContext and make new theme include v1 for compatability (to pass to useTheme) (#33207)
* WIP: Making new theme the default * Progress * Updates, lots of updates * Things are working * Fixed issues with storybook * Fixed tests
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { BusEventBase, BusEventWithPayload, eventFactory, GrafanaTheme, TimeRange } from '@grafana/data';
|
||||
import { BusEventBase, BusEventWithPayload, eventFactory, GrafanaThemeV2, TimeRange } from '@grafana/data';
|
||||
import { IconName } from '@grafana/ui';
|
||||
|
||||
/**
|
||||
@@ -145,7 +145,7 @@ export class RenderEvent extends BusEventBase {
|
||||
static type = 'render';
|
||||
}
|
||||
|
||||
export class ThemeChangedEvent extends BusEventWithPayload<GrafanaTheme> {
|
||||
export class ThemeChangedEvent extends BusEventWithPayload<GrafanaThemeV2> {
|
||||
static type = 'theme-changed';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user