mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-17 03:56:19 +02:00
refactor: replace icons with svg components, relocate icons and images, rename directories
This commit is contained in:
parent
b72b59358b
commit
5b9c2d562a
172 changed files with 228 additions and 241 deletions
|
@ -14,8 +14,8 @@ To meet personalization needs, I've created several color schemes for the theme.
|
|||
|
||||
## Scallion White
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
```
|
||||
light: {
|
||||
|
@ -32,8 +32,8 @@ dark: {
|
|||
|
||||
## Raven Teal
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
```
|
||||
light: {
|
||||
|
@ -50,8 +50,8 @@ dark: {
|
|||
|
||||
## Ink Blue
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
```
|
||||
light: {
|
||||
|
@ -68,8 +68,8 @@ dark: {
|
|||
|
||||
## Ecru
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
```
|
||||
light: {
|
||||
|
|
|
@ -14,8 +14,8 @@ Para satisfacer las necesidades de personalización, he creado varios esquemas d
|
|||
|
||||
## Blanco Cebollino
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
```
|
||||
light: {
|
||||
|
@ -32,8 +32,8 @@ dark: {
|
|||
|
||||
## Azul Cuervo
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
```
|
||||
light: {
|
||||
|
@ -50,8 +50,8 @@ dark: {
|
|||
|
||||
## Azul Tinta
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
```
|
||||
light: {
|
||||
|
@ -68,8 +68,8 @@ dark: {
|
|||
|
||||
## Beige
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
```
|
||||
light: {
|
||||
|
|
|
@ -14,8 +14,8 @@ Retypesetは、[OKLCH](https://oklch.com/)カラースペースに基づいて
|
|||
|
||||
## 葱白色
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
```
|
||||
light: {
|
||||
|
@ -32,8 +32,8 @@ dark: {
|
|||
|
||||
## 烏青
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
```
|
||||
light: {
|
||||
|
@ -50,8 +50,8 @@ dark: {
|
|||
|
||||
## 墨藍
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
```
|
||||
light: {
|
||||
|
@ -68,8 +68,8 @@ dark: {
|
|||
|
||||
## 米色
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
```
|
||||
light: {
|
||||
|
|
|
@ -14,8 +14,8 @@ Retypeset определяет цветовые схемы темы на осн
|
|||
|
||||
## Бледно-зелёный
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
```
|
||||
light: {
|
||||
|
@ -32,8 +32,8 @@ dark: {
|
|||
|
||||
## Воронёный
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
```
|
||||
light: {
|
||||
|
@ -50,8 +50,8 @@ dark: {
|
|||
|
||||
## Чернильно-синий
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
```
|
||||
light: {
|
||||
|
@ -68,8 +68,8 @@ dark: {
|
|||
|
||||
## Кремовый
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
```
|
||||
light: {
|
||||
|
|
|
@ -14,8 +14,8 @@ Retypeset 基於 [OKLCH](https://oklch.com/) 顏色空間來定義主題配色
|
|||
|
||||
## 蔥白
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
```
|
||||
light: {
|
||||
|
@ -32,8 +32,8 @@ dark: {
|
|||
|
||||
## 鴉青
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
```
|
||||
light: {
|
||||
|
@ -50,8 +50,8 @@ dark: {
|
|||
|
||||
## 墨藍
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
```
|
||||
light: {
|
||||
|
@ -68,8 +68,8 @@ dark: {
|
|||
|
||||
## 米黃
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
```
|
||||
light: {
|
||||
|
|
|
@ -14,8 +14,8 @@ Retypeset 基于 [OKLCH](https://oklch.com/) 颜色空间来定义主题配色
|
|||
|
||||
## 葱白
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
```
|
||||
light: {
|
||||
|
@ -32,8 +32,8 @@ dark: {
|
|||
|
||||
## 鸦青
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
```
|
||||
light: {
|
||||
|
@ -50,8 +50,8 @@ dark: {
|
|||
|
||||
## 墨蓝
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
```
|
||||
light: {
|
||||
|
@ -68,8 +68,8 @@ dark: {
|
|||
|
||||
## 米黄
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
```
|
||||
light: {
|
||||
|
|
|
@ -34,7 +34,7 @@ site: {
|
|||
url: 'https://retypeset.radishzz.cc'
|
||||
// favicon url
|
||||
// recommended formats: svg, png or ico
|
||||
favicon: '/icon/favicon.svg' // or https://example.com/favicon.svg
|
||||
favicon: '/icons/favicon.svg' // or https://example.com/favicon.svg
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -242,7 +242,7 @@ Open Graph social image styles.
|
|||
|
||||
getImageOptions: (_path, page) => ({
|
||||
logo: {
|
||||
path: './public/icon/og-logo.png', // Required local path and PNG format
|
||||
path: './public/icons/og-logo.png', // Required local path and PNG format
|
||||
size: [250], // Logo width
|
||||
},
|
||||
font: {
|
||||
|
|
|
@ -34,7 +34,7 @@ site: {
|
|||
url: 'https://retypeset.radishzz.cc'
|
||||
// url del favicon
|
||||
// formatos recomendados: svg, png o ico
|
||||
favicon: '/icon/favicon.svg' // o https://example.com/favicon.svg
|
||||
favicon: '/icons/favicon.svg' // o https://example.com/favicon.svg
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -242,7 +242,7 @@ Estilos de imágenes sociales Open Graph.
|
|||
|
||||
getImageOptions: (_path, page) => ({
|
||||
logo: {
|
||||
path: './public/icon/og-logo.png', // Ruta local requerida y formato PNG
|
||||
path: './public/icons/og-logo.png', // Ruta local requerida y formato PNG
|
||||
size: [250], // Ancho del logo
|
||||
},
|
||||
font: {
|
||||
|
|
|
@ -34,7 +34,7 @@ site: {
|
|||
url: 'https://retypeset.radishzz.cc'
|
||||
// ファビコンURL
|
||||
// 推奨フォーマット: svg, png, ico
|
||||
favicon: '/icon/favicon.svg' // または https://example.com/favicon.svg
|
||||
favicon: '/icons/favicon.svg' // または https://example.com/favicon.svg
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -242,7 +242,7 @@ Open Graphソーシャル画像スタイル。
|
|||
|
||||
getImageOptions: (_path, page) => ({
|
||||
logo: {
|
||||
path: './public/icon/og-logo.png', // ローカルパスのPNG形式が必要
|
||||
path: './public/icons/og-logo.png', // ローカルパスのPNG形式が必要
|
||||
size: [250], // ロゴの幅
|
||||
},
|
||||
font: {
|
||||
|
|
|
@ -34,7 +34,7 @@ site: {
|
|||
url: 'https://retypeset.radishzz.cc'
|
||||
// url фавикона
|
||||
// рекомендуемые форматы: svg, png или ico
|
||||
favicon: '/icon/favicon.svg' // или https://example.com/favicon.svg
|
||||
favicon: '/icons/favicon.svg' // или https://example.com/favicon.svg
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -242,7 +242,7 @@ const EXCERPT_LENGTHS: Record<ExcerptScene, {
|
|||
|
||||
getImageOptions: (_path, page) => ({
|
||||
logo: {
|
||||
path: './public/icon/og-logo.png', // Требуется локальный путь и формат PNG
|
||||
path: './public/icons/og-logo.png', // Требуется локальный путь и формат PNG
|
||||
size: [250], // Ширина логотипа
|
||||
},
|
||||
font: {
|
||||
|
|
|
@ -34,7 +34,7 @@ site: {
|
|||
url: 'https://retypeset.radishzz.cc'
|
||||
// 站點圖標
|
||||
// 推薦格式: svg, png, ico
|
||||
favicon: '/icon/favicon.svg' // 或 https://example.com/favicon.svg
|
||||
favicon: '/icons/favicon.svg' // 或 https://example.com/favicon.svg
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -242,7 +242,7 @@ Open Graph 社交圖片樣式。
|
|||
|
||||
getImageOptions: (_path, page) => ({
|
||||
logo: {
|
||||
path: './public/icon/og-logo.png', // 本地路徑的 PNG 圖片
|
||||
path: './public/icons/og-logo.png', // 本地路徑的 PNG 圖片
|
||||
size: [250], // logo 寬度
|
||||
},
|
||||
font: {
|
||||
|
|
|
@ -34,7 +34,7 @@ site: {
|
|||
url: 'https://retypeset.radishzz.cc'
|
||||
// 站点图标
|
||||
// 推荐格式: svg, png, ico
|
||||
favicon: '/icon/favicon.svg' // 或 https://example.com/favicon.svg
|
||||
favicon: '/icons/favicon.svg' // 或 https://example.com/favicon.svg
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -242,7 +242,7 @@ Open Graph 社交图片样式。
|
|||
|
||||
getImageOptions: (_path, page) => ({
|
||||
logo: {
|
||||
path: './public/icon/og-logo.png', // 本地路径的 PNG 图片
|
||||
path: './public/icons/og-logo.png', // 本地路径的 PNG 图片
|
||||
size: [250], // logo 宽度
|
||||
},
|
||||
font: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue