Add ns.ui.[getStyles, setStyles, resetStyles]

Adds three Netscript functions to manipulate the user's styles like the
player can with theme.
This commit is contained in:
Martin Fournier
2022-01-12 18:22:09 -05:00
parent e9db656e13
commit 9b638b911f
10 changed files with 174 additions and 11 deletions
+2 -1
View File
@@ -1,9 +1,10 @@
import { ISelfInitializer, ISelfLoading } from "../types";
import { OwnedAugmentationsOrderSetting, PurchaseAugmentationsOrderSetting } from "./SettingEnums";
import { defaultTheme, ITheme } from "./Themes";
import { defaultStyles, IStyleSettings } from "./Styles";
import { defaultStyles } from "./Styles";
import { WordWrapOptions } from "../ScriptEditor/ui/Options";
import { OverviewSettings } from "../ui/React/Overview";
import { IStyleSettings } from "../ScriptEditor/NetscriptDefinitions";
/**
* Represents the default settings the player could customize.