This code has been merged with tgui-core, which now ships as headless by default. Please use that library instead. As such, this repo will no longer be receiving updates.
All the TG official styles for use with the tgui-core library.
First, install the package from inside the proper tgui/packages/x directory using yarn.
yarn add tgui-styles
You have two options for importing styles:
To import all styles at once, add the following line to your main Sass file:
@use "pkg:tgui-styles";
To import individual styles, add any of the exported styles to your main Sass file:
@use "pkg:tgui-styles/components/Button";
@use "pkg:tgui-styles/components/Dialog";
@use "pkg:tgui-styles/components/NoticeBox";
Contributions are welcome! Please open an issue or submit a pull request if you have any suggestions or improvements.
This project is licensed under the MIT License. See the LICENSE file for more information.