From fccfe5bda797458dd90581997e4f17dd58732261 Mon Sep 17 00:00:00 2001 From: jaywcjlove Date: Sat, 19 Nov 2022 19:39:17 +0000 Subject: [PATCH] website: update dark theme issue. 79dcdc73793922866906fd57df1d2802c487f452 --- docs/ansible.html | 2 +- docs/apt.html | 2 +- docs/awk.html | 2 +- docs/bash.html | 2 +- docs/c.html | 2 +- docs/cargo.html | 2 +- docs/chmod.html | 2 +- docs/cmake.html | 2 +- docs/cmd.html | 2 +- docs/cocoapods.html | 2 +- docs/colors-named.html | 2 +- docs/conan.html | 2 +- docs/cpp.html | 2 +- docs/cron.html | 2 +- docs/cs.html | 2 +- docs/css.html | 2 +- docs/curl.html | 2 +- docs/dart.html | 2 +- docs/djiango.html | 2 +- docs/docker.html | 2 +- docs/dockerfile.html | 2 +- docs/electron.html | 2 +- docs/emacs.html | 2 +- docs/emmet.html | 2 +- docs/emoji.html | 2 +- docs/es6.html | 2 +- docs/expressjs.html | 2 +- docs/ffmpeg.html | 2 +- docs/find.html | 2 +- docs/git.html | 2 +- docs/github-actions.html | 2 +- docs/gmail.html | 2 +- docs/golang.html | 2 +- docs/graphql.html | 2 +- docs/grep.html | 2 +- docs/homebrew.html | 2 +- docs/html-char.html | 2 +- docs/html.html | 2 +- docs/htop.html | 2 +- docs/http-status-code.html | 2 +- docs/ini.html | 2 +- docs/iso-639-1.html | 2 +- docs/java.html | 2 +- docs/javascript.html | 2 +- docs/jest.html | 2 +- docs/jq.html | 2 +- docs/json.html | 2 +- docs/julia.html | 2 +- docs/koajs.html | 2 +- docs/kotlin.html | 2 +- docs/latex.html | 2 +- docs/lerna.html | 2 +- docs/lessjs.html | 2 +- docs/lsof.html | 2 +- docs/lua.html | 2 +- docs/markdown.html | 2 +- docs/matlab.html | 2 +- docs/mime.html | 2 +- docs/mysql.html | 2 +- docs/netcat.html | 2 +- docs/netstat.html | 2 +- docs/nginx.html | 2 +- docs/npm.html | 2 +- docs/openssl.html | 2 +- docs/package.json.html | 2 +- docs/php.html | 2 +- docs/postgres.html | 2 +- docs/python.html | 2 +- docs/pytorch.html | 2 +- docs/quickreference.html | 2 +- docs/react.html | 2 +- docs/regex.html | 2 +- docs/resolutions.html | 2 +- docs/ruby.html | 2 +- docs/rust.html | 2 +- docs/sass.html | 2 +- docs/screen.html | 2 +- docs/sed.html | 2 +- docs/semver.html | 2 +- docs/sketch.html | 2 +- docs/ssh.html | 2 +- docs/styled-components.html | 2 +- docs/stylus.html | 2 +- docs/sublime-text.html | 2 +- docs/swift.html | 2 +- docs/swiftui.html | 2 +- docs/sysdig.html | 2 +- docs/systemd.html | 2 +- docs/tar.html | 2 +- docs/tmux.html | 2 +- docs/toml.html | 2 +- docs/typescript.html | 2 +- docs/vim.html | 2 +- docs/vscode.html | 2 +- docs/vue.html | 2 +- docs/vue2.html | 2 +- docs/webstorm.html | 2 +- docs/xcode.html | 2 +- docs/xpath.html | 2 +- docs/yaml.html | 2 +- docs/yarn.html | 2 +- docs/yum.html | 2 +- index.html | 4 ++-- js/dark.js | 12 ++++++++++++ js/main.js | 13 ------------- 105 files changed, 116 insertions(+), 117 deletions(-) create mode 100644 js/dark.js diff --git a/docs/ansible.html b/docs/ansible.html index c0b6f00b..df6f8258 100644 --- a/docs/ansible.html +++ b/docs/ansible.html @@ -24,7 +24,7 @@ -

