docs: update favicon

This commit is contained in:
Johann Schopplich
2025-11-18 18:44:40 +01:00
parent d339d75f53
commit 3d2788df53
5 changed files with 14 additions and 6 deletions

View File

@@ -1,9 +1,17 @@
import type { Theme } from 'vitepress'
import DefaultTheme from 'vitepress/theme' import DefaultTheme from 'vitepress/theme'
import './vars.css' import './vars.css'
import './overrides.css' import './overrides.css'
import 'uno.css' import 'uno.css'
export default { const config: Theme = {
...DefaultTheme, extends: DefaultTheme,
enhanceApp({ app }) {
app.config.globalProperties.$spec = {
version: '2.0',
}
},
} }
export default config

View File

@@ -1,6 +1,6 @@
--- ---
layout: home layout: home
titleTemplate: Token-Oriented Object Notation
hero: hero:
name: TOON name: TOON
text: Token-Oriented Object Notation text: Token-Oriented Object Notation

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 5.3 KiB

View File

@@ -1 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 180 180"><g clip-path="url(#a)"><path fill="#fef3c0" d="M160 20h20v140h-20v20H20v-20H0V20h20V0h140z"/><path fill="#fff" d="M120 40h20v20h-20z"/><path fill="#1b1b1f" d="M160 80h-60V20h60zm-40-20h20V40h-20zM140 100v20h-20v40h-20v-60zm20 60h-20v-40h20z"/><path fill="#fff" d="M40 120h20v20H40z"/><path fill="#1b1b1f" d="M80 160H20v-60h60zm-40-20h20v-20H40zM60 80H40V40H20V20h60v20H60z"/></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h180v180H0z"/></clipPath></defs></svg> <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 180 180"><g clip-path="url(#a)"><path fill="#fef3c0" d="M0 59.76C0 10.548 10.548 0 59.76 0h60.48C169.452 0 180 10.548 180 59.76v60.48c0 49.212-10.548 59.76-59.76 59.76H59.76C10.548 180 0 169.452 0 120.24z"/><path fill="#fff" d="M120 40h20v20h-20z"/><path fill="#1b1b1f" d="M160 80h-60V20h60zm-40-20h20V40h-20zM140 100v20h-20v40h-20v-60zm20 60h-20v-40h20z"/><path fill="#fff" d="M40 120h20v20H40z"/><path fill="#1b1b1f" d="M80 160H20v-60h60zm-40-20h20v-20H40zM60 80H40V40H20V20h60v20H60z"/></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h180v180H0z"/></clipPath></defs></svg>

Before

Width:  |  Height:  |  Size: 540 B

After

Width:  |  Height:  |  Size: 645 B

View File

@@ -9,7 +9,7 @@ You don't need this page to *use* TOON. It's mainly for implementers and contrib
## Current Version ## Current Version
**Spec v2.0** (2025-11-10) is the current stable version. **Spec v{{ $spec.version }}** (2025-11-10) is the current stable version.
## Guided Tour of the Spec ## Guided Tour of the Spec
@@ -127,7 +127,7 @@ Validators should verify:
## Versioning ## Versioning
The spec uses semantic versioning (major.minor): The spec uses semantic versioning (major.minor):
- **Major version** (e.g., v2.0): Breaking changes, incompatible with previous versions - **Major version** (e.g., v{{ $spec.version }}): Breaking changes, incompatible with previous versions
- **Minor version** (e.g., v1.5 → v1.6): Clarifications, additional requirements, or backward-compatible additions - **Minor version** (e.g., v1.5 → v1.6): Clarifications, additional requirements, or backward-compatible additions
See [Appendix D: Document Changelog](https://github.com/toon-format/spec/blob/main/SPEC.md#appendix-d-document-changelog-informative) for detailed version history. See [Appendix D: Document Changelog](https://github.com/toon-format/spec/blob/main/SPEC.md#appendix-d-document-changelog-informative) for detailed version history.