@udixio/theme 1.0.0-beta.19 → 1.0.0-beta.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,5 @@
1
1
  import { PluginsConfig } from 'tailwindcss/types/config';
2
+ import { AppService } from '../../app.service';
2
3
  export type Theme = {
3
4
  colors: Record<string, string>;
4
5
  fontFamily: {
@@ -7,4 +8,6 @@ export type Theme = {
7
8
  };
8
9
  plugins: Partial<PluginsConfig>;
9
10
  };
10
- export declare const createTheme: () => Theme;
11
+ export declare const createTheme: () => Theme & {
12
+ appService: AppService;
13
+ };
@@ -2005,7 +2005,9 @@ var createTheme = function createTheme() {
2005
2005
  if (!plugin) {
2006
2006
  throw new Error('Tailwind plugin not found');
2007
2007
  }
2008
- return plugin.getTheme();
2008
+ return _extends({}, plugin.getTheme(), {
2009
+ appService: app
2010
+ });
2009
2011
  };
2010
2012
 
2011
2013
  exports.AppContainer = AppContainer;