Update Theme

This commit is contained in:
Daniel Mason 2024-04-07 14:32:03 +12:00
parent a212477863
commit d47be661bd
Signed by: idanoo
GPG Key ID: 387387CDBC02F132
212 changed files with 13069 additions and 8406 deletions

View File

@ -0,0 +1,17 @@
version: 2.1
jobs:
build-check:
docker:
- image: cibuilds/hugo:0.62
working_directory: ~/LoveIt
steps:
- checkout
- run: git submodule sync
- run: git submodule update --init
- run: hugo --source=exampleSite -v --gc
- run: htmlproofer exampleSite/public --check-html --allow-hash-href --empty-alt-ignore --disable-external
workflows:
build-check-exampleSite:
jobs:
- build-check

1
themes/LoveIt/.github/FUNDING.yml vendored Normal file
View File

@ -0,0 +1 @@
custom: https://paypal.me/dillonzq

View File

@ -0,0 +1,41 @@
---
name: Bug Report 错误报告
about: Create a bug report 创建一个错误报告
title: "[BUG] Some problem..."
labels: bug
---
### Describe the bug 描述你遇到的错误
A clear and concise description of what the bug is.
一段简短的对于你遇到的错误的描述.
### Expected behavior 期待的行为
A clear and concise description of what you expected to happen.
一段简短的对于你期待的行为的描述.
### Screenshots 屏幕截图
If applicable, add screenshots to help explain your problem.
如果可以的话, 提供屏幕截图对解决问题很有帮助.
### Build Environment 构建环境
- OS: [e.g. Windows 11, macOS, Ubuntu]
- Theme version/commit [e.g. 0.2.0, 2ccba79]
- Hugo version [e.g. 0.69.0]
Please try to use Hugo **extended** version before opening the issue.
请在创建 issue 之前先尝试使用 Hugo **extended** 版本构建.
### Preview Environment 预览环境
- OS: [e.g. Windows 11, macOS, Ubuntu, iOS, Android]
- Browser type/version [e.g. Chrome 103.0.5060.53, Safari 15.5, Edge 103.0.1264.37, Firefox 102.0]
### Additional Information 补充信息
Configuration files or front matter code...
配置文件或者前置参数的代码...

View File

@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Theme Documentation 主题文档
url: https://hugoloveit.com/categories/documentation/
about: Please read the documentation carefully. 请先仔细阅读主题文档.

View File

@ -0,0 +1,22 @@
---
name: Feature request 功能请求
about: Suggest an idea for this project 为这个项目提供一个建议
title: "[FEATURE] Some feature"
labels: enhancement
---
### Describe the feature you want 描述你的功能需求
- Feature 1 功能需求 1
I want this feature to solve ...
我希望这个功能解决 ...
- Feature 2 功能需求 2
I want this feature to solve ...
我希望这个功能解决 ...
- ...
### Useful reference 有价值的参考
If available, provide useful links to fulfill the feature.
如果可以的话, 提供实现这个功能的相关参考链接.

View File

@ -0,0 +1,4 @@
#!/bin/zsh
. "$(dirname "$0")/_/husky.sh"
npm run build && npm run copy && git add resources assets/js

View File

