@onemrvapublic/design-system-theme 20.11.1-develop.7 → 20.11.1-develop.8

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.
@@ -3,9 +3,9 @@ import { NgModule } from '@angular/core';
3
3
  import { MAT_FORM_FIELD_DEFAULT_OPTIONS } from '@angular/material/form-field';
4
4
 
5
5
  class OnemrvaThemeModule {
6
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: OnemrvaThemeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
7
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.15", ngImport: i0, type: OnemrvaThemeModule }); }
8
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: OnemrvaThemeModule, providers: [
6
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: OnemrvaThemeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
7
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.16", ngImport: i0, type: OnemrvaThemeModule }); }
8
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: OnemrvaThemeModule, providers: [
9
9
  {
10
10
  provide: MAT_FORM_FIELD_DEFAULT_OPTIONS,
11
11
  useValue: {
@@ -15,7 +15,7 @@ class OnemrvaThemeModule {
15
15
  },
16
16
  ] }); }
17
17
  }
18
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: OnemrvaThemeModule, decorators: [{
18
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: OnemrvaThemeModule, decorators: [{
19
19
  type: NgModule,
20
20
  args: [{
21
21
  providers: [
package/index.scss CHANGED
@@ -78,18 +78,21 @@
78
78
  @use 'overrides/stickers';
79
79
 
80
80
  @mixin onemrva($colorScheme: light) {
81
- color-scheme: $colorScheme;
81
+ // Force light mode only
82
+ color-scheme: light;
82
83
  background: var(--mat-sys-surface);
83
84
  color: var(--mat-sys-on-surface);
84
85
  margin: 0;
85
86
  padding: 0;
86
- &.dark-theme {
87
- color-scheme: dark !important;
88
- @media (prefers-color-scheme: light) {
89
- color-scheme: dark !important;
90
- }
91
- }
92
87
 
88
+ // &.dark-theme {
89
+ // color-scheme: dark !important;
90
+ // @media (prefers-color-scheme: light) {
91
+ // color-scheme: dark !important;
92
+ // }
93
+ // }
94
+
95
+ // Dark theme disabled - always use light mode
93
96
  &.light-theme {
94
97
  color-scheme: light !important;
95
98
  @media (prefers-color-scheme: dark) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onemrvapublic/design-system-theme",
3
- "version": "v20.11.1-develop.7",
3
+ "version": "v20.11.1-develop.8",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },