# Config

#### Take a look at the Config below.

{% hint style="info" %}
You can create as many notify types as you want, in the config below you can see some different types as example.

If you want, you can create something like success, error, info, announce and whatever you want to extend your notification ressource.

Type "default" is the standard type and is used if you dont choose a specific type in your events.

The Progressbar have config options to change the styling (colors and size) and the HelpNotify have options to change the style only.
{% endhint %}

<details>

<summary>Config</summary>

```lua
Config = {}

Config.Notification = {
    DefaultType = "default", --will be used if no type is specified

    Types = {
        --["default" -> Type of Notify, you can create as many as you want. e.G: info, announce, success etc.]
        ["default"] = {
            LightColor = "rgb(0, 255, 0)",
            DarkColor = "rgb(0, 110, 0)",
            BackgroundTransparency = "0.9",
            TextColor = "white",
            Icon = "fa-sharp fa-solid fa-bell", -- Notify Icon / Fontawesome -> https://fontawesome.com/v5/search?o=r&m=free
            IconColor = "white", -- Color of the Icon
        },
        ["info"] = {
            LightColor = "rgb(255, 0, 64)",
            DarkColor = "rgb(138, 0, 34)",
            BackgroundTransparency = "0.9",
            TextColor = "white",
            Icon = "fa-sharp fa-solid fa-exclamation",
            IconColor = "white",
        },
        ["success"] = {
            LightColor = "rgb(0, 255, 0)",
            DarkColor = "rgb(0, 110, 0)",
            BackgroundTransparency = "0.9",
            TextColor = "white",
            Icon = "fa-sharp fa-solid fa-exclamation",
            IconColor = "white",
        },
        ["error"] = {
            LightColor = "rgb(255, 0, 64)",
            DarkColor = "rgb(138, 0, 34)",
            BackgroundTransparency = "0.9",
            TextColor = "white",
            Icon = "fa-sharp fa-solid fa-xmark",
            IconColor = "white",
        }
    }
}

Config.Progressbar = {
    LightColor = "rgb(255, 0, 64)",
    DarkColor = "rgb(138, 0, 34)",
    BackgroundTransparency = "0.5",
    FontColor = "#ffffff",
    Height = "s", -- s | m | l
    RoundedEdges = false
}

Config.HelpNotify = {
    LightColor = "rgb(255, 0, 64)",
    DarkColor = "rgb(138, 0, 34)",
    BackgroundTransparency = "1",
    TextColor = "#FFFFFF",
    BlurColor = "rgb(255, 0, 64)"
}
```

</details>

## Progressbar Options

```
Height = "s", -- s | m | l
RoundedEdges = true
```

{% hint style="info" %}
With the height option you can change the size of the progressbar.\
\- s (small)\
\- m (medium)\
\- l (large)

If you want Rounded Edges, set the option to true. If not, leave it false.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.hyper-code.eu/documentation/advanced-notification/config.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
