diff options
Diffstat (limited to 'res/about/help.gmi')
-rw-r--r-- | res/about/help.gmi | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/res/about/help.gmi b/res/about/help.gmi index d8a2749b..9ebf79ba 100644 --- a/res/about/help.gmi +++ b/res/about/help.gmi | |||
@@ -501,6 +501,63 @@ Translation table for keyboard modifiers. For example, one could swap the Alt an | |||
501 | ### mimehooks.txt | 501 | ### mimehooks.txt |
502 | See section 4. | 502 | See section 4. |
503 | 503 | ||
504 | ### palette.txt | ||
505 | Palette for UI color themes. This configuration file does not exist by default and must be created manually. | ||
506 | |||
507 | The actual colors used in the user interface are derived from the base palette. Therefore, you should not change the colors too drastically, but instead follow the expected pattern: a range of 5 intensities (black-white), followed by two accent color pairs (dim, bright). The last five colors are reserved for certain specific uses, e.g., the green is used for the navbar lock icon to indicate a trusted server certificate. The palettes defined here do not affect page color themes, only the UI. Note that link icons are considered part of the UI, so you may find that changing the palette will reduce visibility of the icons with some of the page color themes. | ||
508 | |||
509 | The file specifies two palettes: one for dark mode and one for light mode. The current palette is selected with the lines: | ||
510 | ``` | ||
511 | # Dark | ||
512 | ``` | ||
513 | and | ||
514 | ``` | ||
515 | # Light | ||
516 | ``` | ||
517 | |||
518 | The other lines specify colors: | ||
519 | > {label}: {rgb-hex} | ||
520 | > {label}: {red} {green} {blue} | ||
521 | * {rgb-hex} must use the form "#RRGGBB" | ||
522 | * {red}, {green}, {blue} are decimal numbers in the range 0...255 | ||
523 | |||
524 | The configuration below defines the built-in default palette: | ||
525 | ```palette.txt with the default UI palette | ||
526 | # Dark | ||
527 | |||
528 | black: #000000 | ||
529 | gray25: #282828 | ||
530 | gray50: #505050 | ||
531 | gray75: #A0A0A0 | ||
532 | white: #FFFFFF | ||
533 | brown: 106 80 0 | ||
534 | orange: 255 192 0 | ||
535 | teal: 0 96 128 | ||
536 | cyan: 0 192 255 | ||
537 | yellow: 255 255 32 | ||
538 | red: 255 64 64 | ||
539 | magenta: 255 0 255 | ||
540 | blue: 132 132 255 | ||
541 | green: 0 200 0 | ||
542 | |||
543 | # Light | ||
544 | |||
545 | black: 0 0 0 | ||
546 | gray25: 75 75 75 | ||
547 | gray50: 150 150 150 | ||
548 | gray75: 235 235 235 | ||
549 | white: 255 255 255 | ||
550 | brown: 210 120 10 | ||
551 | orange: 235 215 200 | ||
552 | teal: 10 110 130 | ||
553 | cyan: 170 215 220 | ||
554 | yellow: 255 255 32 | ||
555 | red: 255 64 64 | ||
556 | magenta: 255 0 255 | ||
557 | blue: 132 132 255 | ||
558 | green: 0 150 0 | ||
559 | ``` | ||
560 | |||
504 | ### prefs.cfg | 561 | ### prefs.cfg |
505 | Persistent configuration variables. The file is rewritten when the application is closed. Each line is interpreted as an internal UI event like those printed with the --echo command line option. | 562 | Persistent configuration variables. The file is rewritten when the application is closed. Each line is interpreted as an internal UI event like those printed with the --echo command line option. |
506 | 563 | ||