+

Ansible 备忘清单

此快速参考备忘单提供了使用 Ansible 的各种方法。

diff --git a/docs/apt.html b/docs/apt.html index 413e18b1..68f8a2a5 100644 --- a/docs/apt.html +++ b/docs/apt.html @@ -24,7 +24,7 @@ -

+

APT 备忘清单

这个 APT 快速参考备忘单显示了它的常用命令使用清单。

diff --git a/docs/awk.html b/docs/awk.html index be1583b1..81e5730f 100644 --- a/docs/awk.html +++ b/docs/awk.html @@ -24,7 +24,7 @@ -

+

Awk 备忘清单

这是 GNU awk 的单页快速参考备忘单,其中涵盖了常用的 awk 表达式和命令。

diff --git a/docs/bash.html b/docs/bash.html index ae3eb314..78a18cd5 100644 --- a/docs/bash.html +++ b/docs/bash.html @@ -24,7 +24,7 @@ -

+

Bash 备忘清单

diff --git a/docs/c.html b/docs/c.html index 48fffbd3..0e839ee2 100644 --- a/docs/c.html +++ b/docs/c.html @@ -24,7 +24,7 @@ -

+

C 备忘清单

提供基本语法和方法的 C 快速参考备忘单。

diff --git a/docs/cargo.html b/docs/cargo.html index 64ad34ae..a62753d0 100644 --- a/docs/cargo.html +++ b/docs/cargo.html @@ -24,7 +24,7 @@ -

+

Cargo 备忘清单

diff --git a/docs/chmod.html b/docs/chmod.html index 6d7096fd..264f7ff8 100644 --- a/docs/chmod.html +++ b/docs/chmod.html @@ -24,7 +24,7 @@ -

Chmod 备忘清单

+

Chmod 备忘清单

这份快速参考备忘单提供了文件权限的简要概述,以及 chmod 命令的操作

+

CMake 备忘清单

diff --git a/docs/cmd.html b/docs/cmd.html index 363f02b3..ce4ddf48 100644 --- a/docs/cmd.html +++ b/docs/cmd.html @@ -24,7 +24,7 @@ -

+

diff --git a/docs/cocoapods.html b/docs/cocoapods.html index ce0648ae..69174372 100644 --- a/docs/cocoapods.html +++ b/docs/cocoapods.html @@ -24,7 +24,7 @@ -

+

CocoaPods 备忘清单

diff --git a/docs/colors-named.html b/docs/colors-named.html index a7dfb10e..25ed50a5 100644 --- a/docs/colors-named.html +++ b/docs/colors-named.html @@ -24,7 +24,7 @@ -

+

Colors Named 备忘清单

diff --git a/docs/conan.html b/docs/conan.html index 221ff694..eef1a4b0 100644 --- a/docs/conan.html +++ b/docs/conan.html @@ -24,7 +24,7 @@ -

+

Conan 备忘清单

diff --git a/docs/cpp.html b/docs/cpp.html index 7185b447..f9a8222b 100644 --- a/docs/cpp.html +++ b/docs/cpp.html @@ -24,7 +24,7 @@ -

+

C++ 备忘清单

提供基本语法和方法的 C++ 快速参考备忘单

+

Cron 备忘清单

diff --git a/docs/cs.html b/docs/cs.html index afa666ff..80483ad3 100644 --- a/docs/cs.html +++ b/docs/cs.html @@ -24,7 +24,7 @@ -

+

C# 备忘清单

提供基本语法和方法的 C# 快速参考备忘单

+

CSS 备忘清单

diff --git a/docs/curl.html b/docs/curl.html index d3bedb9b..b87d3faf 100644 --- a/docs/curl.html +++ b/docs/curl.html @@ -24,7 +24,7 @@ -

+

Curl 备忘清单

