feat: add new color scheme "one-light"

This commit is contained in:
ZhenShuo Leo
2025-10-18 21:21:45 +08:00
parent be89d0e2b3
commit a05ba20c85
5 changed files with 55 additions and 4 deletions

View File

@@ -0,0 +1,35 @@
:root {
--color-neutral: 255, 255, 255;
--color-neutral-50: 248, 248, 248;
--color-neutral-100: 241, 241, 241;
--color-neutral-200: 226, 226, 226;
--color-neutral-300: 203, 203, 203;
--color-neutral-400: 188, 188, 188;
--color-neutral-500: 100, 100, 100;
--color-neutral-600: 71, 71, 71;
--color-neutral-700: 45, 45, 45;
--color-neutral-800: 23, 23, 23;
--color-neutral-900: 15, 15, 15;
--color-primary-50: 224, 244, 255;
--color-primary-100: 179, 224, 255;
--color-primary-200: 128, 202, 255;
--color-primary-300: 77, 179, 249;
--color-primary-400: 31, 158, 234;
--color-primary-500: 0, 122, 204;
--color-primary-600: 0, 110, 184;
--color-primary-700: 0, 94, 163;
--color-primary-800: 0, 79, 143;
--color-primary-900: 0, 57, 111;
--color-secondary-50: 225, 244, 238;
--color-secondary-100: 182, 227, 212;
--color-secondary-200: 135, 209, 184;
--color-secondary-300: 88, 190, 157;
--color-secondary-400: 55, 175, 137;
--color-secondary-500: 32, 160, 119;
--color-secondary-600: 28, 146, 107;
--color-secondary-700: 22, 130, 92;
--color-secondary-800: 12, 114, 79;
--color-secondary-900: 0, 86, 52;
}

View File

@@ -66,7 +66,7 @@ Se hai bisogno di ulteriori dettagli, ulteriori informazioni su ciascuna di ques
## Schemi di colori
Blowfish viene fornito con una serie di schemi di colori già pronti. Per cambiare lo schema, è sufficiente impostare il parametro del tema `colorScheme`. Le opzioni valide sono `blowfish` (default), `avocado`, `fire`, `ocean`, `forest`, `princess`, `neon`, `bloody`, `terminal`, `marvel`, `noir`, `autumn`, `congo`, `slate` and `github`.
Blowfish viene fornito con una serie di schemi di colori già pronti. Per cambiare lo schema, è sufficiente impostare il parametro del tema `colorScheme`. Le opzioni valide sono `blowfish` (default), `avocado`, `fire`, `ocean`, `forest`, `princess`, `neon`, `bloody`, `terminal`, `marvel`, `noir`, `autumn`, `congo`, `slate`, `github` and `one-light`.
```toml
# config/_default/params.toml
@@ -136,6 +136,10 @@ Blowfish definisce una palette di tre colori che viene utilizzata in tutto il te
{{< swatches "#64748b" "#0092ff" "#f54728" >}}
### One-Light
{{< swatches "#646464" "#0070cc" "#20a077" >}}
Sebbene questi siano gli schemi predefiniti, è possibile crearne di propri. Per maggiori informazioni, consultare la sezione [Personalizzazione avanzata]({{< ref "advanced-customisation#colour-schemes" >}}).
## Organizzazione dei contenuti

View File

@@ -63,7 +63,7 @@ links = [
## カラースキーム
Blowfish には、すぐに使用できる多くのカラースキームが付属しています。スキームを変更するには、`colorScheme` テーマパラメータを設定するだけです。有効なオプションは、`blowfish` (デフォルト)、`avocado``fire``ocean``forest``princess``neon``bloody``terminal``marvel``noir``autumn``congo``slate``github` です。
Blowfish には、すぐに使用できる多くのカラースキームが付属しています。スキームを変更するには、`colorScheme` テーマパラメータを設定するだけです。有効なオプションは、`blowfish` (デフォルト)、`avocado``fire``ocean``forest``princess``neon``bloody``terminal``marvel``noir``autumn``congo``slate``github``one-light` です。
```toml
# config/_default/params.toml
@@ -133,6 +133,10 @@ Blowfish は、テーマ全体で使用される3色のパレットを定義し
{{< swatches "#64748b" "#0092ff" "#f54728" >}}
### One-Light
{{< swatches "#646464" "#0070cc" "#20a077" >}}
これらはデフォルトのスキームですが、独自のスキームを作成することもできます。詳細については、[高度なカスタマイズ]({{< ref "advanced-customisation#colour-schemes" >}})セクションを参照してください。
## コンテンツの整理

View File

@@ -63,7 +63,7 @@ If you need extra detail, further information about each of these configuration
## Colour schemes
Blowfish ships with a number of colour schemes out of the box. To change the scheme, simply set the `colorScheme` theme parameter. Valid options are `blowfish` (default), `avocado`, `fire`, `ocean`, `forest`, `princess`, `neon`, `bloody`, `terminal`, `marvel`, `noir`, `autumn`, `congo`, `slate` and `github`.
Blowfish ships with a number of colour schemes out of the box. To change the scheme, simply set the `colorScheme` theme parameter. Valid options are `blowfish` (default), `avocado`, `fire`, `ocean`, `forest`, `princess`, `neon`, `bloody`, `terminal`, `marvel`, `noir`, `autumn`, `congo`, `slate`, `github` and `one-light`.
```toml
# config/_default/params.toml
@@ -133,6 +133,10 @@ Blowfish defines a three-colour palette that is used throughout the theme. Each
{{< swatches "#64748b" "#0092ff" "#f54728" >}}
### One-Light
{{< swatches "#646464" "#0070cc" "#20a077" >}}
Although these are the default schemes, you can also create your own. Refer to the [Advanced Customisation]({{< ref "advanced-customisation#colour-schemes" >}}) section for details.
## Organising content

View File

@@ -63,7 +63,7 @@ links = [
## 颜色方案
Blowfish 主题中包含了数个颜色方案,这些方案可以快速使用。如果需要修改方案,只需要简单的设置 `colorScheme` 参数即可。`colorScheme` 可选的值有`blowfish` (默认)、`avocado``fire``ocean``forest``princess``neon``bloody``terminal``marvel``noir``autumn``congo``slate``github`
Blowfish 主题中包含了数个颜色方案,这些方案可以快速使用。如果需要修改方案,只需要简单的设置 `colorScheme` 参数即可。`colorScheme` 可选的值有`blowfish` (默认)、`avocado``fire``ocean``forest``princess``neon``bloody``terminal``marvel``noir``autumn``congo``slate``github``one-light`
```toml
# config/_default/params.toml
@@ -133,6 +133,10 @@ Blowfish 定义了一种由三种主色调构成的配色方案,每种主色
{{< swatches "#64748b" "#0092ff" "#f54728" >}}
### One-Light
{{< swatches "#646464" "#0070cc" "#20a077" >}}
这些是内置的配色方案,你也可以去自定义这一部分,请参阅 [高级自定义]({{< ref "advanced-customisation#colour-schemes" >}}) 。
## 整理内容