> For the complete documentation index, see [llms.txt](https://docs.cherryai.com.cn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cherryai.com.cn/docs/jp/pre-basic/personalization-settings/custom-css.md).

# カスタムCSS

カスタム CSS を使うと、ソフトウェアの外観を自分の好みにより合わせて変更できます。たとえば次のように：

<figure><img src="/files/0dc4c2cc10434b4c245ce90f16f09b2627934a4e" alt=""><figcaption><p>カスタム CSS</p></figcaption></figure>

```css
:root {
  --color-background: #1a462788;
  --color-background-soft: #1a4627aa;
  --color-background-mute: #1a462766;
  --navbar-background: #1a4627;
  --chat-background: #1a4627;
  --chat-background-user: #28b561;
  --chat-background-assistant: #1a462722;
}

#content-container {
  background-color: #2e5d3a !important;
}
```

### 組み込み変数

```css
:root {
  font-family: "汉仪唐美人" !important; /* フォント */
}

/* 深い思考を展開したときのフォント色 */
.ant-collapse-content-box .markdown {
  color: red;
}

/* テーマ変数 */
:root {
  --color-black-soft: #2a2b2a; /* 暗色背景色 */
  --color-white-soft: #f8f7f2; /* 明るい背景色 */
}

/* ダークテーマ */
body[theme-mode="dark"] {
  /* 色 */
  --color-background: #2b2b2b; /* 暗色背景色 */
  --color-background-soft: #303030; /* 明るい背景色 */
  --color-background-mute: #282c34; /* 中間背景色 */
  --navbar-background: var(-–color-black-soft); /* ナビゲーションバーの背景色 */
  --chat-background: var(–-color-black-soft); /* チャット背景色 */
  --chat-background-user: #323332; /* ユーザーのチャット背景色 */
  --chat-background-assistant: #2d2e2d; /* アシスタントのチャット背景色 */
}

/* ダークテーマ固有のスタイル */
body[theme-mode="dark"] {
  #content-container {
    background-color: var(-–chat-background-assistant) !important; /* コンテンツコンテナの背景色 */
  }

  #content-container #messages {
    background-color: var(-–chat-background-assistant); /* メッセージの背景色 */
  }

  .inputbar-container {
    background-color: #3d3d3a; /* 入力欄の背景色 */
    border: 1px solid #5e5d5940; /* 入力欄の枠線の色 */
    border-radius: 8px; /* 入力欄の角丸 */
  }

  /* コードスタイル */
  code {
    background-color: #e5e5e20d; /* コードの背景色 */
    color: #ea928a; /* コードの文字色 */
  }

  pre code {
    color: #abb2bf; /* 整形済みコードの文字色 */
  }
}

/* ライトテーマ */
body[theme-mode="light"] {
  /* 色 */
  --color-white: #ffffff; /* 白色 */
  --color-background: #ebe8e2; /* 明るい背景色 */
  --color-background-soft: #cbc7be; /* 明るい背景色 */
  --color-background-mute: #e4e1d7; /* 中間背景色  */
  --navbar-background: var(-–color-white-soft); /* ナビゲーションバーの背景色 */
  --chat-background: var(-–color-white-soft); /* チャット背景色 */
  --chat-background-user: #f8f7f2; /* ユーザーのチャット背景色 */
  --chat-background-assistant: #f6f4ec; /* アシスタントのチャット背景色 */
}

/* ライトテーマ固有のスタイル */
body[theme-mode="light"] {
  #content-container {
    background-color: var(-–chat-background-assistant) !important; /* コンテンツコンテナの背景色 */
  }

  #content-container #messages {
    background-color: var(-–chat-background-assistant); /* メッセージの背景色 */
  }

  .inputbar-container {
    background-color: #ffffff; /* 入力欄の背景色 */
    border: 1px solid #87867f40; /* 入力欄の枠線の色 */
    border-radius: 8px; /* 入力欄の角丸を、お好みのサイズに変更 */
  }

  /* コードスタイル */
  code {
    background-color: #3d39290d; /* コードの背景色 */
    color: #7c1b13; /* コードの文字色 */
  }

  pre code {
    color: #000000; /* 整形済みコードの文字色 */
  }
}
```

その他のテーマ変数については、ソースコードを参照してください：<https://github.com/CherryHQ/cherry-studio/tree/main/src/renderer/src/assets/styles>

### 関連おすすめ

Cherry Studio テーマライブラリ: <https://github.com/boilcy/cherrycss>

中国風の Cherry Studio テーマスキンをいくつか紹介します： <https://linux.do/t/topic/325119/129>

***

### 💡 ヘルプの取得とフィードバックの送信

設定や使用の過程で疑問、Bug、機能改善の提案がある場合は、 [フィードバックと提案](/docs/jp/question-contact/suggestions.md) に記載の公式チャネルをご参照ください。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.cherryai.com.cn/docs/jp/pre-basic/personalization-settings/custom-css.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