Curl 备忘清单包含命令和一些常见的 Curl 技巧示例。

diff --git a/docs/dart.html b/docs/dart.html index d902342e..22660568 100644 --- a/docs/dart.html +++ b/docs/dart.html @@ -24,7 +24,7 @@ -

+

Dart 备忘清单

diff --git a/docs/djiango.html b/docs/djiango.html index ea938db0..3a0f94d2 100644 --- a/docs/djiango.html +++ b/docs/djiango.html @@ -24,7 +24,7 @@ -

+

Django 备忘清单

Django 是 Python 的一款 Web 框架,本备忘单旨在快速理解 Django 所涉及的主要概念,提供了最常用的 API 示例参考

diff --git a/docs/docker.html b/docs/docker.html index 2704d056..6044185d 100644 --- a/docs/docker.html +++ b/docs/docker.html @@ -24,7 +24,7 @@ -

+

Docker 备忘清单

diff --git a/docs/dockerfile.html b/docs/dockerfile.html index c2c569a3..3baeacf4 100644 --- a/docs/dockerfile.html +++ b/docs/dockerfile.html @@ -24,7 +24,7 @@ -

+

Dockerfile 备忘清单

diff --git a/docs/electron.html b/docs/electron.html index 1bfb0c7d..2321b2e1 100644 --- a/docs/electron.html +++ b/docs/electron.html @@ -24,7 +24,7 @@ -

+

diff --git a/docs/emacs.html b/docs/emacs.html index f5e688ee..839dd5f7 100644 --- a/docs/emacs.html +++ b/docs/emacs.html @@ -24,7 +24,7 @@ -

+

Emacs 备忘清单

diff --git a/docs/emmet.html b/docs/emmet.html index 56a23892..70209685 100644 --- a/docs/emmet.html +++ b/docs/emmet.html @@ -24,7 +24,7 @@ -

+

Emmet 备忘清单

Emmet 是一个用于提升 HTML 和 CSS 代码编写的 Web 开发人员工具包,它允许您使用著名的 CSS 选择器以光速编写大型 HTML 代码块。

diff --git a/docs/emoji.html b/docs/emoji.html index b4d34da0..366b2f64 100644 --- a/docs/emoji.html +++ b/docs/emoji.html @@ -24,7 +24,7 @@ -

+

Emoji 备忘清单

diff --git a/docs/es6.html b/docs/es6.html index b9457cf7..633e2f1e 100644 --- a/docs/es6.html +++ b/docs/es6.html @@ -24,7 +24,7 @@ -

+

ES2015+ 备忘清单

快速浏览 ES2015、ES2016、ES2017、ES2018 及以后的 JavaScript 新特性

diff --git a/docs/expressjs.html b/docs/expressjs.html index 552173e7..f801031f 100644 --- a/docs/expressjs.html +++ b/docs/expressjs.html @@ -24,7 +24,7 @@ -

Express 备忘清单

+

Express 备忘清单

这是用于 Node.js 的快速、不拘一格、极简主义的 Web 框架,包含 Express.js 的 API 参考列表和一些示例。

+

FFmpeg 备忘清单

diff --git a/docs/find.html b/docs/find.html index 1e958d42..14f882f5 100644 --- a/docs/find.html +++ b/docs/find.html @@ -24,7 +24,7 @@ -

+

Find 备忘清单

这是 Linux find 命令备忘清单的快速参考列表,包含常用选项和示例。

+

Git 备忘清单

diff --git a/docs/github-actions.html b/docs/github-actions.html index 2f5f16da..0c278079 100644 --- a/docs/github-actions.html +++ b/docs/github-actions.html @@ -24,7 +24,7 @@ -

+

diff --git a/docs/gmail.html b/docs/gmail.html index acdc89c2..3d48fe0f 100644 --- a/docs/gmail.html +++ b/docs/gmail.html @@ -24,7 +24,7 @@ -

+

Gmail 备忘清单

diff --git a/docs/golang.html b/docs/golang.html index 9e98ac38..1d519ba6 100644 --- a/docs/golang.html +++ b/docs/golang.html @@ -24,7 +24,7 @@ -

