mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-30 01:47:33 +01:00
686 B
686 B
Home > bitburner > UserInterface > setStyles
UserInterface.setStyles() method
Sets the current styles
Signature:
setStyles(newStyles: IStyleSettings): void;
Parameters
Parameter | Type | Description |
---|---|---|
newStyles | IStyleSettings |
Returns:
void
Remarks
RAM cost: 0 GB
Example
Usage example (NS2)
const styles = ns.ui.getStyles();
styles.fontFamily = 'Comic Sans Ms';
ns.ui.setStyles(styles);