@udixio/theme 1.0.0-beta.18 → 1.0.0-beta.19
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.
- package/dist/plugins/tailwind/tailwind.plugin.d.ts +2 -2
- package/dist/theme.cjs.development.js +5 -0
- package/dist/theme.cjs.development.js.map +1 -1
- package/dist/theme.cjs.production.min.js +1 -1
- package/dist/theme.cjs.production.min.js.map +1 -1
- package/dist/theme.esm.js +5 -0
- package/dist/theme.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/plugins/tailwind/tailwind.plugin.ts +8 -4
|
@@ -3,8 +3,8 @@ import { AppService } from '../../app.service';
|
|
|
3
3
|
import { Theme } from './main';
|
|
4
4
|
import { FontPlugin } from '../font/font.plugin';
|
|
5
5
|
interface TailwindPluginOptions {
|
|
6
|
-
darkMode
|
|
7
|
-
responsiveBreakPoints
|
|
6
|
+
darkMode?: 'class' | 'media';
|
|
7
|
+
responsiveBreakPoints?: Record<string, number>;
|
|
8
8
|
}
|
|
9
9
|
export declare class TailwindPlugin extends PluginAbstract {
|
|
10
10
|
protected appService: AppService;
|
|
@@ -1948,7 +1948,12 @@ var font = function font(fontStyles, responsiveBreakPoints) {
|
|
|
1948
1948
|
|
|
1949
1949
|
var TailwindPlugin = /*#__PURE__*/function (_PluginAbstract) {
|
|
1950
1950
|
function TailwindPlugin(appService, options) {
|
|
1951
|
+
var _options$darkMode, _options$responsiveBr;
|
|
1951
1952
|
var _this;
|
|
1953
|
+
(_options$darkMode = options.darkMode) != null ? _options$darkMode : options.darkMode = 'class';
|
|
1954
|
+
(_options$responsiveBr = options.responsiveBreakPoints) != null ? _options$responsiveBr : options.responsiveBreakPoints = {
|
|
1955
|
+
lg: 1.125
|
|
1956
|
+
};
|
|
1952
1957
|
_this = _PluginAbstract.call(this) || this;
|
|
1953
1958
|
_this.appService = void 0;
|
|
1954
1959
|
_this.options = void 0;
|