Golang 备忘清单

+

Golang 备忘清单

该备忘单提供了帮助您使用 Golang 的基本语法和方法。

+

GraphQL 备忘清单

diff --git a/docs/grep.html b/docs/grep.html index 5cc6891e..7cc871ed 100644 --- a/docs/grep.html +++ b/docs/grep.html @@ -24,7 +24,7 @@ -

+

Grep 备忘清单

diff --git a/docs/homebrew.html b/docs/homebrew.html index c2fe9a6a..dae32c30 100644 --- a/docs/homebrew.html +++ b/docs/homebrew.html @@ -24,7 +24,7 @@ -

+

Homebrew 备忘清单

diff --git a/docs/html-char.html b/docs/html-char.html index 8064716f..f119ecfb 100644 --- a/docs/html-char.html +++ b/docs/html-char.html @@ -24,7 +24,7 @@ -

+

HTML 字符实体备忘清单

此备忘清单是 HTML 实体及其编号和名称的完整列表。还包括可以用 HTML 表示的 ASCII 字符的完整列表。

diff --git a/docs/html.html b/docs/html.html index dc062748..b3d6f417 100644 --- a/docs/html.html +++ b/docs/html.html @@ -24,7 +24,7 @@ -

+

HTML 备忘清单

diff --git a/docs/htop.html b/docs/htop.html index 81b82538..17e905d0 100644 --- a/docs/htop.html +++ b/docs/htop.html @@ -24,7 +24,7 @@ -

+

htop 备忘清单

diff --git a/docs/http-status-code.html b/docs/http-status-code.html index 628fb64c..cbf6b5f5 100644 --- a/docs/http-status-code.html +++ b/docs/http-status-code.html @@ -24,7 +24,7 @@ -

+

HTTP 状态码备忘清单

HTTP 状态码备忘清单。 每个 HTTP 状态代码的快速参考。

diff --git a/docs/ini.html b/docs/ini.html index f5921274..569cf0f9 100644 --- a/docs/ini.html +++ b/docs/ini.html @@ -24,7 +24,7 @@ -

+

INI 备忘清单

这是理解和编写 INI 格式配置文件的快速参考备忘单,此清单包含配置的内容,结构和语法等内容。

diff --git a/docs/iso-639-1.html b/docs/iso-639-1.html index 4bb559e4..201bcfe2 100644 --- a/docs/iso-639-1.html +++ b/docs/iso-639-1.html @@ -24,7 +24,7 @@ -

+

ISO 639-1 Language Code 备忘清单

这是一个符合 ISO 639-1 标准的 ISO 语言代码列表,它为多语言网站提供参考。

diff --git a/docs/java.html b/docs/java.html index 9d9f2e88..ff569367 100644 --- a/docs/java.html +++ b/docs/java.html @@ -24,7 +24,7 @@ -

+

Java 备忘清单

diff --git a/docs/javascript.html b/docs/javascript.html index aa2f776e..01f0179f 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -24,7 +24,7 @@ -

+

JavaScript 备忘清单

diff --git a/docs/jest.html b/docs/jest.html index 11920cf5..3724aa73 100644 --- a/docs/jest.html +++ b/docs/jest.html @@ -24,7 +24,7 @@ -

+

Jest 备忘清单

diff --git a/docs/jq.html b/docs/jq.html index fd780996..cc3e3d3e 100644 --- a/docs/jq.html +++ b/docs/jq.html @@ -24,7 +24,7 @@ -

+

jq 备忘清单

这个快速参考备忘单提供了使用 jq 命令的各种方法。

diff --git a/docs/json.html b/docs/json.html index ac5e7a2c..bfa6b9e7 100644 --- a/docs/json.html +++ b/docs/json.html @@ -24,7 +24,7 @@ -

+

JSON 备忘清单

diff --git a/docs/julia.html b/docs/julia.html index 957f82dd..e9ed87cf 100644 --- a/docs/julia.html +++ b/docs/julia.html @@ -24,7 +24,7 @@ -

