@seriousgaming/sdk-tools 1.1.0 → 1.2.0

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.
@@ -73,8 +73,21 @@ export declare const BRAND_FILE_SCHEMA: {
73
73
  readonly additionalProperties: false;
74
74
  };
75
75
  readonly icon: {
76
- readonly type: "string";
77
- readonly minLength: 1;
76
+ readonly oneOf: readonly [{
77
+ readonly type: "string";
78
+ readonly minLength: 1;
79
+ }, {
80
+ readonly type: "object";
81
+ readonly properties: {
82
+ readonly onLight: {
83
+ readonly type: "string";
84
+ };
85
+ readonly onDark: {
86
+ readonly type: "string";
87
+ };
88
+ };
89
+ readonly additionalProperties: false;
90
+ }];
78
91
  };
79
92
  readonly fonts: {
80
93
  readonly type: "object";
@@ -171,7 +184,11 @@ export interface BrandFile {
171
184
  onLight?: string;
172
185
  onDark?: string;
173
186
  };
174
- icon?: string;
187
+ /** One file for both backgrounds, or one for each. */
188
+ icon?: string | {
189
+ onLight?: string;
190
+ onDark?: string;
191
+ };
175
192
  fonts?: {
176
193
  heading?: BrandFont;
177
194
  body?: BrandFont;