diff --git a/README.md b/README.md index 90deaa02..130d9b1c 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Run `ng generate component component-name` to generate a new component. You can ## Build -Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build. +Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. ## Running unit tests @@ -20,7 +20,7 @@ Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github. ## Running end-to-end tests -Run `ng e2e` to execute the end-to-end tests via a platform of your choice. +Run `ng e2e` to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities. ## Further help diff --git a/angular.json b/angular.json index e27528ea..d7c557ed 100644 --- a/angular.json +++ b/angular.json @@ -60,13 +60,13 @@ "budgets": [ { "type": "initial", - "maximumWarning": "5mb", - "maximumError": "8mb" + "maximumWarning": "3mb", + "maximumError": "5mb" }, { "type": "anyComponentStyle", - "maximumWarning": "100kb", - "maximumError": "150kb" + "maximumWarning": "75kb", + "maximumError": "90kb" } ], "fileReplacements": [ diff --git a/package.json b/package.json index 590ffa12..668ee63f 100644 --- a/package.json +++ b/package.json @@ -9,21 +9,22 @@ "ng": "ng", "start": "ng serve", "build": "ng build", + "watch": "ng build --watch --configuration development", "test": "ng test", "lint": "ng lint" }, "dependencies": { - "@angular/animations": "12.1.4", - "@angular/cdk": "12.1.4", - "@angular/common": "12.1.4", - "@angular/compiler": "12.1.4", - "@angular/core": "12.1.4", - "@angular/forms": "12.1.4", - "@angular/material": "12.1.4", - "@angular/material-moment-adapter": "12.1.4", - "@angular/platform-browser": "12.1.4", - "@angular/platform-browser-dynamic": "12.1.4", - "@angular/router": "12.1.4", + "@angular/animations": "12.2.1", + "@angular/cdk": "12.2.1", + "@angular/common": "12.2.1", + "@angular/compiler": "12.2.1", + "@angular/core": "12.2.1", + "@angular/forms": "12.2.1", + "@angular/material": "12.2.1", + "@angular/material-moment-adapter": "12.2.1", + "@angular/platform-browser": "12.2.1", + "@angular/platform-browser-dynamic": "12.2.1", + "@angular/router": "12.2.1", "@fullcalendar/angular": "4.4.5-beta", "@fullcalendar/core": "4.4.2", "@fullcalendar/daygrid": "4.4.2", @@ -35,29 +36,29 @@ "@ngneat/transloco": "2.22.0", "apexcharts": "3.27.3", "crypto-js": "3.3.0", - "highlight.js": "11.1.0", + "highlight.js": "11.2.0", "lodash-es": "4.17.21", "moment": "2.29.1", "ng-apexcharts": "1.5.12", "ngx-markdown": "12.0.1", - "ngx-quill": "14.1.2", + "ngx-quill": "14.2.0", "perfect-scrollbar": "1.5.2", "quill": "1.3.7", "rrule": "2.6.8", "rxjs": "6.6.7", - "tslib": "2.3.0", + "tslib": "2.3.1", "web-animations-js": "2.3.2", "zone.js": "0.11.4" }, "devDependencies": { - "@angular-devkit/build-angular": "12.1.4", + "@angular-devkit/build-angular": "12.2.1", "@angular-eslint/builder": "12.3.1", "@angular-eslint/eslint-plugin": "12.3.1", "@angular-eslint/eslint-plugin-template": "12.3.1", "@angular-eslint/schematics": "12.3.1", "@angular-eslint/template-parser": "12.3.1", - "@angular/cli": "12.1.4", - "@angular/compiler-cli": "12.1.4", + "@angular/cli": "12.2.1", + "@angular/compiler-cli": "12.2.1", "@tailwindcss/aspect-ratio": "0.2.1", "@tailwindcss/line-clamp": "0.2.1", "@tailwindcss/typography": "0.4.1", @@ -65,16 +66,16 @@ "@types/crypto-js": "3.1.47", "@types/highlight.js": "10.1.0", "@types/jasmine": "3.8.2", - "@types/lodash": "4.14.171", + "@types/lodash": "4.14.172", "@types/lodash-es": "4.17.4", - "@types/node": "12.20.17", - "@typescript-eslint/eslint-plugin": "4.28.5", - "@typescript-eslint/parser": "4.28.5", + "@types/node": "12.20.19", + "@typescript-eslint/eslint-plugin": "4.29.1", + "@typescript-eslint/parser": "4.29.1", "autoprefixer": "10.3.1", "chroma-js": "2.1.2", - "eslint": "7.31.0", - "eslint-plugin-import": "2.23.4", - "eslint-plugin-jsdoc": "36.0.6", + "eslint": "7.32.0", + "eslint-plugin-import": "2.24.0", + "eslint-plugin-jsdoc": "36.0.7", "eslint-plugin-prefer-arrow": "1.2.3", "jasmine-core": "3.8.0", "karma": "6.3.4", diff --git a/src/@fuse/components/navigation/horizontal/components/basic/basic.component.ts b/src/@fuse/components/navigation/horizontal/components/basic/basic.component.ts index f20224ac..afa59928 100644 --- a/src/@fuse/components/navigation/horizontal/components/basic/basic.component.ts +++ b/src/@fuse/components/navigation/horizontal/components/basic/basic.component.ts @@ -10,7 +10,6 @@ import { FuseUtilsService } from '@fuse/services/utils/utils.service'; @Component({ selector : 'fuse-horizontal-navigation-basic-item', templateUrl : './basic.component.html', - styles : [], changeDetection: ChangeDetectionStrategy.OnPush }) export class FuseHorizontalNavigationBasicItemComponent implements OnInit, OnDestroy diff --git a/src/@fuse/components/navigation/horizontal/components/branch/branch.component.ts b/src/@fuse/components/navigation/horizontal/components/branch/branch.component.ts index 53ef2a90..f45af902 100644 --- a/src/@fuse/components/navigation/horizontal/components/branch/branch.component.ts +++ b/src/@fuse/components/navigation/horizontal/components/branch/branch.component.ts @@ -10,7 +10,6 @@ import { FuseNavigationItem } from '@fuse/components/navigation/navigation.types @Component({ selector : 'fuse-horizontal-navigation-branch-item', templateUrl : './branch.component.html', - styles : [], changeDetection: ChangeDetectionStrategy.OnPush }) export class FuseHorizontalNavigationBranchItemComponent implements OnInit, OnDestroy diff --git a/src/@fuse/components/navigation/horizontal/components/divider/divider.component.ts b/src/@fuse/components/navigation/horizontal/components/divider/divider.component.ts index 6601023a..5c0ccb44 100644 --- a/src/@fuse/components/navigation/horizontal/components/divider/divider.component.ts +++ b/src/@fuse/components/navigation/horizontal/components/divider/divider.component.ts @@ -8,7 +8,6 @@ import { FuseNavigationItem } from '@fuse/components/navigation/navigation.types @Component({ selector : 'fuse-horizontal-navigation-divider-item', templateUrl : './divider.component.html', - styles : [], changeDetection: ChangeDetectionStrategy.OnPush }) export class FuseHorizontalNavigationDividerItemComponent implements OnInit, OnDestroy diff --git a/src/@fuse/components/navigation/horizontal/components/spacer/spacer.component.ts b/src/@fuse/components/navigation/horizontal/components/spacer/spacer.component.ts index f43fb652..2e91d12f 100644 --- a/src/@fuse/components/navigation/horizontal/components/spacer/spacer.component.ts +++ b/src/@fuse/components/navigation/horizontal/components/spacer/spacer.component.ts @@ -8,7 +8,6 @@ import { FuseNavigationItem } from '@fuse/components/navigation/navigation.types @Component({ selector : 'fuse-horizontal-navigation-spacer-item', templateUrl : './spacer.component.html', - styles : [], changeDetection: ChangeDetectionStrategy.OnPush }) export class FuseHorizontalNavigationSpacerItemComponent implements OnInit, OnDestroy diff --git a/src/@fuse/components/navigation/vertical/components/aside/aside.component.ts b/src/@fuse/components/navigation/vertical/components/aside/aside.component.ts index 2b2a25b8..29979d97 100644 --- a/src/@fuse/components/navigation/vertical/components/aside/aside.component.ts +++ b/src/@fuse/components/navigation/vertical/components/aside/aside.component.ts @@ -10,7 +10,6 @@ import { FuseNavigationItem } from '@fuse/components/navigation/navigation.types @Component({ selector : 'fuse-vertical-navigation-aside-item', templateUrl : './aside.component.html', - styles : [], changeDetection: ChangeDetectionStrategy.OnPush }) export class FuseVerticalNavigationAsideItemComponent implements OnChanges, OnInit, OnDestroy diff --git a/src/@fuse/components/navigation/vertical/components/basic/basic.component.ts b/src/@fuse/components/navigation/vertical/components/basic/basic.component.ts index b3a20aa4..12d0a41b 100644 --- a/src/@fuse/components/navigation/vertical/components/basic/basic.component.ts +++ b/src/@fuse/components/navigation/vertical/components/basic/basic.component.ts @@ -10,7 +10,6 @@ import { FuseUtilsService } from '@fuse/services/utils/utils.service'; @Component({ selector : 'fuse-vertical-navigation-basic-item', templateUrl : './basic.component.html', - styles : [], changeDetection: ChangeDetectionStrategy.OnPush }) export class FuseVerticalNavigationBasicItemComponent implements OnInit, OnDestroy diff --git a/src/@fuse/components/navigation/vertical/components/collapsable/collapsable.component.ts b/src/@fuse/components/navigation/vertical/components/collapsable/collapsable.component.ts index 6c944fcd..5597d28e 100644 --- a/src/@fuse/components/navigation/vertical/components/collapsable/collapsable.component.ts +++ b/src/@fuse/components/navigation/vertical/components/collapsable/collapsable.component.ts @@ -11,7 +11,6 @@ import { FuseNavigationItem } from '@fuse/components/navigation/navigation.types @Component({ selector : 'fuse-vertical-navigation-collapsable-item', templateUrl : './collapsable.component.html', - styles : [], animations : fuseAnimations, changeDetection: ChangeDetectionStrategy.OnPush }) diff --git a/src/@fuse/components/navigation/vertical/components/divider/divider.component.ts b/src/@fuse/components/navigation/vertical/components/divider/divider.component.ts index d5178ee6..570c244a 100644 --- a/src/@fuse/components/navigation/vertical/components/divider/divider.component.ts +++ b/src/@fuse/components/navigation/vertical/components/divider/divider.component.ts @@ -8,7 +8,6 @@ import { FuseNavigationItem } from '@fuse/components/navigation/navigation.types @Component({ selector : 'fuse-vertical-navigation-divider-item', templateUrl : './divider.component.html', - styles : [], changeDetection: ChangeDetectionStrategy.OnPush }) export class FuseVerticalNavigationDividerItemComponent implements OnInit, OnDestroy diff --git a/src/@fuse/components/navigation/vertical/components/group/group.component.ts b/src/@fuse/components/navigation/vertical/components/group/group.component.ts index 614f5c4e..1e401c2b 100644 --- a/src/@fuse/components/navigation/vertical/components/group/group.component.ts +++ b/src/@fuse/components/navigation/vertical/components/group/group.component.ts @@ -9,7 +9,6 @@ import { FuseNavigationItem } from '@fuse/components/navigation/navigation.types @Component({ selector : 'fuse-vertical-navigation-group-item', templateUrl : './group.component.html', - styles : [], changeDetection: ChangeDetectionStrategy.OnPush }) export class FuseVerticalNavigationGroupItemComponent implements OnInit, OnDestroy diff --git a/src/@fuse/components/navigation/vertical/components/spacer/spacer.component.ts b/src/@fuse/components/navigation/vertical/components/spacer/spacer.component.ts index ca927031..a598cec7 100644 --- a/src/@fuse/components/navigation/vertical/components/spacer/spacer.component.ts +++ b/src/@fuse/components/navigation/vertical/components/spacer/spacer.component.ts @@ -8,7 +8,6 @@ import { FuseNavigationItem } from '@fuse/components/navigation/navigation.types @Component({ selector : 'fuse-vertical-navigation-spacer-item', templateUrl : './spacer.component.html', - styles : [], changeDetection: ChangeDetectionStrategy.OnPush }) export class FuseVerticalNavigationSpacerItemComponent implements OnInit, OnDestroy diff --git a/src/@fuse/fuse.module.ts b/src/@fuse/fuse.module.ts index 455f1807..35aee3b7 100644 --- a/src/@fuse/fuse.module.ts +++ b/src/@fuse/fuse.module.ts @@ -1,4 +1,5 @@ import { NgModule, Optional, SkipSelf } from '@angular/core'; +import { MATERIAL_SANITY_CHECKS } from '@angular/material/core'; import { MAT_FORM_FIELD_DEFAULT_OPTIONS } from '@angular/material/form-field'; import { FuseConfirmationModule } from '@fuse/services/confirmation'; import { FuseMediaWatcherModule } from '@fuse/services/media-watcher/media-watcher.module'; @@ -15,6 +16,15 @@ import { FuseUtilsModule } from '@fuse/services/utils/utils.module'; FuseUtilsModule ], providers: [ + { + // Disable 'theme' sanity check + provide : MATERIAL_SANITY_CHECKS, + useValue: { + doctype: true, + theme : false, + version: true + } + }, { // Use the 'fill' appearance on Angular Material form fields by default provide : MAT_FORM_FIELD_DEFAULT_OPTIONS, diff --git a/src/@fuse/services/confirmation/confirmation.service.ts b/src/@fuse/services/confirmation/confirmation.service.ts index 10fe2e9a..b22ccae5 100644 --- a/src/@fuse/services/confirmation/confirmation.service.ts +++ b/src/@fuse/services/confirmation/confirmation.service.ts @@ -51,7 +51,8 @@ export class FuseConfirmationService return this._matDialog.open(FuseConfirmationDialogComponent, { autoFocus : false, disableClose: !userConfig.dismissible, - data : userConfig + data : userConfig, + panelClass : 'fuse-confirmation-dialog-panel' }); } } diff --git a/src/@fuse/services/confirmation/dialog/dialog.component.html b/src/@fuse/services/confirmation/dialog/dialog.component.html index f8de9884..1d15451d 100644 --- a/src/@fuse/services/confirmation/dialog/dialog.component.html +++ b/src/@fuse/services/confirmation/dialog/dialog.component.html @@ -1,4 +1,4 @@ -
+
@@ -14,7 +14,7 @@ -
+
diff --git a/src/@fuse/services/confirmation/dialog/dialog.component.ts b/src/@fuse/services/confirmation/dialog/dialog.component.ts index 52d718c3..4dd92d3f 100644 --- a/src/@fuse/services/confirmation/dialog/dialog.component.ts +++ b/src/@fuse/services/confirmation/dialog/dialog.component.ts @@ -5,6 +5,20 @@ import { FuseConfirmationConfig } from '@fuse/services/confirmation/confirmation @Component({ selector : 'fuse-confirmation-dialog', templateUrl : './dialog.component.html', + styles : [ + /* language=SCSS */ + ` + .fuse-confirmation-dialog-panel { + @screen md { + @apply w-128; + } + + .mat-dialog-container { + padding: 0 !important; + } + } + ` + ], encapsulation: ViewEncapsulation.None }) export class FuseConfirmationDialogComponent implements OnInit diff --git a/src/@fuse/styles/overrides/quill.scss b/src/@fuse/styles/overrides/quill.scss index bb5ee369..61832818 100644 --- a/src/@fuse/styles/overrides/quill.scss +++ b/src/@fuse/styles/overrides/quill.scss @@ -4,11 +4,12 @@ .ql-toolbar { border-radius: 6px 6px 0 0; padding: 0 !important; - @apply bg-gray-100 border-gray-300; + @apply bg-gray-100; + @apply border-gray-300 border-opacity-100 #{'!important'}; .dark & { background-color: rgba(0, 0, 0, 0.05); - @apply border-gray-500; + @apply border-gray-500 #{'!important'}; } .ql-formats { @@ -81,26 +82,22 @@ .ql-container { overflow: hidden; border-radius: 0 0 6px 6px; - @apply border-gray-300 shadow-sm; + @apply border-gray-300 border-opacity-100 shadow-sm #{'!important'}; .dark & { - @apply border-gray-500; + @apply border-gray-500 #{'!important'}; } .ql-editor { min-height: 160px; max-height: 160px; height: 160px; - @apply bg-gray-50; + @apply bg-card; .dark & { background-color: rgba(0, 0, 0, 0.05); } - &:focus { - @apply bg-card; - } - &.ql-blank::before { @apply text-hint; } diff --git a/src/@fuse/styles/themes.scss b/src/@fuse/styles/themes.scss index 63b0ec73..2677090d 100644 --- a/src/@fuse/styles/themes.scss +++ b/src/@fuse/styles/themes.scss @@ -18,81 +18,6 @@ ) )); -/* Prepare the Background and Foreground maps */ -$background-light: ( - status-bar: #CBD5E1, /* blueGray.300 */ - app-bar: #FFFFFF, - background: #F1F5F9, /* blueGray.100 */ - hover: rgba(148, 163, 184, 0.12), /* blueGray.400 + opacity */ - card: #FFFFFF, - dialog: #FFFFFF, - disabled-button: rgba(148, 163, 184, 0.38), /* blueGray.400 + opacity */ - raised-button: #FFFFFF, - focused-button: #64748B, /* blueGray.500 */ - selected-button: #E2E8F0, /* blueGray.200 */ - selected-disabled-button: #E2E8F0, /* blueGray.200 */ - disabled-button-toggle: #CBD5E1, /* blueGray.300 */ - unselected-chip: #E2E8F0, /* blueGray.200 */ - disabled-list-option: #CBD5E1, /* blueGray.300 */ - tooltip: #1E293B /* blueGray.800 */ -); - -$background-dark: ( - status-bar: #0F172A, /* blueGray.900 */ - app-bar: #0F172A, /* blueGray.900 */ - background: #0F172A, /* blueGray.900 */ - hover: rgba(255, 255, 255, 0.05), - card: #1E293B, /* blueGray.800 */ - dialog: #1E293B, /* blueGray.800 */ - disabled-button: rgba(15, 23, 42, 0.38), /* blueGray.900 + opacity */ - raised-button: #0F172A, /* blueGray.900 */ - focused-button: #E2E8F0, /* blueGray.200 */ - selected-button: rgba(255, 255, 255, 0.05), - selected-disabled-button: #1E293B, /* blueGray.800 */ - disabled-button-toggle: #0F172A, /* blueGray.900 */ - unselected-chip: #475569, /* blueGray.600 */ - disabled-list-option: #E2E8F0, /* blueGray.200 */ - tooltip: #64748B /* blueGray.500 */ -); - -$foreground-light: ( - base: #000000, - divider: #E2E8F0, /* blueGray.200 */ - dividers: #E2E8F0, /* blueGray.200 */ - disabled: #94A3B8, /* blueGray.400 */ - disabled-button: #94A3B8, /* blueGray.400 */ - disabled-text: #94A3B8, /* blueGray.400 */ - elevation: #000000, - hint-text: #94A3B8, /* blueGray.400 */ - secondary-text: #64748B, /* blueGray.500 */ - icon: #64748B, /* blueGray.500 */ - icons: #64748B, /* blueGray.500 */ - mat-icon: #64748B, /* blueGray.500 */ - text: #1E293B, /* blueGray.800 */ - slider-min: #1E293B, /* blueGray.800 */ - slider-off: #CBD5E1, /* blueGray.300 */ - slider-off-active: #94A3B8 /* blueGray.400 */ -); - -$foreground-dark: ( - base: #FFFFFF, - divider: rgba(241, 245, 249, 0.12), /* blueGray.100 + opacity */ - dividers: rgba(241, 245, 249, 0.12), /* blueGray.100 + opacity */ - disabled: #475569, /* blueGray.600 */ - disabled-button: #1E293B, /* blueGray.800 */ - disabled-text: #475569, /* blueGray.600 */ - elevation: #000000, - hint-text: #64748B, /* blueGray.500 */ - secondary-text: #94A3B8, /* blueGray.400 */ - icon: #F1F5F9, /* blueGray.100 */ - icons: #F1F5F9, /* blueGray.100 */ - mat-icon: #94A3B8, /* blueGray.400 */ - text: #FFFFFF, - slider-min: #FFFFFF, - slider-off: #64748B, /* blueGray.500 */ - slider-off-active: #94A3B8 /* blueGray.400 */ -); - /* Generate Primary, Accent and Warn palettes */ $palettes: (); @each $name in (primary, accent, warn) { @@ -145,8 +70,41 @@ body .light { accent: map.get(map.get($base-light-theme, color), accent), warn: map.get(map.get($base-light-theme, color), warn), is-dark: map.get(map.get($base-light-theme, color), is-dark), - foreground: $foreground-light, - background: $background-light + foreground: ( + base: #000000, + divider: #E2E8F0, /* blueGray.200 */ + dividers: #E2E8F0, /* blueGray.200 */ + disabled: #94A3B8, /* blueGray.400 */ + disabled-button: #94A3B8, /* blueGray.400 */ + disabled-text: #94A3B8, /* blueGray.400 */ + elevation: #000000, + hint-text: #94A3B8, /* blueGray.400 */ + secondary-text: #64748B, /* blueGray.500 */ + icon: #64748B, /* blueGray.500 */ + icons: #64748B, /* blueGray.500 */ + mat-icon: #64748B, /* blueGray.500 */ + text: #1E293B, /* blueGray.800 */ + slider-min: #1E293B, /* blueGray.800 */ + slider-off: #CBD5E1, /* blueGray.300 */ + slider-off-active: #94A3B8 /* blueGray.400 */ + ), + background: ( + status-bar: #CBD5E1, /* blueGray.300 */ + app-bar: #FFFFFF, + background: #F1F5F9, /* blueGray.100 */ + hover: rgba(148, 163, 184, 0.12), /* blueGray.400 + opacity */ + card: #FFFFFF, + dialog: #FFFFFF, + disabled-button: rgba(148, 163, 184, 0.38), /* blueGray.400 + opacity */ + raised-button: #FFFFFF, + focused-button: #64748B, /* blueGray.500 */ + selected-button: #E2E8F0, /* blueGray.200 */ + selected-disabled-button: #E2E8F0, /* blueGray.200 */ + disabled-button-toggle: #CBD5E1, /* blueGray.300 */ + unselected-chip: #E2E8F0, /* blueGray.200 */ + disabled-list-option: #CBD5E1, /* blueGray.300 */ + tooltip: #1E293B /* blueGray.800 */ + ) ) ); @@ -166,8 +124,41 @@ body .dark { accent: map.get(map.get($base-dark-theme, color), accent), warn: map.get(map.get($base-dark-theme, color), warn), is-dark: map.get(map.get($base-dark-theme, color), is-dark), - foreground: $foreground-dark, - background: $background-dark + foreground: ( + base: #FFFFFF, + divider: rgba(241, 245, 249, 0.12), /* blueGray.100 + opacity */ + dividers: rgba(241, 245, 249, 0.12), /* blueGray.100 + opacity */ + disabled: #475569, /* blueGray.600 */ + disabled-button: #1E293B, /* blueGray.800 */ + disabled-text: #475569, /* blueGray.600 */ + elevation: #000000, + hint-text: #64748B, /* blueGray.500 */ + secondary-text: #94A3B8, /* blueGray.400 */ + icon: #F1F5F9, /* blueGray.100 */ + icons: #F1F5F9, /* blueGray.100 */ + mat-icon: #94A3B8, /* blueGray.400 */ + text: #FFFFFF, + slider-min: #FFFFFF, + slider-off: #64748B, /* blueGray.500 */ + slider-off-active: #94A3B8 /* blueGray.400 */ + ), + background: ( + status-bar: #0F172A, /* blueGray.900 */ + app-bar: #0F172A, /* blueGray.900 */ + background: #0F172A, /* blueGray.900 */ + hover: rgba(255, 255, 255, 0.05), + card: #1E293B, /* blueGray.800 */ + dialog: #1E293B, /* blueGray.800 */ + disabled-button: rgba(15, 23, 42, 0.38), /* blueGray.900 + opacity */ + raised-button: #0F172A, /* blueGray.900 */ + focused-button: #E2E8F0, /* blueGray.200 */ + selected-button: rgba(255, 255, 255, 0.05), + selected-disabled-button: #1E293B, /* blueGray.800 */ + disabled-button-toggle: #0F172A, /* blueGray.900 */ + unselected-chip: #475569, /* blueGray.600 */ + disabled-list-option: #E2E8F0, /* blueGray.200 */ + tooltip: #64748B /* blueGray.500 */ + ) ) ); diff --git a/src/test.ts b/src/test.ts index 7b466a52..77364ee4 100644 --- a/src/test.ts +++ b/src/test.ts @@ -14,7 +14,8 @@ declare const require: { // First, initialize the Angular testing environment. getTestBed().initTestEnvironment( BrowserDynamicTestingModule, - platformBrowserDynamicTesting() + platformBrowserDynamicTesting(), + {teardown: {destroyAfterEach: true}} ); // Then we find all the tests. diff --git a/tailwind.config.js b/tailwind.config.js index e11d245b..eb38ab8e 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -63,10 +63,6 @@ const themes = { /** * Tailwind configuration - * - * @param isProd - * This will be automatically supplied by the custom Angular builder - * based on the current environment of the application (prod, dev etc.) */ const config = { experimental: {},