+

Julia 备忘清单

本备忘清单旨在快速理解 Julia 一份简单而粗略的语言概览,供您参考。

Koajs 备忘清单

+

Koajs 备忘清单

基于 Node.js 平台的下一代 web 开发框架,包含 Koa 的 API 参考列表和一些示例。

+

Kotlin 备忘清单

diff --git a/docs/latex.html b/docs/latex.html index 864118f1..f01515bd 100644 --- a/docs/latex.html +++ b/docs/latex.html @@ -24,7 +24,7 @@ -

+

LaTeX 备忘清单

diff --git a/docs/lerna.html b/docs/lerna.html index fa809681..ac150461 100644 --- a/docs/lerna.html +++ b/docs/lerna.html @@ -24,7 +24,7 @@ -

+

Lerna 备忘清单

diff --git a/docs/lessjs.html b/docs/lessjs.html index 39163d1d..337f3e7c 100644 --- a/docs/lessjs.html +++ b/docs/lessjs.html @@ -24,7 +24,7 @@ -

+

Less 备忘清单

本备忘单旨在快速理解 Less 所涉及的主要概念,显示了它的常用方法使用清单。

+

Lsof 备忘清单

这个快速参考备忘单提供了使用 lsof 命令的各种方法。

diff --git a/docs/lua.html b/docs/lua.html index 208d9290..0706c8b7 100644 --- a/docs/lua.html +++ b/docs/lua.html @@ -24,7 +24,7 @@ -

+

Lua 备忘清单

diff --git a/docs/markdown.html b/docs/markdown.html index 7a1a9b65..c207b20b 100644 --- a/docs/markdown.html +++ b/docs/markdown.html @@ -24,7 +24,7 @@ -

+

Markdown 备忘清单

这是 Markdown 语法的快速参考备忘单。

diff --git a/docs/matlab.html b/docs/matlab.html index fb1e5aad..f94cc01f 100644 --- a/docs/matlab.html +++ b/docs/matlab.html @@ -24,7 +24,7 @@ -

+

MATLAB 备忘清单

这个快速参考备忘单提供了使用 MATLAB 科学计算语言快速入门的示例介绍

diff --git a/docs/mime.html b/docs/mime.html index 13cb57b3..f6db53a1 100644 --- a/docs/mime.html +++ b/docs/mime.html @@ -24,7 +24,7 @@ -

+

MIME 类型 备忘清单

此备忘单列出了一些常见的 Web MIME 类型。 您可以查看包含所有已注册 MIME 类型的 IANA/MIME 媒体类型注册表

diff --git a/docs/mysql.html b/docs/mysql.html index 0f78cbc5..715eb530 100644 --- a/docs/mysql.html +++ b/docs/mysql.html @@ -24,7 +24,7 @@ -

+

MySQL 备忘清单

本备忘单旨在快速理解 MySQL 所涉及的主要概念,提供了最常用的SQL语句,供您参考。

+

Netcat 备忘清单

该备忘单提供了在 Linux 和 Unix 上使用 Netcat 的各种方法。

diff --git a/docs/netstat.html b/docs/netstat.html index 1fb0d5d0..8dabc985 100644 --- a/docs/netstat.html +++ b/docs/netstat.html @@ -24,7 +24,7 @@ -

+

diff --git a/docs/nginx.html b/docs/nginx.html index 7843cb3a..0033cd0f 100644 --- a/docs/nginx.html +++ b/docs/nginx.html @@ -24,7 +24,7 @@ -

+

NGINX 备忘清单

这个 nginx 快速参考备忘单显示了它的常用命和配置使用清单。

diff --git a/docs/npm.html b/docs/npm.html index 6a3221fe..bb7fb516 100644 --- a/docs/npm.html +++ b/docs/npm.html @@ -24,7 +24,7 @@ -

+

npm 备忘清单

diff --git a/docs/openssl.html b/docs/openssl.html index 31635cc3..07477230 100644 --- a/docs/openssl.html +++ b/docs/openssl.html @@ -24,7 +24,7 @@ -

