# 테마

A theme changes how VDM looks and keeps everything where it was: the same windows, menus and buttons in the same places, drawn in other colours, shapes and icons. Each theme has a light and a dark side.

## 테마 선택

**보기 → 테마**를 열고 테마를 클릭하면 전체 창이 즉시 변경되며 다시 시작할 필요가 없습니다. **보기 → 다크 모드 지원** 및 **보기 → 항상 어둡게**를 사용하여 클래식 모양([다크 모드](https://vdm.mikaillab.com/ko/help/getting-started.html#dark-mode))처럼 밝은 모드 또는 어두운 모드를 선택할 수 있습니다.

The built-in themes are **Classic** (VDM's own look, the default), **Native** (your system's accent colour and contrast), **High contrast**, and the style themes **Metro**, **Adwaita**, **Breeze**, **Luna**, **Aero**, **Aqua** and **Emerald**, each with its own control shapes and icons, and on Windows its own title bar. [Getting started](https://vdm.mikaillab.com/ko/help/getting-started.html#themes) describes each one; the website's [Themes page](https://vdm.mikaillab.com/themes.html) shows them all, light and dark.

## 테마 파일 위치

Theme files you make or download go in VDM's themes folder. **View → Theme → Open themes folder** opens it (and makes it the first time). It is in VDM's data folder:

| 시스템 | 폴더 |
|---|---|
| Windows | `%APPDATA%\voltdownloadmanager\themes` |
| Linux | `~/.local/share/voltdownloadmanager/themes` |
| macOS | `~/Library/Application Support/voltdownloadmanager/themes` |
| [휴대용 복사본](https://vdm.mikaillab.com/ko/help/portable.html) | `data\themes`프로그램 옆 |

새 파일은 2초 이내에 **보기 → 테마**의 내장 테마 아래에 `name`가 지정한 이름으로 표시됩니다. 파일을 편집한 후에는 **보기 → 테마**에서 다시 선택하여 변경 사항을 확인하세요.

테마는 아이콘을 포함할 경우 하나의 파일(`harbour.toml`)이거나 자체 폴더(`harbour/theme.toml`)일 수 있습니다.

**View → Theme → Add a theme file…** does it for you: pick a file anywhere, and VDM copies it into the themes folder and uses it at once. A file that isn't a theme stays out, and VDM says why.

## Base16 및 pywal 색 구성표

다른 프로그램용으로 만들어진 색 구성표도 변환 없이 테마로 사용할 수 있습니다.

- **Base16 구성표**는 [Base16 및 Base24 구성표](https://github.com/tinted-theming/schemes)에 포함된 `.yaml` 파일입니다. 클래식 레이아웃(`scheme:` 및 상단의 `base00`부터 `base0F`까지)과 최신 레이아웃(`name:` 및 `palette:` 블록) 모두 지원합니다. Base24 구성표는 처음 16가지 색상을 읽습니다.
- **pywal의 `colors.json`** 또는 pywal 형식의 모든 프로그램 파일(wallust의 pywal 템플릿)도 사용할 수 있습니다.

**보기 → 테마 → 테마 파일 추가…**로 추가하거나 테마 폴더에 직접 넣을 수 있습니다. **보기 → 테마**에서 구성표 이름(`name:` 또는 `scheme:`; pywal은 배경화면 이름)으로 표시됩니다.

**pywal itself:** once `wal` has run, **View → Theme** lists **pywal**, read straight from where pywal writes its colours: `~/.cache/wal/colors.json` (on Windows `%USERPROFILE%\.cache\wal\colors.json`, where winwal and pywal write it; `$PYWAL_CACHE_DIR` or `$XDG_CACHE_HOME/wal` when you set them). Pick it and VDM follows your wallpaper: each time `wal` writes new colours, VDM takes them within two seconds. It looks only at the file's date and size, every two seconds, and only while pywal is the theme. A copy added with **Add a theme file…** keeps the colours it had.

A scheme changes colours only, on the classic look: every window, button and menu stays where it was. A dark scheme makes VDM dark and a light one light, whatever **View → Always dark** says. The scheme's colours go where they mean the same:

| VDM | Base16 | pywal |
|---|---|---|
| 다운로드 목록, 텍스트 상자 및 메뉴 | `base00`(배경) | `special.background` |
| Windows, 대화 상자, 도구 모음, 메뉴 모음 및 열 머리글 | `base01`(더 밝은 배경) | 배경에서 전경으로 한 단계 이동한 색 |
| 텍스트 | `base05`(전경) | `special.foreground` |
| 보조 텍스트(크기, 메모) | `base04` | `color8` |
| 포커스, 기본 버튼, 확인란, 링크, 선택 및 진행률 표시줄 | `base0D`(파란색) | `color4` |
| 오류 | `base08`(빨간색) | `color1` |
| 경고 | `base0A`(노란색) | `color3` |
| 성공, 측정기 및 토렌트 조각 | `base0B`(녹색) | `color2` |

Borders and the hover and pressed shades are mixed from these, as for a theme file's `[seeds]`. Text stays readable: text and secondary text at 4.5:1 or more against every background they sit on (WCAG AA), the accent at 3:1. A scheme short of that has those colours moved a little darker (lighter on a dark scheme) until they pass; VDM's log says which.

색상 외에 더 많은 것을 변경하려면 파일 이름으로 구성표를 상속하고 원하는 것을 추가하는 테마 파일을 만드세요.

```
name = "Gruvbox, my way"
inherits = "gruvbox-dark-medium"   # gruvbox-dark-medium.yaml, beside it
icons = "accent"

[sizes]
radius = 6
```

`inherits = "pywal"`동일하게 작동하며 `wal`도 따릅니다.

## 파일

테마는 [TOML](https://toml.io/)(또는 JSON, `.json`; 또는 [색 구성표](#base16-and-pywal-colour-schemes), `.yaml`) 형식의 작은 텍스트 파일입니다. 변경하는 내용만 명시하며, 나머지 모든 것은 `inherits`하는 테마에서 가져옵니다.

```
name = "Harbour"
inherits = "classic"
icons = "color"

[seeds.light]
background = "#eef3f6"
surface = "#ffffff"
text = "#11202b"
accent = "#0f6c8c"

[seeds.dark]
background = "#14212a"
surface = "#0e171d"
text = "#e8f0f4"
accent = "#5cc3e6"

[sizes]
radius = 6

[controls]
focus = "ring"
```

- **`name`** — **보기 → 테마**에 표시되는 이름입니다. 이름이 없으면 파일 이름이 사용됩니다.
- **`inherits`** — 현재 테마가 시작되는 테마입니다. `classic`(생략 시 기본값), 내장 테마의 ID(`metro`, `adwaita`, `breeze`, `luna`, `aero`, `aqua`, `high-contrast`), 또는 동일한 폴더에 있는 다른 테마 파일(확장자 `.toml` 제외한 파일 이름)이 될 수 있습니다. 다른 테마를 상속하는 파일은 다시 상속될 수 있지만, 테마는 자신을 상속할 수 없습니다.
- **`[seeds]`** — a handful of colours (`background`, `surface`, `header`, `text`, `accent`, `selection`, `error`, `warning`, `success`) that VDM spreads over every control. `[seeds.light]` and `[seeds.dark]` give each side its own.
- **`[colors]`** — 양쪽 모드에 적용되는 단일 색상 역할(예: `window`, `accent` 또는 `"segments.done"`)입니다. **`[light]`** 및 **`[dark]`**는 한쪽 모드에만 적용됩니다. 색상은 `#rrggbb` 또는 투명도가 있는 `#rrggbbaa` 형식입니다. 파일에 설정된 역할은 시드보다 우선합니다.
- **`[sizes]`** — 픽셀 단위의 모서리 반경, 테두리 너비, 글꼴 크기 및 행 높이입니다.
- **`[controls]`** — 텍스트 상자, 확인란, 버튼, 진행률 표시줄, 스크롤 막대, 열 머리글, 포커스 표시 및 제목 표시줄의 모양과 메뉴 글꼴.
- **`icons`** — `color`, `mono`(단일 색상) 또는 `accent`입니다.
- **`contrast = "high"`** — 모든 테두리와 텍스트 색상을 다른 요소 위에 더 강하게 만듭니다.

Every colour role, size and control style, with what it sets, is listed on the website's [Themes page](https://vdm.mikaillab.com/themes.html#make-your-own) (read from VDM's own code, so it never drifts). The built-in themes are written the same way: [read them on GitHub](https://github.com/mikailhossenimran/voltdownloadmanager/tree/main/crates/app/assets/themes).

A key VDM doesn't know, or a value it can't read, is skipped and written to VDM's log (the `logs` folder beside the themes folder), so a file made for a newer VDM still loads. A file that isn't valid TOML or JSON doesn't load, and the log says why. A file named like a built-in theme (`metro.toml`) is passed over: give yours a name of its own.

### 아이콘

자체 폴더(`harbour/theme.toml`)에 있는 테마는 `icons/16` 및 `icons/24`(그리고 PNG 이미지의 경우 150% 이상으로 확대된 화면에서 사용되는 `icons/32` 및 `icons/48`)에 아이콘을 포함할 수 있으며, 각 아이콘은 표시하는 내용(`tb-add-url.svg`, `cat-music.png` 등)에 따라 이름이 지정됩니다. SVG 및 PNG 파일은 원래 색상을 유지하며, GNOME 및 KDE에서 사용하는 `-symbolic.svg` 및 `-symbolic.png` 파일은 테마의 텍스트 색상을 따릅니다. 아이콘 세트에 없는 아이콘은 클래식 모양으로 그려집니다. 전체 이름 목록은 [themeicons.rs](https://github.com/mikailhossenimran/voltdownloadmanager/blob/main/crates/app/src/themeicons.rs)(`NEEDS`)에 있습니다.

## 테마 만들기

1. **보기 → 테마 → 테마 폴더 열기**를 클릭하고 새 `.toml` 파일을 만드세요(모든 텍스트 편집기 사용).
2. 위의 예시에서 시작하여 시드 색상을 변경한 다음, 필요에 따라 역할과 크기를 추가하세요.
3. **보기 → 테마**에서 테마를 선택하고, **보기 → 항상 어둡게**를 켜고 끄면서 양쪽 모드를 확인하세요. 양쪽 모드에서 텍스트가 읽기 쉽고 포커스 표시가 보이는지 확인하세요.

웹사이트의 [테마 페이지](https://vdm.mikaillab.com/themes.html#ai-prompt)에는 AI 비서에게 줄 수 있는 프롬프트가 있습니다. 형식, 모든 키 및 규칙이 포함되어 있어 설명만으로 테마를 작성할 수 있습니다.

## 공유하기

다른 사람들이 좋아할 만한 것을 만드셨나요? `crates/app/assets/themes`에 추가하는 [풀 리퀘스트](https://github.com/mikailhossenimran/voltdownloadmanager/pulls)를 열어주세요. 다음 내용을 포함해야 합니다.

- `.toml` 파일과 아이콘 폴더(있는 경우);
- 메인 창의 밝은 면과 어두운 면 스크린샷;
- a `SOURCES.txt` beside any icons, saying who drew them and under which licence. Icons must be your own or under a licence that lets VDM share them (GPL-3.0), never copied from another program.

아직 확실하지 않으신가요? 먼저 [토론](https://github.com/mikailhossenimran/voltdownloadmanager/discussions)에서 보여주세요. [CONTRIBUTING.md](https://vdm.mikaillab.com/ko/contributing.html)에서 풀 리퀘스트가 어떻게 작동하는지 설명합니다.

## 다음 단계

- [시작하기 →](https://vdm.mikaillab.com/ko/help/getting-started.html)
- [옵션 →](https://vdm.mikaillab.com/ko/help/options.html)

## 관련 항목

- [옵션](https://vdm.mikaillab.com/ko/help/options.html)
- [언어](https://vdm.mikaillab.com/ko/help/languages.html)
- [휴대용 모드](https://vdm.mikaillab.com/ko/help/portable.html)
- [바로 가기 키](https://vdm.mikaillab.com/ko/help/keyboard-shortcuts.html)
- [명령줄 및 자동화](https://vdm.mikaillab.com/ko/help/command-line.html)

[GitHub에서 이 페이지 편집](https://github.com/mikailhossenimran/voltdownloadmanager/edit/main/docs/themes.md) [이 페이지의 문제 보고](https://github.com/mikailhossenimran/voltdownloadmanager/issues/new?template=website.yml&title=Website%3A%20Themes&page=https%3A//vdm.mikaillab.com/help/themes.html) [페이지 기록](https://github.com/mikailhossenimran/voltdownloadmanager/commits/main/docs/themes.md)

무료, 오픈 소스, 광고 없음, 평가판 없음.

[Download Volt Download Manager](https://vdm.mikaillab.com/ko/download.html)
