From a05ba20c85ed53cf1def9c5bc77e1560f8037d0a Mon Sep 17 00:00:00 2001 From: ZhenShuo Leo <98386542+ZhenShuo2021@users.noreply.github.com> Date: Sat, 18 Oct 2025 21:21:45 +0800 Subject: [PATCH] feat: add new color scheme "one-light" --- assets/css/schemes/one-light.css | 35 +++++++++++++++++++ .../content/docs/getting-started/index.it.md | 6 +++- .../content/docs/getting-started/index.ja.md | 6 +++- .../content/docs/getting-started/index.md | 6 +++- .../docs/getting-started/index.zh-cn.md | 6 +++- 5 files changed, 55 insertions(+), 4 deletions(-) create mode 100644 assets/css/schemes/one-light.css diff --git a/assets/css/schemes/one-light.css b/assets/css/schemes/one-light.css new file mode 100644 index 00000000..dbd6007f --- /dev/null +++ b/assets/css/schemes/one-light.css @@ -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; +} diff --git a/exampleSite/content/docs/getting-started/index.it.md b/exampleSite/content/docs/getting-started/index.it.md index 98ebffb7..16e73153 100644 --- a/exampleSite/content/docs/getting-started/index.it.md +++ b/exampleSite/content/docs/getting-started/index.it.md @@ -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 diff --git a/exampleSite/content/docs/getting-started/index.ja.md b/exampleSite/content/docs/getting-started/index.ja.md index 57578a0a..ab155247 100644 --- a/exampleSite/content/docs/getting-started/index.ja.md +++ b/exampleSite/content/docs/getting-started/index.ja.md @@ -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" >}})セクションを参照してください。 ## コンテンツの整理 diff --git a/exampleSite/content/docs/getting-started/index.md b/exampleSite/content/docs/getting-started/index.md index 89cb63cc..ef5aa866 100644 --- a/exampleSite/content/docs/getting-started/index.md +++ b/exampleSite/content/docs/getting-started/index.md @@ -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 diff --git a/exampleSite/content/docs/getting-started/index.zh-cn.md b/exampleSite/content/docs/getting-started/index.zh-cn.md index 9d4df149..22e089a0 100644 --- a/exampleSite/content/docs/getting-started/index.zh-cn.md +++ b/exampleSite/content/docs/getting-started/index.zh-cn.md @@ -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" >}}) 。 ## 整理内容