OpenSSL 备忘清单

+

OpenSSL 备忘清单

这个 OpenSSL 快速参考备忘单展示了它的常用命令使用清单

+

package.json 备忘清单

这个快速参考备忘清单,显示了关于 package.json 文件中所需内容的全部内容。

diff --git a/docs/php.html b/docs/php.html index 009accea..53c0ebb7 100644 --- a/docs/php.html +++ b/docs/php.html @@ -24,7 +24,7 @@ -

+

PHP 备忘清单

diff --git a/docs/postgres.html b/docs/postgres.html index 3a0fd5be..e9314c71 100644 --- a/docs/postgres.html +++ b/docs/postgres.html @@ -24,7 +24,7 @@ -

+

PostgreSQL 备忘清单

diff --git a/docs/python.html b/docs/python.html index 33022763..eebf2009 100644 --- a/docs/python.html +++ b/docs/python.html @@ -24,7 +24,7 @@ -

+

Python 3 备忘清单

diff --git a/docs/pytorch.html b/docs/pytorch.html index b4b464a3..0aa56802 100644 --- a/docs/pytorch.html +++ b/docs/pytorch.html @@ -24,7 +24,7 @@ -

+

Pytorch 备忘清单

diff --git a/docs/quickreference.html b/docs/quickreference.html index 706a3c01..4d8b6966 100644 --- a/docs/quickreference.html +++ b/docs/quickreference.html @@ -24,7 +24,7 @@ -

+

diff --git a/docs/react.html b/docs/react.html index f00791d2..b94be5b0 100644 --- a/docs/react.html +++ b/docs/react.html @@ -24,7 +24,7 @@ -

+

diff --git a/docs/regex.html b/docs/regex.html index 17157576..04a7430f 100644 --- a/docs/regex.html +++ b/docs/regex.html @@ -24,7 +24,7 @@ -

RegEX 备忘清单

diff --git a/docs/resolutions.html b/docs/resolutions.html index 0298e92d..2fe512c5 100644 --- a/docs/resolutions.html +++ b/docs/resolutions.html @@ -24,7 +24,7 @@ -

+

Resolutions 备忘清单

此备忘清单列出了流行手机、平板电脑、笔记本电脑和手表的屏幕尺寸、可视窗口尺寸和 CSS 媒体查询

diff --git a/docs/ruby.html b/docs/ruby.html index 08d191c2..462e55c3 100644 --- a/docs/ruby.html +++ b/docs/ruby.html @@ -24,7 +24,7 @@ -

+

Ruby 备忘清单

diff --git a/docs/rust.html b/docs/rust.html index b2179015..3361a7da 100644 --- a/docs/rust.html +++ b/docs/rust.html @@ -24,7 +24,7 @@ -

+

Rust 备忘清单

diff --git a/docs/sass.html b/docs/sass.html index 5c86f375..0fc2d2d2 100644 --- a/docs/sass.html +++ b/docs/sass.html @@ -24,7 +24,7 @@ -

+

Sass

diff --git a/docs/screen.html b/docs/screen.html index 0411d5a2..45f03149 100644 --- a/docs/screen.html +++ b/docs/screen.html @@ -24,7 +24,7 @@ -

+

Screen 备忘清单

这是 screen 命令的快速参考指南备忘单。

diff --git a/docs/sed.html b/docs/sed.html index 02497ba2..4cbc6062 100644 --- a/docs/sed.html +++ b/docs/sed.html @@ -24,7 +24,7 @@ -

+

Sed 备忘清单

diff --git a/docs/semver.html b/docs/semver.html index 478b1a25..b5bf0dc1 100644 --- a/docs/semver.html +++ b/docs/semver.html @@ -24,7 +24,7 @@ -

+

Semver 备忘清单

diff --git a/docs/sketch.html b/docs/sketch.html index 50681477..c7230343 100644 --- a/docs/sketch.html +++ b/docs/sketch.html @@ -24,7 +24,7 @@ -