@ -3,6 +3,7 @@
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/dillonzq/LoveIt?style=flat-square)](https://github.com/dillonzq/LoveIt/releases) [![GitHub release (latest by date)](https://img.shields.io/github/v/release/dillonzq/LoveIt?style=flat-square)](https://github.com/dillonzq/LoveIt/releases)
[![Hugo](https://img.shields.io/badge/Hugo-%5E0.62.0-ff4088?style=flat-square&logo=hugo)](https://gohugo.io/) [![Hugo](https://img.shields.io/badge/Hugo-%5E0.62.0-ff4088?style=flat-square&logo=hugo)](https://gohugo.io/)
[![License](https://img.shields.io/github/license/dillonzq/LoveIt?style=flat-square)](https://github.com/dillonzq/LoveIt/blob/master/LICENSE) [![License](https://img.shields.io/github/license/dillonzq/LoveIt?style=flat-square)](https://github.com/dillonzq/LoveIt/blob/master/LICENSE)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=dillonzq_LoveIt&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=dillonzq_LoveIt)
[![CircleCI](https://circleci.com/gh/dillonzq/LoveIt/tree/master.svg?style=svg)](https://circleci.com/gh/dillonzq/LoveIt/tree/master) [![CircleCI](https://circleci.com/gh/dillonzq/LoveIt/tree/master.svg?style=svg)](https://circleci.com/gh/dillonzq/LoveIt/tree/master)
English README | [简体中文说明](https://github.com/dillonzq/LoveIt/blob/master/README.zh-cn.md) English README | [简体中文说明](https://github.com/dillonzq/LoveIt/blob/master/README.zh-cn.md)
@ -38,7 +39,7 @@ Compared to the original LeaveIt theme and the KeepIt theme, the LoveIt theme ha
* Extended Markdown syntax for **ruby annotation** * Extended Markdown syntax for **ruby annotation**
* Extended Markdown syntax for **fraction** * Extended Markdown syntax for **fraction**
* **Mathematical formula** supported by [KaTeX](https://katex.org/) * **Mathematical formula** supported by [KaTeX](https://katex.org/)
* **Diagram syntax** shortcode supported by [mermaid](https://github.com/knsv/mermaid) * **Diagram syntax** shortcode supported by [mermaid](https://github.com/mermaid-js/mermaid)
* **Interactive data visualization** shortcode supported by [ECharts](https://echarts.apache.org/) * **Interactive data visualization** shortcode supported by [ECharts](https://echarts.apache.org/)
* **Mapbox** shortcode supported by [Mapbox GL JS](https://docs.mapbox.com/mapbox-gl-js) * **Mapbox** shortcode supported by [Mapbox GL JS](https://docs.mapbox.com/mapbox-gl-js)
* Embedded **music player** supported by [APlayer](https://github.com/MoePlayer/APlayer) and [MetingJS](https://github.com/metowolf/MetingJS) * Embedded **music player** supported by [APlayer](https://github.com/MoePlayer/APlayer) and [MetingJS](https://github.com/metowolf/MetingJS)
@ -64,13 +65,15 @@ I hope you will LoveIt ❤️!
* Optimized SEO performance with a correct **SEO SCHEMA** based on JSON-LD * Optimized SEO performance with a correct **SEO SCHEMA** based on JSON-LD
* **[Google Analytics](https://analytics.google.com/analytics)** supported * **[Google Analytics](https://analytics.google.com/analytics)** supported
* **[Fathom Analytics](https://usefathom.com/)** supported * **[Fathom Analytics](https://usefathom.com/)** supported
* **[Plausible Analytics](https://plausible.io/)** supported
* **[Yandex Metrica](https://metrica.yandex.com/)** supported
* Search engine **verification** supported (Google, Bind, Yandex and Baidu) * Search engine **verification** supported (Google, Bind, Yandex and Baidu)
* **CDN** for third-party libraries supported * **CDN** for third-party libraries supported
* Automatically converted images with **Lazy Load** by [lazysizes](https://github.com/aFarkas/lazysizes) * Automatically converted images with **Lazy Load** by [lazysizes](https://github.com/aFarkas/lazysizes)
### Appearance and Layout ### Appearance and Layout
* **Responsive** layout * **Desktop/Mobile Responsive** layout
* **Light/Dark** mode * **Light/Dark** mode
* Globally consistent **design language** * Globally consistent **design language**
* **Pagination** supported * **Pagination** supported
@ -82,7 +85,7 @@ I hope you will LoveIt ❤️!
* **Gravatar** supported by [Gravatar](https://gravatar.com) * **Gravatar** supported by [Gravatar](https://gravatar.com)
* Local **Avatar** supported * Local **Avatar** supported
* Up to **64** social links supported * Up to **73** social links supported
* Up to **24** share sites supported * Up to **24** share sites supported
* **Disqus** comment system supported by [Disqus](https://disqus.com) * **Disqus** comment system supported by [Disqus](https://disqus.com)
* **Gitalk** comment system supported by [Gitalk](https://github.com/gitalk/gitalk) * **Gitalk** comment system supported by [Gitalk](https://github.com/gitalk/gitalk)
@ -90,7 +93,8 @@ I hope you will LoveIt ❤️!
* **Facebook comments** system supported by [Facebook](https://developers.facebook.com/docs/plugins/comments/) * **Facebook comments** system supported by [Facebook](https://developers.facebook.com/docs/plugins/comments/)
* **Telegram comments** system supported by [Telegram Comments](https://comments.app/) * **Telegram comments** system supported by [Telegram Comments](https://comments.app/)
* **Commento** comment system supported by [Commento](https://commento.io/) * **Commento** comment system supported by [Commento](https://commento.io/)
* **Utterances** comment system supported by [Utterances](https://utteranc.es/) * **utterances** comment system supported by [utterances](https://utteranc.es/)
* **giscus** comment system supported by [giscus](https://giscus.app/)
### Extended Features ### Extended Features
@ -98,12 +102,12 @@ I hope you will LoveIt ❤️!
* **Twemoji** supported * **Twemoji** supported
* Automatically **highlighting** code * Automatically **highlighting** code
* **Copy code** to clipboard with one click * **Copy code** to clipboard with one click
* **Images gallery** supported by [lightgallery.js](https://github.com/sachinchoolur/lightgallery.js) * **Images gallery** supported by [lightGallery](https://github.com/sachinchoolur/lightgallery)
* Extended Markdown syntax for **[Font Awesome](https://fontawesome.com/) icons** * Extended Markdown syntax for **[Font Awesome](https://fontawesome.com/) icons**
* Extended Markdown syntax for **ruby annotation** * Extended Markdown syntax for **ruby annotation**
* Extended Markdown syntax for **fraction** * Extended Markdown syntax for **fraction**
* **Mathematical formula** supported by [KaTeX](https://katex.org/) * **Mathematical formula** supported by [KaTeX](https://katex.org/)
* **Diagrams** shortcode supported by [mermaid](https://github.com/knsv/mermaid) * **Diagrams** shortcode supported by [mermaid](https://github.com/mermaid-js/mermaid)
* **Interactive data visualization** shortcode supported by [ECharts](https://echarts.apache.org/) * **Interactive data visualization** shortcode supported by [ECharts](https://echarts.apache.org/)
* **Mapbox** shortcode supported by [Mapbox GL JS](https://docs.mapbox.com/mapbox-gl-js) * **Mapbox** shortcode supported by [Mapbox GL JS](https://docs.mapbox.com/mapbox-gl-js)
* **Music player** shortcode supported by [APlayer](https://github.com/MoePlayer/APlayer) and [MetingJS](https://github.com/metowolf/MetingJS) * **Music player** shortcode supported by [APlayer](https://github.com/MoePlayer/APlayer) and [MetingJS](https://github.com/metowolf/MetingJS)
@ -112,8 +116,8 @@ I hope you will LoveIt ❤️!
* **Custom style** shortcode * **Custom style** shortcode
* **Custom script** shortcode * **Custom script** shortcode
* **Animated typing** supported by [TypeIt](https://typeitjs.com/) * **Animated typing** supported by [TypeIt](https://typeitjs.com/)
* **Dynamic scroll** supported by [Smooth Scroll](https://github.com/cferdinandi/smooth-scroll)
* **Cookie consent banner** supported by [cookieconsent](https://github.com/osano/cookieconsent) * **Cookie consent banner** supported by [cookieconsent](https://github.com/osano/cookieconsent)
* **Person** shortcode
* ... * ...
## [Documentation](https://hugoloveit.com/categories/documentation/) ## [Documentation](https://hugoloveit.com/categories/documentation/)
@ -141,6 +145,14 @@ LoveIt supports the following languages:
* Russian * Russian
* Romanian * Romanian
* Vietnamese * Vietnamese
* Arabic
* Catalan
* Thai
* Telugu
* Indonesian
* Turkish
* Korean
* Hindi
* [Contribute with a new language](https://github.com/dillonzq/LoveIt/pulls) * [Contribute with a new language](https://github.com/dillonzq/LoveIt/pulls)
[Languages Compatibility](https://hugoloveit.com/theme-documentation-basics/#language-compatibility) [Languages Compatibility](https://hugoloveit.com/theme-documentation-basics/#language-compatibility)
@ -163,7 +175,6 @@ Thanks to the authors of following resources included in the theme:
* [Font Awesome](https://fontawesome.com/) * [Font Awesome](https://fontawesome.com/)
* [Simple Icons](https://github.com/simple-icons/simple-icons) * [Simple Icons](https://github.com/simple-icons/simple-icons)
* [Animate.css](https://daneden.github.io/animate.css/) * [Animate.css](https://daneden.github.io/animate.css/)
* [Smooth Scroll](https://github.com/cferdinandi/smooth-scroll)
* [autocomplete](https://github.com/algolia/autocomplete) * [autocomplete](https://github.com/algolia/autocomplete)
* [Lunr.js](https://lunrjs.com/) * [Lunr.js](https://lunrjs.com/)
* [algoliasearch](https://github.com/algolia/algoliasearch-client-javascript) * [algoliasearch](https://github.com/algolia/algoliasearch-client-javascript)
@ -171,12 +182,12 @@ Thanks to the authors of following resources included in the theme:
* [object-fit-images](https://github.com/fregante/object-fit-images) * [object-fit-images](https://github.com/fregante/object-fit-images)
* [Twemoji](https://github.com/twitter/twemoji) * [Twemoji](https://github.com/twitter/twemoji)
* [emoji-data](https://github.com/iamcal/emoji-data) * [emoji-data](https://github.com/iamcal/emoji-data)
* [lightgallery.js](https://github.com/sachinchoolur/lightgallery.js) * [lightGallery](https://github.com/sachinchoolur/lightgallery)
* [clipboard.js](https://github.com/zenorocha/clipboard.js) * [clipboard.js](https://github.com/zenorocha/clipboard.js)
* [Sharer.js](https://github.com/ellisonleao/sharer.js) * [Sharer.js](https://github.com/ellisonleao/sharer.js)
* [TypeIt](https://typeitjs.com/) * [TypeIt](https://typeitjs.com/)
* [KaTeX](https://katex.org/) * [KaTeX](https://katex.org/)
* [mermaid](https://github.com/knsv/mermaid) * [mermaid](https://github.com/mermaid-js/mermaid)
* [ECharts](https://echarts.apache.org/) * [ECharts](https://echarts.apache.org/)
* [Mapbox GL JS](https://docs.mapbox.com/mapbox-gl-js) * [Mapbox GL JS](https://docs.mapbox.com/mapbox-gl-js)
* [APlayer](https://github.com/MoePlayer/APlayer) * [APlayer](https://github.com/MoePlayer/APlayer)

View File

@ -3,6 +3,7 @@
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/dillonzq/LoveIt?style=flat-square)](https://github.com/dillonzq/LoveIt/releases) [![GitHub release (latest by date)](https://img.shields.io/github/v/release/dillonzq/LoveIt?style=flat-square)](https://github.com/dillonzq/LoveIt/releases)
[![Hugo](https://img.shields.io/badge/Hugo-%5E0.62.0-ff4088?style=flat-square&logo=hugo)](https://gohugo.io/) [![Hugo](https://img.shields.io/badge/Hugo-%5E0.62.0-ff4088?style=flat-square&logo=hugo)](https://gohugo.io/)
[![License](https://img.shields.io/github/license/dillonzq/LoveIt?style=flat-square)](https://github.com/dillonzq/LoveIt/blob/master/LICENSE) [![License](https://img.shields.io/github/license/dillonzq/LoveIt?style=flat-square)](https://github.com/dillonzq/LoveIt/blob/master/LICENSE)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=dillonzq_LoveIt&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=dillonzq_LoveIt)
[![CircleCI](https://circleci.com/gh/dillonzq/LoveIt/tree/master.svg?style=svg)](https://circleci.com/gh/dillonzq/LoveIt/tree/master) [![CircleCI](https://circleci.com/gh/dillonzq/LoveIt/tree/master.svg?style=svg)](https://circleci.com/gh/dillonzq/LoveIt/tree/master)
[English README](https://github.com/dillonzq/LoveIt/blob/master/README.md) | 简体中文说明 [English README](https://github.com/dillonzq/LoveIt/blob/master/README.md) | 简体中文说明
@ -37,7 +38,7 @@
* 支持**上标注释**的扩展 Markdown 语法 * 支持**上标注释**的扩展 Markdown 语法
* 支持**分数**的扩展 Markdown 语法 * 支持**分数**的扩展 Markdown 语法
* 支持基于 [KaTeX](https://katex.org/) 的**数学公式** * 支持基于 [KaTeX](https://katex.org/) 的**数学公式**
* 支持基于 [mermaid](https://github.com/knsv/mermaid) 的**图表**生成功能 * 支持基于 [mermaid](https://github.com/mermaid-js/mermaid) 的**图表**生成功能
* 支持基于 [ECharts](https://echarts.apache.org/) 的**交互式数据可视化**生成功能 * 支持基于 [ECharts](https://echarts.apache.org/) 的**交互式数据可视化**生成功能
* 支持基于 [Mapbox GL JS](https://docs.mapbox.com/mapbox-gl-js) 的 **Mapbox** 地图显示功能 * 支持基于 [Mapbox GL JS](https://docs.mapbox.com/mapbox-gl-js) 的 **Mapbox** 地图显示功能
* 支持基于 [APlayer](https://github.com/MoePlayer/APlayer) 和 [MetingJS](https://github.com/metowolf/MetingJS) 的内嵌**音乐播放器** * 支持基于 [APlayer](https://github.com/MoePlayer/APlayer) 和 [MetingJS](https://github.com/metowolf/MetingJS) 的内嵌**音乐播放器**
@ -59,13 +60,15 @@
* 使用基于 JSON-LD 格式 的 **SEO SCHEMA** 文件进行 SEO 优化 * 使用基于 JSON-LD 格式 的 **SEO SCHEMA** 文件进行 SEO 优化
* 支持 **[Google Analytics](https://analytics.google.com/analytics)** * 支持 **[Google Analytics](https://analytics.google.com/analytics)**
* 支持 **[Fathom Analytics](https://usefathom.com/)** * 支持 **[Fathom Analytics](https://usefathom.com/)**
* 支持 **[Plausible Analytics](https://plausible.io/)**
* 支持 **[Yandex Metrica](https://metrica.yandex.com/)**
* 支持搜索引擎的**网站验证** (Google, Bind, Yandex and Baidu) * 支持搜索引擎的**网站验证** (Google, Bind, Yandex and Baidu)
* 支持所有第三方库的 **CDN** * 支持所有第三方库的 **CDN**
* 基于 [lazysizes](https://github.com/aFarkas/lazysizes) 自动转换图片为**懒加载** * 基于 [lazysizes](https://github.com/aFarkas/lazysizes) 自动转换图片为**懒加载**
### 外观和布局 ### 外观和布局
* **响应式**布局 * **桌面端/移动端 响应式**布局
* **浅色/深色** 主题模式 * **浅色/深色** 主题模式
* 全局一致的**设计语言** * 全局一致的**设计语言**
* 支持**分页** * 支持**分页**
@ -77,15 +80,16 @@
* 支持 **[Gravatar](https://gravatar.com)** 头像 * 支持 **[Gravatar](https://gravatar.com)** 头像
* 支持本地**头像** * 支持本地**头像**
* 支持多达 **64** 种社交链接 * 支持多达 **73** 种社交链接
* 支持多达 **24** 种网站分享 * 支持多达 **24** 种网站分享
* 支持 **[Disqus](https://disqus.com)** 评论系统 * 支持 **[Disqus](https://disqus.com)** 评论系统
* 支持 **[Gitalk](https://github.com/gitalk/gitalk)** 评论系统 * 支持 **[Gitalk](https://github.com/gitalk/gitalk)** 评论系统
* 支持 **[Valine](https://valine.js.org/)** 评论系统 * 支持 **[Valine](https://valine.js.org/)** 评论系统
* 支持 **[Facebook](https://developers.facebook.com/docs/plugins/comments/) 评论**系统 * 支持 **[Facebook comments](https://developers.facebook.com/docs/plugins/comments/)** 评论系统
* 支持 **[Telegram comments](https://comments.app/) 评论**系统 * 支持 **[Telegram comments](https://comments.app/)** 评论系统
* 支持 **[Commento](https://commento.io/)** 评论系统 * 支持 **[Commento](https://commento.io/)** 评论系统
* 支持 **[Utterances](https://utteranc.es/)** 评论系统 * 支持 **[utterances](https://utteranc.es/)** 评论系统
* 支持 **[giscus](https://giscus.app/)** 评论系统
### 扩展功能 ### 扩展功能
@ -93,12 +97,12 @@
* 支持 **Twemoji** * 支持 **Twemoji**
* 支持**代码高亮** * 支持**代码高亮**
* 一键**复制代码**到剪贴板 * 一键**复制代码**到剪贴板
* 支持基于 [lightgallery.js](https://github.com/sachinchoolur/lightgallery.js) 的**图片画廊** * 支持基于 [lightGallery](https://github.com/sachinchoolur/lightgallery) 的**图片画廊**
* 支持 **[Font Awesome](https://fontawesome.com/) 图标**的扩展 Markdown 语法 * 支持 **[Font Awesome](https://fontawesome.com/) 图标**的扩展 Markdown 语法
* 支持**上标注释**的扩展 Markdown 语法 * 支持**上标注释**的扩展 Markdown 语法
* 支持**分数**的扩展 Markdown 语法 * 支持**分数**的扩展 Markdown 语法
* 支持基于 [KaTeX](https://katex.org/) 的**数学公式** * 支持基于 [KaTeX](https://katex.org/) 的**数学公式**
* 支持基于 [mermaid](https://github.com/knsv/mermaid) 的**图表** shortcode * 支持基于 [mermaid](https://github.com/mermaid-js/mermaid) 的**图表** shortcode
* 支持基于 [ECharts](https://echarts.apache.org/) 的**交互式数据可视化** shortcode * 支持基于 [ECharts](https://echarts.apache.org/) 的**交互式数据可视化** shortcode
* 支持基于 [Mapbox GL JS](https://docs.mapbox.com/mapbox-gl-js) 的 **Mapbox** shortcode * 支持基于 [Mapbox GL JS](https://docs.mapbox.com/mapbox-gl-js) 的 **Mapbox** shortcode
* 支持基于 [APlayer](https://github.com/MoePlayer/APlayer) 和 [MetingJS](https://github.com/metowolf/MetingJS) 的**音乐播放器** shortcode * 支持基于 [APlayer](https://github.com/MoePlayer/APlayer) 和 [MetingJS](https://github.com/metowolf/MetingJS) 的**音乐播放器** shortcode
@ -107,8 +111,8 @@
* 支持**自定义样式**的 shortcode * 支持**自定义样式**的 shortcode
* 支持**自定义脚本**的 shortcode * 支持**自定义脚本**的 shortcode
* 支持基于 [TypeIt](https://typeitjs.com/) 的**打字动画** shortcode * 支持基于 [TypeIt](https://typeitjs.com/) 的**打字动画** shortcode
* 支持基于 [Smooth Scroll](https://github.com/cferdinandi/smooth-scroll) 的**滚动动画**
* 支持基于 [cookieconsent](https://github.com/osano/cookieconsent) 的 **Cookie 许可横幅** * 支持基于 [cookieconsent](https://github.com/osano/cookieconsent) 的 **Cookie 许可横幅**
* 支持**人物标签**的 shortcode
* ... * ...
## [文档](https://hugoloveit.com/zh-cn/categories/documentation/) ## [文档](https://hugoloveit.com/zh-cn/categories/documentation/)
@ -136,6 +140,14 @@ LoveIt 支持下列语言:
* 俄语 * 俄语
* 罗马尼亚语 * 罗马尼亚语
* 越南语 * 越南语
* 阿拉伯语
* 加泰罗尼亚语
* 泰语
* 泰卢固语
* 印尼语
* 土耳其语
* 韩语
* 印地语
* [贡献一种新的语言](https://github.com/dillonzq/LoveIt/pulls) * [贡献一种新的语言](https://github.com/dillonzq/LoveIt/pulls)
[语言兼容性](https://hugoloveit.com/zh-cn/theme-documentation-basics/#language-compatibility) [语言兼容性](https://hugoloveit.com/zh-cn/theme-documentation-basics/#language-compatibility)
@ -158,7 +170,6 @@ LoveIt 主题中用到了以下项目,感谢它们的作者:
* [Font Awesome](https://fontawesome.com/) * [Font Awesome](https://fontawesome.com/)
* [Simple Icons](https://github.com/simple-icons/simple-icons) * [Simple Icons](https://github.com/simple-icons/simple-icons)
* [Animate.css](https://daneden.github.io/animate.css/) * [Animate.css](https://daneden.github.io/animate.css/)
* [Smooth Scroll](https://github.com/cferdinandi/smooth-scroll)
* [autocomplete](https://github.com/algolia/autocomplete) * [autocomplete](https://github.com/algolia/autocomplete)
* [Lunr.js](https://lunrjs.com/) * [Lunr.js](https://lunrjs.com/)
* [algoliasearch](https://github.com/algolia/algoliasearch-client-javascript) * [algoliasearch](https://github.com/algolia/algoliasearch-client-javascript)
@ -166,12 +177,12 @@ LoveIt 主题中用到了以下项目,感谢它们的作者:
* [object-fit-images](https://github.com/fregante/object-fit-images) * [object-fit-images](https://github.com/fregante/object-fit-images)
* [Twemoji](https://github.com/twitter/twemoji) * [Twemoji](https://github.com/twitter/twemoji)
* [emoji-data](https://github.com/iamcal/emoji-data) * [emoji-data](https://github.com/iamcal/emoji-data)
* [lightgallery.js](https://github.com/sachinchoolur/lightgallery.js) * [lightGallery](https://github.com/sachinchoolur/lightgallery)
* [clipboard.js](https://github.com/zenorocha/clipboard.js) * [clipboard.js](https://github.com/zenorocha/clipboard.js)
* [Sharer.js](https://github.com/ellisonleao/sharer.js) * [Sharer.js](https://github.com/ellisonleao/sharer.js)
* [TypeIt](https://typeitjs.com/) * [TypeIt](https://typeitjs.com/)
* [KaTeX](https://katex.org/) * [KaTeX](https://katex.org/)
* [mermaid](https://github.com/knsv/mermaid) * [mermaid](https://github.com/mermaid-js/mermaid)
* [ECharts](https://echarts.apache.org/) * [ECharts](https://echarts.apache.org/)
* [Mapbox GL JS](https://docs.mapbox.com/mapbox-gl-js) * [Mapbox GL JS](https://docs.mapbox.com/mapbox-gl-js)
* [APlayer](https://github.com/MoePlayer/APlayer) * [APlayer](https://github.com/MoePlayer/APlayer)

View File

@ -7,22 +7,56 @@ draft: true
author: "" author: ""
authorLink: "" authorLink: ""
description: "" description: ""
license: ""
images: []
tags: [] tags: []
categories: [] categories: []
hiddenFromHomePage: false
hiddenFromSearch: false
featuredImage: "" featuredImage: ""
featuredImagePreview: "" featuredImagePreview: ""
hiddenFromHomePage: false
hiddenFromSearch: false
twemoji: false
lightgallery: true
ruby: true
fraction: true
fontawesome: true
linkToMarkdown: true
rssFullText: false
toc: toc:
enable: true enable: true
auto: true
code:
copy: true
maxShownLines: 50
math: math:
enable: false enable: false
lightgallery: false # ...
license: "" mapbox:
# ...
share:
enable: true
# ...
comment:
enable: true
# ...
library:
css:
# someCSS = "some.css"
# located in "assets/"
# Or
# someCSS = "https://cdn.example.com/some.css"
js:
# someJS = "some.js"
# located in "assets/"
# Or
# someJS = "https://cdn.example.com/some.js"
seo:
images: []
# ...
--- ---
<!--more--> <!--more-->

View File

@ -1,10 +1,20 @@
html { html {
font-family: $global-font-family; font-family: var(--global-font-family);
font-weight: $global-font-weight; font-weight: var(--global-font-weight);
font-display: swap; font-display: swap;
font-size: $global-font-size; font-size: var(--global-font-size);
line-height: $global-line-height; line-height: var(--global-line-height);
width:100%; width:100%;
scroll-behavior: smooth;
main [id] {
scroll-margin-top: calc(var(--header-height) + .5rem);
}
h1 {
line-height: 125%;
}
} }
/* scrollbar, only support webkit */ /* scrollbar, only support webkit */
@ -41,15 +51,11 @@ body {
} }
} }
@include ms;
@include link(true, true); @include link(true, true);
@import "../_partial/mask"; @import "../_partial/mask";
@import "../_partial/img";
@import "../_partial/icon"; @import "../_partial/icon";
@import "../_partial/details"; @import "../_partial/details";
@import "../_partial/fixed-button"; @import "../_partial/fixed-button";
@import "../_partial/cookieconsent"; @import "../_partial/cookieconsent";
img {
@include object-fit(contain);
}

View File

@ -36,7 +36,7 @@ header {
} }
.header-title { .header-title {
font-family: $header-title-font-family; font-family: var(--header-title-font-family);
font-weight: bold; font-weight: bold;
margin-right: .5rem; margin-right: .5rem;
min-width: 10%; min-width: 10%;
@ -148,8 +148,8 @@ header {
#header-desktop { #header-desktop {
display: block; display: block;
position: fixed; position: fixed;
height: $header-height; height: var(--header-height);
line-height: $header-height; line-height: var(--header-height);
[data-header-desktop=normal] & { [data-header-desktop=normal] & {
position: static; position: static;
@ -159,7 +159,7 @@ header {
padding: 0 2rem 0 10vh; padding: 0 2rem 0 10vh;
.header-title { .header-title {
font-size: $header-title-font-size; font-size: var(--header-title-font-size);
} }
.menu { .menu {
@ -213,8 +213,8 @@ header {
#header-mobile { #header-mobile {
display: none; display: none;
position: fixed; position: fixed;
height: $header-height; height: var(--header-height);
line-height: $header-height; line-height: var(--header-height);
[data-header-mobile=normal] & { [data-header-mobile=normal] & {
position: static; position: static;
@ -230,7 +230,7 @@ header {
@include transition(margin-top 0.3s ease); @include transition(margin-top 0.3s ease);
.header-title { .header-title {
font-size: $header-title-font-size; font-size: var(--header-title-font-size);
max-width: 80%; max-width: 80%;
} }
@ -289,7 +289,7 @@ header {
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
box-sizing: border-box; box-sizing: border-box;
padding: ($header-height - 2.5rem) / 2 1rem; padding: calc((var(--header-height) - 2.5rem) / 2) 1rem;
line-height: 2.5rem; line-height: 2.5rem;
} }
@ -328,7 +328,7 @@ header {
&.open { &.open {
.header-wrapper { .header-wrapper {
margin-top: -$header-height; margin-top: -var(--header-height);
} }
.menu { .menu {
@ -349,7 +349,7 @@ header {
.search-dropdown { .search-dropdown {
position: fixed; position: fixed;
z-index: 200; z-index: 200;
top: $header-height; top: var(--header-height);
@include box-shadow(0 .125rem .25rem rgba(0, 0, 0, .1)); @include box-shadow(0 .125rem .25rem rgba(0, 0, 0, .1));
&.desktop { &.desktop {
@ -372,7 +372,7 @@ header {
.suggestions { .suggestions {
overflow-y: auto; overflow-y: auto;
max-height: calc(100vh - #{$header-height}); max-height: calc(100vh - var(--header-height));
.suggestion { .suggestion {
padding: .75rem 1rem; padding: .75rem 1rem;

View File

@ -53,7 +53,7 @@
width: 100%; width: 100%;
[data-header-mobile] & { [data-header-mobile] & {
padding-top: $header-height; padding-top: var(--header-height);
} }
[data-header-mobile=normal] & { [data-header-mobile=normal] & {

View File

@ -0,0 +1,30 @@
:root {
// ========== Global ========== //
// Font and Line Height
--global-font-family: #{inspect($global-font-family)};
--global-font-size: #{$global-font-size};
--global-font-weight: #{$global-font-weight};
--global-line-height: #{$global-line-height};
// ========== Global ========== //
// ========== Header ========== //
// Height of the header
--header-height: #{$header-height};
// Font family and size of the header title
--header-title-font-family: #{inspect($header-title-font-family)};
--header-title-font-size: #{$header-title-font-size};
// ========== Header ========== //
// ========== Single Content ========== //
// Font size of the TOC
--toc-title-font-size: #{$toc-title-font-size};
--toc-content-font-size: #{$toc-content-font-size};
// ========== Single Content ========== //
// ========== Code ========== //
// Font family and size of the code
--code-font-family: #{inspect($code-font-family)};
--code-font-size: #{$code-font-size};
// ========== Code ========== //
}

View File

@ -18,7 +18,6 @@
@mixin transform($value) { @mixin transform($value) {
-webkit-transform: $value; -webkit-transform: $value;
-moz-transform: $value;
-ms-transform: $value; -ms-transform: $value;
-o-transform: $value; -o-transform: $value;
transform: $value; transform: $value;
@ -26,8 +25,6 @@
@mixin filter($value) { @mixin filter($value) {
-webkit-filter: $value; -webkit-filter: $value;
-moz-filter: $value;
-ms-filter: $value;
filter: $value; filter: $value;
} }
@ -82,8 +79,8 @@
} }
@mixin appearance($value) { @mixin appearance($value) {
-moz-appearance: $value;
-webkit-appearance: $value; -webkit-appearance: $value;
-moz-appearance: $value;
} }
@mixin overflow-wrap($value) { @mixin overflow-wrap($value) {
@ -97,14 +94,8 @@
line-break: $value; line-break: $value;
} }
@mixin ms {
input::-ms-clear {
display: none;
}
}
@mixin object-fit($value) { @mixin object-fit($value) {
-o-object-fit: $value; -o-object-fit: $value;
object-fit: $value; object-fit: $value;
font-family: 'object-fit: #{$value};'; font-family: "object-fit: #{$value};";
} }

View File

@ -2,19 +2,35 @@
a, a::before, a::after { a, a::before, a::after {
text-decoration: none; text-decoration: none;
color: if($light, $global-link-color, $single-link-color); @if $light {
color: $global-link-color;
} @else {
color: $single-link-color;
}
[theme=dark] & { [theme=dark] & {
color: if($dark, $global-link-color-dark, $single-link-color-dark); @if $dark {
color: $global-link-color-dark;
} @else {
color: $single-link-color-dark;
}
} }
} }
a:active, a:active,
a:hover { a:hover {
color: if($light, $global-link-hover-color, $single-link-hover-color); @if $light {
color: $global-link-hover-color;
} @else {
color: $single-link-hover-color;
}
[theme=dark] & { [theme=dark] & {
color: if($dark, $global-link-hover-color-dark, $single-link-hover-color-dark); @if $dark {
color: $global-link-hover-color-dark;
} @else {
color: $single-link-hover-color-dark;
}
} }
} }
} }

View File

@ -100,11 +100,10 @@
height: 100%; height: 100%;
left: 0; left: 0;
top: 0; top: 0;
@include object-fit(none);
}
img.lazyloaded { &.lazyloaded {
@include object-fit(cover); @include object-fit(cover);
}
} }
&:hover { &:hover {

View File

@ -5,7 +5,7 @@
margin: 0 auto; margin: 0 auto;
[data-header-desktop] & { [data-header-desktop] & {
padding-top: $header-height; padding-top: var(--header-height);
} }
[data-header-desktop=normal] & { [data-header-desktop=normal] & {

View File

@ -230,16 +230,13 @@
img { img {
display: block; display: block;
width: 100%;
height: auto; height: auto;
margin: 0 auto; margin: 0 auto;
overflow: hidden; overflow: hidden;
} }
} }
.lazyloading {
@include object-fit(none);
}
blockquote { blockquote {
display: block; display: block;
border-left: .5rem solid $blockquote-color; border-left: .5rem solid $blockquote-color;
@ -293,7 +290,7 @@
@include border-radius(3px); @include border-radius(3px);
@include box-shadow(inset 0 -1px 0 $global-border-color); @include box-shadow(inset 0 -1px 0 $global-border-color);
font-size: .8rem; font-size: .8rem;
font-family: $code-font-family; font-family: var(--code-font-family);
color: $code-color; color: $code-color;
[theme=dark] & { [theme=dark] & {
@ -305,26 +302,48 @@
} }
} }
.typeit {
.code {
padding: .375rem;
font-size: .875rem;
font-family: $code-font-family;
font-weight: bold;
word-break: break-all;
}
}
.version { .version {
height: 1.25em; height: 1.25em;
vertical-align: text-bottom; vertical-align: text-bottom;
} }
.person-mention.h-card {
display: inline-block;
img {
vertical-align: -12%;
max-height: 1.1em;
margin-right: 0ex;
border-radius: 50%;
}
}
} }
@import "../_partial/_single/footer"; @import "../_partial/_single/footer";
@import "../_partial/_single/comment"; @import "../_partial/_single/comment";
} }
.typeit {
.highlight {
padding: .375rem;
font-size: .875rem;
font-family: var(--code-font-family);
font-weight: bold;
word-break: break-all;
white-space: pre-wrap;
}
--ti-cursor-font-family: var(--global-font-family);
--ti-cursor-font-size: var(--global-font-size);
--ti-cursor-font-weight: var(--global-font-weight);
--ti-cursor-line-height: var(--global-line-height);
--ti-cursor-color: $global-font-secondary-color;
--ti-cursor-margin-left: 0;
[theme=dark] & {
--ti-cursor-color: $global-font-secondary-color-dark;
}
}
.lg-toolbar .lg-icon::after { .lg-toolbar .lg-icon::after {
color: #999; color: #999;
} }

View File

@ -26,7 +26,7 @@
} }
.details-content { .details-content {
max-height: $MAX_LENGTH; max-height: 10000px;
@include details-transition-close; @include details-transition-close;
} }
} }

View File

@ -0,0 +1,9 @@
img {
&.lazyload, &.lazyloading {
@include object-fit(scale-down);
}
&.lazyloaded {
@include object-fit(contain);
}
}

View File

@ -2,20 +2,13 @@
position: relative; position: relative;
margin: 1rem 0; margin: 1rem 0;
padding: 0 .75rem; padding: 0 .75rem;
background-color: map-get($admonition-background-color-map, 'note'); border-left: .25rem solid;
border-left: .25rem solid map-get($admonition-color-map, 'note');
overflow: auto; overflow: auto;
.admonition-title { .admonition-title {
font-weight: bold; font-weight: bold;
margin: 0 -0.75rem; margin: 0 -0.75rem;
padding: .25rem 1.8rem; padding: .25rem 1.8rem;
border-bottom: 1px solid map-get($admonition-background-color-map, 'note');
background-color: opacify(map-get($admonition-background-color-map, 'note'), 0.15);
}
&.open .admonition-title {
background-color: map-get($admonition-background-color-map, 'note');
} }
.admonition-content { .admonition-content {
@ -24,7 +17,6 @@
i.icon { i.icon {
font-size: 0.85rem; font-size: 0.85rem;
color: map-get($admonition-color-map, 'note');
position: absolute; position: absolute;
top: .6rem; top: .6rem;
left: .4rem; left: .4rem;
@ -36,27 +28,40 @@
right: .3rem; right: .3rem;
} }
@each $type, $color in $admonition-color-map { @each $type, $color, $background-color in $admonition-color-list {
&.#{$type} { @if $type == "note" {
background-color: $background-color;
border-left-color: $color; border-left-color: $color;
.admonition-title {
border-bottom-color: $background-color;
background-color: opacify($background-color, 0.15);
}
&.open .admonition-title {
background-color: $background-color;
}
i.icon { i.icon {
color: $color; color: $color;
} }
} } @else {
} &.#{$type} {
background-color: $background-color;
border-left-color: $color;
@each $type, $color in $admonition-background-color-map { .admonition-title {
&.#{$type} { border-bottom-color: $background-color;
background-color: $color; background-color: opacify($background-color, 0.15);
}
.admonition-title { &.open .admonition-title {
border-bottom-color: $color; background-color: $background-color;
background-color: opacify($color, 0.15); }
}
&.open .admonition-title { i.icon {
background-color: $color; color: $color;
}
} }
} }
} }

View File

@ -4,8 +4,8 @@ code {
padding: 0 .4rem; padding: 0 .4rem;
@include overflow-wrap(break-word); @include overflow-wrap(break-word);
@include line-break(anywhere); @include line-break(anywhere);
font-size: $code-font-size; font-size: var(--code-font-size);
font-family: $code-font-family; font-family: var(--code-font-family);
color: $code-color; color: $code-color;
[theme=dark] & { [theme=dark] & {
@ -30,16 +30,18 @@ pre {
} }
code, pre, .highlight table, .highlight tr, .highlight td { code, pre, .highlight table, .highlight tr, .highlight td {
background: $code-background-color; background: $code-background-color !important;
[theme=dark] & { [theme=dark] & {
background: $code-background-color-dark; background: $code-background-color-dark !important;
} }
} }
.highlight { .highlight {
font-family: $code-font-family; font-family: var(--code-font-family);
font-size: $code-font-size; font-size: var(--code-font-size);
line-height: 1.4em;
margin: .5rem 0;
.table-wrapper { .table-wrapper {
> table, > table,
@ -55,11 +57,6 @@ code, pre, .highlight table, .highlight tr, .highlight td {
} }
} }
} }
}
.highlight {
line-height: 1.4em;
margin: .5rem 0;
> .chroma { > .chroma {
position: relative; position: relative;
@ -70,7 +67,7 @@ code, pre, .highlight table, .highlight tr, .highlight td {
align-items: center; align-items: center;
box-sizing: border-box; box-sizing: border-box;
width: 100%; width: 100%;
font-family: $global-font-family; font-family: var(--global-font-family);
font-weight: bold; font-weight: bold;
color: $code-info-color; color: $code-info-color;
background: darken($code-background-color, 8%); background: darken($code-background-color, 8%);
@ -91,10 +88,10 @@ code, pre, .highlight table, .highlight tr, .highlight td {
.code-title::after { .code-title::after {
padding-left: .2rem; padding-left: .2rem;
content: 'Code'; content: "Code";
} }
@each $type, $text in $code-type-map { @each $type, $text in $code-type-list {
&.#{$type} .code-title::after { &.#{$type} .code-title::after {
content: $text; content: $text;
} }
@ -174,7 +171,7 @@ code, pre, .highlight table, .highlight tr, .highlight td {
} }
.table-wrapper { .table-wrapper {
max-height: $MAX_LENGTH; max-height: 10000px;
@include details-transition-close; @include details-transition-close;
} }
@ -213,8 +210,8 @@ code, pre, .highlight table, .highlight tr, .highlight td {
} }
.gist { .gist {
font-family: $code-font-family; font-family: var(--code-font-family);
font-size: $code-font-size; font-size: var(--code-font-size);
.table-wrapper { .table-wrapper {
> table, > table,

View File

@ -1,3 +1,8 @@
#comments { #comments {
padding: 8rem 0 2rem; padding: 8rem 0 2rem;
.vemoji {
max-width: 1.5em;
max-height: 1.5em;
}
} }

View File

@ -68,7 +68,7 @@
.post-nav { .post-nav {
&::before, &::before,
&::after { &::after {
content: ' '; content: " ";
display: table; display: table;
} }

View File

@ -1,12 +1,12 @@
.toc { .toc {
.toc-title { .toc-title {
font-size: $toc-title-font-size; font-size: var(--toc-title-font-size);
font-weight: bold; font-weight: bold;
text-transform: uppercase; text-transform: uppercase;
} }
.toc-content { .toc-content {
font-size: $toc-content-font-size; font-size: var(--toc-content-font-size);
ul { ul {
text-indent: -0.85rem; text-indent: -0.85rem;
@ -50,7 +50,7 @@
#toc-auto { #toc-auto {
display: block; display: block;
position: absolute; position: absolute;
width: $MAX_LENGTH; width: 10000px;
max-width: 0; max-width: 0;
padding: 0 .8rem; padding: 0 .8rem;
border-left: 4px solid $global-border-color; border-left: 4px solid $global-border-color;

View File

@ -2,12 +2,18 @@
// Variables // Variables
// ============================== // ==============================
@font-face {
font-family: Emoji;
src: local("Apple Color Emoji"), local("Segoe UI Emoji"), local("Segoe UI Symbol"), local("Noto Color Emoji");
unicode-range: U+1F000-1F644, U+203C-3299;
}
// ========== Global ========== // // ========== Global ========== //
// Font and Line Height // Font and Line Height
$global-font-family: system-ui, -apple-system, BlinkMacSystemFont, PingFang SC, Microsoft YaHei UI, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, Helvetica, Arial, sans-serif !default; $global-font-family: system-ui, -apple-system, Segoe UI, Roboto, Emoji, Helvetica, Arial, sans-serif !default;
$global-font-size: 16px; $global-font-size: 16px !default;
$global-font-weight: 400; $global-font-weight: 400 !default;
$global-line-height: 1.5rem; $global-line-height: 1.5rem !default;
// Color of the background // Color of the background
$global-background-color: #fff !default; $global-background-color: #fff !default;
@ -52,14 +58,14 @@ $selection-color-dark: rgba(50, 112, 194, 0.4) !default;
// Height of the header // Height of the header
$header-height: 3.5rem !default; $header-height: 3.5rem !default;
// Font family and size of the header title
$header-title-font-family: $global-font-family !default;
$header-title-font-size: 1.5rem !default;
// Color of the header background // Color of the header background
$header-background-color: #f8f8f8 !default; $header-background-color: #f8f8f8 !default;
$header-background-color-dark: #252627 !default; $header-background-color-dark: #252627 !default;
// Font style of the header title
$header-title-font-family: $global-font-family !default;
$header-title-font-size: 1.5rem !default;
// Color of the hover header item // Color of the hover header item
$header-hover-color: #161209 !default; $header-hover-color: #161209 !default;
$header-hover-color-dark: #fff !default; $header-hover-color-dark: #fff !default;
@ -106,6 +112,10 @@ $pagination-link-hover-color-dark: #fff !default;
// ========== Pagination ========== // // ========== Pagination ========== //
// ========== Code ========== // // ========== Code ========== //
// Font family and size of the code
$code-font-family: "Source Code Pro", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default;
$code-font-size: .875rem !default;
// Color of the code // Color of the code
$code-color: #E74C3C !default; $code-color: #E74C3C !default;
$code-color-dark: #E5BF78 !default; $code-color-dark: #E5BF78 !default;
@ -117,253 +127,228 @@ $code-background-color-dark: #272C34 !default;
$code-info-color: #9c9c9c !default; $code-info-color: #9c9c9c !default;
$code-info-color-dark: #b1b0b0 !default; $code-info-color-dark: #b1b0b0 !default;
// Font size of the code // Code type list
$code-font-size: .875rem !default; $code-type-list:
"language-bash" "Bash",
// Font family of the code "language-c" "C",
$code-font-family: Source Code Pro, Menlo, Consolas, Monaco, monospace, $global-font-family !default; "language-cs" "C#",
"language-cpp" "C++",
// Code type map "language-clojure" "Clojure",
$code-type-map: ( "language-coffeescript" "CoffeeScript",
// Custom code type "language-css" "CSS",
language-bash: 'Bash', "language-dart" "Dart",
language-c: 'C', "language-diff" "Diff",
language-cs: 'C#', "language-erlang" "Erlang",
language-cpp: 'C++', "language-go" "Go",
language-clojure: 'Clojure', "language-go-html-template" "Go HTML Template",
language-coffeescript: 'CoffeeScript', "language-groovy" "Groovy",
language-css: 'CSS', "language-haskell" "Haskell",
language-dart: 'Dart', "language-html" "HTML",
language-diff: 'Diff', "language-http" "HTTP",
language-erlang: 'Erlang', "language-xml" "XML",
language-go: 'Go', "language-java" "Java",
language-go-html-template: 'Go HTML Template', "language-js" "JavaScript",
language-groovy: 'Groovy', "language-javascript" "JavaScript",
language-haskell: 'Haskell', "language-json" "JSON",
language-html: 'HTML', "language-kotlin" "Kotlin",
language-http: 'HTTP', "language-latex" "LaTeX",
language-xml: 'XML', "language-less" "Less",
language-java: 'Java', "language-lisp" "Lisp",
language-js: 'JavaScript', "language-lua" "Lua",
language-javascript: 'JavaScript', "language-makefile" "Makefile",
language-json: 'JSON', "language-markdown" "Markdown",
language-kotlin: 'Kotlin', "language-matlab" "Matlab",
language-latex: 'LaTeX', "language-objectivec" "Objective-C",
language-less: 'Less', "language-php" "PHP",
language-lisp: 'Lisp', "language-perl" "Perl",
language-lua: 'Lua', "language-powershell" "PowerShell",
language-makefile: 'Makefile', "language-posh" "PowerShell",
language-markdown: 'Markdown', "language-pwsh" "PowerShell",
language-matlab: 'Matlab', "language-python" "Python",
language-objectivec: 'Objective-C', "language-r" "R",
language-php: 'PHP', "language-ruby" "Ruby",
language-perl: 'Perl', "language-rust" "Rust",
language-powershell: 'PowerShell', "language-scala" "Scala",
language-posh: 'PowerShell', "language-scss" "Scss",
language-pwsh: 'PowerShell', "language-shell" "Shell",
language-python: 'Python', "language-sql" "SQL",
language-r: 'R', "language-swift" "Swift",
language-ruby: 'Ruby', "language-tex" "TeX",
language-rust: 'Rust', "language-toml" "TOML",
language-scala: 'Scala', "language-ts" "TypeScript",
language-scss: 'Scss', "language-typescript" "TypeScript",
language-shell: 'Shell', "language-vue" "Vue",
language-sql: 'SQL', "language-yml" "YAML",
language-swift: 'Swift', "language-yaml" "YAML",
language-tex: 'TeX', !default;
language-toml: 'TOML',
language-ts: 'TypeScript',
language-typescript: 'TypeScript',
language-vue: 'Vue',
language-yml: 'YAML',
language-yaml: 'YAML',
) !default;
// Color map of the code highlight // Color map of the code highlight
$code-highlight-color-map: ( $code-highlight-color-map: (
/* Parentheses */ 'p': #a9a9b3, /* Parentheses */ "p": #a9a9b3,
/* Keyword */ 'k': #b501a9, /* Keyword */ "k": #b501a9,
/* KeywordConstant */ 'kc': #b501a9, /* KeywordConstant */ "kc": #b501a9,
/* KeywordDeclaration */ 'kd': #b501a9, /* KeywordDeclaration */ "kd": #b501a9,
/* KeywordNamespace */ 'kn': #b501a9, /* KeywordNamespace */ "kn": #b501a9,
/* KeywordPseudo */ 'kp': #b501a9, /* KeywordPseudo */ "kp": #b501a9,
/* KeywordReserved */ 'kr': #b501a9, /* KeywordReserved */ "kr": #b501a9,
/* KeywordType */ 'kt': #b501a9, /* KeywordType */ "kt": #b501a9,
/* Name */ 'n': #333333, /* Name */ "n": #333333,
/* NameAttribute */ 'na': #2b77fa, /* NameAttribute */ "na": #2b77fa,
/* NameBuiltin */ 'nb': #f74840, /* NameBuiltin */ "nb": #f74840,
/* NameBuiltinPseudo */ 'bp': #f74840, /* NameBuiltinPseudo */ "bp": #f74840,
/* NameClass */ 'nc': #cb8100, /* NameClass */ "nc": #cb8100,
/* NameConstant */ 'no': #2b77fa, /* NameConstant */ "no": #2b77fa,
/* NameDecorator */ 'nd': #0086c1, /* NameDecorator */ "nd": #0086c1,
/* NameEntity */ 'ni': #2b77fa, /* NameEntity */ "ni": #2b77fa,
/* NameException */ 'ne': #2b77fa, /* NameException */ "ne": #2b77fa,
/* NameFunction */ 'nf': #2b77fa, /* NameFunction */ "nf": #2b77fa,
/* NameFunctionMagic */ 'fm': #1ccad6, /* NameFunctionMagic */ "fm": #1ccad6,
/* NameLabel */ 'nl': #2b77fa, /* NameLabel */ "nl": #2b77fa,
/* NameNamespace */ 'nn': #2b77fa, /* NameNamespace */ "nn": #2b77fa,
/* NameOther */ 'nx': #333333, /* NameOther */ "nx": #333333,
/* NameProperty */ 'py': #2b77fa, /* NameProperty */ "py": #2b77fa,
/* NameTag */ 'nt': #2b77fa, /* NameTag */ "nt": #2b77fa,
/* NameVariable */ 'nv': #2b77fa, /* NameVariable */ "nv": #2b77fa,
/* NameVariableClass */ 'vc': #2b77fa, /* NameVariableClass */ "vc": #2b77fa,
/* NameVariableGlobal */ 'vg': #2b77fa, /* NameVariableGlobal */ "vg": #2b77fa,
/* NameVariableInstance */ 'vi': #2b77fa, /* NameVariableInstance */ "vi": #2b77fa,
/* NameVariableMagic */ 'vm': #2b77fa, /* NameVariableMagic */ "vm": #2b77fa,
/* Literal */ 'l': #2aa198, /* Literal */ "l": #2aa198,
/* LiteralDate */ 'ld': #2aa198, /* LiteralDate */ "ld": #2aa198,
/* LiteralString */ 's': #24a443, /* LiteralString */ "s": #24a443,
/* LiteralStringAffix */ 'sa': #24a443, /* LiteralStringAffix */ "sa": #24a443,
/* LiteralStringBacktick */ 'sb': #24a443, /* LiteralStringBacktick */ "sb": #24a443,
/* LiteralStringChar */ 'sc': #24a443, /* LiteralStringChar */ "sc": #24a443,
/* LiteralStringDelimiter */ 'dl': #24a443, /* LiteralStringDelimiter */ "dl": #24a443,
/* LiteralStringDoc */ 'sd': #24a443, /* LiteralStringDoc */ "sd": #24a443,
/* LiteralStringDouble */ 's2': #24a443, /* LiteralStringDouble */ "s2": #24a443,
/* LiteralStringEscape */ 'se': #24a443, /* LiteralStringEscape */ "se": #24a443,
/* LiteralStringHeredoc */ 'sh': #24a443, /* LiteralStringHeredoc */ "sh": #24a443,
/* LiteralStringInterpol */ 'si': #24a443, /* LiteralStringInterpol */ "si": #24a443,
/* LiteralStringOther */ 'sx': #24a443, /* LiteralStringOther */ "sx": #24a443,
/* LiteralStringRegex */ 'sr': #24a443, /* LiteralStringRegex */ "sr": #24a443,
/* LiteralStringSingle */ 's1': #24a443, /* LiteralStringSingle */ "s1": #24a443,
/* LiteralStringSymbol */ 'ss': #24a443, /* LiteralStringSymbol */ "ss": #24a443,
/* LiteralNumber */ 'm': #e2893c, /* LiteralNumber */ "m": #e2893c,
/* LiteralNumberBin */ 'mb': #e2893c, /* LiteralNumberBin */ "mb": #e2893c,
/* LiteralNumberFloat */ 'mf': #e2893c, /* LiteralNumberFloat */ "mf": #e2893c,
/* LiteralNumberHex */ 'mh': #e2893c, /* LiteralNumberHex */ "mh": #e2893c,
/* LiteralNumberInteger */ 'mi': #e2893c, /* LiteralNumberInteger */ "mi": #e2893c,
/* LiteralNumberIntegerLong */ 'il': #e2893c, /* LiteralNumberIntegerLong */ "il": #e2893c,
/* LiteralNumberOct */ 'mo': #e2893c, /* LiteralNumberOct */ "mo": #e2893c,
/* Operator */ 'o': #f19b04, /* Operator */ "o": #f19b04,
/* OperatorWord */ 'ow': #b501a9, /* OperatorWord */ "ow": #b501a9,
/* Comment */ 'c': #a0a1a8, /* Comment */ "c": #a0a1a8,
/* CommentHashbang */ 'ch': #a0a1a8, /* CommentHashbang */ "ch": #a0a1a8,
/* CommentMultiline */ 'cm': #a0a1a8, /* CommentMultiline */ "cm": #a0a1a8,
/* CommentSingle */ 'c1': #a0a1a8, /* CommentSingle */ "c1": #a0a1a8,
/* CommentSpecial */ 'cs': #a0a1a8, /* CommentSpecial */ "cs": #a0a1a8,
/* CommentPreproc */ 'cp': #a0a1a8, /* CommentPreproc */ "cp": #a0a1a8,
/* CommentPreprocFile */ 'cpf': #a0a1a8, /* CommentPreprocFile */ "cpf": #a0a1a8,
/* Generic */ 'g': #e72d40, /* Generic */ "g": #e72d40,
/* GenericDeleted */ 'gd': #e72d40, /* GenericDeleted */ "gd": #e72d40,
/* GenericEmph */ 'ge': #e72d40, /* GenericEmph */ "ge": #e72d40,
/* GenericError */ 'gr': #e72d40, /* GenericError */ "gr": #e72d40,
/* GenericHeading */ 'gh': #e72d40, /* GenericHeading */ "gh": #e72d40,
/* GenericInserted */ 'gi': #e72d40, /* GenericInserted */ "gi": #e72d40,
/* GenericOutput */ 'go': #e72d40, /* GenericOutput */ "go": #e72d40,
/* GenericPrompt */ 'gp': #e72d40, /* GenericPrompt */ "gp": #e72d40,
/* GenericStrong */ 'gs': #e72d40, /* GenericStrong */ "gs": #e72d40,
/* GenericSubheading */ 'gu': #e72d40, /* GenericSubheading */ "gu": #e72d40,
/* GenericTraceback */ 'gt': #e72d40, /* GenericTraceback */ "gt": #e72d40,
/* TextWhitespace */ 'w': #bbbbbb, /* TextWhitespace */ "w": #bbbbbb,
) !default; ) !default;
$code-highlight-color-map-dark: ( $code-highlight-color-map-dark: (
/* Parentheses */ 'p': #a9a9b3, /* Parentheses */ "p": #a9a9b3,
/* Keyword */ 'k': #d371e3, /* Keyword */ "k": #d371e3,
/* KeywordConstant */ 'kc': #d371e3, /* KeywordConstant */ "kc": #d371e3,
/* KeywordDeclaration */ 'kd': #d371e3, /* KeywordDeclaration */ "kd": #d371e3,
/* KeywordNamespace */ 'kn': #d371e3, /* KeywordNamespace */ "kn": #d371e3,
/* KeywordPseudo */ 'kp': #d371e3, /* KeywordPseudo */ "kp": #d371e3,
/* KeywordReserved */ 'kr': #d371e3, /* KeywordReserved */ "kr": #d371e3,
/* KeywordType */ 'kt': #d371e3, /* KeywordType */ "kt": #d371e3,
/* Name */ 'n': #a9b2c0, /* Name */ "n": #a9b2c0,
/* NameAttribute */ 'na': #41b0f5, /* NameAttribute */ "na": #41b0f5,
/* NameBuiltin */ 'nb': #19b9c4, /* NameBuiltin */ "nb": #19b9c4,
/* NameBuiltinPseudo */ 'bp': #ecbf6f, /* NameBuiltinPseudo */ "bp": #ecbf6f,
/* NameClass */ 'nc': #ecbf6f, /* NameClass */ "nc": #ecbf6f,
/* NameConstant */ 'no': #41b0f5, /* NameConstant */ "no": #41b0f5,
/* NameDecorator */ 'nd': #ecbf6f, /* NameDecorator */ "nd": #ecbf6f,
/* NameEntity */ 'ni': #41b0f5, /* NameEntity */ "ni": #41b0f5,
/* NameException */ 'ne': #41b0f5, /* NameException */ "ne": #41b0f5,
/* NameFunction */ 'nf': #41b0f5, /* NameFunction */ "nf": #41b0f5,
/* NameFunctionMagic */ 'fm': #19b9c4, /* NameFunctionMagic */ "fm": #19b9c4,
/* NameLabel */ 'nl': #41b0f5, /* NameLabel */ "nl": #41b0f5,
/* NameNamespace */ 'nn': #41b0f5, /* NameNamespace */ "nn": #41b0f5,
/* NameOther */ 'nx': #a9a9b3, /* NameOther */ "nx": #a9a9b3,
/* NameProperty */ 'py': #41b0f5, /* NameProperty */ "py": #41b0f5,
/* NameTag */ 'nt': #41b0f5, /* NameTag */ "nt": #41b0f5,
/* NameVariable */ 'nv': #41b0f5, /* NameVariable */ "nv": #41b0f5,
/* NameVariableClass */ 'vc': #41b0f5, /* NameVariableClass */ "vc": #41b0f5,
/* NameVariableGlobal */ 'vg': #41b0f5, /* NameVariableGlobal */ "vg": #41b0f5,
/* NameVariableInstance */ 'vi': #41b0f5, /* NameVariableInstance */ "vi": #41b0f5,
/* NameVariableMagic */ 'vm': #41b0f5, /* NameVariableMagic */ "vm": #41b0f5,
/* Literal */ 'l': #2aa198, /* Literal */ "l": #2aa198,
/* LiteralDate */ 'ld': #2aa198, /* LiteralDate */ "ld": #2aa198,
/* LiteralString */ 's': #8cc570, /* LiteralString */ "s": #8cc570,
/* LiteralStringAffix */ 'sa': #8cc570, /* LiteralStringAffix */ "sa": #8cc570,
/* LiteralStringBacktick */ 'sb': #8cc570, /* LiteralStringBacktick */ "sb": #8cc570,
/* LiteralStringChar */ 'sc': #8cc570, /* LiteralStringChar */ "sc": #8cc570,
/* LiteralStringDelimiter */ 'dl': #8cc570, /* LiteralStringDelimiter */ "dl": #8cc570,
/* LiteralStringDoc */ 'sd': #8cc570, /* LiteralStringDoc */ "sd": #8cc570,
/* LiteralStringDouble */ 's2': #8cc570, /* LiteralStringDouble */ "s2": #8cc570,
/* LiteralStringEscape */ 'se': #8cc570, /* LiteralStringEscape */ "se": #8cc570,
/* LiteralStringHeredoc */ 'sh': #8cc570, /* LiteralStringHeredoc */ "sh": #8cc570,
/* LiteralStringInterpol */ 'si': #8cc570, /* LiteralStringInterpol */ "si": #8cc570,
/* LiteralStringOther */ 'sx': #8cc570, /* LiteralStringOther */ "sx": #8cc570,
/* LiteralStringRegex */ 'sr': #8cc570, /* LiteralStringRegex */ "sr": #8cc570,
/* LiteralStringSingle */ 's1': #8cc570, /* LiteralStringSingle */ "s1": #8cc570,
/* LiteralStringSymbol */ 'ss': #8cc570, /* LiteralStringSymbol */ "ss": #8cc570,
/* LiteralNumber */ 'm': #db985c, /* LiteralNumber */ "m": #db985c,
/* LiteralNumberBin */ 'mb': #db985c, /* LiteralNumberBin */ "mb": #db985c,
/* LiteralNumberFloat */ 'mf': #db985c, /* LiteralNumberFloat */ "mf": #db985c,
/* LiteralNumberHex */ 'mh': #db985c, /* LiteralNumberHex */ "mh": #db985c,
/* LiteralNumberInteger */ 'mi': #db985c, /* LiteralNumberInteger */ "mi": #db985c,
/* LiteralNumberIntegerLong */ 'il': #db985c, /* LiteralNumberIntegerLong */ "il": #db985c,
/* LiteralNumberOct */ 'mo': #db985c, /* LiteralNumberOct */ "mo": #db985c,
/* Operator */ 'o': #ecbf6f, /* Operator */ "o": #ecbf6f,
/* OperatorWord */ 'ow': #d371e3, /* OperatorWord */ "ow": #d371e3,
/* Comment */ 'c': #7e848f, /* Comment */ "c": #7e848f,
/* CommentHashbang */ 'ch': #7e848f, /* CommentHashbang */ "ch": #7e848f,
/* CommentMultiline */ 'cm': #7e848f, /* CommentMultiline */ "cm": #7e848f,
/* CommentSingle */ 'c1': #7e848f, /* CommentSingle */ "c1": #7e848f,
/* CommentSpecial */ 'cs': #7e848f, /* CommentSpecial */ "cs": #7e848f,
/* CommentPreproc */ 'cp': #7e848f, /* CommentPreproc */ "cp": #7e848f,
/* CommentPreprocFile */ 'cpf': #7e848f, /* CommentPreprocFile */ "cpf": #7e848f,
/* Generic */ 'g': #f16372, /* Generic */ "g": #f16372,
/* GenericDeleted */ 'gd': #f16372, /* GenericDeleted */ "gd": #f16372,
/* GenericEmph */ 'ge': #f16372, /* GenericEmph */ "ge": #f16372,
/* GenericError */ 'gr': #f16372, /* GenericError */ "gr": #f16372,
/* GenericHeading */ 'gh': #f16372, /* GenericHeading */ "gh": #f16372,
/* GenericInserted */ 'gi': #f16372, /* GenericInserted */ "gi": #f16372,
/* GenericOutput */ 'go': #f16372, /* GenericOutput */ "go": #f16372,
/* GenericPrompt */ 'gp': #f16372, /* GenericPrompt */ "gp": #f16372,
/* GenericStrong */ 'gs': #f16372, /* GenericStrong */ "gs": #f16372,
/* GenericSubheading */ 'gu': #f16372, /* GenericSubheading */ "gu": #f16372,
/* GenericTraceback */ 'gt': #f16372, /* GenericTraceback */ "gt": #f16372,
/* TextWhitespace */ 'w': #bbbbbb, /* TextWhitespace */ "w": #bbbbbb,
) !default; ) !default;
// ========== Code ========== // // ========== Code ========== //
// ========== Admonition ========== // // ========== Admonition ========== //
// Color map of the admonition // Color list of admonition [$type $color $background-color, ... ]
$admonition-color-map: ( $admonition-color-list:
'note': #448aff, "note" #448aff rgba(68, 138, 255, 0.1),
'abstract': #00b0ff, "abstract" #00b0ff rgba(0, 176, 255, 0.1),
'info': #00b8d4, "info" #00b8d4 rgba(83, 211, 230, 0.1),
'tip': #00bfa5, "tip" #00bfa5 rgba(0, 191, 165, 0.1),
'success': #00c853, "success" #00c853 rgba(0, 200, 83, 0.1),
'question': #64dd17, "question" #64dd17 rgba(100, 221, 23, 0.1),
'warning': #ff9100, "warning" #ff9100 rgba(255, 145, 0, 0.1),
'failure': #ff5252, "failure" #ff5252 rgba(255, 82, 82, 0.1),
'danger': #ff1744, "danger" #ff1744 rgba(68, 138, 255, 0.1),
'bug': #f50057, "bug" #f50057 rgba(255, 23, 68, 0.1),
'example': #651fff, "example" #651fff rgba(101, 31, 255, 0.1),
'quote': #9e9e9e, "quote" #9e9e9e rgba(159, 159, 159, 0.1),
) !default; !default;
// Color map of the admonition background
$admonition-background-color-map: (
'note': rgba(68, 138, 255, 0.1),
'abstract': rgba(0, 176, 255, 0.1),
'info': rgba(0, 184, 212, 0.1),
'tip': rgba(0, 191, 165, 0.1),
'success': rgba(0, 200, 83, 0.1),
'question': rgba(100, 221, 23, 0.1),
'warning': rgba(255, 145, 0, 0.1),
'failure': rgba(255, 82, 82, 0.1),
'danger': rgba(255, 23, 68, 0.1),
'bug': rgba(245, 0, 87, 0.1),
'example': rgba(101, 31, 255, 0.1),
'quote': rgba(159, 159, 159, 0.1),
) !default;
// ========== Admonition ========== // // ========== Admonition ========== //
$MAX_LENGTH: 12000px;

View File

@ -1,7 +1,10 @@
@charset "utf-8"; @charset "utf-8";
@import "../lib/normalize/normalize";
@import "_variables"; @import "_variables";
@import "_override"; @import "_override";
@import "_core/variables";
@import "_mixin/index"; @import "_mixin/index";
@ -10,10 +13,9 @@
@import "_page/index"; @import "_page/index";
@import "_partial/header"; @import "_core/header";
@import "_partial/footer"; @import "_core/footer";
@import "_partial/pagination"; @import "_core/pagination";
@import "_core/media"; @import "_core/media";
@import "_custom"; @import "_custom";

View File

@ -0,0 +1,54 @@
prefix:
libFiles: https://cdnjs.cloudflare.com/ajax/libs/
# simple-icons@7.3.0 https://github.com/simple-icons/simple-icons
simpleIcons: https://cdnjs.cloudflare.com/ajax/libs/simple-icons/7.3.0/
libFiles:
# fontawesome-free@6.1.1 https://fontawesome.com/
fontawesomeFreeCSS: font-awesome/6.1.1/css/all.min.css
# animate.css@4.1.1 https://github.com/daneden/animate.css
animateCSS: animate.css/4.1.1/animate.min.css
# autocomplete.js@0.38.1 https://github.com/algolia/autocomplete.js
autocompleteJS: autocomplete.js/0.38.1/autocomplete.min.js
# lunr.js@2.3.9 https://lunrjs.com/
lunrJS: lunr.js/2.3.9/lunr.min.js
# algoliasearch@4.13.1 https://github.com/algolia/algoliasearch-client-javascript
algoliasearchJS: algoliasearch/4.13.1/algoliasearch-lite.umd.min.js
# lazysizes@5.3.2 https://github.com/aFarkas/lazysizes
lazysizesJS: lazysizes/5.3.2/lazysizes.min.js
# object-fit-images@3.2.4 https://github.com/fregante/object-fit-images
objectFitImagesJS: object-fit-images/3.2.4/ofi.min.js
# lightgallery@2.5.0 https://github.com/sachinchoolur/lightgallery
lightgalleryCSS: lightgallery/2.5.0/css/lightgallery-bundle.min.css
lightgalleryJS: lightgallery/2.5.0/lightgallery.min.js
lightgalleryThumbnailJS: lightgallery/2.5.0/plugins/thumbnail/lg-thumbnail.min.js
lightgalleryZoomJS: lightgallery/2.5.0/plugins/zoom/lg-zoom.min.js
# clipboard.js@2.0.11 https://github.com/zenorocha/clipboard.js
clipboardJS: clipboard.js/2.0.11/clipboard.min.js
# sharer.js@0.5.1 https://github.com/ellisonleao/sharer.js
sharerJS: sharer.js/0.5.1/sharer.min.js
# typeit@8.6.0 https://github.com/alexmacarthur/typeit
typeitJS: typeit/8.6.0/index.umd.js
# katex@0.16.0 https://katex.org/
katexCSS: KaTeX/0.16.0/katex.min.css
katexJS: KaTeX/0.16.0/katex.min.js
katexAutoRenderJS: KaTeX/0.16.0/contrib/auto-render.min.js
katexCopyTexJS: KaTeX/0.16.0/contrib/copy-tex.min.js
katexMhchemJS: KaTeX/0.16.0/contrib/mhchem.min.js
# mermaid@9.1.3https://github.com/mermaid-js/mermaid
mermaidJS: mermaid/9.1.3/mermaid.min.js
# echarts@5.3.3 https://echarts.apache.org/
echartsJS: echarts/5.3.3/echarts.min.js
# mapbox-gl@2.9.1 https://docs.mapbox.com/mapbox-gl-js
mapboxGLCSS: mapbox-gl/2.9.1/mapbox-gl.min.css
mapboxGLJS: mapbox-gl/2.9.1/mapbox-gl.min.js
# aplayer@1.10.1 https://github.com/MoePlayer/APlayer
aplayerCSS: aplayer/1.10.1/APlayer.min.css
aplayerJS: aplayer/1.10.1/APlayer.min.js
# gitalk@1.7.2 https://github.com/gitalk/gitalk
gitalkCSS: gitalk/1.7.2/gitalk.min.css
gitalkJS: gitalk/1.7.2/gitalk.min.js
# valine@1.5.0 https://valine.js.org/
valineJS: valine/1.5.0/Valine.min.js
# cookieconsent@3.1.1 https://github.com/osano/cookieconsent
cookieconsentCSS: cookieconsent/3.1.1/cookieconsent.min.css
cookieconsentJS: cookieconsent/3.1.1/cookieconsent.min.js

View File

@ -1,57 +1,48 @@
prefix: prefix:
libFiles: https://cdn.jsdelivr.net/npm/ libFiles: https://cdn.jsdelivr.net/npm/
# simple-icons@6.20.0 https://github.com/simple-icons/simple-icons # simple-icons@7.3.0 https://github.com/simple-icons/simple-icons
simpleIcons: https://cdn.jsdelivr.net/npm/simple-icons@6.20.0/icons/ simpleIcons: https://cdn.jsdelivr.net/npm/simple-icons@7.3.0/icons/
libFiles: libFiles:
# normalize.css@8.0.1 https://github.com/necolas/normalize.css
normalizeCSS: normalize.css@8.0.1/normalize.min.css
# fontawesome-free@6.1.1 https://fontawesome.com/ # fontawesome-free@6.1.1 https://fontawesome.com/
fontawesomeFreeCSS: '@fortawesome/fontawesome-free@6.1.1/css/all.min.css' fontawesomeFreeCSS: '@fortawesome/fontawesome-free@6.1.1/css/all.min.css'
# animate.css@4.1.1 https://github.com/daneden/animate.css # animate.css@4.1.1 https://github.com/daneden/animate.css
animateCSS: animate.css@4.1.1/animate.min.css animateCSS: animate.css@4.1.1/animate.min.css
# smooth-scroll@16.1.3 https://github.com/cferdinandi/smooth-scroll
smoothScrollJS: smooth-scroll@16.1.3/dist/smooth-scroll.min.js
# autocomplete.js@0.38.1 https://github.com/algolia/autocomplete.js # autocomplete.js@0.38.1 https://github.com/algolia/autocomplete.js
autocompleteJS: autocomplete.js@0.38.1/dist/autocomplete.min.js autocompleteJS: autocomplete.js@0.38.1/dist/autocomplete.min.js
# lunr.js@2.3.9 https://lunrjs.com/ # lunr.js@2.3.9 https://lunrjs.com/
lunrJS: lunr@2.3.9/lunr.min.js lunrJS: lunr@2.3.9/lunr.min.js
# algoliasearch@4.13.0 https://github.com/algolia/algoliasearch-client-javascript # algoliasearch@4.13.1 https://github.com/algolia/algoliasearch-client-javascript
algoliasearchJS: algoliasearch@4.13.0/dist/algoliasearch-lite.umd.min.js algoliasearchJS: algoliasearch@4.13.1/dist/algoliasearch-lite.umd.min.js
# lazysizes@5.3.1 https://github.com/aFarkas/lazysizes # lazysizes@5.3.2 https://github.com/aFarkas/lazysizes
lazysizesJS: lazysizes@5.3.1/lazysizes.min.js lazysizesJS: lazysizes@5.3.2/lazysizes.min.js
lazysizesParentFitJS: lazysizes@5.3.1/plugins/parent-fit/ls.parent-fit.min.js
# object-fit-images@3.2.4 https://github.com/fregante/object-fit-images # object-fit-images@3.2.4 https://github.com/fregante/object-fit-images
objectFitImagesJS: object-fit-images@3.2.4/dist/ofi.min.js objectFitImagesJS: object-fit-images@3.2.4/dist/ofi.min.js
# twemoji@14.0.2 https://github.com/twitter/twemoji # twemoji@14.0.2 https://github.com/twitter/twemoji
twemojiJS: twemoji@14.0.2/dist/twemoji.min.js twemojiJS: twemoji@14.0.2/dist/twemoji.min.js
# lightgallery.js@1.2.0 https://github.com/sachinchoolur/lightgallery.js # lightgallery@2.5.0 https://github.com/sachinchoolur/lightgallery
# lg-thumbnail.js@1.2.0 https://github.com/sachinchoolur/lg-thumbnail.js lightgalleryCSS: lightgallery@2.5.0/css/lightgallery-bundle.min.css
# lg-zoom.js@1.2.0 https://github.com/sachinchoolur/lg-zoom.js lightgalleryJS: lightgallery@2.5.0/lightgallery.min.js
lightgalleryCSS: lightgallery.js@1.2.0/dist/css/lightgallery.min.css lightgalleryThumbnailJS: lightgallery@2.5.0/plugins/thumbnail/lg-thumbnail.min.js
lightgalleryJS: lightgallery.js@1.2.0/dist/js/lightgallery.min.js lightgalleryZoomJS: lightgallery@2.5.0/plugins/zoom/lg-zoom.min.js
lightgalleryThumbnailJS: lg-thumbnail.js@1.2.0/dist/lg-thumbnail.min.js
lightgalleryZoomJS: lg-zoom.js@1.2.0/dist/lg-zoom.min.js
# clipboard.js@2.0.11 https://github.com/zenorocha/clipboard.js # clipboard.js@2.0.11 https://github.com/zenorocha/clipboard.js
clipboardJS: clipboard@2.0.11/dist/clipboard.min.js clipboardJS: clipboard@2.0.11/dist/clipboard.min.js
# sharer.js@0.5.1 https://github.com/ellisonleao/sharer.js # sharer.js@0.5.1 https://github.com/ellisonleao/sharer.js
sharerJS: sharer.js@0.5.1/sharer.min.js sharerJS: sharer.js@0.5.1/sharer.min.js
# typeit@7.0.4 https://github.com/alexmacarthur/typeit # typeit@8.6.0 https://github.com/alexmacarthur/typeit
typeitJS: typeit@7.0.4/dist/typeit.min.js typeitJS: typeit@8.6.0/dist/index.umd.js
# katex@0.15.3 https://katex.org/ # katex@0.16.0 https://katex.org/
katexCSS: katex@0.15.3/dist/katex.min.css katexCSS: katex@0.16.0/dist/katex.min.css
katexJS: katex@0.15.3/dist/katex.min.js katexJS: katex@0.16.0/dist/katex.min.js
katexAutoRenderJS: katex@0.15.3/dist/contrib/auto-render.min.js katexAutoRenderJS: katex@0.16.0/dist/contrib/auto-render.min.js
katexCopyTexCSS: katex@0.15.3/dist/contrib/copy-tex.min.css katexCopyTexJS: katex@0.16.0/dist/contrib/copy-tex.min.js
katexCopyTexJS: katex@0.15.3/dist/contrib/copy-tex.min.js katexMhchemJS: katex@0.16.0/dist/contrib/mhchem.min.js
katexMhchemJS: katex@0.15.3/dist/contrib/mhchem.min.js # mermaid@9.1.3https://github.com/mermaid-js/mermaid
# mermaid@9.0.1 https://github.com/knsv/mermaid mermaidJS: mermaid@9.1.3/dist/mermaid.min.js
mermaidJS: mermaid@9.0.1/dist/mermaid.min.js # echarts@5.3.3 https://echarts.apache.org/
# echarts@4.8.0 https://echarts.apache.org/ echartsJS: echarts@5.3.3/dist/echarts.min.js
echartsJS: echarts@4.8.0/dist/echarts.min.js # mapbox-gl@2.9.1 https://docs.mapbox.com/mapbox-gl-js
echartsMacaronsJS: echarts@4.8.0/theme/macarons.min.js mapboxGLCSS: mapbox-gl@2.9.1/dist/mapbox-gl.min.css
# mapbox-gl@1.10.1 https://docs.mapbox.com/mapbox-gl-js mapboxGLJS: mapbox-gl@2.9.1/dist/mapbox-gl.min.js
mapboxGLCSS: mapbox-gl@1.10.1/dist/mapbox-gl.min.css
mapboxGLJS: mapbox-gl@1.10.1/dist/mapbox-gl.min.js
# aplayer@1.10.1 https://github.com/MoePlayer/APlayer # aplayer@1.10.1 https://github.com/MoePlayer/APlayer
aplayerCSS: aplayer@1.10.1/dist/APlayer.min.css aplayerCSS: aplayer@1.10.1/dist/APlayer.min.css
aplayerJS: aplayer@1.10.1/dist/APlayer.min.js aplayerJS: aplayer@1.10.1/dist/APlayer.min.js
@ -60,8 +51,8 @@ libFiles:
# gitalk@1.7.2 https://github.com/gitalk/gitalk # gitalk@1.7.2 https://github.com/gitalk/gitalk
gitalkCSS: gitalk@1.7.2/dist/gitalk.min.css gitalkCSS: gitalk@1.7.2/dist/gitalk.min.css
gitalkJS: gitalk@1.7.2/dist/gitalk.min.js gitalkJS: gitalk@1.7.2/dist/gitalk.min.js
# valine@1.4.18 https://valine.js.org/ # valine@1.5.0 https://valine.js.org/
valineJS: valine@1.4.18/dist/Valine.min.js valineJS: valine@1.5.0/dist/Valine.min.js
# cookieconsent@3.1.1 https://github.com/osano/cookieconsent # cookieconsent@3.1.1 https://github.com/osano/cookieconsent
cookieconsentCSS: cookieconsent@3.1.1/build/cookieconsent.min.css cookieconsentCSS: cookieconsent@3.1.1/build/cookieconsent.min.css
cookieconsentJS: cookieconsent@3.1.1/build/cookieconsent.min.js cookieconsentJS: cookieconsent@3.1.1/build/cookieconsent.min.js

View File

@ -4,10 +4,6 @@ theme:
- Promise - Promise
- fetch - fetch
- Element.prototype.after - Element.prototype.after
smooth-scroll:
- Element.prototype.closest
- requestAnimationFrame
- CustomEvent
algoliasearch: algoliasearch:
- Promise - Promise
- Object.entries - Object.entries

View File

@ -4,11 +4,11 @@ github:
Prefix: https://github.com/ Prefix: https://github.com/
Title: GitHub Title: GitHub
Icon: Icon:
Class: fab fa-github-alt fa-fw Class: fab fa-github fa-fw
# 002: LinkedIn # 002: LinkedIn
linkedin: linkedin:
Weight: 79 Weight: 2
Prefix: https://linkedin.com/in/ Prefix: https://linkedin.com/in/
Title: LinkedIn Title: LinkedIn
Icon: Icon:
@ -441,7 +441,6 @@ researchgate:
# 056: Mastodon # 056: Mastodon
mastodon: mastodon:
Weight: 56 Weight: 56
Prefix: https://mastodon.social/
Title: Mastodon Title: Mastodon
Icon: Icon:
Class: fab fa-mastodon fa-fw Class: fab fa-mastodon fa-fw
@ -493,30 +492,104 @@ bilibili:
Icon: Icon:
Simpleicons: bilibili Simpleicons: bilibili
# 063: Email # 063: Discord User Profile
email: discord:
Weight: 63 Weight: 63
Prefix: https://discordapp.com/users/
Title: Discord
Icon:
Class: fab fa-discord fa-fw
# 064: Discord Server Invite Link
discordInvite:
Weight: 64
Prefix: https://discord.gg/
Title: Discord
Icon:
Class: fab fa-discord fa-fw
# 065: Lichess user profile
lichess:
Weight: 65
Prefix: https://lichess.org/@/
Title: Lichess
Icon:
Simpleicons: lichess
# 066: ORCID
orcid:
Weight: 66
Prefix: https://orcid.org/
Title: ORCID
Icon:
Class: fab fa-orcid fa-fw
# 067: Pleroma
pleroma:
Weight: 67
Title: Pleroma
Icon:
Simpleicons: pleroma
# 068: Kaggle
kaggle:
Weight: 68
Prefix: https://kaggle.com/
Title: Kaggle
Icon:
Class: fab fa-kaggle fa-fw
# 069: MediaWiki
mediawiki:
Weight: 69
Title: MediaWiki
Icon:
Class: fab fa-wikipedia-w fa-fw
# 070: Plume
plume:
Weight: 70
Title: Plume
Icon:
Src: svg/icons/plume.svg
# 071: Hack The Box
hackthebox:
Weight: 71
Title: Hack The Box
Prefix: https://app.hackthebox.com/profile/
Icon:
Simpleicons: hackthebox
# 072: Root-Me
rootme:
Weight: 72
Title: Root-Me
Prefix: https://www.root-me.org/
Icon:
Src: svg/icons/rootme.svg
# Phone
phone:
Weight: 98
Template: tel:%v
Title: Phone
Icon:
Class: fas fa-phone fa-fw
# Email
email:
Weight: 99
Template: mailto:%v Template: mailto:%v
Title: Email Title: Email
Icon: Icon:
Class: far fa-envelope fa-fw Class: far fa-envelope fa-fw
# 064: RSS # RSS
rss: rss:
Weight: 64 Weight: 100
Url: /index.xml Url: /index.xml
Title: RSS Title: RSS
Newtab: true Newtab: true
Icon: Icon:
Class: fas fa-rss fa-fw Class: fas fa-rss fa-fw
# 065: Pixelfed
pixelfed:
Weight: 60
Title: Pixelfed
Newtab: true
Icon:
Class: fas fa-camera fa-fw
peertube:

View File

@ -454,7 +454,19 @@ var Theme = /*#__PURE__*/function () {
}, { }, {
key: "initLightGallery", key: "initLightGallery",
value: function initLightGallery() { value: function initLightGallery() {
if (this.config.lightGallery) lightGallery(document.getElementById('content'), this.config.lightGallery); if (this.config.lightgallery) lightGallery(document.getElementById('content'), {
plugins: [lgThumbnail, lgZoom],
selector: '.lightgallery',
speed: 400,
hideBarsDelay: 2000,
allowMediaOverlap: true,
exThumbImage: 'data-thumbnail',
toggleThumb: true,
thumbWidth: 80,
thumbHeight: '60px',
actualSize: false,
showZoomInOutIcons: true
});
} }
}, { }, {
key: "initHighlight", key: "initHighlight",
@ -666,36 +678,41 @@ var Theme = /*#__PURE__*/function () {
value: function initEcharts() { value: function initEcharts() {
var _this8 = this; var _this8 = this;
this._echartsOnSwitchTheme = this._echartsOnSwitchTheme || function () { if (this.config.echarts) {
_this8._echartsArr = _this8._echartsArr || []; echarts.registerTheme('light', this.config.echarts.lightTheme);
echarts.registerTheme('dark', this.config.echarts.darkTheme);
for (var i = 0; i < _this8._echartsArr.length; i++) { this._echartsOnSwitchTheme = this._echartsOnSwitchTheme || function () {
_this8._echartsArr[i].dispose(); _this8._echartsArr = _this8._echartsArr || [];
}
_this8._echartsArr = []; for (var i = 0; i < _this8._echartsArr.length; i++) {
_this8._echartsArr[i].dispose();
}
_this8.util.forEach(document.getElementsByClassName('echarts'), function ($echarts) { _this8._echartsArr = [];
var chart = echarts.init($echarts, _this8.isDark ? 'dark' : 'macarons', {
renderer: 'svg' _this8.util.forEach(document.getElementsByClassName('echarts'), function ($echarts) {
var chart = echarts.init($echarts, _this8.isDark ? 'dark' : 'light', {
renderer: 'svg'
});
chart.setOption(JSON.parse(_this8.data[$echarts.id]));
_this8._echartsArr.push(chart);
}); });
chart.setOption(JSON.parse(_this8.data[$echarts.id])); };
_this8._echartsArr.push(chart); this.switchThemeEventSet.add(this._echartsOnSwitchTheme);
});
};
this.switchThemeEventSet.add(this._echartsOnSwitchTheme); this._echartsOnSwitchTheme();
this._echartsOnSwitchTheme(); this._echartsOnResize = this._echartsOnResize || function () {
for (var i = 0; i < _this8._echartsArr.length; i++) {
_this8._echartsArr[i].resize();
}
};
this._echartsOnResize = this._echartsOnResize || function () { this.resizeEventSet.add(this._echartsOnResize);
for (var i = 0; i < _this8._echartsArr.length; i++) { }
_this8._echartsArr[i].resize();
}
};
this.resizeEventSet.add(this._echartsOnResize);
} }
}, { }, {
key: "initMapbox", key: "initMapbox",
@ -848,18 +865,45 @@ var Theme = /*#__PURE__*/function () {
this.switchThemeEventSet.add(this._utterancesOnSwitchTheme); this.switchThemeEventSet.add(this._utterancesOnSwitchTheme);
} }
if (this.config.comment.giscus) {
var giscusConfig = this.config.comment.giscus;
var giscusScript = document.createElement('script');
giscusScript.src = 'https://giscus.app/client.js';
giscusScript.type = 'text/javascript';
giscusScript.setAttribute('data-repo', giscusConfig.repo);
giscusScript.setAttribute('data-repo-id', giscusConfig.repoId);
giscusScript.setAttribute('data-category', giscusConfig.category);
giscusScript.setAttribute('data-category-id', giscusConfig.categoryId);
giscusScript.setAttribute('data-lang', giscusConfig.lang);
giscusScript.setAttribute('data-mapping', giscusConfig.mapping);
giscusScript.setAttribute('data-reactions-enabled', giscusConfig.reactionsEnabled);
giscusScript.setAttribute('data-emit-metadata', giscusConfig.emitMetadata);
giscusScript.setAttribute('data-input-position', giscusConfig.inputPosition);
if (giscusConfig.lazyLoading) giscusScript.setAttribute('data-loading', 'lazy');
giscusScript.setAttribute('data-theme', this.isDark ? giscusConfig.darkTheme : giscusConfig.lightTheme);
giscusScript.crossOrigin = 'anonymous';
giscusScript.async = true;
document.getElementById('giscus').appendChild(giscusScript);
this._giscusOnSwitchTheme = this._giscusOnSwitchTheme || function () {
var message = {
setConfig: {
theme: _this11.isDark ? giscusConfig.darkTheme : giscusConfig.lightTheme,
reactionsEnabled: false
}
};
var iframe = document.querySelector('iframe.giscus-frame');
if (!iframe) return;
iframe.contentWindow.postMessage({
giscus: message
}, 'https://giscus.app');
};
this.switchThemeEventSet.add(this._giscusOnSwitchTheme);
}
} }
} }
}, {
key: "initSmoothScroll",
value: function initSmoothScroll() {
if (SmoothScroll) new SmoothScroll('[href^="#"]', {
speed: 300,
speedAsDuration: true,
header: '#header-desktop',
offset: 10
});
}
}, { }, {
key: "initCookieconsent", key: "initCookieconsent",
value: function initCookieconsent() { value: function initCookieconsent() {
@ -926,15 +970,9 @@ var Theme = /*#__PURE__*/function () {
_step2; _step2;
try { try {
var _loop = function _loop() {
var event = _step2.value;
window.setTimeout(function () {
event();
}, 100);
};
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) { for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
_loop(); var event = _step2.value;
event();
} }
} catch (err) { } catch (err) {
_iterator2.e(err); _iterator2.e(err);
@ -942,7 +980,6 @@ var Theme = /*#__PURE__*/function () {
_iterator2.f(); _iterator2.f();
} }
;
_this12.oldScrollTop = _this12.newScrollTop; _this12.oldScrollTop = _this12.newScrollTop;
}, false); }, false);
} }
@ -1019,7 +1056,6 @@ var Theme = /*#__PURE__*/function () {
this.initHighlight(); this.initHighlight();
this.initTable(); this.initTable();
this.initHeaderLink(); this.initHeaderLink();
this.initSmoothScroll();
this.initMath(); this.initMath();
this.initMermaid(); this.initMermaid();
this.initEcharts(); this.initEcharts();

View File

@ -1,27 +1,24 @@
normalize.css@8.0.1 https://github.com/necolas/normalize.css normalize.css@8.0.1 https://github.com/necolas/normalize.css
fontawesome-free@6.1.1 https://fontawesome.com/ fontawesome-free@6.1.1 https://fontawesome.com/
simple-icons@6.20.0 https://github.com/simple-icons/simple-icons simple-icons@7.3.0 https://github.com/simple-icons/simple-icons
animate.css@4.1.1 https://github.com/daneden/animate.css animate.css@4.1.1 https://github.com/daneden/animate.css
smooth-scroll@16.1.3 https://github.com/cferdinandi/smooth-scroll
autocomplete@0.38.1 https://github.com/algolia/autocomplete autocomplete@0.38.1 https://github.com/algolia/autocomplete
lunr.js@2.3.9 https://lunrjs.com/ lunr.js@2.3.9 https://lunrjs.com/
algoliasearch@4.13.0 https://github.com/algolia/algoliasearch-client-javascript algoliasearch@4.13.1 https://github.com/algolia/algoliasearch-client-javascript
lazysizes@5.3.1 https://github.com/aFarkas/lazysizes lazysizes@5.3.2 https://github.com/aFarkas/lazysizes
object-fit-images@3.2.4 https://github.com/fregante/object-fit-images object-fit-images@3.2.4 https://github.com/fregante/object-fit-images
twemoji@14.0.2 https://github.com/twitter/twemoji twemoji@14.0.2 https://github.com/twitter/twemoji
emoji-data@14.0.0 https://github.com/iamcal/emoji-data emoji-data@14.0.0 https://github.com/iamcal/emoji-data
lightgallery.js@1.2.0 https://github.com/sachinchoolur/lightgallery.js lightgallery@2.5.0 https://github.com/sachinchoolur/lightgallery
lg-thumbnail.js@1.2.0 https://github.com/sachinchoolur/lg-thumbnail.js
lg-zoom.js@1.2.0 https://github.com/sachinchoolur/lg-zoom.js
clipboard.js@2.0.11 https://github.com/zenorocha/clipboard.js clipboard.js@2.0.11 https://github.com/zenorocha/clipboard.js
sharer.js@0.4.0 https://github.com/ellisonleao/sharer.js sharer.js@0.5.1 https://github.com/ellisonleao/sharer.js
typeit@7.0.4 https://github.com/alexmacarthur/typeit typeit@8.6.0 https://github.com/alexmacarthur/typeit
katex@0.15.3 https://katex.org/ katex@0.16.0 https://katex.org/
mermaid@9.0.1 https://github.com/knsv/mermaid mermaid@9.1.3 https://github.com/mermaid-js/mermaid
echarts@4.8.0 https://echarts.apache.org/ echarts@5.3.3 https://echarts.apache.org/
mapbox-gl@1.10.1 https://github.com/mapbox/mapbox-gl-js mapbox-gl@2.9.1 https://github.com/mapbox/mapbox-gl-js
aplayer@1.10.1 https://github.com/MoePlayer/APlayer aplayer@1.10.1 https://github.com/MoePlayer/APlayer
meting@2.0.1 https://github.com/metowolf/MetingJS meting@2.0.1 https://github.com/metowolf/MetingJS
gitalk@1.7.2 https://github.com/gitalk/gitalk gitalk@1.7.2 https://github.com/gitalk/gitalk
valine@1.4.18 https://valine.js.org/ valine@1.5.0 https://valine.js.org/
cookieconsent@3.1.1 https://github.com/osano/cookieconsent cookieconsent@3.1.1 https://github.com/osano/cookieconsent

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,240 +0,0 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
(function(root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['exports', 'echarts'], factory);
} else if (
typeof exports === 'object' &&
typeof exports.nodeName !== 'string'
) {
// CommonJS
factory(exports, require('echarts'));
} else {
// Browser globals
factory({}, root.echarts);
}
})(this, function(exports, echarts) {
var log = function(msg) {
if (typeof console !== 'undefined') {
console && console.error && console.error(msg);
}
};
if (!echarts) {
log('ECharts is not Loaded');
return;
}
var colorPalette = [
'#2ec7c9',
'#b6a2de',
'#5ab1ef',
'#ffb980',
'#d87a80',
'#8d98b3',
'#e5cf0d',
'#97b552',
'#95706d',
'#dc69aa',
'#07a2a4',
'#9a7fd1',
'#588dd5',
'#f5994e',
'#c05050',
'#59678c',
'#c9ab00',
'#7eb00a',
'#6f5553',
'#c14089'
];
var theme = {
color: colorPalette,
title: {
textStyle: {
fontWeight: 'normal',
color: '#008acd'
}
},
visualMap: {
itemWidth: 15,
color: ['#5ab1ef', '#e0ffff']
},
toolbox: {
iconStyle: {
normal: {
borderColor: colorPalette[0]
}
}
},
tooltip: {
backgroundColor: 'rgba(50,50,50,0.5)',
axisPointer: {
type: 'line',
lineStyle: {
color: '#008acd'
},
crossStyle: {
color: '#008acd'
},
shadowStyle: {
color: 'rgba(200,200,200,0.2)'
}
}
},
dataZoom: {
dataBackgroundColor: '#efefff',
fillerColor: 'rgba(182,162,222,0.2)',
handleColor: '#008acd'
},
grid: {
borderColor: '#eee'
},
categoryAxis: {
axisLine: {
lineStyle: {
color: '#008acd'
}
},
splitLine: {
lineStyle: {
color: ['#eee']
}
}
},
valueAxis: {
axisLine: {
lineStyle: {
color: '#008acd'
}
},
splitArea: {
show: true,
areaStyle: {
color: ['rgba(250,250,250,0.1)', 'rgba(200,200,200,0.1)']
}
},
splitLine: {
lineStyle: {
color: ['#eee']
}
}
},
timeline: {
lineStyle: {
color: '#008acd'
},
controlStyle: {
color: '#008acd',
borderColor: '#008acd'
},
symbol: 'emptyCircle',
symbolSize: 3
},
line: {
smooth: true,
symbol: 'emptyCircle',
symbolSize: 3
},
candlestick: {
itemStyle: {
color: '#d87a80',
color0: '#2ec7c9'
},
lineStyle: {
width: 1,
color: '#d87a80',
color0: '#2ec7c9'
},
areaStyle: {
color: '#2ec7c9',
color0: '#b6a2de'
}
},
scatter: {
symbol: 'circle',
symbolSize: 4
},
map: {
itemStyle: {
color: '#ddd'
},
areaStyle: {
color: '#fe994e'
},
label: {
color: '#d87a80'
}
},
graph: {
itemStyle: {
color: '#d87a80'
},
linkStyle: {
color: '#2ec7c9'
}
},
gauge: {
axisLine: {
lineStyle: {
color: [
[0.2, '#2ec7c9'],
[0.8, '#5ab1ef'],
[1, '#d87a80']
],
width: 10
}
},
axisTick: {
splitNumber: 10,
length: 15,
lineStyle: {
color: 'auto'
}
},
splitLine: {
length: 22,
lineStyle: {
color: 'auto'
}
},
pointer: {
width: 5
}
}
};
echarts.registerTheme('macarons', theme);
});

View File

@ -0,0 +1,273 @@
# dark theme based on chalk theme
color:
- '#fc97af'
- '#87f7cf'
- '#f7f494'
- '#72ccff'
- '#f7c5a0'
- '#d4a4eb'
- '#d2f5a6'
- '#76f2f2'
backgroundColor: rgba(41,52,65,1)
textStyle: {}
title:
textStyle:
color: '#ffffff'
subtextStyle:
color: '#dddddd'
line:
itemStyle:
borderWidth: 1
lineStyle:
width: 2
symbolSize: 6
symbol: circle
smooth: true
radar:
itemStyle:
borderWidth: 1
lineStyle:
width: 2
symbolSize: 3
symbol: circle
smooth: true
bar:
itemStyle:
barBorderWidth: 0
barBorderColor: '#ccc'
pie:
itemStyle:
borderWidth: 0
borderColor: '#ccc'
scatter:
itemStyle:
borderWidth: 0
borderColor: '#ccc'
boxplot:
itemStyle:
borderWidth: 0
borderColor: '#ccc'
parallel:
itemStyle:
borderWidth: 0
borderColor: '#ccc'
sankey:
itemStyle:
borderWidth: 0
borderColor: '#ccc'
funnel:
itemStyle:
borderWidth: 0
borderColor: '#ccc'
gauge:
itemStyle:
borderWidth: 0
borderColor: '#ccc'
candlestick:
itemStyle:
color: '#fc97af'
color0: transparent
borderColor: '#fc97af'
borderColor0: '#87f7cf'
borderWidth: 1
graph:
itemStyle:
borderWidth: 0
borderColor: '#ccc'
lineStyle:
width: 1
color: '#ffffff'
symbolSize: 3
symbol: emptyCircle
smooth: true
color:
- '#fc97af'
- '#87f7cf'
- '#f7f494'
- '#72ccff'
- '#f7c5a0'
- '#d4a4eb'
- '#d2f5a6'
- '#76f2f2'
label:
color: '#293441'
map:
itemStyle:
areaColor: '#f3f3f3'
borderColor: '#999999'
borderWidth: 0.5
label:
color: '#893448'
emphasis:
itemStyle:
areaColor: rgba(255,178,72,1)
borderColor: '#eb8146'
borderWidth: 1
label:
color: rgb(137,52,72)
geo:
itemStyle:
areaColor: '#f3f3f3'
borderColor: '#999999'
borderWidth: 0.5
label:
color: '#893448'
emphasis:
itemStyle:
areaColor: rgba(255,178,72,1)
borderColor: '#eb8146'
borderWidth: 1
label:
color: rgb(137,52,72)
categoryAxis:
axisLine:
show: true
lineStyle:
color: '#666666'
axisTick:
show: true
lineStyle:
color: '#333'
axisLabel:
show: true
color: '#aaaaaa'
splitLine:
show: false
lineStyle:
color:
- '#e6e6e6'
splitArea:
show: false
areaStyle:
color:
- rgba(250,250,250,0.05)
- rgba(200,200,200,0.02)
valueAxis:
axisLine:
show: true
lineStyle:
color: '#666666'
axisTick:
show: true
lineStyle:
color: '#333'
axisLabel:
show: true
color: '#aaaaaa'
splitLine:
show: true
lineStyle:
color:
- '#e6e6e6'
splitArea:
show: false
areaStyle:
color:
- rgba(250,250,250,0.05)
- rgba(200,200,200,0.02)
logAxis:
axisLine:
show: true
lineStyle:
color: '#666666'
axisTick:
show: true
lineStyle:
color: '#333'
axisLabel:
show: true
color: '#aaaaaa'
splitLine:
show: true
lineStyle:
color:
- '#e6e6e6'
splitArea:
show: true
areaStyle:
color:
- rgba(250,250,250,0.05)
- rgba(200,200,200,0.02)
timeAxis:
axisLine:
show: true
lineStyle:
color: '#666666'
axisTick:
show: true
lineStyle:
color: '#333'
axisLabel:
show: true
color: '#aaaaaa'
splitLine:
show: true
lineStyle:
color:
- '#e6e6e6'
splitArea:
show: false
areaStyle:
color:
- rgba(250,250,250,0.05)
- rgba(200,200,200,0.02)
toolbox:
iconStyle:
borderColor: '#999999'
emphasis:
iconStyle:
borderColor: '#666666'
legend:
textStyle:
color: '#999999'
tooltip:
axisPointer:
lineStyle:
color: '#cccccc'
width: 1
crossStyle:
color: '#cccccc'
width: 1
timeline:
lineStyle:
color: '#87f7cf'
width: 1
itemStyle:
color: '#87f7cf'
borderWidth: 1
controlStyle:
color: '#87f7cf'
borderColor: '#87f7cf'
borderWidth: 0.5
checkpointStyle:
color: '#fc97af'
borderColor: '#fc97af'
label:
color: '#87f7cf'
emphasis:
itemStyle:
color: '#f7f494'
controlStyle:
color: '#87f7cf'
borderColor: '#87f7cf'
borderWidth: 0.5
label:
color: '#87f7cf'
visualMap:
color:
- '#fc97af'
- '#87f7cf'
dataZoom:
backgroundColor: rgba(255,255,255,0)
dataBackgroundColor: rgba(114,204,255,1)
fillerColor: rgba(114,204,255,0.2)
handleColor: '#72ccff'
handleSize: 100%
textStyle:
color: '#333333'
markPoint:
label:
color: '#293441'
emphasis:
label:
color: '#293441'

View File

@ -0,0 +1,297 @@
# light theme based on macarons theme
color:
- '#2ec7c9'
- '#b6a2de'
- '#5ab1ef'
- '#ffb980'
- '#d87a80'
- '#8d98b3'
- '#e5cf0d'
- '#97b552'
- '#95706d'
- '#dc69aa'
- '#07a2a4'
- '#9a7fd1'
- '#588dd5'
- '#f5994e'
- '#c05050'
- '#59678c'
- '#c9ab00'
- '#7eb00a'
- '#6f5553'
- '#c14089'
backgroundColor: rgba(0,0,0,0)
textStyle: {}
title:
textStyle:
color: '#008acd'
subtextStyle:
color: '#aaaaaa'
line:
itemStyle:
borderWidth: 1
lineStyle:
width: 2
symbolSize: 5
symbol: emptyCircle
smooth: true
radar:
itemStyle:
borderWidth: 1
lineStyle:
width: 2
symbolSize: 3
symbol: emptyCircle
smooth: true
bar:
itemStyle:
barBorderWidth: 0
barBorderColor: '#ccc'
pie:
itemStyle:
borderWidth: 0
borderColor: '#ccc'
scatter:
itemStyle:
borderWidth: 0
borderColor: '#ccc'
boxplot:
itemStyle:
borderWidth: 0
borderColor: '#ccc'
parallel:
itemStyle:
borderWidth: 0
borderColor: '#ccc'
sankey:
itemStyle:
borderWidth: 0
borderColor: '#ccc'
funnel:
itemStyle:
borderWidth: 0
borderColor: '#ccc'
gauge:
itemStyle:
borderWidth: 0
borderColor: '#ccc'
candlestick:
itemStyle:
color: '#d87a80'
color0: '#2ec7c9'
borderColor: '#d87a80'
borderColor0: '#2ec7c9'
borderWidth: 1
graph:
itemStyle:
borderWidth: 0
borderColor: '#ccc'
lineStyle:
width: 1
color: '#aaaaaa'
symbolSize: 3
symbol: emptyCircle
smooth: true
color:
- '#2ec7c9'
- '#b6a2de'
- '#5ab1ef'
- '#ffb980'
- '#d87a80'
- '#8d98b3'
- '#e5cf0d'
- '#97b552'
- '#95706d'
- '#dc69aa'
- '#07a2a4'
- '#9a7fd1'
- '#588dd5'
- '#f5994e'
- '#c05050'
- '#59678c'
- '#c9ab00'
- '#7eb00a'
- '#6f5553'
- '#c14089'
label:
color: '#eeeeee'
map:
itemStyle:
areaColor: '#dddddd'
borderColor: '#eeeeee'
borderWidth: 0.5
label:
color: '#d87a80'
emphasis:
itemStyle:
areaColor: rgba(254,153,78,1)
borderColor: '#444'
borderWidth: 1
label:
color: rgb(100,0,0)
geo:
itemStyle:
areaColor: '#dddddd'
borderColor: '#eeeeee'
borderWidth: 0.5
label:
color: '#d87a80'
emphasis:
itemStyle:
areaColor: rgba(254,153,78,1)
borderColor: '#444'
borderWidth: 1
label:
color: rgb(100,0,0)
categoryAxis:
axisLine:
show: true
lineStyle:
color: '#008acd'
axisTick:
show: true
lineStyle:
color: '#333'
axisLabel:
show: true
color: '#333'
splitLine:
show: false
lineStyle:
color:
- '#eee'
splitArea:
show: false
areaStyle:
color:
- rgba(250,250,250,0.3)
- rgba(200,200,200,0.3)
valueAxis:
axisLine:
show: true
lineStyle:
color: '#008acd'
axisTick:
show: true
lineStyle:
color: '#333'
axisLabel:
show: true
color: '#333'
splitLine:
show: true
lineStyle:
color:
- '#eee'
splitArea:
show: true
areaStyle:
color:
- rgba(250,250,250,0.3)
- rgba(200,200,200,0.3)
logAxis:
axisLine:
show: true
lineStyle:
color: '#008acd'
axisTick:
show: true
lineStyle:
color: '#333'
axisLabel:
show: true
color: '#333'
splitLine:
show: true
lineStyle:
color:
- '#eee'
splitArea:
show: true
areaStyle:
color:
- rgba(250,250,250,0.3)
- rgba(200,200,200,0.3)
timeAxis:
axisLine:
show: true
lineStyle:
color: '#008acd'
axisTick:
show: true
lineStyle:
color: '#333'
axisLabel:
show: true
color: '#333'
splitLine:
show: true
lineStyle:
color:
- '#eee'
splitArea:
show: false
areaStyle:
color:
- rgba(250,250,250,0.3)
- rgba(200,200,200,0.3)
toolbox:
iconStyle:
borderColor: '#2ec7c9'
emphasis:
iconStyle:
borderColor: '#18a4a6'
legend:
textStyle:
color: '#333333'
tooltip:
axisPointer:
lineStyle:
color: '#008acd'
width: 1
crossStyle:
color: '#008acd'
width: 1
timeline:
lineStyle:
color: '#008acd'
width: 1
itemStyle:
color: '#008acd'
borderWidth: 1
controlStyle:
color: '#008acd'
borderColor: '#008acd'
borderWidth: 0.5
checkpointStyle:
color: '#2ec7c9'
borderColor: '#2ec7c9'
label:
color: '#008acd'
emphasis:
itemStyle:
color: '#a9334c'
controlStyle:
color: '#008acd'
borderColor: '#008acd'
borderWidth: 0.5
label:
color: '#008acd'
visualMap:
color:
- '#5ab1ef'
- '#e0ffff'
dataZoom:
backgroundColor: rgba(47,69,84,0)
dataBackgroundColor: '#efefff'
fillerColor: rgba(182,162,222,0.2)
handleColor: '#008acd'
handleSize: 100%
textStyle:
color: '#333333'
markPoint:
label:
color: '#eeeeee'
emphasis:
label:
color: '#eeeeee'

View File

@ -0,0 +1 @@
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}("undefined"!=typeof self?self:this,(function(){return function(){"use strict";var e={},t={inline:["$","$"],display:["$$","$$"]};var n=function(e,n){void 0===n&&(n=t);for(var r=e.querySelectorAll(".katex-mathml + .katex-html"),a=0;a<r.length;a++){var o=r[a];o.remove?o.remove():o.parentNode&&o.parentNode.removeChild(o)}for(var i=e.querySelectorAll(".katex-mathml"),l=0;l<i.length;l++){var f=i[l],c=f.querySelector("annotation");c&&(f.replaceWith?f.replaceWith(c):f.parentNode&&f.parentNode.replaceChild(c,f),c.innerHTML=n.inline[0]+c.innerHTML+n.inline[1])}for(var d=e.querySelectorAll(".katex-display annotation"),s=0;s<d.length;s++){var p=d[s];p.innerHTML=n.display[0]+p.innerHTML.substr(n.inline[0].length,p.innerHTML.length-n.inline[0].length-n.inline[1].length)+n.display[1]}return e};function r(e){var t=e instanceof Element?e:e.parentElement;return t&&t.closest(".katex")}return document.addEventListener("copy",(function(e){var t=window.getSelection();if(!t.isCollapsed&&e.clipboardData){var a=e.clipboardData,o=t.getRangeAt(0),i=r(o.startContainer);i&&o.setStartBefore(i);var l=r(o.endContainer);l&&o.setEndAfter(l);var f=o.cloneContents();if(f.querySelector(".katex-mathml")){var c=Array.prototype.map.call(f.childNodes,(function(e){return e instanceof Text?e.textContent:e.outerHTML})).join("");a.setData("text/html",c),a.setData("text/plain",n(f).textContent),e.preventDefault()}}})),e=e.default}()}));

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
.katex,.katex-display{-webkit-user-select:all;-moz-user-select:all;user-select:all}

View File

@ -1 +0,0 @@
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var l in n)("object"==typeof exports?exports:e)[l]=n[l]}}("undefined"!=typeof self?self:this,(function(){return function(){"use strict";var e={},t={inline:["$","$"],display:["$$","$$"]},n=function(e,n){void 0===n&&(n=t);for(var l=e.querySelectorAll(".katex-mathml + .katex-html"),r=0;r<l.length;r++){var i=l[r];i.remove?i.remove(null):i.parentNode.removeChild(i)}for(var o=e.querySelectorAll(".katex-mathml"),a=0;a<o.length;a++){var d=o[a],f=d.querySelector("annotation");f&&(d.replaceWith?d.replaceWith(f):d.parentNode.replaceChild(f,d),f.innerHTML=n.inline[0]+f.innerHTML+n.inline[1])}for(var c=e.querySelectorAll(".katex-display annotation"),s=0;s<c.length;s++){var p=c[s];p.innerHTML=n.display[0]+p.innerHTML.substr(n.inline[0].length,p.innerHTML.length-n.inline[0].length-n.inline[1].length)+n.display[1]}return e};return document.addEventListener("copy",(function(e){var t=window.getSelection();if(!t.isCollapsed){var l=t.getRangeAt(0).cloneContents();if(l.querySelector(".katex-mathml")){for(var r=[],i=0;i<l.childNodes.length;i++)r.push(l.childNodes[i].outerHTML);e.clipboardData.setData("text/html",r.join("")),e.clipboardData.setData("text/plain",n(l).textContent),e.preventDefault()}}})),e=e.default}()}));

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,3 +0,0 @@
/*! lazysizes - v5.3.1 */
!function(t,e){var i;t&&(i=function(){e(t.lazySizes),t.removeEventListener("lazyunveilread",i,!0)},e=e.bind(null,t,t.document),"object"==typeof module&&module.exports?e(require("lazysizes")):"function"==typeof define&&define.amd?define(["lazysizes"],e):t.lazySizes?i():t.addEventListener("lazyunveilread",i,!0))}("undefined"!=typeof window?window:0,function(u,t,i){"use strict";var l,s,d,f,g,o;u.addEventListener&&(l=/\s+(\d+)(w|h)\s+(\d+)(w|h)/,s=/parent-fit["']*\s*:\s*["']*(contain|cover|width)/,d=/parent-container["']*\s*:\s*["']*(.+?)(?=(\s|$|,|'|"|;))/,f=/^picture$/i,g=i.cfg,o={getParent:function(t,e){var i=t,a=t.parentNode;return e&&"prev"!=e||!a||!f.test(a.nodeName||"")||(a=a.parentNode),"self"!=e&&(i="prev"==e?t.previousElementSibling:e&&(a.closest||u.jQuery)&&(a.closest?a.closest(e):jQuery(a).closest(e)[0])||a),i},getFit:function(t){var e,i,a=getComputedStyle(t,null)||{},n=a.content||a.fontFamily,r={fit:t._lazysizesParentFit||t.getAttribute("data-parent-fit")};return!r.fit&&n&&(e=n.match(s))&&(r.fit=e[1]),r.fit?(!(i=t._lazysizesParentContainer||t.getAttribute("data-parent-container"))&&n&&(e=n.match(d))&&(i=e[1]),r.parent=o.getParent(t,i)):r.fit=a.objectFit,r},getImageRatio:function(t){for(var e,i,a,n,r,s,d=t.parentNode,o=d&&f.test(d.nodeName||"")?d.querySelectorAll("source, img"):[t],c=0;c<o.length;c++)if(e=(t=o[c]).getAttribute(g.srcsetAttr)||t.getAttribute("srcset")||t.getAttribute("data-pfsrcset")||t.getAttribute("data-risrcset")||"",i=t._lsMedia||t.getAttribute("media"),i=g.customMedia[t.getAttribute("data-media")||i]||i,e&&(!i||(u.matchMedia&&matchMedia(i)||{}).matches)){(a=parseFloat(t.getAttribute("data-aspectratio")))||(s=(n=e.match(l))?"w"==n[2]?(r=n[1],n[3]):(r=n[3],n[1]):(r=t.getAttribute("width"),t.getAttribute("height")),a=r/s);break}return a},calculateSize:function(t,e){var i,a,n,r=this.getFit(t),s=r.fit,d=r.parent;return"width"==s||("contain"==s||"cover"==s)&&(a=this.getImageRatio(t))?(d?e=d.clientWidth:d=t,n=e,"width"==s?n=e:(i=e/d.clientHeight)&&("cover"==s&&i<a||"contain"==s&&a<i)&&(n=e*(a/i)),n):e}},i.parentFit=o,t.addEventListener("lazybeforesizes",function(t){var e;t.defaultPrevented||t.detail.instance!=i||(e=t.target,t.detail.width=o.calculateSize(e,t.detail.width))}))});

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

13
themes/LoveIt/assets/lib/lightgallery/lightgallery.min.js vendored Normal file → Executable file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,17 +1,32 @@
/** /**
* Create a new [Mapbox GL JS plugin](https://www.mapbox.com/blog/build-mapbox-gl-js-plugins/) that * Create a new [Mapbox GL JS plugin](https://www.mapbox.com/blog/build-mapbox-gl-js-plugins/) that
* modifies the layers of the map style to use the 'text-field' that matches the browser language. * modifies the layers of the map style to use the `text-field` that matches the browser language.
* As of Mapbox GL Language v1.0.0, this plugin no longer supports token values (e.g. `{name}`). v1.0+ expects the `text-field`
* property of a style to use an [expression](https://docs.mapbox.com/mapbox-gl-js/style-spec/expressions/) of the form `['get', 'name_en']` or `['get', 'name']`; these expressions can be nested. Note that `get` expressions used as inputs to other expressions may not be handled by this plugin. For example:
* ```
* ["match",
* ["get", "name"],
* "California",
* "Golden State",
* ["coalesce",
* ["get", "name_en"],
* ["get", "name"]
* ]
* ]
* ```
* Only styles based on [Mapbox v8 styles](https://docs.mapbox.com/help/troubleshooting/streets-v8-migration-guide/) are supported.
*
* @constructor * @constructor
* @param {object} options - Options to configure the plugin. * @param {object} options - Options to configure the plugin.
* @param {string[]} [options.supportedLanguages] - List of supported languages * @param {string[]} [options.supportedLanguages] - List of supported languages
* @param {Function} [options.languageTransform] - Custom style transformation to apply * @param {Function} [options.languageTransform] - Custom style transformation to apply
* @param {RegExp} [options.languageField=/^\{name/] - RegExp to match if a text-field is a language field * @param {RegExp} [options.languageField=/^name_/] - RegExp to match if a text-field is a language field
* @param {Function} [options.getLanguageField] - Given a language choose the field in the vector tiles * @param {Function} [options.getLanguageField] - Given a language choose the field in the vector tiles
* @param {string} [options.languageSource] - Name of the source that contains the different languages. * @param {string} [options.languageSource] - Name of the source that contains the different languages.
* @param {string} [options.defaultLanguage] - Name of the default language to initialize style after loading. * @param {string} [options.defaultLanguage] - Name of the default language to initialize style after loading.
* @param {string[]} [options.excludedLayerIds] - Name of the layers that should be excluded from translation. * @param {string[]} [options.excludedLayerIds] - Name of the layers that should be excluded from translation.
*/ */
function MapboxLanguage(options) { function MapboxLanguage(options) {
options = Object.assign({}, options); options = Object.assign({}, options);
if (!(this instanceof MapboxLanguage)) { if (!(this instanceof MapboxLanguage)) {
throw new Error('MapboxLanguage needs to be called with the new keyword'); throw new Error('MapboxLanguage needs to be called with the new keyword');
@ -21,121 +36,53 @@ function MapboxLanguage(options) {
this._initialStyleUpdate = this._initialStyleUpdate.bind(this); this._initialStyleUpdate = this._initialStyleUpdate.bind(this);
this._defaultLanguage = options.defaultLanguage; this._defaultLanguage = options.defaultLanguage;
this._isLanguageField = options.languageField || /^\{name/; this._isLanguageField = options.languageField || /^name_/;
this._getLanguageField = options.getLanguageField || function nameField(language) { this._getLanguageField = options.getLanguageField || function nameField(language) {
return language === 'mul' ? '{name}' : '{name_' + language + '}'; return language === 'mul' ? 'name' : `name_${language}`;
}; };
this._languageSource = options.languageSource || null; this._languageSource = options.languageSource || null;
this._languageTransform = options.languageTransform || function (style, language) { this._languageTransform = options.languageTransform;
if (language === 'ar') {
return noSpacing(style);
} else {
return standardSpacing(style);
}
};
this._excludedLayerIds = options.excludedLayerIds || []; this._excludedLayerIds = options.excludedLayerIds || [];
this.supportedLanguages = options.supportedLanguages || ['ar', 'en', 'es', 'fr', 'de', 'ja', 'ko', 'mul', 'pt', 'ru', 'zh']; this.supportedLanguages = options.supportedLanguages || ['ar', 'de', 'en', 'es', 'fr', 'it', 'ja', 'ko', 'mul', 'pt', 'ru', 'vi', 'zh-Hans', 'zh-Hant'];
} }
function standardSpacing(style) { const isTokenField = /^\{name/;
var changedLayers = style.layers.map(function (layer) { function isFlatExpressionField(isLangField, property) {
if (!(layer.layout || {})['text-field']) return layer; const isGetExpression = Array.isArray(property) && property[0] === 'get';
var spacing = 0; if (isGetExpression && isTokenField.test(property[1])) {
if (layer['source-layer'] === 'state_label') { console.warn('This plugin no longer supports the use of token syntax (e.g. {name}). Please use a get expression. See https://docs.mapbox.com/mapbox-gl-js/style-spec/expressions/ for more details.');
spacing = 0.15; }
}
if (layer['source-layer'] === 'marine_label') {
if (/-lg/.test(layer.id)) {
spacing = 0.25;
}
if (/-md/.test(layer.id)) {
spacing = 0.15;
}
if (/-sm/.test(layer.id)) {
spacing = 0.1;
}
}
if (layer['source-layer'] === 'place_label') {
if (/-suburb/.test(layer.id)) {
spacing = 0.15;
}
if (/-neighbour/.test(layer.id)) {
spacing = 0.1;
}
if (/-islet/.test(layer.id)) {
spacing = 0.01;
}
}
if (layer['source-layer'] === 'airport_label') {
spacing = 0.01;
}
if (layer['source-layer'] === 'rail_station_label') {
spacing = 0.01;
}
if (layer['source-layer'] === 'poi_label') {
if (/-scalerank/.test(layer.id)) {
spacing = 0.01;
}
}
if (layer['source-layer'] === 'road_label') {
if (/-label-/.test(layer.id)) {
spacing = 0.01;
}
if (/-shields/.test(layer.id)) {
spacing = 0.05;
}
}
return Object.assign({}, layer, {
layout: Object.assign({}, layer.layout, {
'text-letter-spacing': spacing
})
});
});
return Object.assign({}, style, { return isGetExpression && isLangField.test(property[1]);
layers: changedLayers
});
} }
function noSpacing(style) { function adaptNestedExpressionField(isLangField, property, languageFieldName) {
var changedLayers = style.layers.map(function (layer) { if (Array.isArray(property)) {
if (!(layer.layout || {})['text-field']) return layer; for (let i = 1; i < property.length; i++) {
var spacing = 0; if (Array.isArray(property[i])) {
return Object.assign({}, layer, { if (isFlatExpressionField(isLangField, property[i])) {
layout: Object.assign({}, layer.layout, { property[i][1] = languageFieldName;
'text-letter-spacing': spacing }
}) adaptNestedExpressionField(isLangField, property[i], languageFieldName);
}); }
}); }
}
return Object.assign({}, style, {
layers: changedLayers
});
}
function isNameStringField(isLangField, property) {
return typeof property === 'string' && isLangField.test(property);
}
function isNameFunctionField(isLangField, property) {
return property.stops && property.stops.filter(function (stop) {
return isLangField.test(stop[1]);
}).length > 0;
} }
function adaptPropertyLanguage(isLangField, property, languageFieldName) { function adaptPropertyLanguage(isLangField, property, languageFieldName) {
if (isNameStringField(isLangField, property)) return languageFieldName; if (isFlatExpressionField(isLangField, property)) {
if (isNameFunctionField(isLangField, property)) { property[1] = languageFieldName;
var newStops = property.stops.map(function (stop) {
if (isLangField.test(stop[1])) {
return [stop[0], languageFieldName];
}
return stop;
});
return Object.assign({}, property, {
stops: newStops
});
} }
adaptNestedExpressionField(isLangField, property, languageFieldName);
// handle special case of bare ['get', 'name'] expression by wrapping it in a coalesce statement
if (property[0] === 'get' && property[1] === 'name') {
const defaultProp = property.slice();
const adaptedProp = ['get', languageFieldName];
property = ['coalesce', adaptedProp, defaultProp];
}
return property; return property;
} }
@ -151,10 +98,13 @@ function changeLayerTextProperty(isLangField, layer, languageFieldName, excluded
} }
function findStreetsSource(style) { function findStreetsSource(style) {
var sources = Object.keys(style.sources).filter(function (sourceName) { const sources = Object.keys(style.sources).filter((sourceName) => {
var source = style.sources[sourceName]; const url = style.sources[sourceName].url;
return /mapbox-streets-v\d/.test(source.url); // the source URL can reference the source version or the style version
// this check and the error forces users to migrate to styles using source version 8
return url && url.indexOf('mapbox.mapbox-streets-v8') > -1 || /mapbox-streets-v[1-9][1-9]/.test(url);
}); });
if (!sources.length) throw new Error('If using MapboxLanguage with a Mapbox style, the style must be based on vector tile version 8, e.g. "streets-v11"');
return sources[0]; return sources[0];
} }
@ -165,38 +115,36 @@ function findStreetsSource(style) {
* @returns {object} the modified style * @returns {object} the modified style
*/ */
MapboxLanguage.prototype.setLanguage = function (style, language) { MapboxLanguage.prototype.setLanguage = function (style, language) {
if (this.supportedLanguages.indexOf(language) < 0) throw new Error('Language ' + language + ' is not supported'); if (this.supportedLanguages.indexOf(language) < 0) throw new Error(`Language ${ language } is not supported`);
var streetsSource = this._languageSource || findStreetsSource(style); const streetsSource = this._languageSource || findStreetsSource(style);
if (!streetsSource) return style; if (!streetsSource) return style;
var field = this._getLanguageField(language); const field = this._getLanguageField(language);
var isLangField = this._isLanguageField; const isLangField = this._isLanguageField;
var excludedLayerIds = this._excludedLayerIds; const excludedLayerIds = this._excludedLayerIds;
var changedLayers = style.layers.map(function (layer) { const changedLayers = style.layers.map((layer) => {
if (layer.source === streetsSource) return changeLayerTextProperty(isLangField, layer, field, excludedLayerIds); if (layer.source === streetsSource) return changeLayerTextProperty(isLangField, layer, field, excludedLayerIds);
return layer; return layer;
}); });
var languageStyle = Object.assign({}, style, { const languageStyle = Object.assign({}, style, {
layers: changedLayers layers: changedLayers
}); });
return this._languageTransform(languageStyle, language); return this._languageTransform ? this._languageTransform(languageStyle, language) : languageStyle;
}; };
MapboxLanguage.prototype._initialStyleUpdate = function () { MapboxLanguage.prototype._initialStyleUpdate = function () {
var style = this._map.getStyle(); const style = this._map.getStyle();
var language = this._defaultLanguage || browserLanguage(this.supportedLanguages); const language = this._defaultLanguage || browserLanguage(this.supportedLanguages);
// We only update the style once
this._map.off('styledata', this._initialStyleUpdate);
this._map.setStyle(this.setLanguage(style, language)); this._map.setStyle(this.setLanguage(style, language));
}; };
function browserLanguage(supportedLanguages) { function browserLanguage(supportedLanguages) {
var language = navigator.languages ? navigator.languages[0] : (navigator.language || navigator.userLanguage); const language = navigator.languages ? navigator.languages[0] : (navigator.language || navigator.userLanguage);
var parts = language.split('-'); const parts = language && language.split('-');
var languageCode = language; let languageCode = language;
if (parts.length > 1) { if (parts.length > 1) {
languageCode = parts[0]; languageCode = parts[0];
} }
@ -208,53 +156,18 @@ function browserLanguage(supportedLanguages) {
MapboxLanguage.prototype.onAdd = function (map) { MapboxLanguage.prototype.onAdd = function (map) {
this._map = map; this._map = map;
this._map.on('styledata', this._initialStyleUpdate); this._map.on('style.load', this._initialStyleUpdate);
this._container = document.createElement('div'); this._container = document.createElement('div');
return this._container; return this._container;
}; };
MapboxLanguage.prototype.onRemove = function () { MapboxLanguage.prototype.onRemove = function () {
this._map.off('styledata', this._initialStyleUpdate); this._map.off('style.load', this._initialStyleUpdate);
this._map = undefined; this._map = undefined;
}; };
function ie11Polyfill() {
if (typeof Object.assign != 'function') {
// Must be writable: true, enumerable: false, configurable: true
Object.defineProperty(Object, 'assign', {
// eslint-disable-next-line no-unused-vars
value: function assign(target, varArgs) { // .length of function is 2
// eslint-disable-next-line strict
'use strict';
if (target === null) { // TypeError if undefined or null
throw new TypeError('Cannot convert undefined or null to object');
}
var to = Object(target);
for (var index = 1; index < arguments.length; index++) {
var nextSource = arguments[index];
if (nextSource !== null) { // Skip over if undefined or null
for (var nextKey in nextSource) {
// Avoid bugs when hasOwnProperty is shadowed
if (Object.prototype.hasOwnProperty.call(nextSource, nextKey)) {
to[nextKey] = nextSource[nextKey];
}
}
}
}
return to;
},
writable: true,
configurable: true
});
}
}
if (typeof module !== 'undefined' && typeof module.exports !== 'undefined') { if (typeof module !== 'undefined' && typeof module.exports !== 'undefined') {
module.exports = MapboxLanguage; module.exports = MapboxLanguage;
} else { } else {
ie11Polyfill();
window.MapboxLanguage = MapboxLanguage; window.MapboxLanguage = MapboxLanguage;
} }

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,349 @@
/* normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
========================================================================== */
/**
* 1. Correct the line height in all browsers.
* 2. Prevent adjustments of font size after orientation changes in iOS.
*/
html {
line-height: 1.15; /* 1 */
-webkit-text-size-adjust: 100%; /* 2 */
}
/* Sections
========================================================================== */
/**
* Remove the margin in all browsers.
*/
body {
margin: 0;
}
/**
* Render the `main` element consistently in IE.
*/
main {
display: block;
}
/**
* Correct the font size and margin on `h1` elements within `section` and
* `article` contexts in Chrome, Firefox, and Safari.
*/
h1 {
font-size: 2em;
margin: 0.67em 0;
}
/* Grouping content
========================================================================== */
/**
* 1. Add the correct box sizing in Firefox.
* 2. Show the overflow in Edge and IE.
*/
hr {
box-sizing: content-box; /* 1 */
height: 0; /* 1 */
overflow: visible; /* 2 */
}
/**
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/
pre {
font-family: monospace, monospace; /* 1 */
font-size: 1em; /* 2 */
}
/* Text-level semantics
========================================================================== */
/**
* Remove the gray background on active links in IE 10.
*/
a {
background-color: transparent;
}
/**
* 1. Remove the bottom border in Chrome 57-
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
*/
abbr[title] {
border-bottom: none; /* 1 */
text-decoration: underline; /* 2 */
text-decoration: underline dotted; /* 2 */
}
/**
* Add the correct font weight in Chrome, Edge, and Safari.
*/
b,
strong {
font-weight: bolder;
}
/**
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/
code,
kbd,
samp {
font-family: monospace, monospace; /* 1 */
font-size: 1em; /* 2 */
}
/**
* Add the correct font size in all browsers.
*/
small {
font-size: 80%;
}
/**
* Prevent `sub` and `sup` elements from affecting the line height in
* all browsers.
*/
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sub {
bottom: -0.25em;
}
sup {
top: -0.5em;
}
/* Embedded content
========================================================================== */
/**
* Remove the border on images inside links in IE 10.
*/
img {
border-style: none;
}
/* Forms
========================================================================== */
/**
* 1. Change the font styles in all browsers.
* 2. Remove the margin in Firefox and Safari.
*/
button,
input,
optgroup,
select,
textarea {
font-family: inherit; /* 1 */
font-size: 100%; /* 1 */
line-height: 1.15; /* 1 */
margin: 0; /* 2 */
}
/**
* Show the overflow in IE.
* 1. Show the overflow in Edge.
*/
button,
input { /* 1 */
overflow: visible;
}
/**
* Remove the inheritance of text transform in Edge, Firefox, and IE.
* 1. Remove the inheritance of text transform in Firefox.
*/
button,
select { /* 1 */
text-transform: none;
}
/**
* Correct the inability to style clickable types in iOS and Safari.
*/
button,
[type="button"],
[type="reset"],
[type="submit"] {
-webkit-appearance: button;
}
/**
* Remove the inner border and padding in Firefox.
*/
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
border-style: none;
padding: 0;
}
/**
* Restore the focus styles unset by the previous rule.
*/
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
outline: 1px dotted ButtonText;
}
/**
* Correct the padding in Firefox.
*/
fieldset {
padding: 0.35em 0.75em 0.625em;
}
/**
* 1. Correct the text wrapping in Edge and IE.
* 2. Correct the color inheritance from `fieldset` elements in IE.
* 3. Remove the padding so developers are not caught out when they zero out
* `fieldset` elements in all browsers.
*/
legend {
box-sizing: border-box; /* 1 */
color: inherit; /* 2 */
display: table; /* 1 */
max-width: 100%; /* 1 */
padding: 0; /* 3 */
white-space: normal; /* 1 */
}
/**
* Add the correct vertical alignment in Chrome, Firefox, and Opera.
*/
progress {
vertical-align: baseline;
}
/**
* Remove the default vertical scrollbar in IE 10+.
*/
textarea {
overflow: auto;
}
/**
* 1. Add the correct box sizing in IE 10.
* 2. Remove the padding in IE 10.
*/
[type="checkbox"],
[type="radio"] {
box-sizing: border-box; /* 1 */
padding: 0; /* 2 */
}
/**
* Correct the cursor style of increment and decrement buttons in Chrome.
*/
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
height: auto;
}
/**
* 1. Correct the odd appearance in Chrome and Safari.
* 2. Correct the outline style in Safari.
*/
[type="search"] {
-webkit-appearance: textfield; /* 1 */
outline-offset: -2px; /* 2 */
}
/**
* Remove the inner padding in Chrome and Safari on macOS.
*/
[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
/**
* 1. Correct the inability to style clickable types in iOS and Safari.
* 2. Change font properties to `inherit` in Safari.
*/
::-webkit-file-upload-button {
-webkit-appearance: button; /* 1 */
font: inherit; /* 2 */
}
/* Interactive
========================================================================== */
/*
* Add the correct display in Edge, IE 10+, and Firefox.
*/
details {
display: block;
}
/*
* Add the correct display in all browsers.
*/
summary {
display: list-item;
}
/* Misc
========================================================================== */
/**
* Add the correct display in IE 10+.
*/
template {
display: none;
}
/**
* Add the correct display in IE 10.
*/
[hidden] {
display: none;
}

View File

@ -1,9 +0,0 @@
/**
* Minified by jsDelivr using clean-css v4.2.1.
* Original file: /npm/normalize.css@8.0.1/normalize.css
*
* Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
*/
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}
/*# sourceMappingURL=/sm/5d8a97cdb40a6c49031b52d63494a6eca084416b5b035e5698fdc5fa0969b2c3.map */

View File

@ -0,0 +1 @@
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Amazon EC2</title><path d="M6.429 17.571h10.714V6.857H6.429v10.714ZM18 6.857h1.714v.857H18V9.43h1.714v.857H18v1.285h1.714v.858H18v1.714h1.714V15H18v1.714h1.714v.857H18v.059a.8.8 0 0 1-.799.799h-.058v1.714h-.857v-1.714H14.57v1.714h-.857v-1.714H12.43v1.714h-.858v-1.714H9.857v1.714H9v-1.714H7.286v1.714h-.857v-1.714H6.37a.8.8 0 0 1-.799-.8v-.058H4.286v-.857H5.57V15H4.286v-.857H5.57v-1.714H4.286v-.858H5.57v-1.285H4.286v-.857H5.57V7.714H4.286v-.857H5.57V6.8a.8.8 0 0 1 .8-.799h.058V4.286h.857V6H9V4.286h.857V6h1.714V4.286h.858V6h1.285V4.286h.857V6h1.715V4.286h.857V6h.058a.8.8 0 0 1 .799.799v.058ZM12.429 23.09a.054.054 0 0 1-.054.053H.91a.053.053 0 0 1-.053-.053V11.625c0-.03.024-.054.053-.054h2.52v-.857H.91a.911.911 0 0 0-.91.91V23.09c0 .502.408.91.91.91h11.465a.91.91 0 0 0 .91-.91V21h-.856ZM24 .91v11.465a.91.91 0 0 1-.91.91h-2.52v-.856h2.519a.054.054 0 0 0 .053-.054V.91a.053.053 0 0 0-.053-.053H11.625a.053.053 0 0 0-.054.053v2.52h-.857V.91c0-.502.409-.91.91-.91H23.09a.91.91 0 0 1 .91.91Z"/></svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -0,0 +1 @@
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Amazon ECS</title><path d="m21.895 15.256-3.369-2.021V8.421a.42.42 0 0 0-.209-.364l-4.843-2.825V1.159l8.42 4.976Zm.635-9.724L13.267.06a.422.422 0 0 0-.635.362v5.053c0 .15.08.288.208.363l4.844 2.826v4.81a.42.42 0 0 0 .205.362l4.21 2.526a.42.42 0 0 0 .638-.361V5.895a.42.42 0 0 0-.207-.363ZM11.977 23.1l-9.872-5.248V6.135l8.421-4.976v4.084L6.09 8.066a.422.422 0 0 0-.195.355v7.158a.42.42 0 0 0 .226.373l5.665 2.948a.42.42 0 0 0 .387 0l5.496-2.84 3.382 2.03-9.074 5.01Zm10.135-5.356-4.21-2.526a.42.42 0 0 0-.411-.013l-5.51 2.847-5.244-2.729v-6.67l4.436-2.824a.422.422 0 0 0 .195-.355V.42a.421.421 0 0 0-.635-.362L1.47 5.532a.421.421 0 0 0-.207.363v12.21c0 .156.086.299.223.372l10.297 5.474a.421.421 0 0 0 .401-.004l9.915-5.473a.422.422 0 0 0 .013-.73Z"/></svg>

After

Width:  |  Height:  |  Size: 836 B

View File

@ -0,0 +1 @@
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Amazon EKS</title><path d="m14.67 8.505-2.875 3.335 3.128 3.648h-1.168l-2.808-3.277v3.368h-.842V8.421h.842v2.947l2.603-2.863Zm7.225 6.751-3.369-2.021V8.421a.42.42 0 0 0-.209-.364l-4.843-2.825V1.159l8.42 4.976Zm.635-9.724L13.267.06a.422.422 0 0 0-.635.362v5.053c0 .15.08.288.208.363l4.844 2.826v4.81a.42.42 0 0 0 .205.362l4.21 2.526a.42.42 0 0 0 .638-.361V5.895a.42.42 0 0 0-.207-.363ZM11.977 23.1l-9.872-5.248V6.135l8.421-4.976v4.084L6.09 8.066a.422.422 0 0 0-.195.355v7.158a.42.42 0 0 0 .226.373l5.665 2.948a.42.42 0 0 0 .387 0l5.496-2.84 3.382 2.03Zm10.135-5.356-4.21-2.526a.42.42 0 0 0-.411-.013l-5.51 2.847-5.244-2.729v-6.67l4.436-2.824a.422.422 0 0 0 .195-.355V.42a.421.421 0 0 0-.635-.362L1.47 5.532a.421.421 0 0 0-.207.363v12.21c0 .156.086.299.223.372l10.297 5.474a.421.421 0 0 0 .401-.004l9.915-5.473a.422.422 0 0 0 .013-.73Z"/></svg>

After

Width:  |  Height:  |  Size: 921 B

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 4.9 KiB

View File

@ -0,0 +1 @@
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Boxy SVG</title><path d="m3.384 5.028 6.933-4.023L12.05 0l1.716 1.002 6.866 4.01 1.716 1.003v12.054l-1.71.988c-1.712.99-5.136 2.965-6.847 3.954L12.079 24l-1.735-1.002L3.4 18.992 1.665 17.99l-.002-1.992-.01-7.973-.001-1.992 1.732-1.005Zm14.68 9.478c.1.037.23.037.363.037.594 0 1.383-.333 1.779-.763.394-.392.76-1.152.76-1.778 0-.626-.366-1.386-.76-1.78-.396-.43-1.185-.762-1.779-.762-.134 0-.263 0-.398.038.135-.069.23-.169.299-.234.397-.392.76-1.187.76-1.811 0-.592-.363-1.381-.76-1.78-.397-.397-1.189-.755-1.783-.755-.625 0-1.414.358-1.81.755-.064.067-.13.165-.232.268.031-.103.031-.234.031-.368 0-.595-.325-1.38-.755-1.778-.394-.395-1.152-.757-1.78-.757-.626 0-1.384.362-1.781.757-.427.397-.752 1.183-.752 1.778 0 .134 0 .265.028.398-.066-.133-.165-.23-.23-.298-.395-.397-1.183-.755-1.809-.755-.593 0-1.386.358-1.781.755-.399.399-.76 1.188-.76 1.78 0 .624.361 1.419.76 1.811.069.065.162.13.263.234-.101-.038-.23-.038-.364-.038-.594 0-1.383.332-1.779.762-.397.394-.76 1.154-.76 1.78 0 .626.363 1.386.76 1.778.396.43 1.185.763 1.779.763.134 0 .263 0 .398-.037-.135.068-.228.168-.297.233-.399.39-.76 1.185-.76 1.811 0 .59.361 1.381.76 1.779.395.397 1.15.756 1.781.756.626 0 1.414-.36 1.81-.756.064-.066.13-.166.229-.267-.028.101-.028.234-.028.366 0 .59.325 1.381.752 1.778.397.398 1.155.759 1.781.759.628 0 1.386-.361 1.78-.759.43-.397.755-1.188.755-1.778 0-.132 0-.265-.03-.395.068.13.167.23.231.296.396.397 1.185.756 1.81.756.594 0 1.386-.36 1.783-.756.397-.398.76-1.189.76-1.779 0-.626-.363-1.42-.76-1.81-.069-.066-.164-.133-.263-.234Zm-1.547.591h.028c.794 0 1.425.628 1.425 1.453 0 .79-.631 1.416-1.425 1.416-.82 0-1.452-.626-1.452-1.416v-.034l-2.103-2.11v2.968c.263.263.459.621.459 1.054 0 .79-.659 1.419-1.45 1.419-.79 0-1.448-.63-1.448-1.419 0-.433.164-.79.461-1.054v-2.968l-2.11 2.11v.034c0 .79-.657 1.416-1.447 1.416a1.41 1.41 0 0 1-1.423-1.416c0-.825.63-1.453 1.423-1.453h.03l2.107-2.108H6.628a1.36 1.36 0 0 1-1.055.464c-.79 0-1.416-.659-1.416-1.451 0-.795.626-1.452 1.416-1.452.433 0 .792.2 1.055.463h2.964L7.485 8.906h-.03c-.794 0-1.423-.664-1.423-1.453 0-.79.63-1.417 1.423-1.417.82 0 1.447.628 1.447 1.417v.033l2.11 2.111v-2.97c-.263-.263-.46-.62-.46-1.054 0-.787.658-1.417 1.447-1.417.791 0 1.45.63 1.45 1.417 0 .434-.164.791-.46 1.055v2.97l2.104-2.112v-.033c0-.79.664-1.417 1.452-1.417.794 0 1.425.628 1.425 1.417 0 .79-.631 1.453-1.425 1.453h-.028l-2.109 2.107h2.965c.263-.263.623-.463 1.054-.463.79 0 1.416.657 1.416 1.452 0 .792-.626 1.451-1.416 1.451a1.36 1.36 0 0 1-1.054-.464h-2.965l2.109 2.108Z"/></svg>

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

@ -0,0 +1 @@
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>commitlint</title><path d="M7.988 4.822v.901h1.845v6.337c0 .809.187 1.433.563 1.875.379.438.913.657 1.6.657h1.458v-.97H12.11c-.37 0-.652-.13-.844-.393-.187-.263-.281-.652-.281-1.17V4.823ZM3.459 7.418c-1.084 0-1.933.325-2.546.976C.304 9.044 0 9.944 0 11.096c0 1.15.304 2.051.913 2.702.613.65 1.462.976 2.546.976a3.67 3.67 0 0 0 1-.137c.33-.088.65-.221.958-.4V13.04c-.271.259-.565.45-.882.576a3 3 0 0 1-1.076.18c-.717 0-1.272-.232-1.664-.7-.387-.47-.582-1.138-.582-2.001 0-.868.195-1.535.582-2.002.388-.467.943-.7 1.664-.7.388 0 .734.06 1.038.181a3.1 3.1 0 0 1 .92.588V7.956a4.255 4.255 0 0 0-.97-.406 3.74 3.74 0 0 0-.988-.132Zm12.855 6.123v1.128H24V13.54zm3.156 2.255-2.302 3.382h1.3l1.694-2.204 1.684 2.204h1.3l-2.301-3.382z"/></svg>

After

Width:  |  Height:  |  Size: 812 B

View File

@ -0,0 +1 @@
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>DuckDB</title><path d="M12 0C5.363 0 0 5.363 0 12s5.363 12 12 12 12-5.363 12-12S18.637 0 12 0zM9.502 7.03a4.974 4.974 0 0 1 4.97 4.97 4.974 4.974 0 0 1-4.97 4.97A4.974 4.974 0 0 1 4.532 12a4.974 4.974 0 0 1 4.97-4.97zm6.563 3.183h2.351c.98 0 1.787.782 1.787 1.762s-.807 1.789-1.787 1.789h-2.351v-3.551z"/></svg>

After

Width:  |  Height:  |  Size: 389 B

View File

@ -0,0 +1 @@
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>EnterpriseDB</title><path d="M12 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0zM6.44 7.75c.072 0 .148.004.222.012l1.815.18a.384.384 0 0 1 .345.369v6.636c0 .186-.154.32-.345.301l-1.815-.18C5.47 14.95 4.5 13.918 4.5 12.762c0-.62.279-1.15.72-1.49-.441-.428-.72-1.011-.72-1.631 0-1.084.85-1.892 1.94-1.89zm11.12 0c1.09 0 1.94.807 1.94 1.89 0 .62-.278 1.204-.72 1.631.442.34.72.87.72 1.49 0 1.157-.967 2.19-2.16 2.307l-1.817.18c-.191.02-.345-.116-.345-.3V8.31c0-.185.154-.35.345-.369l1.817-.18c.074-.007.148-.011.22-.011zm-7.374 2H12c1.194 0 2.16.93 2.16 2.074v3.09c0 1.145-.972 2.086-2.166 2.086H10.18a.343.343 0 0 1-.34-.344v-.092c0-.34.187-.331.27-.34l.136-.011c1.216-.13 1.735-.404 1.754-.766h-1.82c-.202 0-.34-.195-.34-.388v-4.977c0-.184.154-.332.346-.332z"/></svg>

After

Width:  |  Height:  |  Size: 869 B

View File

@ -0,0 +1 @@
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Fauna</title><path d="M17.864 5.034c-1.454.496-2.155 1.385-2.632 2.77-.123.369-.43.778-.777 1.053l1.193 1.306-3.787-2.706L1.411 0s.754 5.003 1.015 6.844c.185 1.298.5 1.88 1.5 2.47l.401.22 1.724.928-1.024-.543 4.726 2.636-.031.07-5.087-2.407c.27.944.793 2.761 1.016 3.564.238.865.508 1.18 1.331 1.487l1.516.566.94-.378-1.194.81L2.28 24c3.963-3.76 7.319-5.097 9.774-6.19 3.132-1.385 5.018-2.274 6.249-5.468.877-2.242 1.562-5.113 2.432-6.222l1.855-2.423s-3.84 1.039-4.726 1.337z"/></svg>

After

Width:  |  Height:  |  Size: 562 B

View File

@ -0,0 +1 @@
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Flatpak</title><path d="M12 0c-.556 0-1.111.144-1.61.432l-7.603 4.39a3.217 3.217 0 0 0-1.61 2.788v8.78c0 1.151.612 2.212 1.61 2.788l7.603 4.39a3.217 3.217 0 0 0 3.22 0l7.603-4.39a3.217 3.217 0 0 0 1.61-2.788V7.61a3.217 3.217 0 0 0-1.61-2.788L13.61.432A3.218 3.218 0 0 0 12 0Zm0 2.358c.15 0 .299.039.431.115l7.604 4.39c.132.077.24.187.315.316L12 12v9.642a.863.863 0 0 1-.431-.116l-7.604-4.39a.866.866 0 0 1-.431-.746V7.61c0-.153.041-.302.116-.43L12 12Z"/></svg>

After

Width:  |  Height:  |  Size: 538 B

View File

@ -0,0 +1 @@
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Google AdMob</title><path d="M11.46.033h-.052A11.993 11.993 0 0 0 0 11.922v.052c0 7.475 6.563 11.928 11.447 11.928h.17a3.086 3.086 0 0 0 3.125-3.047c0-1.693-1.433-2.917-3.152-2.917h-.039a6.016 6.016 0 0 1-5.508-6.368v-.052a6.016 6.016 0 0 1 5.573-5.509c1.719 0 3.125-1.237 3.125-2.917A3.086 3.086 0 0 0 11.604.02h-.143zm2.031.026a3.516 3.516 0 0 1 1.746 3.021 3.386 3.386 0 0 1-1.928 3.047c2.865.6 4.532 3.126 4.688 5.378v7.684a3.49 3.49 0 0 1 6.003.026v-7.736A12.046 12.046 0 0 0 13.491.045zm7.475 17.932a2.995 2.995 0 1 0 .04 0z"/></svg>

After

Width:  |  Height:  |  Size: 617 B

View File

@ -0,0 +1 @@
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>GTK</title><path d="M9.01 23.773V14.45l-7.584 2.245Zm0-13.87L.91 3.828l.502 12.526 7.597-2.249ZM9.57 24l12.353-5.146-8.285-5.775-4.068 1.204ZM23.09 5.815l-9.257 2.849v4.148l8.237 5.741ZM9.57 9.975v3.964l3.932-1.164v-4.01Zm-.228-.52 4.16-1.28V0L1.231 3.37ZM22.715 5.34 13.833.052v8.021Z"/></svg>

After

Width:  |  Height:  |  Size: 372 B

View File

@ -0,0 +1 @@
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Hi Bob</title><path d="M12.527 17.538c-2.077 0-3.767-1.705-3.767-3.8 0-2.096 1.69-3.8 3.767-3.8s3.767 1.704 3.767 3.8c0 2.095-1.69 3.8-3.766 3.8m0-6.408c-1.426 0-2.586 1.17-2.586 2.607 0 1.439 1.159 2.609 2.585 2.609s2.585-1.17 2.585-2.609c0-1.437-1.16-2.606-2.585-2.606M1.707 10.4V7.082a.858.858 0 0 0-.853-.86.856.856 0 0 0-.854.86v6.632c.002 2.244 1.81 4.065 4.03 4.065 2.221 0 4.029-1.823 4.029-4.065 0-2.24-1.808-4.063-4.029-4.063a3.98 3.98 0 0 0-2.323.748zm2.323 5.658a2.335 2.335 0 0 1-2.323-2.343 2.335 2.335 0 0 1 2.323-2.342 2.335 2.335 0 0 1 2.323 2.342 2.335 2.335 0 0 1-2.323 2.343m16.465-5.854a3.49 3.491 0 0 0-2.848 1.484V6.704a.33.33 0 0 0-.327-.331.33.33 0 0 0-.328.331v7.036c.002 1.949 1.572 3.533 3.504 3.533 1.931 0 3.504-1.586 3.504-3.536 0-1.949-1.573-3.534-3.505-3.534m0 6.408c-1.57 0-2.847-1.289-2.847-2.873s1.278-2.872 2.847-2.872c1.57 0 2.848 1.288 2.848 2.872 0 1.585-1.277 2.873-2.848 2.873"/></svg>

After

Width:  |  Height:  |  Size: 1005 B

View File

@ -0,0 +1 @@
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>HTTPie</title><path d="M7.28 0C4.4 0 1.992 2.279 1.933 5.155a5.263 5.263 0 0 0 5.26 5.358h4.223a.306.306 0 0 1 .122.584l-6.47 2.835a5.263 5.263 0 0 0-3.135 4.85C1.953 21.683 4.368 24 7.273 24h2.212c2.922 0 5.357-2.345 5.35-5.267a5.263 5.263 0 0 0-3.29-4.867.303.303 0 0 1-.007-.556l7.402-3.246a5.263 5.263 0 0 0 3.128-4.846C22.047 2.317 19.626.003 16.724.003z"/></svg>

After

Width:  |  Height:  |  Size: 446 B

View File

@ -1 +0,0 @@
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Java</title><path d="M8.851 18.56s-.917.534.653.714c1.902.218 2.874.187 4.969-.211 0 0 .552.346 1.321.646-4.699 2.013-10.633-.118-6.943-1.149M8.276 15.933s-1.028.761.542.924c2.032.209 3.636.227 6.413-.308 0 0 .384.389.987.602-5.679 1.661-12.007.13-7.942-1.218M13.116 11.475c1.158 1.333-.304 2.533-.304 2.533s2.939-1.518 1.589-3.418c-1.261-1.772-2.228-2.652 3.007-5.688 0-.001-8.216 2.051-4.292 6.573M19.33 20.504s.679.559-.747.991c-2.712.822-11.288 1.069-13.669.033-.856-.373.75-.89 1.254-.998.527-.114.828-.093.828-.093-.953-.671-6.156 1.317-2.643 1.887 9.58 1.553 17.462-.7 14.977-1.82M9.292 13.21s-4.362 1.036-1.544 1.412c1.189.159 3.561.123 5.77-.062 1.806-.152 3.618-.477 3.618-.477s-.637.272-1.098.587c-4.429 1.165-12.986.623-10.522-.568 2.082-1.006 3.776-.892 3.776-.892M17.116 17.584c4.503-2.34 2.421-4.589.968-4.285-.355.074-.515.138-.515.138s.132-.207.385-.297c2.875-1.011 5.086 2.981-.928 4.562 0-.001.07-.062.09-.118M14.401 0s2.494 2.494-2.365 6.33c-3.896 3.077-.888 4.832-.001 6.836-2.274-2.053-3.943-3.858-2.824-5.539 1.644-2.469 6.197-3.665 5.19-7.627M9.734 23.924c4.322.277 10.959-.153 11.116-2.198 0 0-.302.775-3.572 1.391-3.688.694-8.239.613-10.937.168 0-.001.553.457 3.393.639"/></svg>

Before

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -0,0 +1 @@
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>k6</title><path d="M24 23.646H0L7.99 6.603l4.813 3.538L19.08.354Zm-8.8-3.681h.052a2.292 2.292 0 0 0 1.593-.64 2.088 2.088 0 0 0 .685-1.576 1.912 1.912 0 0 0-.66-1.511 2.008 2.008 0 0 0-1.37-.59h-.04a.716.716 0 0 0-.199.027l1.267-1.883-1.01-.705-.477.705-1.22 1.864c-.21.31-.386.582-.495.77-.112.2-.21.41-.29.625a1.942 1.942 0 0 0-.138.719 2.086 2.086 0 0 0 .676 1.558c.422.411.989.641 1.578.64Zm-5.365-2.027 1.398 1.978h1.496l-1.645-2.295 1.46-2.029-.97-.671-.427.565-1.314 1.853v-3.725l-1.31-1.068v7.37h1.31v-1.98Zm5.367.792a.963.963 0 1 1 0-1.927h.009a.941.941 0 0 1 .679.29.897.897 0 0 1 .29.668.978.978 0 0 1-.977.967Z"/></svg>

After

Width:  |  Height:  |  Size: 710 B

View File

@ -0,0 +1 @@
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Keep a Changelog</title><path d="M9.803.179C9.108.174 8.413.24 7.72.38 5.639.797 3.974 1.828 2.77 3.445 1.232 5.515.367 8.072.049 11.492c-.125 1.353.008 2.711.181 4.216a9.97 9.97 0 0 0 2.144 5.214c.933 1.157 2.004 1.917 3.272 2.324a11.972 11.972 0 0 0 3.336.574 6.14 6.14 0 0 0 .795-.034l.416-.041a92.49 92.49 0 0 0 1.721-.186 21.41 21.41 0 0 0 7.393-2.257c2.007-1.048 3.41-2.594 4.17-4.597.354-.93.523-1.713.523-2.445a4.585 4.585 0 0 0-.064-.762c-.405-2.379-1.235-4.428-2.555-6.264-1.634-2.276-3.288-3.878-5.202-5.045C13.993.86 11.89.193 9.803.18Zm-.439 1.064c.77-.021 1.56.058 2.376.237h-.001c2.73.597 5.137 2.002 7.154 4.173 2.288 2.46 3.591 5.045 3.988 7.899.071.528-.013 1.114-.096 1.622-.388 2.327-1.663 4.063-3.786 5.16a20.998 20.998 0 0 1-7.166 2.182c-.558.066-1.12.123-1.757.187l-.088.01a6.84 6.84 0 0 1-1.658-.03c-.69-.098-1.472-.21-2.224-.389-1.767-.42-3.069-1.622-3.978-3.658-.684-1.538-1.038-3.245-1.081-5.233a17.918 17.918 0 0 1 1.149-6.798c.62-1.641 1.517-3.453 3.462-4.418a8.747 8.747 0 0 1 3.706-.944zm1.108 1.47a7.745 7.745 0 0 0-2.24.41c-1.6.525-2.718 1.304-3.523 2.438-1.499 2.118-2.275 4.58-2.31 7.325a10.123 10.123 0 0 0 .803 4.388c1.081 2.569 3.053 4.064 5.707 4.326 2.796.27 5.543-.381 8.178-1.937a8.122 8.122 0 0 0 2.772-2.624 7.104 7.104 0 0 0 1.168-3.86c0-2.162-1.015-4.47-3.049-6.862a6.403 6.403 0 0 0-.704-.707c-2.333-2.006-4.567-2.966-6.802-2.898zm.099 1.035c1.492-.022 3.015.475 4.672 1.508 1.783 1.117 3.161 2.763 4.091 4.909.887 2.02.905 3.938.058 5.696a6.809 6.809 0 0 1-2.907 2.988c-2.253 1.232-4.315 1.776-6.458 1.713h-.022c-1.55.06-2.89-.32-4.098-1.163-.7-.488-1.241-1.202-1.655-2.183a10.94 10.94 0 0 1-.872-4.273A12.65 12.65 0 0 1 4.404 8.09a12.156 12.156 0 0 1 .874-1.622l.163-.27c.67-1.108 1.725-1.639 3.103-2.099a6.756 6.756 0 0 1 2.027-.35zm.03 1.62c-1.18.037-2.28.465-3.289 1.283-1.395 1.13-2.23 2.72-2.63 4.993a7.241 7.241 0 0 0 .676 4.613c1.062 2.054 2.8 3.11 5.026 3.05h.008c2.958-.155 5.11-1.249 6.573-3.347a5.605 5.605 0 0 0 1.06-3.245 5.814 5.814 0 0 0-.242-1.639c-.72-2.435-2.161-4.145-4.29-5.085-1.009-.445-1.974-.652-2.892-.624Zm.312 1.064c.77.008 1.547.191 2.35.55 1.862.833 3.073 2.332 3.598 4.462.526 2.13-.27 4.205-2.066 5.423-1.479.999-2.93 1.447-4.438 1.367h-.04c-1.004.08-1.994-.226-2.943-.91a3.668 3.668 0 0 1-1.29-1.72 7.64 7.64 0 0 1-.514-2.727 8.474 8.474 0 0 1 .747-3.38c.676-1.556 1.724-2.503 3.215-2.893.46-.12.919-.178 1.38-.172zM9.455 8.758v6.882h1.155v-1.908l1.68 1.908h1.462l-2.273-2.5 1.871-1.958h-1.509l-1.231 1.337V8.758Z"/></svg>

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

@ -0,0 +1 @@
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Lapce</title><path d="M3.802 1.267 1.608 0v24L8 20.31v-2.535L3.802 20.2Zm4.208 13.9V6.231L18.003 12l-7.798 4.503v2.533L22.392 12 5.806 2.424V16.44Zm5.598-3.231L10.205 9.97v3.93Z"/></svg>

After

Width:  |  Height:  |  Size: 264 B

View File

@ -0,0 +1 @@
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Linear</title><path d="M2.886 4.18A11.982 11.982 0 0 1 11.99 0C18.624 0 24 5.376 24 12.009c0 3.64-1.62 6.903-4.18 9.105L2.887 4.18ZM1.817 5.626l16.556 16.556c-.524.33-1.075.62-1.65.866L.951 7.277c.247-.575.537-1.126.866-1.65ZM.322 9.163l14.515 14.515c-.71.172-1.443.282-2.195.322L0 11.358a12 12 0 0 1 .322-2.195Zm-.17 4.862 9.823 9.824a12.02 12.02 0 0 1-9.824-9.824Z"/></svg>

After

Width:  |  Height:  |  Size: 454 B

View File

@ -0,0 +1 @@
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>LoopBack</title><path d="m6.333 18.413 2.512-1.615 3.179 1.814 3.209-1.876 2.656 1.515-5.849 3.418-5.707-3.256ZM5.273 6.239l6.687-3.907 6.73 3.839.022 6.755-2.654-1.513-.011-3.701-4.071-2.322-4.05 2.367.011 3.698-.903.526-1.739 1.118-.022-6.86Zm3.608 2.463 1.913 1.089-1.906 1.11-.007-2.199Zm4.337 5.514 2.634-1.544 3.271 1.862 2.221-1.296-.013-2.571-1.677-.957-.01-3.054 4.355 2.485.001 5.611-4.859 2.841-5.923-3.377Zm-13.189.661L0 9.249l4.322-2.525.009 3.061-1.675.979.013 2.57 2.234 1.274L15.098 8.66l.009 3.062-10.189 5.944-4.889-2.789Z"/></svg>

After

Width:  |  Height:  |  Size: 627 B

View File

@ -0,0 +1 @@
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Mailgun</title><path d="M11.837 0c6.602 0 11.984 5.381 11.984 11.994-.017 2.99-3.264 4.84-5.844 3.331a3.805 3.805 0 0 1-.06-.035l-.055-.033-.022.055c-2.554 4.63-9.162 4.758-11.894.232-2.732-4.527.46-10.313 5.746-10.416a6.868 6.868 0 0 1 7.002 6.866 1.265 1.265 0 0 0 2.52 0c0-5.18-4.197-9.38-9.377-9.387C4.611 2.594.081 10.41 3.683 16.673c3.238 5.632 11.08 6.351 15.289 1.402l1.997 1.686A11.95 11.95 0 0 1 11.837 24C2.6 23.72-2.87 13.543 1.992 5.684A12.006 12.006 0 0 1 11.837 0Zm0 7.745c-3.276-.163-5.5 3.281-4.003 6.2a4.26 4.26 0 0 0 4.014 2.31c3.276-.171 5.137-3.824 3.35-6.575a4.26 4.26 0 0 0-3.36-1.935Zm0 2.53c1.324 0 2.152 1.433 1.49 2.58a1.72 1.72 0 0 1-1.49.86 1.72 1.72 0 1 1 0-3.44Z"/></svg>

After

Width:  |  Height:  |  Size: 781 B

View File

@ -0,0 +1 @@
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Marko</title><path d="M15.4 5.46h-3.39l-2.3 3.77L7.4 5.46H4l-4 6.55 4 6.53h3.39l-4-6.54L5.7 8.23 8.01 12h3.39l2.31-3.78L16.03 12l-4.01 6.54h3.39l4-6.54zm4.6 0h-3.39l4 6.54-4.01 6.54h3.39L24 12z"/></svg>

After

Width:  |  Height:  |  Size: 281 B

View File

@ -0,0 +1 @@
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>mdBook</title><path d="M22.77 5.343c.023.337 0 .613-.073.817l-4.314 14.227c-.072.252-.24.445-.504.6a1.67 1.67 0 0 1-.805.23H3.772c-1.154 0-1.839-.337-2.079-1.01-.096-.264-.096-.469.012-.625.108-.144.288-.216.553-.216h12.52c.89 0 1.514-.168 1.85-.493.337-.324.686-1.07 1.034-2.21l3.954-13.05c.216-.71.12-1.334-.265-1.875-.384-.54-.937-.817-1.646-.817H8.735c-.12 0-.373.048-.734.132l.012-.048A2.458 2.458 0 0 0 7.33.933a.979.979 0 0 0-.517.168 1.794 1.794 0 0 0-.385.337c-.096.12-.18.264-.276.456a5.76 5.76 0 0 0-.228.517 7.95 7.95 0 0 1-.217.505c-.084.18-.156.324-.24.444-.06.073-.144.18-.24.3-.096.121-.193.241-.265.337a.776.776 0 0 0-.132.265c-.024.084-.012.216.024.384.036.168.048.289.048.373-.036.36-.168.829-.396 1.394-.229.564-.433.973-.613 1.213a5.201 5.201 0 0 1-.312.325c-.169.168-.277.312-.313.444-.036.048-.036.18-.012.409.036.216.048.372.036.456-.036.325-.156.757-.36 1.298a9.47 9.47 0 0 1-.601 1.322c-.024.06-.108.168-.24.336-.133.168-.217.3-.24.409-.025.072-.013.216.011.408.024.193.024.337-.012.433-.072.36-.216.805-.432 1.322-.217.516-.433.949-.65 1.321-.06.097-.131.205-.24.337-.096.132-.18.24-.24.336a.927.927 0 0 0-.12.3.53.53 0 0 0 .048.277c.036.132.048.228.048.313-.012.132-.024.312-.06.528-.024.216-.048.349-.048.385-.216.576-.204 1.19.024 1.826.264.745.745 1.382 1.43 1.899.685.516 1.406.769 2.139.769H17.05c.625 0 1.214-.205 1.767-.625.553-.42.925-.937 1.105-1.55l3.966-13.05c.216-.696.12-1.31-.265-1.862-.204-.3-.48-.505-.853-.649ZM7.16 15.677l1.707-5.143h1.297c.457 0 3.46-.204 3.052 2.103-.408 2.307-2.259 3.028-4.422 3.052-2.162.024-1.634-.012-1.634-.012zm2.283-.721c.565-.012 2.271-.349 2.656-2.055.384-1.706-1.382-1.61-1.382-1.61h-1.07l-1.225 3.665c.012.012.469.012 1.021 0zm-.396-5.78 1.646-5.107h1.178l.096 4.086 2.835-4.086h1.19l-1.634 5.107h-.853l1.502-4.253-2.944 4.253h-.817l-.096-4.205-1.298 4.205z"/></svg>

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

@ -0,0 +1 @@
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>MLflow</title><path d="M11.883.002a12.044 12.044 0 0 0-9.326 19.463l3.668-2.694A7.573 7.573 0 0 1 12.043 4.45v2.867l6.908-5.14A12.012 12.012 0 0 0 11.883.002zm9.562 4.533L17.777 7.23a7.573 7.573 0 0 1-5.818 12.322v-2.867l-6.908 5.14a12.046 12.046 0 0 0 16.394-17.29z"/></svg>

After

Width:  |  Height:  |  Size: 354 B

View File

@ -0,0 +1 @@
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>OpenJDK</title><path d="M11.915 0 11.7.215C9.515 2.4 7.47 6.39 6.046 10.483c-1.064 1.024-3.633 2.81-3.711 3.551-.093.87 1.746 2.611 1.55 3.235-.198.625-1.304 1.408-1.014 1.939.1.188.823.011 1.277-.491a13.389 13.389 0 0 0-.017 2.14c.076.906.27 1.668.643 2.232.372.563.956.911 1.667.911.397 0 .727-.114 1.024-.264.298-.149.571-.33.91-.5.68-.34 1.634-.666 3.53-.604 1.903.062 2.872.39 3.559.704.687.314 1.15.664 1.925.664.767 0 1.395-.336 1.807-.9.412-.563.631-1.33.72-2.24.06-.623.055-1.32 0-2.066.454.45 1.117.604 1.213.424.29-.53-.816-1.314-1.013-1.937-.198-.624 1.642-2.366 1.549-3.236-.08-.748-2.707-2.568-3.748-3.586C16.428 6.374 14.308 2.394 12.13.215zm.175 6.038a2.95 2.95 0 0 1 2.943 2.942 2.95 2.95 0 0 1-2.943 2.943A2.95 2.95 0 0 1 9.148 8.98a2.95 2.95 0 0 1 2.942-2.942zM8.685 7.983a3.515 3.515 0 0 0-.145.997c0 1.951 1.6 3.55 3.55 3.55 1.95 0 3.55-1.598 3.55-3.55 0-.329-.046-.648-.132-.951.334.095.64.208.915.336a42.699 42.699 0 0 1 2.042 5.829c.678 2.545 1.01 4.92.846 6.607-.082.844-.29 1.51-.606 1.94-.315.431-.713.651-1.315.651-.593 0-.932-.27-1.673-.61-.741-.338-1.825-.694-3.792-.758-1.974-.064-3.073.293-3.821.669-.375.188-.659.373-.911.5s-.466.2-.752.2c-.53 0-.876-.209-1.16-.64-.285-.43-.474-1.101-.545-1.948-.141-1.693.176-4.069.823-6.614a43.155 43.155 0 0 1 1.934-5.783c.348-.167.749-.31 1.192-.425zm-3.382 4.362a.216.216 0 0 1 .13.031c-.166.56-.323 1.116-.463 1.665a33.849 33.849 0 0 0-.547 2.555 3.9 3.9 0 0 0-.2-.39c-.58-1.012-.914-1.642-1.16-2.08.315-.24 1.679-1.755 2.24-1.781zm13.394.01c.562.027 1.926 1.543 2.24 1.783-.246.438-.58 1.068-1.16 2.08a4.428 4.428 0 0 0-.163.309 32.354 32.354 0 0 0-.562-2.49 40.579 40.579 0 0 0-.482-1.652.216.216 0 0 1 .127-.03z"/></svg>

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@ -0,0 +1 @@
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>OpenZeppelin</title><path d="M22.783 24H9.317l2.196-3.69a5.23 5.23 0 0 1 4.494-2.558h6.775ZM1.217 0h21.566l-3.718 6.247H1.217ZM9.76 9.763a5.73 5.73 0 0 1 4.92-2.795h4.01L8.498 24h-7.26Z"/></svg>

After

Width:  |  Height:  |  Size: 272 B

View File

@ -0,0 +1 @@
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>PlanetScale</title><path d="M0 12C0 5.373 5.373 0 12 0c4.873 0 9.067 2.904 10.947 7.077l-15.87 15.87a11.981 11.981 0 0 1-1.935-1.099L14.99 12H12l-8.485 8.485A11.962 11.962 0 0 1 0 12Zm12.004 12L24 12.004C23.998 18.628 18.628 23.998 12.004 24Z"/></svg>

After

Width:  |  Height:  |  Size: 329 B

View File

@ -0,0 +1 @@
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>PyG</title><path d="m15.649 8.066-2.65 2.724a1.142 1.142 0 0 0-.531-.18l-.288-2.611a1.15 1.15 0 0 0 .804-.893l2.464.36c0 .053.004.106.013.158.03.159.095.31.188.442Zm-4.413 3.465H8.67a1.135 1.135 0 0 0-.337-.58l2.806-3.148c.172.135.38.218.597.24l.286 2.616a1.148 1.148 0 0 0-.787.872Zm-6.715-.427 1.886.596c-.01.103-.006.207.011.31a1.154 1.154 0 0 0 1.347.919c.062-.012.122-.03.18-.053l2.46 3.033a1.141 1.141 0 0 0-.23.837l-2.73.904a1.148 1.148 0 0 0-1.143-.583l-2.168-5.542a1.14 1.14 0 0 0 .387-.42Zm3.064 7.07c0-.034-.008-.068-.008-.103l2.732-.907a1.15 1.15 0 0 0 2.067-1.002l2.589-1.664c.139.174.326.305.538.374l-.319 3.825c-.03.008-.06.002-.09.008a1.152 1.152 0 0 0-.856.708l-6.653-1.238ZM9.464 4.729l1.487 1.456c-.212.26-.298.6-.237.93.025.124.07.244.135.354l-2.9 3.255a1.135 1.135 0 0 0-1.42.555l-1.872-.592a1.153 1.153 0 0 0-.008-.341 1.135 1.135 0 0 0-.258-.53l3.883-4.88a1.135 1.135 0 0 0 1.19-.206Zm7.212 3.827a.974.974 0 0 0 .54-.175l3.208 3.35a1.144 1.144 0 0 0-.206.703l-3.359.783a1.152 1.152 0 0 0-.69-.538l.504-4.123h.003Zm1.175-4.003-.929 1.754a1.135 1.135 0 0 0-1.415.723l-2.532-.373a1.135 1.135 0 0 0-1.681-.763L9.735 4.375c.052-.105.087-.218.103-.334l7.613-.134c.056.254.197.482.4.645Zm-3.058 8.815a1.135 1.135 0 0 0-.064.637c.007.033.022.067.032.103l-2.63 1.692a1.154 1.154 0 0 0-.397-.258l.597-2.633a1.135 1.135 0 0 0 .91-.41l1.552.87Zm.858-.719a1.135 1.135 0 0 0-.62.337l-1.574-.879a1.124 1.124 0 0 0-.146-1.011l2.65-2.725c.084.056.176.1.273.131l-.505 4.143c-.027.003-.053.002-.078.004Zm-7.325.001a1.15 1.15 0 0 0 .36-.676h2.548c.071.37.32.683.665.835l-.6 2.65a1.19 1.19 0 0 0-.2.018 1.143 1.143 0 0 0-.364.14L8.326 12.65ZM13.9 23.927l-8.674-1.816 1.068-2.767c.119.017.24.016.357-.005a1.15 1.15 0 0 0 .863-.73l6.642 1.237c-.002.43.241.822.627 1.012l-.883 3.07Zm-9.041-2.09-4.82-7.372 2.852-2.947c.246.16.544.22.833.168l2.151 5.52a1.144 1.144 0 0 0 0 2L4.86 21.838Zm16.61-2.668-7.068 4.62.804-2.804c.105.011.212.008.316-.01.523-.1.91-.546.935-1.078l5.013-.728Zm.07-18.79L24 12.717l-1.483-.31a1.15 1.15 0 0 0-1.285-1.159l-2.104-6.58a1.15 1.15 0 0 0 .58-1.22 1.129 1.129 0 0 0-.25-.515L21.54.379Zm2.432 12.783-1.977 5.48-5.604.814a1.126 1.126 0 0 0-.201-.352l4.639-5.697c.594.322 1.338.06 1.598-.565l1.545.32ZM0 13.87 1.773 5.4l5.86-1.105c.06.15.152.287.268.4L4.046 9.54a1.135 1.135 0 0 0-.742-.115 1.154 1.154 0 0 0-.92 1.342c.03.16.095.312.189.445L0 13.869Zm20.737-2.444-3.212-3.35a1.135 1.135 0 0 0-.215-1.556l.93-1.755c.15.047.31.061.468.043l2.104 6.581-.075.037ZM21.199.1l-2.08 2.557a1.135 1.135 0 0 0-1.51.385L10.21.073 21.2.099ZM2.306 4.848 9.387.218l8.059 3.233v.014L9.822 3.6a1.15 1.15 0 0 0-2.27.26l-5.246.989Zm13.536 13.976a1.18 1.18 0 0 0-.225-.091l.32-3.808a1.01 1.01 0 0 0 .135-.012 1.15 1.15 0 0 0 .929-1.28l3.316-.768c.043.095.1.183.167.263l-4.642 5.696Z"/></svg>

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

@ -0,0 +1 @@
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Rasa</title><path d="m20.848 15.852-3.882-2.034H.97V7.515h22.06v6.303h-2.182v2.034ZM0 6.545v8.243h16.727l5.091 2.667v-2.667H24V6.545H0Zm1.94 1.94h4.12v2.18l-1.33.517 1.362 1.666H4.84l-1.06-1.296-.87.339v.957h-.97V8.485ZM8 12.848h-.97V8.485h4.364v4.363h-.97v-1.454H8v1.454Zm4.364-1.696V8.485h4.363v.97h-3.394v.727h3.394v2.666h-4.363v-.97h3.394v-.726h-3.394Zm5.333-.243V8.485h4.364v4.363h-.97v-1.454h-2.424v1.454h-.97V10.91Zm-14.788-.06 2.182-.848v-.546H2.909v1.395ZM8 9.456v.97h2.424v-.97H8Zm13.09.97v-.97h-2.423v.97h2.424Z"/></svg>

After

Width:  |  Height:  |  Size: 610 B

View File

@ -0,0 +1 @@
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Remix</title><path d="M21.511 18.508c.216 2.773.216 4.073.216 5.492H15.31c0-.309.006-.592.011-.878.018-.892.036-1.821-.109-3.698-.19-2.747-1.374-3.358-3.55-3.358H1.574v-5h10.396c2.748 0 4.122-.835 4.122-3.049 0-1.946-1.374-3.125-4.122-3.125H1.573V0h11.541c6.221 0 9.313 2.938 9.313 7.632 0 3.511-2.176 5.8-5.114 6.182 2.48.497 3.93 1.909 4.198 4.694ZM1.573 24v-3.727h6.784c1.133 0 1.379.84 1.379 1.342V24Z"/></svg>

After

Width:  |  Height:  |  Size: 492 B

View File

@ -0,0 +1 @@
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>RuboCop</title><path d="M12.06 0C7.71 0 4.121 3.25 3.584 7.455h16.952C19.998 3.25 16.41 0 12.06 0zM3.93 7.95a1.54 1.54 0 0 0-1.537 1.537v.772c-.358.22-.598.613-.598 1.06v2.065c0 .448.24.842.598 1.061v.802a1.54 1.54 0 0 0 1.536 1.536h16.14a1.54 1.54 0 0 0 1.536-1.536v-.802c.358-.22.6-.612.6-1.06V11.32c0-.448-.242-.842-.6-1.061v-.772A1.54 1.54 0 0 0 20.07 7.95zm1.47 3.146h13.2c.622 0 1.132.51 1.132 1.134s-.51 1.133-1.133 1.133H5.4c-.624 0-1.134-.51-1.134-1.133s.51-1.134 1.134-1.134zm-1.42 5.998v3.276A3.64 3.64 0 0 0 7.61 24h8.94a3.64 3.64 0 0 0 3.628-3.63v-3.276h-1.995v3.267c0 .898-.735 1.633-1.633 1.633h-.89v-.003a.62.62 0 0 1-.48-.23h-.002l-1.063-1.358h-.002a.622.622 0 0 0-.488-.245h-3.093a.62.62 0 0 0-.463.214h-.002L8.98 21.758h-.002a.62.62 0 0 1-.481.23v.004h-.89a1.638 1.638 0 0 1-1.633-1.633v-3.267zm4.996.795-.82.95.774.67.515-.596h5.046l.516.596.774-.67-.82-.95z"/></svg>

After

Width:  |  Height:  |  Size: 965 B

View File

@ -0,0 +1 @@
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Steam Deck</title><path d="M8.494 0v4.309c4.242 0 7.694 3.45 7.694 7.691s-3.452 7.691-7.694 7.691V24c6.617 0 12-5.383 12-12s-5.383-12-12-12zm10.819 3.62v.194h.328v.893h.228v-.893h.33V3.62zm1.037 0v1.087h.207v-.684l.298.653h.14l.29-.66v.691h.219V3.619h-.23l-.338.772-.368-.772zM8.494 6.011a5.998 5.998 0 0 0-5.998 6 5.998 5.998 0 1 0 11.998 0 6 6 0 0 0-6-6z"/></svg>

After

Width:  |  Height:  |  Size: 443 B

View File

@ -0,0 +1 @@
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Task</title><path d="M1.857 18.013 11.736 24V12.456L1.857 6.468Zm20.286 0V6.468l-9.879 5.988V24Zm-.246-12.014L12 0 2.103 5.999 12 11.998Z"/></svg>

After

Width:  |  Height:  |  Size: 225 B

View File

@ -1 +0,0 @@
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>TransferWise</title><path d="M9.871 24h3.11L23.127 0H3.694l3.748 6.291-6.571 6.283h11.361l1.068-2.517H7.03l3.792-3.783L8.61 2.516h10.337z"/></svg>

Before

Width:  |  Height:  |  Size: 224 B

View File

@ -0,0 +1 @@
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>tRPC</title><path d="M24 12c0 6.62-5.38 12-12 12S0 18.62 0 12 5.38 0 12 0s12 5.38 12 12ZM1.21 12A10.78 10.78 0 0 0 12 22.79 10.78 10.78 0 0 0 22.79 12 10.78 10.78 0 0 0 12 1.21 10.78 10.78 0 0 0 1.21 12Zm10.915-6.086 2.162 1.248a.25.25 0 0 1 .125.217v1.103l2.473 1.428a.25.25 0 0 1 .125.217v2.355l.955.551a.25.25 0 0 1 .125.217v2.496a.25.25 0 0 1-.125.217l-2.162 1.248a.25.25 0 0 1-.25 0l-.956-.552-2.472 1.427a.25.25 0 0 1-.25 0l-2.472-1.427-.956.552a.25.25 0 0 1-.25 0l-2.162-1.248a.25.25 0 0 1-.125-.217V13.25a.25.25 0 0 1 .125-.217l.955-.551v-2.355a.25.25 0 0 1 .125-.217l2.473-1.428V7.38a.25.25 0 0 1 .125-.217l2.162-1.248a.25.25 0 0 1 .25 0Zm1.268 10.049a.25.25 0 0 1-.125-.217V13.25a.25.25 0 0 1 .125-.217l2.16-1.248a.25.25 0 0 1 .25 0l.707.408v-1.922l-2.098-1.21v.814a.25.25 0 0 1-.125.217l-2.162 1.248a.25.25 0 0 1-.25 0l-2.162-1.248a.25.25 0 0 1-.125-.217V9.06L7.49 10.271v1.922l.707-.408a.25.25 0 0 1 .25 0l2.16 1.248a.25.25 0 0 1 .125.217v2.496a.25.25 0 0 1-.125.217l-.705.408L12 17.582l2.098-1.211ZM10.088 9.73l1.662.96V8.766l-1.662-.955Zm3.824 0V7.811l-1.662.955v1.924ZM12 6.418l-1.66.96 1.66.954 1.66-.954Zm-5.59 9.184 1.66.958v-1.921l-1.66-.956Zm3.822 0v-1.92l-1.662.957v1.923Zm-1.91-3.311-1.662.96 1.661.955 1.66-.956Zm5.446 3.31 1.66.96v-1.922l-1.66-.956Zm3.822 0v-1.918l-1.662.956v1.922Zm-1.912-3.31-1.66.96 1.66.955 1.66-.956Z"/></svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -1 +1 @@
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Ubuntu</title><path d="M12 0c6.623 0 12 5.377 12 12s-5.377 12-12 12S0 18.623 0 12 5.377 0 12 0zm3.279 17.68c-.766.441-1.029 1.422-.586 2.189.441.765 1.422 1.028 2.188.584.766-.441 1.029-1.422.585-2.189-.441-.765-1.421-1.028-2.187-.584zm-3.279-1c-.705 0-1.373-.157-1.971-.435L8.916 18.24c.93.459 1.978.721 3.084.721.646 0 1.268-.091 1.86-.256.104-.643.485-1.234 1.095-1.587.609-.351 1.313-.386 1.92-.156 1.186-1.163 1.957-2.749 2.07-4.515l-2.285-.033c-.21 2.391-2.215 4.266-4.66 4.266zM7.32 12c0-1.583.787-2.981 1.99-3.83L8.14 6.209c-1.404.93-2.445 2.369-2.881 4.035.506.404.83 1.034.83 1.74 0 .704-.324 1.319-.83 1.739.436 1.665 1.477 3.104 2.881 4.034l1.17-1.965C8.107 14.97 7.32 13.574 7.32 12zm-3.48-1.602c-.885 0-1.602.717-1.602 1.602s.717 1.602 1.602 1.602S5.441 12.885 5.441 12s-.716-1.602-1.601-1.602zM12 7.32c2.445 0 4.45 1.875 4.66 4.265l2.285-.034c-.113-1.765-.885-3.35-2.07-4.516-.609.232-1.313.194-1.92-.154-.609-.352-.99-.945-1.095-1.591-.594-.16-1.214-.25-1.86-.25-1.11 0-2.155.26-3.084.72l1.113 1.995c.6-.279 1.268-.435 1.971-.435zm3.279-1.001c.765.442 1.746.181 2.189-.585.441-.765.181-1.746-.588-2.19-.765-.44-1.746-.179-2.189.589-.441.764-.18 1.744.588 2.186z"/></svg> <svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Ubuntu</title><path d="M17.61.455a3.41 3.41 0 0 0-3.41 3.41 3.41 3.41 0 0 0 3.41 3.41 3.41 3.41 0 0 0 3.41-3.41 3.41 3.41 0 0 0-3.41-3.41zM12.92.8C8.923.777 5.137 2.941 3.148 6.451a4.5 4.5 0 0 1 .26-.007 4.92 4.92 0 0 1 2.585.737A8.316 8.316 0 0 1 12.688 3.6 4.944 4.944 0 0 1 13.723.834 11.008 11.008 0 0 0 12.92.8zm9.226 4.994a4.915 4.915 0 0 1-1.918 2.246 8.36 8.36 0 0 1-.273 8.303 4.89 4.89 0 0 1 1.632 2.54 11.156 11.156 0 0 0 .559-13.089zM3.41 7.932A3.41 3.41 0 0 0 0 11.342a3.41 3.41 0 0 0 3.41 3.409 3.41 3.41 0 0 0 3.41-3.41 3.41 3.41 0 0 0-3.41-3.41zm2.027 7.866a4.908 4.908 0 0 1-2.915.358 11.1 11.1 0 0 0 7.991 6.698 11.234 11.234 0 0 0 2.422.249 4.879 4.879 0 0 1-.999-2.85 8.484 8.484 0 0 1-.836-.136 8.304 8.304 0 0 1-5.663-4.32zm11.405.928a3.41 3.41 0 0 0-3.41 3.41 3.41 3.41 0 0 0 3.41 3.41 3.41 3.41 0 0 0 3.41-3.41 3.41 3.41 0 0 0-3.41-3.41z"/></svg>

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 948 B

Some files were not shown because too many files have changed in this diff Show More