Skip to content

Advanced Customization

Ryan Littleton edited this page Jun 10, 2017 · 5 revisions

Custom Accent Colors

In addition to the preset options for accent colors, users can also create new ones. To create a new accent option:

  • Make a copy of one of the colors in Steam/skins/Threshold/resources/styles/colors and give it a new name.

  • Add the new color file to the list of includes in Steam/skins/Threshold/config.ini, like so:

      //include "resource/styles/colors/cobalt.styles"
      include "resource/styles/colors/newcolor.styles"
    
  • Modify the new color style file you've created to change the colors of elements. VGUI defines colors as RGBA.

A quick explanation of each color's use is included in the comments, and a more in-depth explanation can be found in Steam/skins/Threshold/resources/styles/colors/_ColorGuide.txt

Feel free to submit new accent colors as pull requests to be packaged with the theme.


Notification Options

The position and animation of the notifications can be changed based on user preference. Both options can be found in Steam/skins/Threshold/resources/styles/settings.styles

  • Notifications.PanelPosition is the location of the notification. Options are BottomRight, BottomLeft, TopRight, and TopLeft.
  • Notifications.SlideDirection is the direction the notification animates from. Options are Horizontal, Vertical, or None.

The amount of time the notification is displayed, fades in, and fades out are also customizable, as well as how many notifications can appear at once.

Clone this wiki locally