+

Sketch 备忘清单

diff --git a/docs/ssh.html b/docs/ssh.html index 7bc7281b..23658acc 100644 --- a/docs/ssh.html +++ b/docs/ssh.html @@ -24,7 +24,7 @@ -

+

SSH 备忘清单

此快速参考备忘单提供了使用 SSH 的各种方法。

diff --git a/docs/styled-components.html b/docs/styled-components.html index b201f494..858b9ad0 100644 --- a/docs/styled-components.html +++ b/docs/styled-components.html @@ -24,7 +24,7 @@ -

+

styled-components 备忘清单

diff --git a/docs/stylus.html b/docs/stylus.html index bcf1371a..3f083e4d 100644 --- a/docs/stylus.html +++ b/docs/stylus.html @@ -24,7 +24,7 @@ -

+

Stylus 备忘清单

diff --git a/docs/sublime-text.html b/docs/sublime-text.html index 22afe71e..6204c742 100644 --- a/docs/sublime-text.html +++ b/docs/sublime-text.html @@ -24,7 +24,7 @@ -

+

Sublime Text 备忘清单

diff --git a/docs/swift.html b/docs/swift.html index 7d2ac85d..c01f0417 100644 --- a/docs/swift.html +++ b/docs/swift.html @@ -24,7 +24,7 @@ -

+

Swift 备忘清单

该备忘单提供了使用 Swift 的示例,涵盖 Swift 基础知识、控制流、类型、结构/类、运算符、函数方法等。

diff --git a/docs/swiftui.html b/docs/swiftui.html index ee8c0685..d726510b 100644 --- a/docs/swiftui.html +++ b/docs/swiftui.html @@ -24,7 +24,7 @@ -

+

SwiftUI 2.0 备忘清单

该备忘单提供了使用 SwiftUI 的标签的一些示例等

diff --git a/docs/sysdig.html b/docs/sysdig.html index 2860c518..095819e3 100644 --- a/docs/sysdig.html +++ b/docs/sysdig.html @@ -24,7 +24,7 @@ -

+

Sysdig 备忘清单

diff --git a/docs/systemd.html b/docs/systemd.html index 164114f4..a9ba67ae 100644 --- a/docs/systemd.html +++ b/docs/systemd.html @@ -24,7 +24,7 @@ -

+

Systemd

最常用的 Systemd 命令备忘单快速参考

+

diff --git a/docs/tmux.html b/docs/tmux.html index 9f02d398..800e6c0d 100644 --- a/docs/tmux.html +++ b/docs/tmux.html @@ -24,7 +24,7 @@ -

+

Tmux 备忘清单

diff --git a/docs/toml.html b/docs/toml.html index 60994b60..4306d70a 100644 --- a/docs/toml.html +++ b/docs/toml.html @@ -24,7 +24,7 @@ -

+

diff --git a/docs/typescript.html b/docs/typescript.html index c2b3dad2..6049db68 100644 --- a/docs/typescript.html +++ b/docs/typescript.html @@ -24,7 +24,7 @@ -

+

TypeScript 备忘清单

diff --git a/docs/vim.html b/docs/vim.html index b61259e9..d2c39f3e 100644 --- a/docs/vim.html +++ b/docs/vim.html @@ -24,7 +24,7 @@ -

+

Vim 备忘清单

diff --git a/docs/vscode.html b/docs/vscode.html index 31d0f6c6..88df857f 100644 --- a/docs/vscode.html +++ b/docs/vscode.html @@ -24,7 +24,7 @@ -

+

diff --git a/docs/vue.html b/docs/vue.html index 2d434524..11197329 100644 --- a/docs/vue.html +++ b/docs/vue.html @@ -24,7 +24,7 @@ -

+

diff --git a/docs/vue2.html b/docs/vue2.html index 3b351fea..0a540349 100644 --- a/docs/vue2.html +++ b/docs/vue2.html @@ -24,7 +24,7 @@ -

+

