Fix: An issue that would cause Matugen colors to not apply. (#929)

* Eslint updates

* linter fixes

* Type fixes

* More type fixes

* Fix isvis

* More type fixes

* Type Fixes

* Consolidate logic to manage options

* Linter fixes

* Package lock update

* Update configs

* Version checker

* Debug pipeline

* Package lock update

* Update ci

* Strict check

* Revert ci

* Eslint

* Remove rule since it causes issues in CI

* Actual matugen fix
This commit is contained in:
Jas Singh
2025-05-11 23:01:55 -07:00
committed by GitHub
parent 0c82ce9704
commit 2bb1449fb6
275 changed files with 4363 additions and 2505 deletions

View File

@@ -1,7 +1,6 @@
import { FontStyle } from './components/settings/shared/inputs/font/utils';
import { opt, mkOptions } from './lib/option';
import { NetstatLabelType, RateUnit, ResourceLabelType } from './lib/types/bar';
import { KbLabelType } from './lib/types/customModules/kbLayout';
import { NetstatLabelType, RateUnit, ResourceLabelType } from './lib/types/bar.types';
import { KbLabelType } from './lib/types/customModules/kbLayout.types';
import {
ActiveWsIndicator,
AutoHide,
@@ -14,12 +13,13 @@ import {
OSDOrientation,
ScalingPriority,
WindowLayer,
} from './lib/types/options';
import { MatugenScheme, MatugenTheme, MatugenVariations } from './lib/types/options';
import { SystrayIconMap } from './lib/types/systray';
import { UnitType } from './lib/types/weather';
import { Transition } from './lib/types/widget';
import { ApplicationIcons, WorkspaceIcons, WorkspaceIconsColored } from './lib/types/workspace';
} from './lib/options/options.types';
import { MatugenScheme, MatugenTheme, MatugenVariations } from './lib/options/options.types';
import { SystrayIconMap } from './lib/types/systray.types';
import { UnitType } from './lib/types/weather.types';
import { Transition } from './lib/types/widget.types';
import { ApplicationIcons, WorkspaceIcons, WorkspaceIconsColored } from './lib/types/workspace.types';
import { mkOptions, opt } from './lib/options';
// WARN: CHANGING THESE VALUES WILL PREVENT MATUGEN COLOR GENERATION FOR THE CHANGED VALUE
export const colors = {
@@ -1431,5 +1431,4 @@ const options = mkOptions({
dummy: opt(true),
});
globalThis['options'] = options;
export default options;