Ox Lib Frost UI Style
Configuration
Configuration
Frost UI has no config file. Once installed, every ox_lib interface uses the Frost look automatically, for every script and every player.
ox_lib settings still work
Everything you set for ox_lib keeps working, for example the language of ox_lib's built-in texts:
setr ox:locale en
See the ox_lib documentation for the other ox_lib options.
Changing the look
All UI files are open, in the web/build/ folder of the resource:
| What | Where |
|---|---|
| Colours, sizes, fonts of each component | The .css files in web/build/assets/ |
| Notification sounds | web/build/sounds/notification.mp3 (normal) and web/build/sounds/error.ogg (errors) |
- To change a sound, replace the file with your own, keeping the same name.
- Keep a copy of a file before you edit it, so you can go back.
- After a change, restart the server and reconnect to see it.
FiveM's in-game browser doesn't render backdrop-filter: it shows as a black box. The frosted look uses layered gradients instead, so keep it that way if you edit the styles.
Texts of the theme
ox_lib's own texts follow ox:locale. A few buttons belong to the theme itself and are in Spanish:
| Where | Text |
|---|---|
| Input dialog buttons | Cancelar / Confirmar |
| Alert dialog buttons, when the script sends no labels | Cancelar / Confirmar |
| Radial menu "more" button | Más |
Scripts that pass their own labels to an alert dialog show their own button texts.