diff --git a/docs/webstorm.html b/docs/webstorm.html index c12e60b6..635e7b70 100644 --- a/docs/webstorm.html +++ b/docs/webstorm.html @@ -24,7 +24,7 @@ -

WebStorm 备忘清单

diff --git a/docs/xcode.html b/docs/xcode.html index a4cbc143..4cb74bf4 100644 --- a/docs/xcode.html +++ b/docs/xcode.html @@ -24,7 +24,7 @@ -

+

Xcode 备忘清单

diff --git a/docs/xpath.html b/docs/xpath.html index d9d17066..eb8da57c 100644 --- a/docs/xpath.html +++ b/docs/xpath.html @@ -24,7 +24,7 @@ -

+

diff --git a/docs/yaml.html b/docs/yaml.html index 4688e661..abbb444d 100644 --- a/docs/yaml.html +++ b/docs/yaml.html @@ -24,7 +24,7 @@ -

+

diff --git a/docs/yarn.html b/docs/yarn.html index 14751868..7efa86fe 100644 --- a/docs/yarn.html +++ b/docs/yarn.html @@ -24,7 +24,7 @@ -

+

Yarn 备忘清单

diff --git a/docs/yum.html b/docs/yum.html index d1824faf..3053b9c7 100644 --- a/docs/yum.html +++ b/docs/yum.html @@ -24,7 +24,7 @@ -

+

YUM 备忘清单

这个 YUM 快速参考备忘单显示了它的常用命令使用清单。

diff --git a/index.html b/index.html index 9219b839..089d3576 100644 --- a/index.html +++ b/index.html @@ -24,7 +24,7 @@ -

Quick Reference

+

Quick Reference

为开发人员分享快速参考备忘清单【速查表】。这是英文版 Reference 的中文版本,目的是为了方便自己的技术栈查阅,如果您提供一个清单,我将抽空搬运,立即撸起来 :)。如果您发现此处的备忘单不合适,您可以通过提交 PR 来修复它或提供更好的备忘清单,只针对【中文】用户。以下是开源天使提供的一些备忘清单和快速参考 :)。

@@ -634,7 +634,7 @@

如果你有资源,可以很方便部署 web 版,这非常简单,只需要克隆 gh-pages 分支代码到你的静态服务就可以了,还可以使用 docker 快捷部署 web 版。

-
+
diff --git a/js/dark.js b/js/dark.js new file mode 100644 index 00000000..58e853ac --- /dev/null +++ b/js/dark.js @@ -0,0 +1,12 @@ +const LOCAL_NANE = '_dark_mode_theme_' +const rememberedValue = localStorage.getItem(LOCAL_NANE); +if (rememberedValue && ['light', 'dark'].includes(rememberedValue)) { + document.documentElement.setAttribute('data-color-mode', rememberedValue); +} +const button = document.querySelector('#darkMode'); +button.onclick = () => { + const theme = document.documentElement.dataset.colorMode; + const mode = theme === 'light' ? 'dark' : 'light'; + document.documentElement.setAttribute('data-color-mode', mode); + localStorage.setItem(LOCAL_NANE, mode); +} \ No newline at end of file diff --git a/js/main.js b/js/main.js index c7109cc8..8700ff88 100644 --- a/js/main.js +++ b/js/main.js @@ -1,16 +1,3 @@ -/** ==========dark theme============== */ -const LOCAL_NANE = '_dark_mode_theme_' -const rememberedValue = localStorage.getItem(LOCAL_NANE); -if (rememberedValue && ['light', 'dark'].includes(rememberedValue)) { - document.documentElement.setAttribute('data-color-mode', rememberedValue); -} -const button = document.querySelector('#darkMode'); -button.onclick = () => { - const theme = document.documentElement.dataset.colorMode; - const mode = theme === 'light' ? 'dark' : 'light'; - document.documentElement.setAttribute('data-color-mode', mode); - localStorage.setItem(LOCAL_NANE, mode); -} /** ==========anchor============== */ if(('onhashchange' in window) && ((typeof document.documentMode==='undefined') || document.documentMode==8)) { window.onhashchange = function () {