interface convar docs

This commit is contained in:
Luke committed 2023-02-17 11:41:08 +01:00
1 parent 280801e265
commit 217ff0a160
1 file changed
+24
+24
View File
@@ -0,0 +1,24 @@
---
title: Interface
---
If you wish to change the primary colour for the UI to better match your server's theme you can do so easily through the available convars.
They don't require you to build the UI, just restart the resource.
Convars:
```yaml
set ox:primaryColor blue
set ox:primaryShade 8
```
Changing the primary colour will change the colour in elements such as the progress bar/circle, skill check, radial menu center button and hover,
dialog confirm buttons, input field focus, and more.
You can find the full list of preset colours and shades here:
https://mantine.dev/theming/colors/#default-colors
If you wish to create your own pallete I suggest following the guide on that page.
Keep in mind doing so *will* require you to download the source code and build the UI.