Repository navigation
da Custom Themes
Denne side er en oversættelse. Hjælp med at forbedre den: rediger på GitHub
For at oprette et eget tema til Woggle skal du blot lægge en temafil (med filendelsen .toml) i mappen themes i konfigurationsmappen.
# Consider we have a theme called "foobar.toml" inside the themes folder.
# Theme is a root key, so it has to be placed before any sections in your config file.
theme = "foobar"
# .. rest of the configuration file.Tip
Woggle har en indbygget temaeditor, som gør det nemmere at lave temaer
Hver "<color string>" forventes at være en gyldig hex-farve. Hvis den er ugyldig, eller
hvis nøglen fjernes, falder farven tilbage til gennemsigtig.
Hver <text style> forventes at være enten en gyldig hex-farvestreng ("<color string>") eller en tabel ("{ color = "<color string>", font_style = "<font style string>" }") med poster for color (gyldig hex-farvestreng) og
font_style (gyldig skrifttypestilstreng; "normal", "italic", "bold" eller
"italic-bold").
Et eget tema er opbygget sådan her:
[general]
background = "<color string>"
border = "<color string>"
horizontal_rule = "<color string>"
horizontal_rule_text = "<color string>"
scrollbar = "<color string>"
unread_indicator = "<color string>"
highlight_indicator = "<color string>"
[text]
primary = <text style>
secondary = <text style>
tertiary = <text style>
success = <text style>
error = <text style>
warning = <text style>
info = <text style>
debug = <text style>
trace = <text style>
[buttons.primary]
background = "<color string>"
background_hover = "<color string>"
background_selected = "<color string>"
background_selected_hover = "<color string>"
border_active = "<color string>"
[buttons.secondary]
background = "<color string>"
background_hover = "<color string>"
background_selected = "<color string>"
background_selected_hover = "<color string>"
border_active = "<color string>"
[buffer]
action = <text style>
background = "<color string>"
background_text_input = "<color string>"
background_title_bar = "<color string>"
border = "<color string>"
border_selected = "<color string>"
code = <text style>
focus_border = "<color string>"
focus_background = "<color string>"
highlight = "<color string>"
nickname = <text style>
nickname_offline = <text style>
self_message = <text style>
selection = "<color string>"
timestamp = <text style>
topic = <text style>
url = <text style>
backlog_rule = "<color string>"
backlog_rule_text = "<color string>"
date_rule = "<color string>"
date_rule_text = "<color string>"
[buffer.server_messages]
# Set below if you want to have a unique color for each.
# Otherwise simply set `default` to use that for all server messages.
#
# away = <text style>
# change_host = <text style>
# change_mode = <text style>
# change_nick = <text style>
# change_topic = <text style>
# invite = <text style>
# join = <text style>
# join_topic = <text style>
# kick = <text style>
# part = <text style>
# quit = <text style>
# request_topic = <text style>
# monitored_online = <text style>
# monitored_offline = <text style>
# standard_reply_fail = <text style>
# standard_reply_warn = <text style>
# standard_reply_note = <text style>
# wallops = <text style>
default = <text style>
[formatting]
# Set below if you want override the default color used in formatted messages.
#
# white = "<color string>"
# black = "<color string>"
# blue = "<color string>"
# green = "<color string>"
# red = "<color string>"
# brown = "<color string>"
# magenta = "<color string>"
# orange = "<color string>"
# yellow = "<color string>"
# lightgreen = "<color string>"
# cyan = "<color string>"
# lightcyan = "<color string>"
# lightblue = "<color string>"
# pink = "<color string>"
# grey = "<color string>"
# lightgrey = "<color string>"Du kan finde mere information om formatering af farver i guiden til tekstformatering.
Note
Standardtemaet Ferra kan ses som toml-fil på GitHub.
base16-farveskemaframeworket
indeholder hundredvis af farveskemaer bygget med 16 farver. Disse farveskemaer
er kompileret til Woggle i
4e554c4c/base16-halloy-
repositoriet.
For at bruge disse temaer skal du downloade themes.tar.gz fra den
seneste udgivelse
og pakke den ud i mappen themes i Woggles konfigurationsmappe. Derefter
kan du aktivere temaer enkeltvis i config.toml.
# Static
theme = "base16-gruvbox-dark-hard"Woggle: IRC-klient til moderering, lavet til ScoutLink-chanops, baseret på Halloy · Ikke et officielt ScoutLink-produkt (brug af logo) · Fundet en fejl? Opret en issue eller rediger siden.
English · Norsk · Dansk · Svenska
Woggle
- Funktioner
- Vinduer og menuer
- Genveje
- Flaglister
- Stats (engelsk)
- Om Halloy
Kom i gang
Konfiguration
- Inklusions-/eksklusionsbetingelser
- Handlinger
- Buffer
- Kanalovervågning
- Søg efter opdatering ved start
- Kommandoer
- Konfigurationseditor
- Kontekstmenu
- CTCP
- Visning
- Filoverførsel
- Filupload
- Skrifttype
- Highlights
- Tastatur
- Logge
- Metadata
- Notifikationer
- Rude
- Platformspecifikt
- Forhåndsvisning
- Proxy
- Runtime
- Skaleringsfaktor
- Servere
- Sidebar
- Temaer
- Værktøjstip
- Vindue
Guider
- Bygning til Flatpak
- Bygning til macOS
- Forbind med soju
- Forbind med ZNC
- TLS-kompatibilitet og fejlsøgning
- Kommandolinje
- Egne temaer
- Exec-kommando
- Eksempler på serverkonfigurationer
- Overvåg brugere
- Flere servere
- Valgfrie funktioner
- Bærbar tilstand
- Udtale
- Reducér støj
- Enkelt rude
- Gem adgangskoder i en fil
- Gem adgangskoder i systemets nøglering
- Filuploads
- Interne buffere
- Unix-signaler
- Tekstformatering
- URL-skemaer
- Flatpak-tips