Added vscodium

This commit is contained in:
Kristofers Solo
2022-04-28 21:17:01 +03:00
parent 837a479d82
commit d7dddc39ef
29139 changed files with 250215 additions and 45125 deletions

View File

@@ -0,0 +1,44 @@
<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
<Metadata>
<Identity Language="en-US" Id="material-theme" Version="3.13.24" Publisher="zhuangtongfa" />
<DisplayName>One Dark Pro</DisplayName>
<Description xml:space="preserve">Atoms iconic One Dark theme for Visual Studio Code</Description>
<Tags>one dark,onedark,one dark pro,onedark pro,theme,atom,color-theme,__web_extension</Tags>
<Categories>Themes</Categories>
<GalleryFlags>Public</GalleryFlags>
<Badges><Badge Link="https://marketplace.visualstudio.com/items/zhuangtongfa.Material-theme" ImgUri="https://vsmarketplacebadge.apphb.com/version/zhuangtongfa.Material-theme.svg" Description="Extension version" /><Badge Link="https://marketplace.visualstudio.com/items/zhuangtongfa.Material-theme" ImgUri="https://vsmarketplacebadge.apphb.com/installs/zhuangtongfa.Material-theme.svg" Description="Extension installs" /><Badge Link="https://marketplace.visualstudio.com/items/zhuangtongfa.Material-theme" ImgUri="https://vsmarketplacebadge.apphb.com/rating/zhuangtongfa.Material-theme.svg" Description="Extension Rating" /></Badges>
<Properties>
<Property Id="Microsoft.VisualStudio.Code.Engine" Value="^1.65.0" />
<Property Id="Microsoft.VisualStudio.Code.ExtensionDependencies" Value="" />
<Property Id="Microsoft.VisualStudio.Code.ExtensionPack" Value="" />
<Property Id="Microsoft.VisualStudio.Code.ExtensionKind" Value="ui,workspace,web" />
<Property Id="Microsoft.VisualStudio.Code.LocalizedLanguages" Value="" />
<Property Id="Microsoft.VisualStudio.Services.Links.Source" Value="https://github.com/Binaryify/OneDark-Pro.git" />
<Property Id="Microsoft.VisualStudio.Services.Links.Getstarted" Value="https://github.com/Binaryify/OneDark-Pro.git" />
<Property Id="Microsoft.VisualStudio.Services.Links.GitHub" Value="https://github.com/Binaryify/OneDark-Pro.git" />
<Property Id="Microsoft.VisualStudio.Services.Links.Support" Value="https://github.com/Binaryify/OneDark-Pro/issues" />
<Property Id="Microsoft.VisualStudio.Services.Links.Learn" Value="https://binaryify.github.io/OneDark-Pro/" />
<Property Id="Microsoft.VisualStudio.Services.Branding.Color" Value="#2d323b" />
<Property Id="Microsoft.VisualStudio.Services.Branding.Theme" Value="dark" />
<Property Id="Microsoft.VisualStudio.Services.GitHubFlavoredMarkdown" Value="true" />
</Properties>
<License>extension/LICENSE.txt</License>
<Icon>extension/icon.png</Icon>
</Metadata>
<Installation>
<InstallationTarget Id="Microsoft.VisualStudio.Code"/>
</Installation>
<Dependencies/>
<Assets>
<Asset Type="Microsoft.VisualStudio.Code.Manifest" Path="extension/package.json" Addressable="true" />
<Asset Type="Microsoft.VisualStudio.Services.Content.Details" Path="extension/README.md" Addressable="true" /><Asset Type="Microsoft.VisualStudio.Services.Content.Changelog" Path="extension/CHANGELOG.md" Addressable="true" /><Asset Type="Microsoft.VisualStudio.Services.Content.License" Path="extension/LICENSE.txt" Addressable="true" /><Asset Type="Microsoft.VisualStudio.Services.Icons.Default" Path="extension/icon.png" Addressable="true" />
</Assets>
</PackageManifest>

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) 2013-2022 Binaryify
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

View File

@@ -0,0 +1,258 @@
# [One Dark Pro](https://marketplace.visualstudio.com/items?itemName=zhuangtongfa.Material-theme)
## [GitHub Repo](https://github.com/Binaryify/OneDark-Pro)
Atom's iconic One Dark theme, and one of the most installed [themes](https://marketplace.visualstudio.com/search?target=VSCode&category=Themes&sortBy=Installs) for VS Code!
[![Preview in vscode.dev](https://img.shields.io/badge/preview%20in-vscode.dev-blue)](https://vscode.dev/theme/zhuangtongfa.Material-theme) [![Version](https://vsmarketplacebadge.apphb.com/version/zhuangtongfa.Material-theme.svg)](https://marketplace.visualstudio.com/items?itemName=zhuangtongfa.Material-theme) [![Installs](https://vsmarketplacebadge.apphb.com/installs/zhuangtongfa.Material-theme.svg)](https://marketplace.visualstudio.com/items?itemName=zhuangtongfa.Material-theme)
## SPONSORS
[![bloop](https://github.com/Binaryify/OneDark-Pro/raw/HEAD/screenshots/bloop_small.png)](https://bloop.ai/?utm_source=vscmarket&utm_campaign=onedarkpro&utm_medium=banner)
Bored of trawling through the docs? Get JS and TS code examples from documentation and Open Source right in your IDE
[Learn more](https://bloop.ai/?utm_source=vscmarket&utm_campaign=onedarkpro&utm_medium=banner).
<br><br>
[![codestream](https://alt-images.codestream.com/codestream_logo_pkief_material.png)](https://sponsorlink.codestream.com/?utm_source=vscmarket&utm_campaign=onedarkpro&utm_medium=banner)
Eliminate context switching and costly distractions. Create and merge PRs and perform code reviews from inside your IDE while using jump-to-definition, your keybindings, and other IDE favorites.
[Learn more](https://sponsorlink.codestream.com/?utm_source=vscmarket&utm_campaign=onedarkpro&utm_medium=banner).
## SCREENSHOT
![ScreenShot](https://cdn.jsdelivr.net/gh/binaryify/onedark-pro/screenshots/normal.png)
### Italic
![ScreenShot](https://cdn.jsdelivr.net/gh/binaryify/onedark-pro/screenshots/italic.png)
### Default theme
![ScreenShot](https://cdn.jsdelivr.net/gh/binaryify/onedark-pro/screenshots/editor1.png)
### Flat theme
![ScreenShot](https://cdn.jsdelivr.net/gh/binaryify/onedark-pro/screenshots/editorflat.png)
### Darker theme
![ScreenShot](https://github.com/Binaryify/OneDark-Pro/raw/HEAD/screenshots/editordarker.png)
### Retro theme
![ScreenShot](https://github.com/Binaryify/OneDark-Pro/raw/HEAD/screenshots/retro.png)
### Gnome theme
![ScreenShot](https://github.com/Binaryify/OneDark-Pro/raw/HEAD/screenshots/gnome.png)
### Terminal
![ScreenShot](https://cdn.jsdelivr.net/gh/binaryify/onedark-pro/screenshots/terminal.png)
## Donation
If you like this extension, you could donate via **[PayPal](https://www.paypal.me/binaryify)**, or scan below QR code to donate via **WeChatPay**. Any amount is welcome. It will encourage me to make this extension better and better!
![](https://github.com/Binaryify/OneDark-Pro/raw/HEAD/screenshots/wechatPay.jpg)
### Setting
![ScreenShot](https://cdn.jsdelivr.net/gh/binaryify/onedark-pro/screenshots/setting.png)
### Built in themes
![built-in themes](https://cdn.jsdelivr.net/gh/binaryify/onedark-pro/screenshots/built-in-themes.png)
### Notice
Setting only support default theme(One Dark Pro).
## Markdown preview style
![Markdown](https://cdn.jsdelivr.net/gh/binaryify/onedark-pro/screenshots/markdown.png)
You can toggle whether to use markdown style in vscode setting (default use)
### Suggest Editor Settings
```
"editor.fontSize": 20,
"editor.lineHeight": 30,
"editor.fontFamily": "JetBrains Mono",
```
JetBrains Mono Download: https://www.jetbrains.com/lp/mono
### Tweaks & theming
If you want to play around with new colors, use the setting
`workbench.colorCustomizations` to customize the currently selected theme. For
example, you can add this snippet in your "settings.json" file:
```json
"workbench.colorCustomizations": {
"tab.activeBackground": "#282c34",
"activityBar.background": "#282c34",
"sideBar.background": "#282c34",
"tab.activeBorder": "#d19a66",
}
```
or use the setting `editor.tokenColorCustomizations`
```json
"editor.tokenColorCustomizations": {
"[One Dark Pro]": {
"textMateRules": [
{
"scope": ["source.python"],
"settings": {
"foreground": "#e06c75"
}
}
]
}
}
```
#### Italic
You could set this in your setting.json to make code be italic
```json
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"name": "italic font",
"scope": [
"comment",
"keyword",
"storage",
"keyword.control",
"keyword.control.from",
"keyword.control.flow",
"keyword.operator.new",
"keyword.control.import",
"keyword.control.export",
"keyword.control.default",
"keyword.control.trycatch",
"keyword.control.conditional",
"storage.type",
"storage.type.class",
"storage.modifier.tsx",
"storage.type.function",
"storage.modifier.async",
"variable.language",
"variable.language.this",
"variable.language.super",
"meta.class",
"meta.var.expr",
"constant.language.null",
"support.type.primitive",
"entity.name.method.js",
"entity.other.attribute-name",
"punctuation.definition.comment",
"text.html.basic entity.other.attribute-name",
"tag.decorator.js entity.name.tag.js",
"tag.decorator.js punctuation.definition.tag.js",
"source.js constant.other.object.key.js string.unquoted.label.js",
],
"settings": {
"fontStyle": "italic",
}
},
]
}
```
[more info](https://binaryify.github.io/OneDark-Pro)
## Python & Pylance users
Python users I recommend using [Pylance](https://marketplace.visualstudio.com/items?itemName=ms-python.vscode-pylance) extension for fast, feature-rich language support.
Semantic colors can be customized in settings.json by associating the Pylance semantic token types and modifiers with the desired colors.
- Semantic token types
- class, enum
- parameter, variable, property, enumMember
- function, member
- module
- intrinsic
- magicFunction (dunder methods)
- selfParameter, clsParameter
- Semantic token modifiers
- declaration
- readonly, static, abstract
- async
- typeHint, typeHintComment
- decorator
- builtin
The [scope inspector](https://code.visualstudio.com/api/language-extensions/syntax-highlight-guide#scope-inspector) tool allows you to explore what semantic tokens are present in a source file and what theme rules they match to.
Example of customizing semantic colors in settings.json:
```jsonc
{
"editor.semanticTokenColorCustomizations": {
"[One Dark Pro]": {
// Apply to this theme only
"enabled": true,
"rules": {
"magicFunction:python": "#ee0000",
"function.declaration:python": "#990000",
"*.decorator:python": "#0000dd",
"*.typeHint:python": "#5500aa",
"*.typeHintComment:python": "#aaaaaa",
"parameter:python": "#aaaaaa"
}
}
}
}
```
Please check the official documentation,
[Theme Color Reference](https://code.visualstudio.com/docs/getstarted/theme-color-reference) and
[Theme Color](https://code.visualstudio.com/docs/getstarted/themes), for more helpful information.
[More info](https://code.visualstudio.com/updates/v1_15#_user-definable-syntax-highlighting-colors)
## CHANGELOG
[CHANGELOG.MD](https://github.com/Binaryify/OneDark-Pro/blob/master/CHANGELOG.md)
## DOCS & CONTRIBUTE
This document
([https://binaryify.github.io/OneDark-Pro/](https://binaryify.github.io/OneDark-Pro/))
includes instructions on how to install and edit the theme.
To help with documentation, first fork and clone this repository.
`cd` to the `OneDark-Pro` folder
Run `yarn`
Then run
`npm run docs` to serve the documentation
locally at `localhost:3000`.
### Contributors
This project exists thanks to all the people who contribute.
[![Contributors](https://opencollective.com/OneDark-Pro/contributors.svg?width=890)](https://github.com/Binaryify/OneDark-Pro/graphs/contributors)
### Backers
<a href="https://opencollective.com/onedark-pro#backers" target="_blank"><img src="https://opencollective.com/onedark-pro/backers.svg?width=890"></a>
### Sponsors
Support this project by becoming a sponsor. Your logo will show up here with a link to your website.
<a href="https://opencollective.com/onedark-pro#sponsor" target="_blank">
<img src="https://opencollective.com/onedark-pro/sponsor.svg?width=890">
</a>

View File

@@ -0,0 +1,61 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
//@ts-check
'use strict';
//@ts-check
/** @typedef {import('webpack').Configuration} WebpackConfig **/
const path = require('path');
const webpack = require('webpack');
module.exports = /** @type WebpackConfig */ {
context: path.dirname(__dirname),
mode: 'none', // this leaves the source code as close as possible to the original (when packaging we set this to 'production')
target: 'webworker', // extensions run in a webworker context
entry: {
'extension': './src/extension.ts'
},
resolve: {
mainFields: ['module', 'main'],
extensions: ['.ts', '.js'], // support ts-files and js-files
alias: {
},
fallback: {
'assert': require.resolve('assert'),
'path': require.resolve('path-browserify'),
'util': require.resolve('util/')
}
},
module: {
rules: [{
exclude: /node_modules/,
test: /\.ts$/,
use: [
{
loader: 'ts-loader'
}
]
}]
},
plugins: [
new webpack.ProvidePlugin({
process: 'process/browser',
}),
],
externals: {
'vscode': 'commonjs vscode', // ignored because it doesn't exist
},
performance: {
hints: false
},
output: {
filename: '[name].js',
libraryTarget: 'commonjs',
path: path.join(__dirname, '../out/web')
},
devtool: 'nosources-source-map'
};

View File

@@ -0,0 +1,163 @@
# One Dark Pro
## About
[One Dark Pro](https://marketplace.visualstudio.com/items?itemName=zhuangtongfa.Material-theme) is based on Atom's default One Dark theme, and is one of the most downloaded themes for VS Code. This document will show you how to install the theme on VS Code, and how to develop and contribute to this project.
# screenshot
![ScreenShot](https://cdn.jsdelivr.net/gh/binaryify/onedark-pro/screenshots/normal.png)
![ScreenShot](https://cdn.jsdelivr.net/gh/binaryify/onedark-pro/screenshots/italic.png)
## Install
Using the Extensions menu, search for **'One Dark Pro'**. Don't forget to apply the theme (see below).
## Apply
Press `ctrl(⌘) + k`, then press `ctrl(⌘) + t`, you will see a theme selection interface. Choose **'One Dark Pro'**.
## Develop
If you see any inconsistencies or missing colors, the following guide will show you how to make your own changes. You can submit your improvements as a merge request to this theme.
Clone this repo
```
$ git clone git@github.com:Binaryify/OneDark-Pro.git
```
Then run
```
$ yarn
```
Then use vscode open and press `F5` key
Change the `src/themes/themeData.ts` or `src/themes/data/*` file then reload vscode and you will see the change
You also can use `npm run package` to package extension file, the *.vsic file will be generate, then use vscode install the vsic file
### Principle
VS Code will parse code and specify a scope for each piece of syntax. For example, the scope may be a keyword, a constant, or punctuation. **'themeData.ts'** includes the settings that tell VS Code how to format the text accordingly, using these scopes.
### Common scope list
```
comment
constant
constant.character.escape
constant.language
constant.numeric
declaration.section entity.name.section
declaration.tag
deco.folding
entity.name.function
entity.name.tag
entity.name.type
entity.other.attribute-name
entity.other.inherited-class
invalid
invalid.deprecated.trailing-whitespace
keyword
keyword.control.import
keyword.operator.js
markup.heading
markup.list
markup.quote
meta.embedded
meta.preprocessor
meta.section entity.name.section
meta.tag
storage
storage.type.method
string
string source
string.unquoted
support.class
support.constant
support.function
support.type
support.variable
text source
variable
variable.language
variable.other
variable.parameter
```
### Get code scope
VS Code comes with a built-in tool to easily obtain the scope of a piece of syntax.
Press `ctrl(⌘) + shift + P`, then type `dev`, and choose **"Developer: Inspect TM Scopes"** option.
This will show you the selected token's scope. There are four sections:
- the in-scope piece of syntax
- language, token type, etc.
- the theme rule and shows the foreground color of the token
- the list of scopes for the token
![ScreenShot](https://cdn.jsdelivr.net/gh/binaryify/onedark-pro/screenshots/scope.png)
### Add/Change code color
Now you know the rules for the theme, you simply need the code scope and the hex color you would like. Now edit the **'themeData.ts'** file, add/change code snippet like this:
```js
{
"name": "c++ function",
"scope": "meta.function.c",
"settings": {
"foreground": colorObj['coral']
}
}
```
### Reload
Then press `ctrl(⌘) + shift + P`, type **'reload'** and press `enter`. Once the window has reloaded, you will find the color of the code has changed.
## Tweaks & theming
If you want to play around with new colors, use the setting `workbench.colorCustomizations` to customize the currently selected theme.
For example, you can add this snippet in your "settings.json" file:
```json
"workbench.colorCustomizations":{
"tab.activeBackground": "#282c34",
"activityBar.background": "#282c34",
"sideBar.background": "#282c34"
}
```
or use the setting `editor.tokenColorCustomizations`
```json
"editor.tokenColorCustomizations":{
"[One Dark Pro]": {
"textMateRules": [
{
"scope":["source.python"],
"settings": {
"foreground": "#e06c75"
}
}
]
}
}
```
Please check the official documentation,
[Theme Color Reference](https://code.visualstudio.com/docs/getstarted/theme-color-reference) and
[Theme Color](https://code.visualstudio.com/docs/getstarted/themes) , for more helpful information.
[More info](https://code.visualstudio.com/updates/v1_15#_user-definable-syntax-highlighting-colors)
## Highlight color custom
The colors default
![](/screenshots/color.png)
You can custom the color in VS Code's settings
![](/screenshots/colorCustom.png)
## Contribute
Now you know how to develop the theme, you can fork this repository and send a pull request with your version. The request will be reviewed, and if successful, merged into this theme and published on the VS Code market.
To publish your own theme, please refer to the official documentation: [https://code.visualstudio.com/docs/extensions/themes-snippets-colorizers](https://code.visualstudio.com/docs/extensions/themes-snippets-colorizers)

View File

@@ -0,0 +1,14 @@
<img src='icon.svg' style="height:80px;">
# One Dark Pro
> Atom's iconic One Dark theme for Visual Studio Code
- Atom's iconic One Dark theme, but much better!
- Make your Visual Studio Code sexier!
- Open-source!
[GitHub](https://github.com/Binaryify/OneDark-Pro)
[Get Started](#About)
![color](#ffffff)

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@@ -0,0 +1,8 @@
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 512 512">
<defs/>
<circle cx="256" cy="256" r="256" fill="#2D323B"/>
<circle cx="256" cy="256" r="24" fill="#CB81DA"/>
<path fill="#CB81DA" fill-rule="evenodd" d="M165 170c4 32 16 72 38 113 21 42 46 76 70 97 12 11 24 18 34 22s18 3 24 0c5-3 10-9 13-18 3-10 3-23 2-38-3-31-14-69-34-109a6 6 0 0111-5c20 41 32 81 35 113 1 16 1 30-3 42-3 11-9 21-19 26s-22 4-34 0c-11-4-24-13-37-24-25-23-51-58-73-100s-35-84-39-118c-2-17-1-32 2-44s9-22 20-27c9-6 21-5 33-1 11 5 24 13 36 24a6 6 0 01-8 9c-11-11-23-18-32-21-10-4-18-4-24-1s-11 10-13 20c-3 10-4 24-2 40z" clip-rule="evenodd"/>
<path fill="#CB81DA" fill-rule="evenodd" d="M100 268c6 7 16 14 29 20a6 6 0 01-5 11c-14-7-25-14-33-23-8-8-12-18-12-29 1-11 7-21 17-29s23-14 39-20c33-10 76-15 124-13 47 2 90 12 121 26 16 7 29 15 38 23 8 9 14 20 13 31 0 10-6 20-14 27-9 8-20 14-34 19a6 6 0 11-5-11c14-5 24-10 31-17 7-6 10-12 10-19 1-6-2-14-10-21-7-8-19-15-34-21-29-13-70-23-117-25-46-2-88 3-119 13-15 5-27 11-35 18-9 6-12 13-13 20 0 6 3 13 9 20z" clip-rule="evenodd"/>
<path fill="#CB81DA" fill-rule="evenodd" d="M189 396c10-3 22-9 35-18a6 6 0 116 10c-13 10-26 16-38 19s-24 2-33-4-14-16-16-29c-2-12-1-28 2-44 8-33 26-73 52-113s56-72 84-92c13-9 27-16 39-19 12-4 24-3 34 3 9 6 14 17 16 29 2 13 1 28-3 44a6 6 0 01-12-2c4-16 5-29 3-40-2-10-5-17-11-21s-14-4-24-2c-10 3-22 9-35 18-26 19-56 50-81 89-26 38-43 77-50 109-3 15-4 29-3 39 2 11 6 18 12 21 5 4 13 5 23 3z" clip-rule="evenodd"/>
</svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@@ -0,0 +1,32 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="keywords" contect="OneDark Pro, One Dark Pro, VS Code, vscode, vsc">
<meta name="description" content="One Dark Pro for VS Code">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta name="referrer" content="never">
<title>One Dark Pro for VS Code</title>
<link rel="icon" href="favicon.ico">
<link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/vue.css">
</head>
<body>
<div id="app"></div>
</body>
<script>
window.$docsify = {
name: 'One Dark Pro',
repo: 'https://github.com/Binaryify/OneDark-Pro',
coverpage: true
}
</script>
<script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
<script>
if (typeof navigator.serviceWorker !== 'undefined') {
navigator.serviceWorker.register('sw.js')
}
</script>
</html>

View File

@@ -0,0 +1,83 @@
/* ===========================================================
* docsify sw.js
* ===========================================================
* Copyright 2016 @huxpro
* Licensed under Apache 2.0
* Register service worker.
* ========================================================== */
const RUNTIME = 'docsify'
const HOSTNAME_WHITELIST = [
self.location.hostname,
'fonts.gstatic.com',
'fonts.googleapis.com',
'unpkg.com'
]
// The Util Function to hack URLs of intercepted requests
const getFixedUrl = (req) => {
var now = Date.now()
var url = new URL(req.url)
// 1. fixed http URL
// Just keep syncing with location.protocol
// fetch(httpURL) belongs to active mixed content.
// And fetch(httpRequest) is not supported yet.
url.protocol = self.location.protocol
// 2. add query for caching-busting.
// Github Pages served with Cache-Control: max-age=600
// max-age on mutable content is error-prone, with SW life of bugs can even extend.
// Until cache mode of Fetch API landed, we have to workaround cache-busting with query string.
// Cache-Control-Bug: https://bugs.chromium.org/p/chromium/issues/detail?id=453190
if (url.hostname === self.location.hostname) {
url.search += (url.search ? '&' : '?') + 'cache-bust=' + now
}
return url.href
}
/**
* @Lifecycle Activate
* New one activated when old isnt being used.
*
* waitUntil(): activating ====> activated
*/
self.addEventListener('activate', event => {
event.waitUntil(self.clients.claim())
})
/**
* @Functional Fetch
* All network requests are being intercepted here.
*
* void respondWith(Promise<Response> r)
*/
self.addEventListener('fetch', event => {
// Skip some of cross-origin requests, like those for Google Analytics.
if (HOSTNAME_WHITELIST.indexOf(new URL(event.request.url).hostname) > -1) {
// Stale-while-revalidate
// similar to HTTP's stale-while-revalidate: https://www.mnot.net/blog/2007/12/12/stale
// Upgrade from Jake's to Surma's: https://gist.github.com/surma/eb441223daaedf880801ad80006389f1
const cached = caches.match(event.request)
const fixedUrl = getFixedUrl(event.request)
const fetched = fetch(fixedUrl, { cache: 'no-store' })
const fetchedCopy = fetched.then(resp => resp.clone())
// Call respondWith() with whatever we get first.
// If the fetch fails (e.g disconnected), wait for the cache.
// If theres nothing in cache, wait for the fetch.
// If neither yields a response, return offline pages.
event.respondWith(
Promise.race([fetched.catch(_ => cached), cached])
.then(resp => resp || fetched)
.catch(_ => { /* eat any errors */ })
)
// Update the cache with the version we fetched (only for ok status)
event.waitUntil(
Promise.all([fetchedCopy, caches.open(RUNTIME)])
.then(([response, cache]) => response.ok && cache.put(event.request, response))
.catch(_ => { /* eat any errors */ })
)
}
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

View File

@@ -0,0 +1,8 @@
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 512 512">
<defs/>
<circle cx="256" cy="256" r="256" fill="#2D323B"/>
<circle cx="256" cy="256" r="24" fill="#CB81DA"/>
<path fill="#CB81DA" fill-rule="evenodd" d="M165 170c4 32 16 72 38 113 21 42 46 76 70 97 12 11 24 18 34 22s18 3 24 0c5-3 10-9 13-18 3-10 3-23 2-38-3-31-14-69-34-109a6 6 0 0111-5c20 41 32 81 35 113 1 16 1 30-3 42-3 11-9 21-19 26s-22 4-34 0c-11-4-24-13-37-24-25-23-51-58-73-100s-35-84-39-118c-2-17-1-32 2-44s9-22 20-27c9-6 21-5 33-1 11 5 24 13 36 24a6 6 0 01-8 9c-11-11-23-18-32-21-10-4-18-4-24-1s-11 10-13 20c-3 10-4 24-2 40z" clip-rule="evenodd"/>
<path fill="#CB81DA" fill-rule="evenodd" d="M100 268c6 7 16 14 29 20a6 6 0 01-5 11c-14-7-25-14-33-23-8-8-12-18-12-29 1-11 7-21 17-29s23-14 39-20c33-10 76-15 124-13 47 2 90 12 121 26 16 7 29 15 38 23 8 9 14 20 13 31 0 10-6 20-14 27-9 8-20 14-34 19a6 6 0 11-5-11c14-5 24-10 31-17 7-6 10-12 10-19 1-6-2-14-10-21-7-8-19-15-34-21-29-13-70-23-117-25-46-2-88 3-119 13-15 5-27 11-35 18-9 6-12 13-13 20 0 6 3 13 9 20z" clip-rule="evenodd"/>
<path fill="#CB81DA" fill-rule="evenodd" d="M189 396c10-3 22-9 35-18a6 6 0 116 10c-13 10-26 16-38 19s-24 2-33-4-14-16-16-29c-2-12-1-28 2-44 8-33 26-73 52-113s56-72 84-92c13-9 27-16 39-19 12-4 24-3 34 3 9 6 14 17 16 29 2 13 1 28-3 44a6 6 0 01-12-2c4-16 5-29 3-40-2-10-5-17-11-21s-14-4-24-2c-10 3-22 9-35 18-26 19-56 50-81 89-26 38-43 77-50 109-3 15-4 29-3 39 2 11 6 18 12 21 5 4 13 5 23 3z" clip-rule="evenodd"/>
</svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@@ -0,0 +1,21 @@
MIT License
Copyright (c) Microsoft Corporation.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE

View File

@@ -0,0 +1,16 @@
# Installation
> `npm install --save @types/marked`
# Summary
This package contains type definitions for Marked (https://github.com/markedjs/marked).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/marked.
### Additional Details
* Last updated: Thu, 18 Nov 2021 01:01:25 GMT
* Dependencies: none
* Global values: none
# Credits
These definitions were written by [William Orr](https://github.com/worr), [BendingBender](https://github.com/BendingBender), [CrossR](https://github.com/CrossR), [Mike Wickett](https://github.com/mwickett), [Hitomi Hatsukaze](https://github.com/htkzhtm), [Ezra Celli](https://github.com/ezracelli), [Romain LE BARO](https://github.com/scandinave), [Sarun Intaralawan](https://github.com/sarunint), [Tony Brix](https://github.com/UziTech), and [Anatolii Titov](https://github.com/Toliak).

View File

@@ -0,0 +1 @@
export * from "./index.js";

View File

@@ -0,0 +1,601 @@
// Type definitions for Marked 4.0
// Project: https://github.com/markedjs/marked, https://marked.js.org
// Definitions by: William Orr <https://github.com/worr>
// BendingBender <https://github.com/BendingBender>
// CrossR <https://github.com/CrossR>
// Mike Wickett <https://github.com/mwickett>
// Hitomi Hatsukaze <https://github.com/htkzhtm>
// Ezra Celli <https://github.com/ezracelli>
// Romain LE BARO <https://github.com/scandinave>
// Sarun Intaralawan <https://github.com/sarunint>
// Tony Brix <https://github.com/UziTech>
// Anatolii Titov <https://github.com/Toliak>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/**
* Compiles markdown to HTML synchronously.
*
* @param src String of markdown source to be compiled
* @param options Optional hash of options
* @return String of compiled HTML
*/
export function marked(src: string, options?: marked.MarkedOptions): string;
/**
* Compiles markdown to HTML asynchronously.
*
* @param src String of markdown source to be compiled
* @param callback Function called when the markdownString has been fully parsed when using async highlighting
*/
export function marked(src: string, callback: (error: any, parseResult: string) => void): void;
/**
* Compiles markdown to HTML asynchronously.
*
* @param src String of markdown source to be compiled
* @param options Hash of options
* @param callback Function called when the markdownString has been fully parsed when using async highlighting
*/
export function marked(
src: string,
options: marked.MarkedOptions,
callback: (error: any, parseResult: string) => void,
): void;
export class Lexer extends marked.Lexer {}
export class Parser extends marked.Parser {}
export class Tokenizer<T = never> extends marked.Tokenizer<T> {}
export class Renderer<T = never> extends marked.Renderer<T> {}
export class TextRenderer extends marked.TextRenderer {}
export class Slugger extends marked.Slugger {}
export namespace marked {
const defaults: MarkedOptions;
/**
* @param src String of markdown source to be compiled
* @param options Hash of options
*/
function lexer(src: string, options?: MarkedOptions): TokensList;
/**
* Compiles markdown to HTML.
*
* @param src String of markdown source to be compiled
* @param callback Function called when the markdownString has been fully parsed when using async highlighting
* @return String of compiled HTML
*/
function parse(src: string, callback: (error: any, parseResult: string) => void): string;
/**
* Compiles markdown to HTML.
*
* @param src String of markdown source to be compiled
* @param options Hash of options
* @param callback Function called when the markdownString has been fully parsed when using async highlighting
* @return String of compiled HTML
*/
function parse(
src: string,
options?: MarkedOptions,
callback?: (error: any, parseResult: string) => void,
): string;
/**
* @param src Tokenized source as array of tokens
* @param options Hash of options
*/
function parser(src: Token[] | TokensList, options?: MarkedOptions): string;
/**
* Compiles markdown to HTML without enclosing `p` tag.
*
* @param src String of markdown source to be compiled
* @param options Hash of options
* @return String of compiled HTML
*/
function parseInline(src: string, options?: MarkedOptions): string;
/**
* Sets the default options.
*
* @param options Hash of options
*/
function options(options: MarkedOptions): typeof marked;
/**
* Sets the default options.
*
* @param options Hash of options
*/
function setOptions(options: MarkedOptions): typeof marked;
/**
* Gets the original marked default options.
*/
function getDefaults(): MarkedOptions;
function walkTokens(tokens: Token[] | TokensList, callback: (token: Token) => void): typeof marked;
/**
* Use Extension
* @param MarkedExtension
*/
function use(...extensions: MarkedExtension[]): void;
class Tokenizer<T = never> {
constructor(options?: MarkedOptions);
options: MarkedOptions;
space(this: TokenizerThis, src: string): Tokens.Space | T;
code(this: TokenizerThis, src: string): Tokens.Code | T;
fences(this: TokenizerThis, src: string): Tokens.Code | T;
heading(this: TokenizerThis, src: string): Tokens.Heading | T;
hr(this: TokenizerThis, src: string): Tokens.Hr | T;
blockquote(this: TokenizerThis, src: string): Tokens.Blockquote | T;
list(this: TokenizerThis, src: string): Tokens.List | T;
html(this: TokenizerThis, src: string): Tokens.HTML | T;
def(this: TokenizerThis, src: string): Tokens.Def | T;
table(this: TokenizerThis, src: string): Tokens.Table | T;
lheading(this: TokenizerThis, src: string): Tokens.Heading | T;
paragraph(this: TokenizerThis, src: string): Tokens.Paragraph | T;
text(this: TokenizerThis, src: string): Tokens.Text | T;
escape(this: TokenizerThis, src: string): Tokens.Escape | T;
tag(this: TokenizerThis, src: string): Tokens.Tag | T;
link(this: TokenizerThis, src: string): Tokens.Image | Tokens.Link | T;
reflink(
this: TokenizerThis,
src: string,
links: Tokens.Link[] | Tokens.Image[],
): Tokens.Link | Tokens.Image | Tokens.Text | T;
emStrong(this: TokenizerThis, src: string, maskedSrc: string, prevChar: string): Tokens.Em | Tokens.Strong | T;
codespan(this: TokenizerThis, src: string): Tokens.Codespan | T;
br(this: TokenizerThis, src: string): Tokens.Br | T;
del(this: TokenizerThis, src: string): Tokens.Del | T;
autolink(this: TokenizerThis, src: string, mangle: (cap: string) => string): Tokens.Link | T;
url(this: TokenizerThis, src: string, mangle: (cap: string) => string): Tokens.Link | T;
inlineText(this: TokenizerThis, src: string, smartypants: (cap: string) => string): Tokens.Text | T;
}
type TokenizerObject = Partial<Omit<Tokenizer<false>, 'constructor' | 'options'>>;
class Renderer<T = never> {
constructor(options?: MarkedOptions);
options: MarkedOptions;
code(this: RendererThis, code: string, language: string | undefined, isEscaped: boolean): string | T;
blockquote(this: RendererThis, quote: string): string | T;
html(this: RendererThis, html: string): string | T;
heading(
this: RendererThis,
text: string,
level: 1 | 2 | 3 | 4 | 5 | 6,
raw: string,
slugger: Slugger,
): string | T;
hr(this: RendererThis): string | T;
list(this: RendererThis, body: string, ordered: boolean, start: number): string | T;
listitem(this: RendererThis, text: string, task: boolean, checked: boolean): string | T;
checkbox(this: RendererThis, checked: boolean): string | T;
paragraph(this: RendererThis, text: string): string | T;
table(this: RendererThis, header: string, body: string): string | T;
tablerow(this: RendererThis, content: string): string | T;
tablecell(
this: RendererThis,
content: string,
flags: {
header: boolean;
align: 'center' | 'left' | 'right' | null;
},
): string | T;
strong(this: RendererThis, text: string): string | T;
em(this: RendererThis, text: string): string | T;
codespan(this: RendererThis, code: string): string | T;
br(this: RendererThis): string | T;
del(this: RendererThis, text: string): string | T;
link(this: RendererThis, href: string | null, title: string | null, text: string): string | T;
image(this: RendererThis, href: string | null, title: string | null, text: string): string | T;
text(this: RendererThis, text: string): string | T;
}
type RendererObject = Partial<Omit<Renderer<false>, 'constructor' | 'options'>>;
class TextRenderer {
strong(text: string): string;
em(text: string): string;
codespan(text: string): string;
del(text: string): string;
text(text: string): string;
link(href: string | null, title: string | null, text: string): string;
image(href: string | null, title: string | null, text: string): string;
br(): string;
html(text: string): string;
}
class Parser {
constructor(options?: MarkedOptions);
tokens: Token[] | TokensList;
token: Token | null;
options: MarkedOptions;
renderer: Renderer;
textRenderer: TextRenderer;
slugger: Slugger;
static parse(src: Token[] | TokensList, options?: MarkedOptions): string;
static parseInline(src: Token[], options?: MarkedOptions): string;
parse(src: Token[] | TokensList): string;
parseInline(src: Token[], renderer: Renderer): string;
next(): Token;
}
class Lexer {
constructor(options?: MarkedOptions);
tokens: TokensList;
options: MarkedOptions;
rules: Rules;
static rules: Rules;
static lex(src: string, options?: MarkedOptions): TokensList;
static lexInline(src: string, options?: MarkedOptions): Token[];
lex(src: string): TokensList;
blockTokens(src: string, tokens: Token[]): Token[];
blockTokens(src: string, tokens: TokensList): TokensList;
inline(src: string, tokens: Token[]): void;
inlineTokens(src: string, tokens: Token[]): Token[];
state: {
inLink: boolean;
inRawBlock: boolean;
top: boolean;
};
}
class Slugger {
seen: { [slugValue: string]: number };
slug(value: string, options?: SluggerOptions): string;
}
interface SluggerOptions {
dryrun: boolean;
}
interface Rules {
[ruleName: string]: RegExp | Rules;
}
type TokensList = Token[] & {
links: {
[key: string]: { href: string | null; title: string | null };
};
};
type Token =
| Tokens.Space
| Tokens.Code
| Tokens.Heading
| Tokens.Table
| Tokens.Hr
| Tokens.Blockquote
| Tokens.List
| Tokens.ListItem
| Tokens.Paragraph
| Tokens.HTML
| Tokens.Text
| Tokens.Def
| Tokens.Escape
| Tokens.Tag
| Tokens.Image
| Tokens.Link
| Tokens.Strong
| Tokens.Em
| Tokens.Codespan
| Tokens.Br
| Tokens.Del;
namespace Tokens {
interface Space {
type: 'space';
raw: string;
}
interface Code {
type: 'code';
raw: string;
codeBlockStyle?: 'indented' | undefined;
lang?: string | undefined;
text: string;
}
interface Heading {
type: 'heading';
raw: string;
depth: number;
text: string;
tokens: Token[];
}
interface Table {
type: 'table';
raw: string;
align: Array<'center' | 'left' | 'right' | null>;
header: TableCell[];
rows: TableCell[][];
}
interface TableCell {
text: string;
tokens: Token[];
}
interface Hr {
type: 'hr';
raw: string;
}
interface Blockquote {
type: 'blockquote';
raw: string;
text: string;
tokens: Token[];
}
interface List {
type: 'list';
raw: string;
ordered: boolean;
start: number | '';
loose: boolean;
items: ListItem[];
}
interface ListItem {
type: 'list_item';
raw: string;
task: boolean;
checked?: boolean | undefined;
loose: boolean;
text: string;
tokens: Token[];
}
interface Paragraph {
type: 'paragraph';
raw: string;
pre?: boolean | undefined;
text: string;
tokens: Token[];
}
interface HTML {
type: 'html';
raw: string;
pre: boolean;
text: string;
}
interface Text {
type: 'text';
raw: string;
text: string;
tokens?: Token[] | undefined;
}
interface Def {
type: 'def';
raw: string;
tag: string;
href: string;
title: string;
}
interface Escape {
type: 'escape';
raw: string;
text: string;
}
interface Tag {
type: 'text' | 'html';
raw: string;
inLink: boolean;
inRawBlock: boolean;
text: string;
}
interface Link {
type: 'link';
raw: string;
href: string;
title: string;
text: string;
tokens: Token[];
}
interface Image {
type: 'image';
raw: string;
href: string;
title: string;
text: string;
}
interface Strong {
type: 'strong';
raw: string;
text: string;
tokens: Token[];
}
interface Em {
type: 'em';
raw: string;
text: string;
tokens: Token[];
}
interface Codespan {
type: 'codespan';
raw: string;
text: string;
}
interface Br {
type: 'br';
raw: string;
}
interface Del {
type: 'del';
raw: string;
text: string;
tokens: Token[];
}
interface Generic {
[index: string]: any;
type: string;
raw: string;
tokens?: Token[] | undefined;
}
}
interface TokenizerThis {
lexer: Lexer;
}
interface TokenizerExtension {
name: string;
level: 'block' | 'inline';
start?: ((this: TokenizerThis, src: string) => number) | undefined;
tokenizer: (this: TokenizerThis, src: string, tokens: Token[] | TokensList) => Tokens.Generic | void;
childTokens?: string[] | undefined;
}
interface RendererThis {
parser: Parser;
}
interface RendererExtension {
name: string;
renderer: (this: RendererThis, token: Tokens.Generic) => string | false;
}
interface MarkedExtension {
/**
* A prefix URL for any relative link.
*/
baseUrl?: string | undefined;
/**
* Enable GFM line breaks. This option requires the gfm option to be true.
*/
breaks?: boolean | undefined;
/**
* Add tokenizers and renderers to marked
*/
extensions?:
| Array<TokenizerExtension | RendererExtension | (TokenizerExtension & RendererExtension)>
| undefined;
/**
* Enable GitHub flavored markdown.
*/
gfm?: boolean | undefined;
/**
* Include an id attribute when emitting headings.
*/
headerIds?: boolean | undefined;
/**
* Set the prefix for header tag ids.
*/
headerPrefix?: string | undefined;
/**
* A function to highlight code blocks. The function can either be
* synchronous (returning a string) or asynchronous (callback invoked
* with an error if any occurred during highlighting and a string
* if highlighting was successful)
*/
highlight?(
code: string,
lang: string,
callback?: (error: any, code?: string) => void,
): string | void;
/**
* Set the prefix for code block classes.
*/
langPrefix?: string | undefined;
/**
* Mangle autolinks (<email@domain.com>).
*/
mangle?: boolean | undefined;
/**
* Conform to obscure parts of markdown.pl as much as possible. Don't fix any of the original markdown bugs or poor behavior.
*/
pedantic?: boolean | undefined;
/**
* Type: object Default: new Renderer()
*
* An object containing functions to render tokens to HTML.
*/
renderer?: Renderer | RendererObject | undefined;
/**
* Sanitize the output. Ignore any HTML that has been input.
*/
sanitize?: boolean | undefined;
/**
* Optionally sanitize found HTML with a sanitizer function.
*/
sanitizer?(html: string): string;
/**
* Shows an HTML error message when rendering fails.
*/
silent?: boolean | undefined;
/**
* Use smarter list behavior than the original markdown. May eventually be default with the old behavior moved into pedantic.
*/
smartLists?: boolean | undefined;
/**
* Use "smart" typograhic punctuation for things like quotes and dashes.
*/
smartypants?: boolean | undefined;
/**
* The tokenizer defines how to turn markdown text into tokens.
*/
tokenizer?: Tokenizer | TokenizerObject | undefined;
/**
* The walkTokens function gets called with every token.
* Child tokens are called before moving on to sibling tokens.
* Each token is passed by reference so updates are persisted when passed to the parser.
* The return value of the function is ignored.
*/
walkTokens?: ((token: Token) => void) | undefined;
/**
* Generate closing slash for self-closing tags (<br/> instead of <br>)
*/
xhtml?: boolean | undefined;
}
interface MarkedOptions extends Omit<MarkedExtension, 'extensions'> {
/**
* Type: object Default: new Renderer()
*
* An object containing functions to render tokens to HTML.
*/
renderer?: Renderer | undefined;
/**
* The tokenizer defines how to turn markdown text into tokens.
*/
tokenizer?: Tokenizer | undefined;
}
}

View File

@@ -0,0 +1,78 @@
{
"name": "@types/marked",
"version": "4.0.1",
"description": "TypeScript definitions for Marked",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/marked",
"license": "MIT",
"contributors": [
{
"name": "William Orr",
"url": "https://github.com/worr",
"githubUsername": "worr"
},
{
"name": "BendingBender",
"url": "https://github.com/BendingBender",
"githubUsername": "BendingBender"
},
{
"name": "CrossR",
"url": "https://github.com/CrossR",
"githubUsername": "CrossR"
},
{
"name": "Mike Wickett",
"url": "https://github.com/mwickett",
"githubUsername": "mwickett"
},
{
"name": "Hitomi Hatsukaze",
"url": "https://github.com/htkzhtm",
"githubUsername": "htkzhtm"
},
{
"name": "Ezra Celli",
"url": "https://github.com/ezracelli",
"githubUsername": "ezracelli"
},
{
"name": "Romain LE BARO",
"url": "https://github.com/scandinave",
"githubUsername": "scandinave"
},
{
"name": "Sarun Intaralawan",
"url": "https://github.com/sarunint",
"githubUsername": "sarunint"
},
{
"name": "Tony Brix",
"url": "https://github.com/UziTech",
"githubUsername": "UziTech"
},
{
"name": "Anatolii Titov",
"url": "https://github.com/Toliak",
"githubUsername": "Toliak"
}
],
"main": "",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/marked"
},
"scripts": {},
"dependencies": {},
"typesPublisherContentHash": "2c68d8f5b436fc4b3f28e5a8faeeddfc57770222382e2ec04f410e90a3551bed",
"typeScriptVersion": "3.7",
"exports": {
".": {
"types": {
"import": "./index.d.mts",
"default": "./index.d.ts"
}
}
}
}

View File

@@ -0,0 +1,44 @@
# License information
## Contribution License Agreement
If you contribute code to this project, you are implicitly allowing your code
to be distributed under the MIT license. You are also implicitly verifying that
all code is your original work. `</legalese>`
## Marked
Copyright (c) 2018+, MarkedJS (https://github.com/markedjs/)
Copyright (c) 2011-2018, Christopher Jeffrey (https://github.com/chjj/)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
## Markdown
Copyright © 2004, John Gruber
http://daringfireball.net/
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
* Neither the name “Markdown” nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
This software is provided by the copyright holders and contributors “as is” and any express or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall the copyright owner or contributors be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage.

View File

@@ -0,0 +1,87 @@
<a href="https://marked.js.org">
<img width="60px" height="60px" src="https://marked.js.org/img/logo-black.svg" align="right" />
</a>
# Marked
[![npm](https://badgen.net/npm/v/marked)](https://www.npmjs.com/package/marked)
[![gzip size](https://badgen.net/badgesize/gzip/https://cdn.jsdelivr.net/npm/marked/marked.min.js)](https://cdn.jsdelivr.net/npm/marked/marked.min.js)
[![install size](https://badgen.net/packagephobia/install/marked)](https://packagephobia.now.sh/result?p=marked)
[![downloads](https://badgen.net/npm/dt/marked)](https://www.npmjs.com/package/marked)
[![github actions](https://github.com/markedjs/marked/workflows/Tests/badge.svg)](https://github.com/markedjs/marked/actions)
[![snyk](https://snyk.io/test/npm/marked/badge.svg)](https://snyk.io/test/npm/marked)
- ⚡ built for speed
- ⬇️ low-level compiler for parsing markdown without caching or blocking for long periods of time
- ⚖️ light-weight while implementing all markdown features from the supported flavors & specifications
- 🌐 works in a browser, on a server, or from a command line interface (CLI)
## Demo
Checkout the [demo page](https://marked.js.org/demo/) to see marked in action ⛹️
## Docs
Our [documentation pages](https://marked.js.org) are also rendered using marked 💯
Also read about:
* [Options](https://marked.js.org/#/USING_ADVANCED.md)
* [Extensibility](https://marked.js.org/#/USING_PRO.md)
## Compatibility
**Node.js:** Only [current and LTS](https://nodejs.org/en/about/releases/) Node.js versions are supported. End of life Node.js versions may become incompatible with Marked at any point in time.
**Browser:** Not IE11 :)
## Installation
**CLI:** `npm install -g marked`
**In-browser:** `npm install marked`
## Usage
### Warning: 🚨 Marked does not [sanitize](https://marked.js.org/#/USING_ADVANCED.md#options) the output HTML. Please use a sanitize library, like [DOMPurify](https://github.com/cure53/DOMPurify) (recommended), [sanitize-html](https://github.com/apostrophecms/sanitize-html) or [insane](https://github.com/bevacqua/insane) on the output HTML! 🚨
**CLI**
``` bash
# Example with stdin input
$ marked -o hello.html
hello world
^D
$ cat hello.html
<p>hello world</p>
```
```bash
# Print all options
$ marked --help
```
**Browser**
```html
<!doctype html>
<html>
<head>
<meta charset="utf-8"/>
<title>Marked in the browser</title>
</head>
<body>
<div id="content"></div>
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
<script>
document.getElementById('content').innerHTML =
marked.parse('# Marked in the browser\n\nRendered by **marked**.');
</script>
</body>
</html>
```
## License
Copyright (c) 2011-2018, Christopher Jeffrey. (MIT License)

View File

@@ -0,0 +1,214 @@
#!/usr/bin/env node
/**
* Marked CLI
* Copyright (c) 2011-2013, Christopher Jeffrey (MIT License)
*/
import { promises } from 'fs';
import { marked } from '../lib/marked.esm.js';
const { readFile, writeFile } = promises;
/**
* Man Page
*/
async function help() {
const { spawn } = await import('child_process');
const options = {
cwd: process.cwd(),
env: process.env,
setsid: false,
stdio: 'inherit'
};
const { dirname, resolve } = await import('path');
const { fileURLToPath } = await import('url');
const __dirname = dirname(fileURLToPath(import.meta.url));
const helpText = await readFile(resolve(__dirname, '../man/marked.1.txt'), 'utf8');
// eslint-disable-next-line promise/param-names
await new Promise(res => {
spawn('man', [resolve(__dirname, '../man/marked.1')], options)
.on('error', () => {
console.log(helpText);
})
.on('close', res);
});
}
async function version() {
const { createRequire } = await import('module');
const require = createRequire(import.meta.url);
const pkg = require('../package.json');
console.log(pkg.version);
}
/**
* Main
*/
async function main(argv) {
const files = [];
const options = {};
let input;
let output;
let string;
let arg;
let tokens;
let opt;
function getarg() {
let arg = argv.shift();
if (arg.indexOf('--') === 0) {
// e.g. --opt
arg = arg.split('=');
if (arg.length > 1) {
// e.g. --opt=val
argv.unshift(arg.slice(1).join('='));
}
arg = arg[0];
} else if (arg[0] === '-') {
if (arg.length > 2) {
// e.g. -abc
argv = arg.substring(1).split('').map(function(ch) {
return '-' + ch;
}).concat(argv);
arg = argv.shift();
} else {
// e.g. -a
}
} else {
// e.g. foo
}
return arg;
}
while (argv.length) {
arg = getarg();
switch (arg) {
case '-o':
case '--output':
output = argv.shift();
break;
case '-i':
case '--input':
input = argv.shift();
break;
case '-s':
case '--string':
string = argv.shift();
break;
case '-t':
case '--tokens':
tokens = true;
break;
case '-h':
case '--help':
return await help();
case '-v':
case '--version':
return await version();
default:
if (arg.indexOf('--') === 0) {
opt = camelize(arg.replace(/^--(no-)?/, ''));
if (!marked.defaults.hasOwnProperty(opt)) {
continue;
}
if (arg.indexOf('--no-') === 0) {
options[opt] = typeof marked.defaults[opt] !== 'boolean'
? null
: false;
} else {
options[opt] = typeof marked.defaults[opt] !== 'boolean'
? argv.shift()
: true;
}
} else {
files.push(arg);
}
break;
}
}
async function getData() {
if (!input) {
if (files.length <= 2) {
if (string) {
return string;
}
return await getStdin();
}
input = files.pop();
}
return await readFile(input, 'utf8');
}
const data = await getData();
const html = tokens
? JSON.stringify(marked.lexer(data, options), null, 2)
: marked(data, options);
if (output) {
return await writeFile(output, html);
}
process.stdout.write(html + '\n');
}
/**
* Helpers
*/
function getStdin() {
return new Promise((resolve, reject) => {
const stdin = process.stdin;
let buff = '';
stdin.setEncoding('utf8');
stdin.on('data', function(data) {
buff += data;
});
stdin.on('error', function(err) {
reject(err);
});
stdin.on('end', function() {
resolve(buff);
});
stdin.resume();
});
}
function camelize(text) {
return text.replace(/(\w)-(\w)/g, function(_, a, b) {
return a + b.toUpperCase();
});
}
function handleError(err) {
if (err.code === 'ENOENT') {
console.error('marked: output to ' + err.path + ': No such directory');
return process.exit(1);
}
throw err;
}
/**
* Expose / Entry Point
*/
process.title = 'marked';
main(process.argv.slice()).then(code => {
process.exit(code || 0);
}).catch(err => {
handleError(err);
});

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,92 @@
.ds q \N'34'
.TH marked 1
.SH NAME
marked \- a javascript markdown parser
.SH SYNOPSIS
.B marked
[\-o \fI<output>\fP] [\-i \fI<input>\fP] [\-s \fI<string>\fP] [\-\-help]
[\-\-tokens] [\-\-pedantic] [\-\-gfm]
[\-\-breaks] [\-\-sanitize]
[\-\-smart\-lists] [\-\-lang\-prefix \fI<prefix>\fP]
[\-\-no\-etc...] [\-\-silent] [\fIfilename\fP]
.SH DESCRIPTION
.B marked
is a full-featured javascript markdown parser, built for speed.
It also includes multiple GFM features.
.SH EXAMPLES
.TP
cat in.md | marked > out.html
.TP
echo "hello *world*" | marked
.TP
marked \-o out.html \-i in.md \-\-gfm
.TP
marked \-\-output="hello world.html" \-i in.md \-\-no-breaks
.SH OPTIONS
.TP
.BI \-o,\ \-\-output\ [\fIoutput\fP]
Specify file output. If none is specified, write to stdout.
.TP
.BI \-i,\ \-\-input\ [\fIinput\fP]
Specify file input, otherwise use last argument as input file.
If no input file is specified, read from stdin.
.TP
.BI \-s,\ \-\-string\ [\fIstring\fP]
Specify string input instead of a file.
.TP
.BI \-t,\ \-\-tokens
Output a token stream instead of html.
.TP
.BI \-\-pedantic
Conform to obscure parts of markdown.pl as much as possible.
Don't fix original markdown bugs.
.TP
.BI \-\-gfm
Enable github flavored markdown.
.TP
.BI \-\-breaks
Enable GFM line breaks. Only works with the gfm option.
.TP
.BI \-\-sanitize
Sanitize output. Ignore any HTML input.
.TP
.BI \-\-smart\-lists
Use smarter list behavior than the original markdown.
.TP
.BI \-\-lang\-prefix\ [\fIprefix\fP]
Set the prefix for code block classes.
.TP
.BI \-\-mangle
Mangle email addresses.
.TP
.BI \-\-no\-sanitize,\ \-no-etc...
The inverse of any of the marked options above.
.TP
.BI \-\-silent
Silence error output.
.TP
.BI \-h,\ \-\-help
Display help information.
.SH CONFIGURATION
For configuring and running programmatically.
.B Example
import { marked } from 'marked';
marked('*foo*', { gfm: true });
.SH BUGS
Please report any bugs to https://github.com/markedjs/marked.
.SH LICENSE
Copyright (c) 2011-2014, Christopher Jeffrey (MIT License).
.SH "SEE ALSO"
.BR markdown(1),
.BR node.js(1)

View File

@@ -0,0 +1,86 @@
marked(1) General Commands Manual marked(1)
NAME
marked - a javascript markdown parser
SYNOPSIS
marked [-o <output>] [-i <input>] [-s <string>] [--help] [--tokens]
[--pedantic] [--gfm] [--breaks] [--sanitize] [--smart-lists]
[--lang-prefix <prefix>] [--no-etc...] [--silent] [filename]
DESCRIPTION
marked is a full-featured javascript markdown parser, built for speed.
It also includes multiple GFM features.
EXAMPLES
cat in.md | marked > out.html
echo "hello *world*" | marked
marked -o out.html -i in.md --gfm
marked --output="hello world.html" -i in.md --no-breaks
OPTIONS
-o, --output [output]
Specify file output. If none is specified, write to stdout.
-i, --input [input]
Specify file input, otherwise use last argument as input file.
If no input file is specified, read from stdin.
-s, --string [string]
Specify string input instead of a file.
-t, --tokens
Output a token stream instead of html.
--pedantic
Conform to obscure parts of markdown.pl as much as possible.
Don't fix original markdown bugs.
--gfm Enable github flavored markdown.
--breaks
Enable GFM line breaks. Only works with the gfm option.
--sanitize
Sanitize output. Ignore any HTML input.
--smart-lists
Use smarter list behavior than the original markdown.
--lang-prefix [prefix]
Set the prefix for code block classes.
--mangle
Mangle email addresses.
--no-sanitize, -no-etc...
The inverse of any of the marked options above.
--silent
Silence error output.
-h, --help
Display help information.
CONFIGURATION
For configuring and running programmatically.
Example
import { marked } from 'marked';
marked('*foo*', { gfm: true });
BUGS
Please report any bugs to https://github.com/markedjs/marked.
LICENSE
Copyright (c) 2011-2014, Christopher Jeffrey (MIT License).
SEE ALSO
markdown(1), node.js(1)
marked(1)

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,97 @@
{
"name": "marked",
"description": "A markdown parser built for speed",
"author": "Christopher Jeffrey",
"version": "4.0.10",
"type": "module",
"main": "./lib/marked.cjs",
"module": "./lib/marked.esm.js",
"browser": "./lib/marked.umd.js",
"bin": {
"marked": "bin/marked.js"
},
"man": "./man/marked.1",
"files": [
"bin/",
"lib/",
"src/",
"man/",
"marked.min.js"
],
"exports": {
".": {
"import": "./lib/marked.esm.js",
"default": "./lib/marked.cjs"
},
"./package.json": "./package.json"
},
"repository": "git://github.com/markedjs/marked.git",
"homepage": "https://marked.js.org",
"bugs": {
"url": "http://github.com/markedjs/marked/issues"
},
"license": "MIT",
"keywords": [
"markdown",
"markup",
"html"
],
"tags": [
"markdown",
"markup",
"html"
],
"devDependencies": {
"@babel/core": "^7.16.7",
"@babel/preset-env": "^7.16.7",
"@markedjs/html-differ": "^4.0.0",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^21.0.1",
"@semantic-release/commit-analyzer": "^9.0.2",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^8.0.2",
"@semantic-release/npm": "^8.0.3",
"@semantic-release/release-notes-generator": "^10.0.3",
"cheerio": "^1.0.0-rc.10",
"commonmark": "0.30.0",
"eslint": "^8.6.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.0.0",
"front-matter": "^4.0.2",
"highlight.js": "^11.4.0",
"jasmine": "^4.0.1",
"markdown-it": "12.3.2",
"node-fetch": "^3.1.0",
"rollup": "^2.63.0",
"rollup-plugin-license": "^2.6.1",
"semantic-release": "^18.0.1",
"titleize": "^3.0.0",
"uglify-js": "^3.14.5",
"vuln-regex-detector": "^1.3.0"
},
"scripts": {
"test": "jasmine --config=jasmine.json",
"test:all": "npm test && npm run test:lint",
"test:unit": "npm test -- test/unit/**/*-spec.js",
"test:specs": "npm test -- test/specs/**/*-spec.js",
"test:lint": "eslint .",
"test:redos": "node test/vuln-regex.js",
"test:update": "node test/update-specs.js",
"rules": "node test/rules.js",
"bench": "npm run rollup && node test/bench.js",
"lint": "eslint --fix .",
"build:reset": "git checkout upstream/master lib/marked.cjs lib/marked.umd.js lib/marked.esm.js marked.min.js",
"build": "npm run rollup && npm run minify",
"build:docs": "node build-docs.js",
"rollup": "npm run rollup:umd && npm run rollup:esm",
"rollup:umd": "rollup -c rollup.config.js",
"rollup:esm": "rollup -c rollup.config.esm.js",
"minify": "uglifyjs lib/marked.umd.js -cm --comments /Copyright/ -o marked.min.js",
"preversion": "npm run build && (git diff --quiet || git commit -am build)"
},
"engines": {
"node": ">= 12"
}
}

View File

@@ -0,0 +1,495 @@
import { Tokenizer } from './Tokenizer.js';
import { defaults } from './defaults.js';
import { block, inline } from './rules.js';
import { repeatString } from './helpers.js';
/**
* smartypants text replacement
*/
function smartypants(text) {
return text
// em-dashes
.replace(/---/g, '\u2014')
// en-dashes
.replace(/--/g, '\u2013')
// opening singles
.replace(/(^|[-\u2014/(\[{"\s])'/g, '$1\u2018')
// closing singles & apostrophes
.replace(/'/g, '\u2019')
// opening doubles
.replace(/(^|[-\u2014/(\[{\u2018\s])"/g, '$1\u201c')
// closing doubles
.replace(/"/g, '\u201d')
// ellipses
.replace(/\.{3}/g, '\u2026');
}
/**
* mangle email addresses
*/
function mangle(text) {
let out = '',
i,
ch;
const l = text.length;
for (i = 0; i < l; i++) {
ch = text.charCodeAt(i);
if (Math.random() > 0.5) {
ch = 'x' + ch.toString(16);
}
out += '&#' + ch + ';';
}
return out;
}
/**
* Block Lexer
*/
export class Lexer {
constructor(options) {
this.tokens = [];
this.tokens.links = Object.create(null);
this.options = options || defaults;
this.options.tokenizer = this.options.tokenizer || new Tokenizer();
this.tokenizer = this.options.tokenizer;
this.tokenizer.options = this.options;
this.tokenizer.lexer = this;
this.inlineQueue = [];
this.state = {
inLink: false,
inRawBlock: false,
top: true
};
const rules = {
block: block.normal,
inline: inline.normal
};
if (this.options.pedantic) {
rules.block = block.pedantic;
rules.inline = inline.pedantic;
} else if (this.options.gfm) {
rules.block = block.gfm;
if (this.options.breaks) {
rules.inline = inline.breaks;
} else {
rules.inline = inline.gfm;
}
}
this.tokenizer.rules = rules;
}
/**
* Expose Rules
*/
static get rules() {
return {
block,
inline
};
}
/**
* Static Lex Method
*/
static lex(src, options) {
const lexer = new Lexer(options);
return lexer.lex(src);
}
/**
* Static Lex Inline Method
*/
static lexInline(src, options) {
const lexer = new Lexer(options);
return lexer.inlineTokens(src);
}
/**
* Preprocessing
*/
lex(src) {
src = src
.replace(/\r\n|\r/g, '\n')
.replace(/\t/g, ' ');
this.blockTokens(src, this.tokens);
let next;
while (next = this.inlineQueue.shift()) {
this.inlineTokens(next.src, next.tokens);
}
return this.tokens;
}
/**
* Lexing
*/
blockTokens(src, tokens = []) {
if (this.options.pedantic) {
src = src.replace(/^ +$/gm, '');
}
let token, lastToken, cutSrc, lastParagraphClipped;
while (src) {
if (this.options.extensions
&& this.options.extensions.block
&& this.options.extensions.block.some((extTokenizer) => {
if (token = extTokenizer.call({ lexer: this }, src, tokens)) {
src = src.substring(token.raw.length);
tokens.push(token);
return true;
}
return false;
})) {
continue;
}
// newline
if (token = this.tokenizer.space(src)) {
src = src.substring(token.raw.length);
if (token.raw.length === 1 && tokens.length > 0) {
// if there's a single \n as a spacer, it's terminating the last line,
// so move it there so that we don't get unecessary paragraph tags
tokens[tokens.length - 1].raw += '\n';
} else {
tokens.push(token);
}
continue;
}
// code
if (token = this.tokenizer.code(src)) {
src = src.substring(token.raw.length);
lastToken = tokens[tokens.length - 1];
// An indented code block cannot interrupt a paragraph.
if (lastToken && (lastToken.type === 'paragraph' || lastToken.type === 'text')) {
lastToken.raw += '\n' + token.raw;
lastToken.text += '\n' + token.text;
this.inlineQueue[this.inlineQueue.length - 1].src = lastToken.text;
} else {
tokens.push(token);
}
continue;
}
// fences
if (token = this.tokenizer.fences(src)) {
src = src.substring(token.raw.length);
tokens.push(token);
continue;
}
// heading
if (token = this.tokenizer.heading(src)) {
src = src.substring(token.raw.length);
tokens.push(token);
continue;
}
// hr
if (token = this.tokenizer.hr(src)) {
src = src.substring(token.raw.length);
tokens.push(token);
continue;
}
// blockquote
if (token = this.tokenizer.blockquote(src)) {
src = src.substring(token.raw.length);
tokens.push(token);
continue;
}
// list
if (token = this.tokenizer.list(src)) {
src = src.substring(token.raw.length);
tokens.push(token);
continue;
}
// html
if (token = this.tokenizer.html(src)) {
src = src.substring(token.raw.length);
tokens.push(token);
continue;
}
// def
if (token = this.tokenizer.def(src)) {
src = src.substring(token.raw.length);
lastToken = tokens[tokens.length - 1];
if (lastToken && (lastToken.type === 'paragraph' || lastToken.type === 'text')) {
lastToken.raw += '\n' + token.raw;
lastToken.text += '\n' + token.raw;
this.inlineQueue[this.inlineQueue.length - 1].src = lastToken.text;
} else if (!this.tokens.links[token.tag]) {
this.tokens.links[token.tag] = {
href: token.href,
title: token.title
};
}
continue;
}
// table (gfm)
if (token = this.tokenizer.table(src)) {
src = src.substring(token.raw.length);
tokens.push(token);
continue;
}
// lheading
if (token = this.tokenizer.lheading(src)) {
src = src.substring(token.raw.length);
tokens.push(token);
continue;
}
// top-level paragraph
// prevent paragraph consuming extensions by clipping 'src' to extension start
cutSrc = src;
if (this.options.extensions && this.options.extensions.startBlock) {
let startIndex = Infinity;
const tempSrc = src.slice(1);
let tempStart;
this.options.extensions.startBlock.forEach(function(getStartIndex) {
tempStart = getStartIndex.call({ lexer: this }, tempSrc);
if (typeof tempStart === 'number' && tempStart >= 0) { startIndex = Math.min(startIndex, tempStart); }
});
if (startIndex < Infinity && startIndex >= 0) {
cutSrc = src.substring(0, startIndex + 1);
}
}
if (this.state.top && (token = this.tokenizer.paragraph(cutSrc))) {
lastToken = tokens[tokens.length - 1];
if (lastParagraphClipped && lastToken.type === 'paragraph') {
lastToken.raw += '\n' + token.raw;
lastToken.text += '\n' + token.text;
this.inlineQueue.pop();
this.inlineQueue[this.inlineQueue.length - 1].src = lastToken.text;
} else {
tokens.push(token);
}
lastParagraphClipped = (cutSrc.length !== src.length);
src = src.substring(token.raw.length);
continue;
}
// text
if (token = this.tokenizer.text(src)) {
src = src.substring(token.raw.length);
lastToken = tokens[tokens.length - 1];
if (lastToken && lastToken.type === 'text') {
lastToken.raw += '\n' + token.raw;
lastToken.text += '\n' + token.text;
this.inlineQueue.pop();
this.inlineQueue[this.inlineQueue.length - 1].src = lastToken.text;
} else {
tokens.push(token);
}
continue;
}
if (src) {
const errMsg = 'Infinite loop on byte: ' + src.charCodeAt(0);
if (this.options.silent) {
console.error(errMsg);
break;
} else {
throw new Error(errMsg);
}
}
}
this.state.top = true;
return tokens;
}
inline(src, tokens) {
this.inlineQueue.push({ src, tokens });
}
/**
* Lexing/Compiling
*/
inlineTokens(src, tokens = []) {
let token, lastToken, cutSrc;
// String with links masked to avoid interference with em and strong
let maskedSrc = src;
let match;
let keepPrevChar, prevChar;
// Mask out reflinks
if (this.tokens.links) {
const links = Object.keys(this.tokens.links);
if (links.length > 0) {
while ((match = this.tokenizer.rules.inline.reflinkSearch.exec(maskedSrc)) != null) {
if (links.includes(match[0].slice(match[0].lastIndexOf('[') + 1, -1))) {
maskedSrc = maskedSrc.slice(0, match.index) + '[' + repeatString('a', match[0].length - 2) + ']' + maskedSrc.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex);
}
}
}
}
// Mask out other blocks
while ((match = this.tokenizer.rules.inline.blockSkip.exec(maskedSrc)) != null) {
maskedSrc = maskedSrc.slice(0, match.index) + '[' + repeatString('a', match[0].length - 2) + ']' + maskedSrc.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);
}
// Mask out escaped em & strong delimiters
while ((match = this.tokenizer.rules.inline.escapedEmSt.exec(maskedSrc)) != null) {
maskedSrc = maskedSrc.slice(0, match.index) + '++' + maskedSrc.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);
}
while (src) {
if (!keepPrevChar) {
prevChar = '';
}
keepPrevChar = false;
// extensions
if (this.options.extensions
&& this.options.extensions.inline
&& this.options.extensions.inline.some((extTokenizer) => {
if (token = extTokenizer.call({ lexer: this }, src, tokens)) {
src = src.substring(token.raw.length);
tokens.push(token);
return true;
}
return false;
})) {
continue;
}
// escape
if (token = this.tokenizer.escape(src)) {
src = src.substring(token.raw.length);
tokens.push(token);
continue;
}
// tag
if (token = this.tokenizer.tag(src)) {
src = src.substring(token.raw.length);
lastToken = tokens[tokens.length - 1];
if (lastToken && token.type === 'text' && lastToken.type === 'text') {
lastToken.raw += token.raw;
lastToken.text += token.text;
} else {
tokens.push(token);
}
continue;
}
// link
if (token = this.tokenizer.link(src)) {
src = src.substring(token.raw.length);
tokens.push(token);
continue;
}
// reflink, nolink
if (token = this.tokenizer.reflink(src, this.tokens.links)) {
src = src.substring(token.raw.length);
lastToken = tokens[tokens.length - 1];
if (lastToken && token.type === 'text' && lastToken.type === 'text') {
lastToken.raw += token.raw;
lastToken.text += token.text;
} else {
tokens.push(token);
}
continue;
}
// em & strong
if (token = this.tokenizer.emStrong(src, maskedSrc, prevChar)) {
src = src.substring(token.raw.length);
tokens.push(token);
continue;
}
// code
if (token = this.tokenizer.codespan(src)) {
src = src.substring(token.raw.length);
tokens.push(token);
continue;
}
// br
if (token = this.tokenizer.br(src)) {
src = src.substring(token.raw.length);
tokens.push(token);
continue;
}
// del (gfm)
if (token = this.tokenizer.del(src)) {
src = src.substring(token.raw.length);
tokens.push(token);
continue;
}
// autolink
if (token = this.tokenizer.autolink(src, mangle)) {
src = src.substring(token.raw.length);
tokens.push(token);
continue;
}
// url (gfm)
if (!this.state.inLink && (token = this.tokenizer.url(src, mangle))) {
src = src.substring(token.raw.length);
tokens.push(token);
continue;
}
// text
// prevent inlineText consuming extensions by clipping 'src' to extension start
cutSrc = src;
if (this.options.extensions && this.options.extensions.startInline) {
let startIndex = Infinity;
const tempSrc = src.slice(1);
let tempStart;
this.options.extensions.startInline.forEach(function(getStartIndex) {
tempStart = getStartIndex.call({ lexer: this }, tempSrc);
if (typeof tempStart === 'number' && tempStart >= 0) { startIndex = Math.min(startIndex, tempStart); }
});
if (startIndex < Infinity && startIndex >= 0) {
cutSrc = src.substring(0, startIndex + 1);
}
}
if (token = this.tokenizer.inlineText(cutSrc, smartypants)) {
src = src.substring(token.raw.length);
if (token.raw.slice(-1) !== '_') { // Track prevChar before string of ____ started
prevChar = token.raw.slice(-1);
}
keepPrevChar = true;
lastToken = tokens[tokens.length - 1];
if (lastToken && lastToken.type === 'text') {
lastToken.raw += token.raw;
lastToken.text += token.text;
} else {
tokens.push(token);
}
continue;
}
if (src) {
const errMsg = 'Infinite loop on byte: ' + src.charCodeAt(0);
if (this.options.silent) {
console.error(errMsg);
break;
} else {
throw new Error(errMsg);
}
}
}
return tokens;
}
}

View File

@@ -0,0 +1,286 @@
import { Renderer } from './Renderer.js';
import { TextRenderer } from './TextRenderer.js';
import { Slugger } from './Slugger.js';
import { defaults } from './defaults.js';
import {
unescape
} from './helpers.js';
/**
* Parsing & Compiling
*/
export class Parser {
constructor(options) {
this.options = options || defaults;
this.options.renderer = this.options.renderer || new Renderer();
this.renderer = this.options.renderer;
this.renderer.options = this.options;
this.textRenderer = new TextRenderer();
this.slugger = new Slugger();
}
/**
* Static Parse Method
*/
static parse(tokens, options) {
const parser = new Parser(options);
return parser.parse(tokens);
}
/**
* Static Parse Inline Method
*/
static parseInline(tokens, options) {
const parser = new Parser(options);
return parser.parseInline(tokens);
}
/**
* Parse Loop
*/
parse(tokens, top = true) {
let out = '',
i,
j,
k,
l2,
l3,
row,
cell,
header,
body,
token,
ordered,
start,
loose,
itemBody,
item,
checked,
task,
checkbox,
ret;
const l = tokens.length;
for (i = 0; i < l; i++) {
token = tokens[i];
// Run any renderer extensions
if (this.options.extensions && this.options.extensions.renderers && this.options.extensions.renderers[token.type]) {
ret = this.options.extensions.renderers[token.type].call({ parser: this }, token);
if (ret !== false || !['space', 'hr', 'heading', 'code', 'table', 'blockquote', 'list', 'html', 'paragraph', 'text'].includes(token.type)) {
out += ret || '';
continue;
}
}
switch (token.type) {
case 'space': {
continue;
}
case 'hr': {
out += this.renderer.hr();
continue;
}
case 'heading': {
out += this.renderer.heading(
this.parseInline(token.tokens),
token.depth,
unescape(this.parseInline(token.tokens, this.textRenderer)),
this.slugger);
continue;
}
case 'code': {
out += this.renderer.code(token.text,
token.lang,
token.escaped);
continue;
}
case 'table': {
header = '';
// header
cell = '';
l2 = token.header.length;
for (j = 0; j < l2; j++) {
cell += this.renderer.tablecell(
this.parseInline(token.header[j].tokens),
{ header: true, align: token.align[j] }
);
}
header += this.renderer.tablerow(cell);
body = '';
l2 = token.rows.length;
for (j = 0; j < l2; j++) {
row = token.rows[j];
cell = '';
l3 = row.length;
for (k = 0; k < l3; k++) {
cell += this.renderer.tablecell(
this.parseInline(row[k].tokens),
{ header: false, align: token.align[k] }
);
}
body += this.renderer.tablerow(cell);
}
out += this.renderer.table(header, body);
continue;
}
case 'blockquote': {
body = this.parse(token.tokens);
out += this.renderer.blockquote(body);
continue;
}
case 'list': {
ordered = token.ordered;
start = token.start;
loose = token.loose;
l2 = token.items.length;
body = '';
for (j = 0; j < l2; j++) {
item = token.items[j];
checked = item.checked;
task = item.task;
itemBody = '';
if (item.task) {
checkbox = this.renderer.checkbox(checked);
if (loose) {
if (item.tokens.length > 0 && item.tokens[0].type === 'paragraph') {
item.tokens[0].text = checkbox + ' ' + item.tokens[0].text;
if (item.tokens[0].tokens && item.tokens[0].tokens.length > 0 && item.tokens[0].tokens[0].type === 'text') {
item.tokens[0].tokens[0].text = checkbox + ' ' + item.tokens[0].tokens[0].text;
}
} else {
item.tokens.unshift({
type: 'text',
text: checkbox
});
}
} else {
itemBody += checkbox;
}
}
itemBody += this.parse(item.tokens, loose);
body += this.renderer.listitem(itemBody, task, checked);
}
out += this.renderer.list(body, ordered, start);
continue;
}
case 'html': {
// TODO parse inline content if parameter markdown=1
out += this.renderer.html(token.text);
continue;
}
case 'paragraph': {
out += this.renderer.paragraph(this.parseInline(token.tokens));
continue;
}
case 'text': {
body = token.tokens ? this.parseInline(token.tokens) : token.text;
while (i + 1 < l && tokens[i + 1].type === 'text') {
token = tokens[++i];
body += '\n' + (token.tokens ? this.parseInline(token.tokens) : token.text);
}
out += top ? this.renderer.paragraph(body) : body;
continue;
}
default: {
const errMsg = 'Token with "' + token.type + '" type was not found.';
if (this.options.silent) {
console.error(errMsg);
return;
} else {
throw new Error(errMsg);
}
}
}
}
return out;
}
/**
* Parse Inline Tokens
*/
parseInline(tokens, renderer) {
renderer = renderer || this.renderer;
let out = '',
i,
token,
ret;
const l = tokens.length;
for (i = 0; i < l; i++) {
token = tokens[i];
// Run any renderer extensions
if (this.options.extensions && this.options.extensions.renderers && this.options.extensions.renderers[token.type]) {
ret = this.options.extensions.renderers[token.type].call({ parser: this }, token);
if (ret !== false || !['escape', 'html', 'link', 'image', 'strong', 'em', 'codespan', 'br', 'del', 'text'].includes(token.type)) {
out += ret || '';
continue;
}
}
switch (token.type) {
case 'escape': {
out += renderer.text(token.text);
break;
}
case 'html': {
out += renderer.html(token.text);
break;
}
case 'link': {
out += renderer.link(token.href, token.title, this.parseInline(token.tokens, renderer));
break;
}
case 'image': {
out += renderer.image(token.href, token.title, token.text);
break;
}
case 'strong': {
out += renderer.strong(this.parseInline(token.tokens, renderer));
break;
}
case 'em': {
out += renderer.em(this.parseInline(token.tokens, renderer));
break;
}
case 'codespan': {
out += renderer.codespan(token.text);
break;
}
case 'br': {
out += renderer.br();
break;
}
case 'del': {
out += renderer.del(this.parseInline(token.tokens, renderer));
break;
}
case 'text': {
out += renderer.text(token.text);
break;
}
default: {
const errMsg = 'Token with "' + token.type + '" type was not found.';
if (this.options.silent) {
console.error(errMsg);
return;
} else {
throw new Error(errMsg);
}
}
}
}
return out;
}
}

View File

@@ -0,0 +1,166 @@
import { defaults } from './defaults.js';
import {
cleanUrl,
escape
} from './helpers.js';
/**
* Renderer
*/
export class Renderer {
constructor(options) {
this.options = options || defaults;
}
code(code, infostring, escaped) {
const lang = (infostring || '').match(/\S*/)[0];
if (this.options.highlight) {
const out = this.options.highlight(code, lang);
if (out != null && out !== code) {
escaped = true;
code = out;
}
}
code = code.replace(/\n$/, '') + '\n';
if (!lang) {
return '<pre><code>'
+ (escaped ? code : escape(code, true))
+ '</code></pre>\n';
}
return '<pre><code class="'
+ this.options.langPrefix
+ escape(lang, true)
+ '">'
+ (escaped ? code : escape(code, true))
+ '</code></pre>\n';
}
blockquote(quote) {
return '<blockquote>\n' + quote + '</blockquote>\n';
}
html(html) {
return html;
}
heading(text, level, raw, slugger) {
if (this.options.headerIds) {
return '<h'
+ level
+ ' id="'
+ this.options.headerPrefix
+ slugger.slug(raw)
+ '">'
+ text
+ '</h'
+ level
+ '>\n';
}
// ignore IDs
return '<h' + level + '>' + text + '</h' + level + '>\n';
}
hr() {
return this.options.xhtml ? '<hr/>\n' : '<hr>\n';
}
list(body, ordered, start) {
const type = ordered ? 'ol' : 'ul',
startatt = (ordered && start !== 1) ? (' start="' + start + '"') : '';
return '<' + type + startatt + '>\n' + body + '</' + type + '>\n';
}
listitem(text) {
return '<li>' + text + '</li>\n';
}
checkbox(checked) {
return '<input '
+ (checked ? 'checked="" ' : '')
+ 'disabled="" type="checkbox"'
+ (this.options.xhtml ? ' /' : '')
+ '> ';
}
paragraph(text) {
return '<p>' + text + '</p>\n';
}
table(header, body) {
if (body) body = '<tbody>' + body + '</tbody>';
return '<table>\n'
+ '<thead>\n'
+ header
+ '</thead>\n'
+ body
+ '</table>\n';
}
tablerow(content) {
return '<tr>\n' + content + '</tr>\n';
}
tablecell(content, flags) {
const type = flags.header ? 'th' : 'td';
const tag = flags.align
? '<' + type + ' align="' + flags.align + '">'
: '<' + type + '>';
return tag + content + '</' + type + '>\n';
}
// span level renderer
strong(text) {
return '<strong>' + text + '</strong>';
}
em(text) {
return '<em>' + text + '</em>';
}
codespan(text) {
return '<code>' + text + '</code>';
}
br() {
return this.options.xhtml ? '<br/>' : '<br>';
}
del(text) {
return '<del>' + text + '</del>';
}
link(href, title, text) {
href = cleanUrl(this.options.sanitize, this.options.baseUrl, href);
if (href === null) {
return text;
}
let out = '<a href="' + escape(href) + '"';
if (title) {
out += ' title="' + title + '"';
}
out += '>' + text + '</a>';
return out;
}
image(href, title, text) {
href = cleanUrl(this.options.sanitize, this.options.baseUrl, href);
if (href === null) {
return text;
}
let out = '<img src="' + href + '" alt="' + text + '"';
if (title) {
out += ' title="' + title + '"';
}
out += this.options.xhtml ? '/>' : '>';
return out;
}
text(text) {
return text;
}
}

View File

@@ -0,0 +1,49 @@
/**
* Slugger generates header id
*/
export class Slugger {
constructor() {
this.seen = {};
}
serialize(value) {
return value
.toLowerCase()
.trim()
// remove html tags
.replace(/<[!\/a-z].*?>/ig, '')
// remove unwanted chars
.replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g, '')
.replace(/\s/g, '-');
}
/**
* Finds the next safe (unique) slug to use
*/
getNextSafeSlug(originalSlug, isDryRun) {
let slug = originalSlug;
let occurenceAccumulator = 0;
if (this.seen.hasOwnProperty(slug)) {
occurenceAccumulator = this.seen[originalSlug];
do {
occurenceAccumulator++;
slug = originalSlug + '-' + occurenceAccumulator;
} while (this.seen.hasOwnProperty(slug));
}
if (!isDryRun) {
this.seen[originalSlug] = occurenceAccumulator;
this.seen[slug] = 0;
}
return slug;
}
/**
* Convert string to unique id
* @param {object} options
* @param {boolean} options.dryrun Generates the next unique slug without updating the internal accumulator.
*/
slug(value, options = {}) {
const slug = this.serialize(value);
return this.getNextSafeSlug(slug, options.dryrun);
}
}

View File

@@ -0,0 +1,42 @@
/**
* TextRenderer
* returns only the textual part of the token
*/
export class TextRenderer {
// no need for block level renderers
strong(text) {
return text;
}
em(text) {
return text;
}
codespan(text) {
return text;
}
del(text) {
return text;
}
html(text) {
return text;
}
text(text) {
return text;
}
link(href, title, text) {
return '' + text;
}
image(href, title, text) {
return '' + text;
}
br() {
return '';
}
}

View File

@@ -0,0 +1,768 @@
import { defaults } from './defaults.js';
import {
rtrim,
splitCells,
escape,
findClosingBracket
} from './helpers.js';
function outputLink(cap, link, raw, lexer) {
const href = link.href;
const title = link.title ? escape(link.title) : null;
const text = cap[1].replace(/\\([\[\]])/g, '$1');
if (cap[0].charAt(0) !== '!') {
lexer.state.inLink = true;
const token = {
type: 'link',
raw,
href,
title,
text,
tokens: lexer.inlineTokens(text, [])
};
lexer.state.inLink = false;
return token;
} else {
return {
type: 'image',
raw,
href,
title,
text: escape(text)
};
}
}
function indentCodeCompensation(raw, text) {
const matchIndentToCode = raw.match(/^(\s+)(?:```)/);
if (matchIndentToCode === null) {
return text;
}
const indentToCode = matchIndentToCode[1];
return text
.split('\n')
.map(node => {
const matchIndentInNode = node.match(/^\s+/);
if (matchIndentInNode === null) {
return node;
}
const [indentInNode] = matchIndentInNode;
if (indentInNode.length >= indentToCode.length) {
return node.slice(indentToCode.length);
}
return node;
})
.join('\n');
}
/**
* Tokenizer
*/
export class Tokenizer {
constructor(options) {
this.options = options || defaults;
}
space(src) {
const cap = this.rules.block.newline.exec(src);
if (cap && cap[0].length > 0) {
return {
type: 'space',
raw: cap[0]
};
}
}
code(src) {
const cap = this.rules.block.code.exec(src);
if (cap) {
const text = cap[0].replace(/^ {1,4}/gm, '');
return {
type: 'code',
raw: cap[0],
codeBlockStyle: 'indented',
text: !this.options.pedantic
? rtrim(text, '\n')
: text
};
}
}
fences(src) {
const cap = this.rules.block.fences.exec(src);
if (cap) {
const raw = cap[0];
const text = indentCodeCompensation(raw, cap[3] || '');
return {
type: 'code',
raw,
lang: cap[2] ? cap[2].trim() : cap[2],
text
};
}
}
heading(src) {
const cap = this.rules.block.heading.exec(src);
if (cap) {
let text = cap[2].trim();
// remove trailing #s
if (/#$/.test(text)) {
const trimmed = rtrim(text, '#');
if (this.options.pedantic) {
text = trimmed.trim();
} else if (!trimmed || / $/.test(trimmed)) {
// CommonMark requires space before trailing #s
text = trimmed.trim();
}
}
const token = {
type: 'heading',
raw: cap[0],
depth: cap[1].length,
text: text,
tokens: []
};
this.lexer.inline(token.text, token.tokens);
return token;
}
}
hr(src) {
const cap = this.rules.block.hr.exec(src);
if (cap) {
return {
type: 'hr',
raw: cap[0]
};
}
}
blockquote(src) {
const cap = this.rules.block.blockquote.exec(src);
if (cap) {
const text = cap[0].replace(/^ *> ?/gm, '');
return {
type: 'blockquote',
raw: cap[0],
tokens: this.lexer.blockTokens(text, []),
text
};
}
}
list(src) {
let cap = this.rules.block.list.exec(src);
if (cap) {
let raw, istask, ischecked, indent, i, blankLine, endsWithBlankLine,
line, nextLine, rawLine, itemContents, endEarly;
let bull = cap[1].trim();
const isordered = bull.length > 1;
const list = {
type: 'list',
raw: '',
ordered: isordered,
start: isordered ? +bull.slice(0, -1) : '',
loose: false,
items: []
};
bull = isordered ? `\\d{1,9}\\${bull.slice(-1)}` : `\\${bull}`;
if (this.options.pedantic) {
bull = isordered ? bull : '[*+-]';
}
// Get next list item
const itemRegex = new RegExp(`^( {0,3}${bull})((?: [^\\n]*)?(?:\\n|$))`);
// Check if current bullet point can start a new List Item
while (src) {
endEarly = false;
if (!(cap = itemRegex.exec(src))) {
break;
}
if (this.rules.block.hr.test(src)) { // End list if bullet was actually HR (possibly move into itemRegex?)
break;
}
raw = cap[0];
src = src.substring(raw.length);
line = cap[2].split('\n', 1)[0];
nextLine = src.split('\n', 1)[0];
if (this.options.pedantic) {
indent = 2;
itemContents = line.trimLeft();
} else {
indent = cap[2].search(/[^ ]/); // Find first non-space char
indent = indent > 4 ? 1 : indent; // Treat indented code blocks (> 4 spaces) as having only 1 indent
itemContents = line.slice(indent);
indent += cap[1].length;
}
blankLine = false;
if (!line && /^ *$/.test(nextLine)) { // Items begin with at most one blank line
raw += nextLine + '\n';
src = src.substring(nextLine.length + 1);
endEarly = true;
}
if (!endEarly) {
const nextBulletRegex = new RegExp(`^ {0,${Math.min(3, indent - 1)}}(?:[*+-]|\\d{1,9}[.)])`);
// Check if following lines should be included in List Item
while (src) {
rawLine = src.split('\n', 1)[0];
line = rawLine;
// Re-align to follow commonmark nesting rules
if (this.options.pedantic) {
line = line.replace(/^ {1,4}(?=( {4})*[^ ])/g, ' ');
}
// End list item if found start of new bullet
if (nextBulletRegex.test(line)) {
break;
}
if (line.search(/[^ ]/) >= indent || !line.trim()) { // Dedent if possible
itemContents += '\n' + line.slice(indent);
} else if (!blankLine) { // Until blank line, item doesn't need indentation
itemContents += '\n' + line;
} else { // Otherwise, improper indentation ends this item
break;
}
if (!blankLine && !line.trim()) { // Check if current line is blank
blankLine = true;
}
raw += rawLine + '\n';
src = src.substring(rawLine.length + 1);
}
}
if (!list.loose) {
// If the previous item ended with a blank line, the list is loose
if (endsWithBlankLine) {
list.loose = true;
} else if (/\n *\n *$/.test(raw)) {
endsWithBlankLine = true;
}
}
// Check for task list items
if (this.options.gfm) {
istask = /^\[[ xX]\] /.exec(itemContents);
if (istask) {
ischecked = istask[0] !== '[ ] ';
itemContents = itemContents.replace(/^\[[ xX]\] +/, '');
}
}
list.items.push({
type: 'list_item',
raw: raw,
task: !!istask,
checked: ischecked,
loose: false,
text: itemContents
});
list.raw += raw;
}
// Do not consume newlines at end of final item. Alternatively, make itemRegex *start* with any newlines to simplify/speed up endsWithBlankLine logic
list.items[list.items.length - 1].raw = raw.trimRight();
list.items[list.items.length - 1].text = itemContents.trimRight();
list.raw = list.raw.trimRight();
const l = list.items.length;
// Item child tokens handled here at end because we needed to have the final item to trim it first
for (i = 0; i < l; i++) {
this.lexer.state.top = false;
list.items[i].tokens = this.lexer.blockTokens(list.items[i].text, []);
const spacers = list.items[i].tokens.filter(t => t.type === 'space');
const hasMultipleLineBreaks = spacers.every(t => {
const chars = t.raw.split('');
let lineBreaks = 0;
for (const char of chars) {
if (char === '\n') {
lineBreaks += 1;
}
if (lineBreaks > 1) {
return true;
}
}
return false;
});
if (!list.loose && spacers.length && hasMultipleLineBreaks) {
// Having a single line break doesn't mean a list is loose. A single line break is terminating the last list item
list.loose = true;
list.items[i].loose = true;
}
}
return list;
}
}
html(src) {
const cap = this.rules.block.html.exec(src);
if (cap) {
const token = {
type: 'html',
raw: cap[0],
pre: !this.options.sanitizer
&& (cap[1] === 'pre' || cap[1] === 'script' || cap[1] === 'style'),
text: cap[0]
};
if (this.options.sanitize) {
token.type = 'paragraph';
token.text = this.options.sanitizer ? this.options.sanitizer(cap[0]) : escape(cap[0]);
token.tokens = [];
this.lexer.inline(token.text, token.tokens);
}
return token;
}
}
def(src) {
const cap = this.rules.block.def.exec(src);
if (cap) {
if (cap[3]) cap[3] = cap[3].substring(1, cap[3].length - 1);
const tag = cap[1].toLowerCase().replace(/\s+/g, ' ');
return {
type: 'def',
tag,
raw: cap[0],
href: cap[2],
title: cap[3]
};
}
}
table(src) {
const cap = this.rules.block.table.exec(src);
if (cap) {
const item = {
type: 'table',
header: splitCells(cap[1]).map(c => { return { text: c }; }),
align: cap[2].replace(/^ *|\| *$/g, '').split(/ *\| */),
rows: cap[3] ? cap[3].replace(/\n[ \t]*$/, '').split('\n') : []
};
if (item.header.length === item.align.length) {
item.raw = cap[0];
let l = item.align.length;
let i, j, k, row;
for (i = 0; i < l; i++) {
if (/^ *-+: *$/.test(item.align[i])) {
item.align[i] = 'right';
} else if (/^ *:-+: *$/.test(item.align[i])) {
item.align[i] = 'center';
} else if (/^ *:-+ *$/.test(item.align[i])) {
item.align[i] = 'left';
} else {
item.align[i] = null;
}
}
l = item.rows.length;
for (i = 0; i < l; i++) {
item.rows[i] = splitCells(item.rows[i], item.header.length).map(c => { return { text: c }; });
}
// parse child tokens inside headers and cells
// header child tokens
l = item.header.length;
for (j = 0; j < l; j++) {
item.header[j].tokens = [];
this.lexer.inlineTokens(item.header[j].text, item.header[j].tokens);
}
// cell child tokens
l = item.rows.length;
for (j = 0; j < l; j++) {
row = item.rows[j];
for (k = 0; k < row.length; k++) {
row[k].tokens = [];
this.lexer.inlineTokens(row[k].text, row[k].tokens);
}
}
return item;
}
}
}
lheading(src) {
const cap = this.rules.block.lheading.exec(src);
if (cap) {
const token = {
type: 'heading',
raw: cap[0],
depth: cap[2].charAt(0) === '=' ? 1 : 2,
text: cap[1],
tokens: []
};
this.lexer.inline(token.text, token.tokens);
return token;
}
}
paragraph(src) {
const cap = this.rules.block.paragraph.exec(src);
if (cap) {
const token = {
type: 'paragraph',
raw: cap[0],
text: cap[1].charAt(cap[1].length - 1) === '\n'
? cap[1].slice(0, -1)
: cap[1],
tokens: []
};
this.lexer.inline(token.text, token.tokens);
return token;
}
}
text(src) {
const cap = this.rules.block.text.exec(src);
if (cap) {
const token = {
type: 'text',
raw: cap[0],
text: cap[0],
tokens: []
};
this.lexer.inline(token.text, token.tokens);
return token;
}
}
escape(src) {
const cap = this.rules.inline.escape.exec(src);
if (cap) {
return {
type: 'escape',
raw: cap[0],
text: escape(cap[1])
};
}
}
tag(src) {
const cap = this.rules.inline.tag.exec(src);
if (cap) {
if (!this.lexer.state.inLink && /^<a /i.test(cap[0])) {
this.lexer.state.inLink = true;
} else if (this.lexer.state.inLink && /^<\/a>/i.test(cap[0])) {
this.lexer.state.inLink = false;
}
if (!this.lexer.state.inRawBlock && /^<(pre|code|kbd|script)(\s|>)/i.test(cap[0])) {
this.lexer.state.inRawBlock = true;
} else if (this.lexer.state.inRawBlock && /^<\/(pre|code|kbd|script)(\s|>)/i.test(cap[0])) {
this.lexer.state.inRawBlock = false;
}
return {
type: this.options.sanitize
? 'text'
: 'html',
raw: cap[0],
inLink: this.lexer.state.inLink,
inRawBlock: this.lexer.state.inRawBlock,
text: this.options.sanitize
? (this.options.sanitizer
? this.options.sanitizer(cap[0])
: escape(cap[0]))
: cap[0]
};
}
}
link(src) {
const cap = this.rules.inline.link.exec(src);
if (cap) {
const trimmedUrl = cap[2].trim();
if (!this.options.pedantic && /^</.test(trimmedUrl)) {
// commonmark requires matching angle brackets
if (!(/>$/.test(trimmedUrl))) {
return;
}
// ending angle bracket cannot be escaped
const rtrimSlash = rtrim(trimmedUrl.slice(0, -1), '\\');
if ((trimmedUrl.length - rtrimSlash.length) % 2 === 0) {
return;
}
} else {
// find closing parenthesis
const lastParenIndex = findClosingBracket(cap[2], '()');
if (lastParenIndex > -1) {
const start = cap[0].indexOf('!') === 0 ? 5 : 4;
const linkLen = start + cap[1].length + lastParenIndex;
cap[2] = cap[2].substring(0, lastParenIndex);
cap[0] = cap[0].substring(0, linkLen).trim();
cap[3] = '';
}
}
let href = cap[2];
let title = '';
if (this.options.pedantic) {
// split pedantic href and title
const link = /^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(href);
if (link) {
href = link[1];
title = link[3];
}
} else {
title = cap[3] ? cap[3].slice(1, -1) : '';
}
href = href.trim();
if (/^</.test(href)) {
if (this.options.pedantic && !(/>$/.test(trimmedUrl))) {
// pedantic allows starting angle bracket without ending angle bracket
href = href.slice(1);
} else {
href = href.slice(1, -1);
}
}
return outputLink(cap, {
href: href ? href.replace(this.rules.inline._escapes, '$1') : href,
title: title ? title.replace(this.rules.inline._escapes, '$1') : title
}, cap[0], this.lexer);
}
}
reflink(src, links) {
let cap;
if ((cap = this.rules.inline.reflink.exec(src))
|| (cap = this.rules.inline.nolink.exec(src))) {
let link = (cap[2] || cap[1]).replace(/\s+/g, ' ');
link = links[link.toLowerCase()];
if (!link || !link.href) {
const text = cap[0].charAt(0);
return {
type: 'text',
raw: text,
text
};
}
return outputLink(cap, link, cap[0], this.lexer);
}
}
emStrong(src, maskedSrc, prevChar = '') {
let match = this.rules.inline.emStrong.lDelim.exec(src);
if (!match) return;
// _ can't be between two alphanumerics. \p{L}\p{N} includes non-english alphabet/numbers as well
if (match[3] && prevChar.match(/[\p{L}\p{N}]/u)) return;
const nextChar = match[1] || match[2] || '';
if (!nextChar || (nextChar && (prevChar === '' || this.rules.inline.punctuation.exec(prevChar)))) {
const lLength = match[0].length - 1;
let rDelim, rLength, delimTotal = lLength, midDelimTotal = 0;
const endReg = match[0][0] === '*' ? this.rules.inline.emStrong.rDelimAst : this.rules.inline.emStrong.rDelimUnd;
endReg.lastIndex = 0;
// Clip maskedSrc to same section of string as src (move to lexer?)
maskedSrc = maskedSrc.slice(-1 * src.length + lLength);
while ((match = endReg.exec(maskedSrc)) != null) {
rDelim = match[1] || match[2] || match[3] || match[4] || match[5] || match[6];
if (!rDelim) continue; // skip single * in __abc*abc__
rLength = rDelim.length;
if (match[3] || match[4]) { // found another Left Delim
delimTotal += rLength;
continue;
} else if (match[5] || match[6]) { // either Left or Right Delim
if (lLength % 3 && !((lLength + rLength) % 3)) {
midDelimTotal += rLength;
continue; // CommonMark Emphasis Rules 9-10
}
}
delimTotal -= rLength;
if (delimTotal > 0) continue; // Haven't found enough closing delimiters
// Remove extra characters. *a*** -> *a*
rLength = Math.min(rLength, rLength + delimTotal + midDelimTotal);
// Create `em` if smallest delimiter has odd char count. *a***
if (Math.min(lLength, rLength) % 2) {
const text = src.slice(1, lLength + match.index + rLength);
return {
type: 'em',
raw: src.slice(0, lLength + match.index + rLength + 1),
text,
tokens: this.lexer.inlineTokens(text, [])
};
}
// Create 'strong' if smallest delimiter has even char count. **a***
const text = src.slice(2, lLength + match.index + rLength - 1);
return {
type: 'strong',
raw: src.slice(0, lLength + match.index + rLength + 1),
text,
tokens: this.lexer.inlineTokens(text, [])
};
}
}
}
codespan(src) {
const cap = this.rules.inline.code.exec(src);
if (cap) {
let text = cap[2].replace(/\n/g, ' ');
const hasNonSpaceChars = /[^ ]/.test(text);
const hasSpaceCharsOnBothEnds = /^ /.test(text) && / $/.test(text);
if (hasNonSpaceChars && hasSpaceCharsOnBothEnds) {
text = text.substring(1, text.length - 1);
}
text = escape(text, true);
return {
type: 'codespan',
raw: cap[0],
text
};
}
}
br(src) {
const cap = this.rules.inline.br.exec(src);
if (cap) {
return {
type: 'br',
raw: cap[0]
};
}
}
del(src) {
const cap = this.rules.inline.del.exec(src);
if (cap) {
return {
type: 'del',
raw: cap[0],
text: cap[2],
tokens: this.lexer.inlineTokens(cap[2], [])
};
}
}
autolink(src, mangle) {
const cap = this.rules.inline.autolink.exec(src);
if (cap) {
let text, href;
if (cap[2] === '@') {
text = escape(this.options.mangle ? mangle(cap[1]) : cap[1]);
href = 'mailto:' + text;
} else {
text = escape(cap[1]);
href = text;
}
return {
type: 'link',
raw: cap[0],
text,
href,
tokens: [
{
type: 'text',
raw: text,
text
}
]
};
}
}
url(src, mangle) {
let cap;
if (cap = this.rules.inline.url.exec(src)) {
let text, href;
if (cap[2] === '@') {
text = escape(this.options.mangle ? mangle(cap[0]) : cap[0]);
href = 'mailto:' + text;
} else {
// do extended autolink path validation
let prevCapZero;
do {
prevCapZero = cap[0];
cap[0] = this.rules.inline._backpedal.exec(cap[0])[0];
} while (prevCapZero !== cap[0]);
text = escape(cap[0]);
if (cap[1] === 'www.') {
href = 'http://' + text;
} else {
href = text;
}
}
return {
type: 'link',
raw: cap[0],
text,
href,
tokens: [
{
type: 'text',
raw: text,
text
}
]
};
}
}
inlineText(src, smartypants) {
const cap = this.rules.inline.text.exec(src);
if (cap) {
let text;
if (this.lexer.state.inRawBlock) {
text = this.options.sanitize ? (this.options.sanitizer ? this.options.sanitizer(cap[0]) : escape(cap[0])) : cap[0];
} else {
text = escape(this.options.smartypants ? smartypants(cap[0]) : cap[0]);
}
return {
type: 'text',
raw: cap[0],
text
};
}
}
}

View File

@@ -0,0 +1,29 @@
export function getDefaults() {
return {
baseUrl: null,
breaks: false,
extensions: null,
gfm: true,
headerIds: true,
headerPrefix: '',
highlight: null,
langPrefix: 'language-',
mangle: true,
pedantic: false,
renderer: null,
sanitize: false,
sanitizer: null,
silent: false,
smartLists: false,
smartypants: false,
tokenizer: null,
walkTokens: null,
xhtml: false
};
}
export let defaults = getDefaults();
export function changeDefaults(newDefaults) {
defaults = newDefaults;
}

View File

@@ -0,0 +1,249 @@
/**
* Helpers
*/
const escapeTest = /[&<>"']/;
const escapeReplace = /[&<>"']/g;
const escapeTestNoEncode = /[<>"']|&(?!#?\w+;)/;
const escapeReplaceNoEncode = /[<>"']|&(?!#?\w+;)/g;
const escapeReplacements = {
'&': '&amp;',
'<': '&lt;',
'>': '&gt;',
'"': '&quot;',
"'": '&#39;'
};
const getEscapeReplacement = (ch) => escapeReplacements[ch];
export function escape(html, encode) {
if (encode) {
if (escapeTest.test(html)) {
return html.replace(escapeReplace, getEscapeReplacement);
}
} else {
if (escapeTestNoEncode.test(html)) {
return html.replace(escapeReplaceNoEncode, getEscapeReplacement);
}
}
return html;
}
const unescapeTest = /&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;
export function unescape(html) {
// explicitly match decimal, hex, and named HTML entities
return html.replace(unescapeTest, (_, n) => {
n = n.toLowerCase();
if (n === 'colon') return ':';
if (n.charAt(0) === '#') {
return n.charAt(1) === 'x'
? String.fromCharCode(parseInt(n.substring(2), 16))
: String.fromCharCode(+n.substring(1));
}
return '';
});
}
const caret = /(^|[^\[])\^/g;
export function edit(regex, opt) {
regex = regex.source || regex;
opt = opt || '';
const obj = {
replace: (name, val) => {
val = val.source || val;
val = val.replace(caret, '$1');
regex = regex.replace(name, val);
return obj;
},
getRegex: () => {
return new RegExp(regex, opt);
}
};
return obj;
}
const nonWordAndColonTest = /[^\w:]/g;
const originIndependentUrl = /^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;
export function cleanUrl(sanitize, base, href) {
if (sanitize) {
let prot;
try {
prot = decodeURIComponent(unescape(href))
.replace(nonWordAndColonTest, '')
.toLowerCase();
} catch (e) {
return null;
}
if (prot.indexOf('javascript:') === 0 || prot.indexOf('vbscript:') === 0 || prot.indexOf('data:') === 0) {
return null;
}
}
if (base && !originIndependentUrl.test(href)) {
href = resolveUrl(base, href);
}
try {
href = encodeURI(href).replace(/%25/g, '%');
} catch (e) {
return null;
}
return href;
}
const baseUrls = {};
const justDomain = /^[^:]+:\/*[^/]*$/;
const protocol = /^([^:]+:)[\s\S]*$/;
const domain = /^([^:]+:\/*[^/]*)[\s\S]*$/;
export function resolveUrl(base, href) {
if (!baseUrls[' ' + base]) {
// we can ignore everything in base after the last slash of its path component,
// but we might need to add _that_
// https://tools.ietf.org/html/rfc3986#section-3
if (justDomain.test(base)) {
baseUrls[' ' + base] = base + '/';
} else {
baseUrls[' ' + base] = rtrim(base, '/', true);
}
}
base = baseUrls[' ' + base];
const relativeBase = base.indexOf(':') === -1;
if (href.substring(0, 2) === '//') {
if (relativeBase) {
return href;
}
return base.replace(protocol, '$1') + href;
} else if (href.charAt(0) === '/') {
if (relativeBase) {
return href;
}
return base.replace(domain, '$1') + href;
} else {
return base + href;
}
}
export const noopTest = { exec: function noopTest() {} };
export function merge(obj) {
let i = 1,
target,
key;
for (; i < arguments.length; i++) {
target = arguments[i];
for (key in target) {
if (Object.prototype.hasOwnProperty.call(target, key)) {
obj[key] = target[key];
}
}
}
return obj;
}
export function splitCells(tableRow, count) {
// ensure that every cell-delimiting pipe has a space
// before it to distinguish it from an escaped pipe
const row = tableRow.replace(/\|/g, (match, offset, str) => {
let escaped = false,
curr = offset;
while (--curr >= 0 && str[curr] === '\\') escaped = !escaped;
if (escaped) {
// odd number of slashes means | is escaped
// so we leave it alone
return '|';
} else {
// add space before unescaped |
return ' |';
}
}),
cells = row.split(/ \|/);
let i = 0;
// First/last cell in a row cannot be empty if it has no leading/trailing pipe
if (!cells[0].trim()) { cells.shift(); }
if (!cells[cells.length - 1].trim()) { cells.pop(); }
if (cells.length > count) {
cells.splice(count);
} else {
while (cells.length < count) cells.push('');
}
for (; i < cells.length; i++) {
// leading or trailing whitespace is ignored per the gfm spec
cells[i] = cells[i].trim().replace(/\\\|/g, '|');
}
return cells;
}
// Remove trailing 'c's. Equivalent to str.replace(/c*$/, '').
// /c*$/ is vulnerable to REDOS.
// invert: Remove suffix of non-c chars instead. Default falsey.
export function rtrim(str, c, invert) {
const l = str.length;
if (l === 0) {
return '';
}
// Length of suffix matching the invert condition.
let suffLen = 0;
// Step left until we fail to match the invert condition.
while (suffLen < l) {
const currChar = str.charAt(l - suffLen - 1);
if (currChar === c && !invert) {
suffLen++;
} else if (currChar !== c && invert) {
suffLen++;
} else {
break;
}
}
return str.substr(0, l - suffLen);
}
export function findClosingBracket(str, b) {
if (str.indexOf(b[1]) === -1) {
return -1;
}
const l = str.length;
let level = 0,
i = 0;
for (; i < l; i++) {
if (str[i] === '\\') {
i++;
} else if (str[i] === b[0]) {
level++;
} else if (str[i] === b[1]) {
level--;
if (level < 0) {
return i;
}
}
}
return -1;
}
export function checkSanitizeDeprecation(opt) {
if (opt && opt.sanitize && !opt.silent) {
console.warn('marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options');
}
}
// copied from https://stackoverflow.com/a/5450113/806777
export function repeatString(pattern, count) {
if (count < 1) {
return '';
}
let result = '';
while (count > 1) {
if (count & 1) {
result += pattern;
}
count >>= 1;
pattern += pattern;
}
return result + pattern;
}

View File

@@ -0,0 +1,350 @@
import { Lexer } from './Lexer.js';
import { Parser } from './Parser.js';
import { Tokenizer } from './Tokenizer.js';
import { Renderer } from './Renderer.js';
import { TextRenderer } from './TextRenderer.js';
import { Slugger } from './Slugger.js';
import {
merge,
checkSanitizeDeprecation,
escape
} from './helpers.js';
import {
getDefaults,
changeDefaults,
defaults
} from './defaults.js';
/**
* Marked
*/
export function marked(src, opt, callback) {
// throw error in case of non string input
if (typeof src === 'undefined' || src === null) {
throw new Error('marked(): input parameter is undefined or null');
}
if (typeof src !== 'string') {
throw new Error('marked(): input parameter is of type '
+ Object.prototype.toString.call(src) + ', string expected');
}
if (typeof opt === 'function') {
callback = opt;
opt = null;
}
opt = merge({}, marked.defaults, opt || {});
checkSanitizeDeprecation(opt);
if (callback) {
const highlight = opt.highlight;
let tokens;
try {
tokens = Lexer.lex(src, opt);
} catch (e) {
return callback(e);
}
const done = function(err) {
let out;
if (!err) {
try {
if (opt.walkTokens) {
marked.walkTokens(tokens, opt.walkTokens);
}
out = Parser.parse(tokens, opt);
} catch (e) {
err = e;
}
}
opt.highlight = highlight;
return err
? callback(err)
: callback(null, out);
};
if (!highlight || highlight.length < 3) {
return done();
}
delete opt.highlight;
if (!tokens.length) return done();
let pending = 0;
marked.walkTokens(tokens, function(token) {
if (token.type === 'code') {
pending++;
setTimeout(() => {
highlight(token.text, token.lang, function(err, code) {
if (err) {
return done(err);
}
if (code != null && code !== token.text) {
token.text = code;
token.escaped = true;
}
pending--;
if (pending === 0) {
done();
}
});
}, 0);
}
});
if (pending === 0) {
done();
}
return;
}
try {
const tokens = Lexer.lex(src, opt);
if (opt.walkTokens) {
marked.walkTokens(tokens, opt.walkTokens);
}
return Parser.parse(tokens, opt);
} catch (e) {
e.message += '\nPlease report this to https://github.com/markedjs/marked.';
if (opt.silent) {
return '<p>An error occurred:</p><pre>'
+ escape(e.message + '', true)
+ '</pre>';
}
throw e;
}
}
/**
* Options
*/
marked.options =
marked.setOptions = function(opt) {
merge(marked.defaults, opt);
changeDefaults(marked.defaults);
return marked;
};
marked.getDefaults = getDefaults;
marked.defaults = defaults;
/**
* Use Extension
*/
marked.use = function(...args) {
const opts = merge({}, ...args);
const extensions = marked.defaults.extensions || { renderers: {}, childTokens: {} };
let hasExtensions;
args.forEach((pack) => {
// ==-- Parse "addon" extensions --== //
if (pack.extensions) {
hasExtensions = true;
pack.extensions.forEach((ext) => {
if (!ext.name) {
throw new Error('extension name required');
}
if (ext.renderer) { // Renderer extensions
const prevRenderer = extensions.renderers ? extensions.renderers[ext.name] : null;
if (prevRenderer) {
// Replace extension with func to run new extension but fall back if false
extensions.renderers[ext.name] = function(...args) {
let ret = ext.renderer.apply(this, args);
if (ret === false) {
ret = prevRenderer.apply(this, args);
}
return ret;
};
} else {
extensions.renderers[ext.name] = ext.renderer;
}
}
if (ext.tokenizer) { // Tokenizer Extensions
if (!ext.level || (ext.level !== 'block' && ext.level !== 'inline')) {
throw new Error("extension level must be 'block' or 'inline'");
}
if (extensions[ext.level]) {
extensions[ext.level].unshift(ext.tokenizer);
} else {
extensions[ext.level] = [ext.tokenizer];
}
if (ext.start) { // Function to check for start of token
if (ext.level === 'block') {
if (extensions.startBlock) {
extensions.startBlock.push(ext.start);
} else {
extensions.startBlock = [ext.start];
}
} else if (ext.level === 'inline') {
if (extensions.startInline) {
extensions.startInline.push(ext.start);
} else {
extensions.startInline = [ext.start];
}
}
}
}
if (ext.childTokens) { // Child tokens to be visited by walkTokens
extensions.childTokens[ext.name] = ext.childTokens;
}
});
}
// ==-- Parse "overwrite" extensions --== //
if (pack.renderer) {
const renderer = marked.defaults.renderer || new Renderer();
for (const prop in pack.renderer) {
const prevRenderer = renderer[prop];
// Replace renderer with func to run extension, but fall back if false
renderer[prop] = (...args) => {
let ret = pack.renderer[prop].apply(renderer, args);
if (ret === false) {
ret = prevRenderer.apply(renderer, args);
}
return ret;
};
}
opts.renderer = renderer;
}
if (pack.tokenizer) {
const tokenizer = marked.defaults.tokenizer || new Tokenizer();
for (const prop in pack.tokenizer) {
const prevTokenizer = tokenizer[prop];
// Replace tokenizer with func to run extension, but fall back if false
tokenizer[prop] = (...args) => {
let ret = pack.tokenizer[prop].apply(tokenizer, args);
if (ret === false) {
ret = prevTokenizer.apply(tokenizer, args);
}
return ret;
};
}
opts.tokenizer = tokenizer;
}
// ==-- Parse WalkTokens extensions --== //
if (pack.walkTokens) {
const walkTokens = marked.defaults.walkTokens;
opts.walkTokens = function(token) {
pack.walkTokens.call(this, token);
if (walkTokens) {
walkTokens.call(this, token);
}
};
}
if (hasExtensions) {
opts.extensions = extensions;
}
marked.setOptions(opts);
});
};
/**
* Run callback for every token
*/
marked.walkTokens = function(tokens, callback) {
for (const token of tokens) {
callback.call(marked, token);
switch (token.type) {
case 'table': {
for (const cell of token.header) {
marked.walkTokens(cell.tokens, callback);
}
for (const row of token.rows) {
for (const cell of row) {
marked.walkTokens(cell.tokens, callback);
}
}
break;
}
case 'list': {
marked.walkTokens(token.items, callback);
break;
}
default: {
if (marked.defaults.extensions && marked.defaults.extensions.childTokens && marked.defaults.extensions.childTokens[token.type]) { // Walk any extensions
marked.defaults.extensions.childTokens[token.type].forEach(function(childTokens) {
marked.walkTokens(token[childTokens], callback);
});
} else if (token.tokens) {
marked.walkTokens(token.tokens, callback);
}
}
}
}
};
/**
* Parse Inline
*/
marked.parseInline = function(src, opt) {
// throw error in case of non string input
if (typeof src === 'undefined' || src === null) {
throw new Error('marked.parseInline(): input parameter is undefined or null');
}
if (typeof src !== 'string') {
throw new Error('marked.parseInline(): input parameter is of type '
+ Object.prototype.toString.call(src) + ', string expected');
}
opt = merge({}, marked.defaults, opt || {});
checkSanitizeDeprecation(opt);
try {
const tokens = Lexer.lexInline(src, opt);
if (opt.walkTokens) {
marked.walkTokens(tokens, opt.walkTokens);
}
return Parser.parseInline(tokens, opt);
} catch (e) {
e.message += '\nPlease report this to https://github.com/markedjs/marked.';
if (opt.silent) {
return '<p>An error occurred:</p><pre>'
+ escape(e.message + '', true)
+ '</pre>';
}
throw e;
}
};
/**
* Expose
*/
marked.Parser = Parser;
marked.parser = Parser.parse;
marked.Renderer = Renderer;
marked.TextRenderer = TextRenderer;
marked.Lexer = Lexer;
marked.lexer = Lexer.lex;
marked.Tokenizer = Tokenizer;
marked.Slugger = Slugger;
marked.parse = marked;
export const options = marked.options;
export const setOptions = marked.setOptions;
export const use = marked.use;
export const walkTokens = marked.walkTokens;
export const parseInline = marked.parseInline;
export const parse = marked;
export const parser = Parser.parse;
export const lexer = Lexer.lex;
export { defaults, getDefaults } from './defaults.js';
export { Lexer } from './Lexer.js';
export { Parser } from './Parser.js';
export { Tokenizer } from './Tokenizer.js';
export { Renderer } from './Renderer.js';
export { TextRenderer } from './TextRenderer.js';
export { Slugger } from './Slugger.js';

View File

@@ -0,0 +1,302 @@
import {
noopTest,
edit,
merge
} from './helpers.js';
/**
* Block-Level Grammar
*/
export const block = {
newline: /^(?: *(?:\n|$))+/,
code: /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,
fences: /^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?=\n|$)|$)/,
hr: /^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,
heading: /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,
blockquote: /^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,
list: /^( {0,3}bull)( [^\n]+?)?(?:\n|$)/,
html: '^ {0,3}(?:' // optional indentation
+ '<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)' // (1)
+ '|comment[^\\n]*(\\n+|$)' // (2)
+ '|<\\?[\\s\\S]*?(?:\\?>\\n*|$)' // (3)
+ '|<![A-Z][\\s\\S]*?(?:>\\n*|$)' // (4)
+ '|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)' // (5)
+ '|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)' // (6)
+ '|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)' // (7) open tag
+ '|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)' // (7) closing tag
+ ')',
def: /^ {0,3}\[(label)\]: *(?:\n *)?<?([^\s>]+)>?(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,
table: noopTest,
lheading: /^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,
// regex template, placeholders will be replaced according to different paragraph
// interruption rules of commonmark and the original markdown spec:
_paragraph: /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,
text: /^[^\n]+/
};
block._label = /(?!\s*\])(?:\\.|[^\[\]\\])+/;
block._title = /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/;
block.def = edit(block.def)
.replace('label', block._label)
.replace('title', block._title)
.getRegex();
block.bullet = /(?:[*+-]|\d{1,9}[.)])/;
block.listItemStart = edit(/^( *)(bull) */)
.replace('bull', block.bullet)
.getRegex();
block.list = edit(block.list)
.replace(/bull/g, block.bullet)
.replace('hr', '\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))')
.replace('def', '\\n+(?=' + block.def.source + ')')
.getRegex();
block._tag = 'address|article|aside|base|basefont|blockquote|body|caption'
+ '|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption'
+ '|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe'
+ '|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option'
+ '|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr'
+ '|track|ul';
block._comment = /<!--(?!-?>)[\s\S]*?(?:-->|$)/;
block.html = edit(block.html, 'i')
.replace('comment', block._comment)
.replace('tag', block._tag)
.replace('attribute', / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/)
.getRegex();
block.paragraph = edit(block._paragraph)
.replace('hr', block.hr)
.replace('heading', ' {0,3}#{1,6} ')
.replace('|lheading', '') // setex headings don't interrupt commonmark paragraphs
.replace('|table', '')
.replace('blockquote', ' {0,3}>')
.replace('fences', ' {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n')
.replace('list', ' {0,3}(?:[*+-]|1[.)]) ') // only lists starting from 1 can interrupt
.replace('html', '</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)')
.replace('tag', block._tag) // pars can be interrupted by type (6) html blocks
.getRegex();
block.blockquote = edit(block.blockquote)
.replace('paragraph', block.paragraph)
.getRegex();
/**
* Normal Block Grammar
*/
block.normal = merge({}, block);
/**
* GFM Block Grammar
*/
block.gfm = merge({}, block.normal, {
table: '^ *([^\\n ].*\\|.*)\\n' // Header
+ ' {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?' // Align
+ '(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)' // Cells
});
block.gfm.table = edit(block.gfm.table)
.replace('hr', block.hr)
.replace('heading', ' {0,3}#{1,6} ')
.replace('blockquote', ' {0,3}>')
.replace('code', ' {4}[^\\n]')
.replace('fences', ' {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n')
.replace('list', ' {0,3}(?:[*+-]|1[.)]) ') // only lists starting from 1 can interrupt
.replace('html', '</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)')
.replace('tag', block._tag) // tables can be interrupted by type (6) html blocks
.getRegex();
block.gfm.paragraph = edit(block._paragraph)
.replace('hr', block.hr)
.replace('heading', ' {0,3}#{1,6} ')
.replace('|lheading', '') // setex headings don't interrupt commonmark paragraphs
.replace('table', block.gfm.table) // interrupt paragraphs with table
.replace('blockquote', ' {0,3}>')
.replace('fences', ' {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n')
.replace('list', ' {0,3}(?:[*+-]|1[.)]) ') // only lists starting from 1 can interrupt
.replace('html', '</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)')
.replace('tag', block._tag) // pars can be interrupted by type (6) html blocks
.getRegex();
/**
* Pedantic grammar (original John Gruber's loose markdown specification)
*/
block.pedantic = merge({}, block.normal, {
html: edit(
'^ *(?:comment *(?:\\n|\\s*$)'
+ '|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)' // closed tag
+ '|<tag(?:"[^"]*"|\'[^\']*\'|\\s[^\'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))')
.replace('comment', block._comment)
.replace(/tag/g, '(?!(?:'
+ 'a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub'
+ '|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)'
+ '\\b)\\w+(?!:|[^\\w\\s@]*@)\\b')
.getRegex(),
def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,
heading: /^(#{1,6})(.*)(?:\n+|$)/,
fences: noopTest, // fences not supported
paragraph: edit(block.normal._paragraph)
.replace('hr', block.hr)
.replace('heading', ' *#{1,6} *[^\n]')
.replace('lheading', block.lheading)
.replace('blockquote', ' {0,3}>')
.replace('|fences', '')
.replace('|list', '')
.replace('|html', '')
.getRegex()
});
/**
* Inline-Level Grammar
*/
export const inline = {
escape: /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,
autolink: /^<(scheme:[^\s\x00-\x1f<>]*|email)>/,
url: noopTest,
tag: '^comment'
+ '|^</[a-zA-Z][\\w:-]*\\s*>' // self-closing tag
+ '|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>' // open tag
+ '|^<\\?[\\s\\S]*?\\?>' // processing instruction, e.g. <?php ?>
+ '|^<![a-zA-Z]+\\s[\\s\\S]*?>' // declaration, e.g. <!DOCTYPE html>
+ '|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>', // CDATA section
link: /^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,
reflink: /^!?\[(label)\]\[(ref)\]/,
nolink: /^!?\[(ref)\](?:\[\])?/,
reflinkSearch: 'reflink|nolink(?!\\()',
emStrong: {
lDelim: /^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,
// (1) and (2) can only be a Right Delimiter. (3) and (4) can only be Left. (5) and (6) can be either Left or Right.
// () Skip orphan delim inside strong (1) #*** (2) a***#, a*** (3) #***a, ***a (4) ***# (5) #***# (6) a***a
rDelimAst: /^[^_*]*?\_\_[^_*]*?\*[^_*]*?(?=\_\_)|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,
rDelimUnd: /^[^_*]*?\*\*[^_*]*?\_[^_*]*?(?=\*\*)|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/ // ^- Not allowed for _
},
code: /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,
br: /^( {2,}|\\)\n(?!\s*$)/,
del: noopTest,
text: /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,
punctuation: /^([\spunctuation])/
};
// list of punctuation marks from CommonMark spec
// without * and _ to handle the different emphasis markers * and _
inline._punctuation = '!"#$%&\'()+\\-.,/:;<=>?@\\[\\]`^{|}~';
inline.punctuation = edit(inline.punctuation).replace(/punctuation/g, inline._punctuation).getRegex();
// sequences em should skip over [title](link), `code`, <html>
inline.blockSkip = /\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g;
inline.escapedEmSt = /\\\*|\\_/g;
inline._comment = edit(block._comment).replace('(?:-->|$)', '-->').getRegex();
inline.emStrong.lDelim = edit(inline.emStrong.lDelim)
.replace(/punct/g, inline._punctuation)
.getRegex();
inline.emStrong.rDelimAst = edit(inline.emStrong.rDelimAst, 'g')
.replace(/punct/g, inline._punctuation)
.getRegex();
inline.emStrong.rDelimUnd = edit(inline.emStrong.rDelimUnd, 'g')
.replace(/punct/g, inline._punctuation)
.getRegex();
inline._escapes = /\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g;
inline._scheme = /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/;
inline._email = /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/;
inline.autolink = edit(inline.autolink)
.replace('scheme', inline._scheme)
.replace('email', inline._email)
.getRegex();
inline._attribute = /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/;
inline.tag = edit(inline.tag)
.replace('comment', inline._comment)
.replace('attribute', inline._attribute)
.getRegex();
inline._label = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/;
inline._href = /<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/;
inline._title = /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/;
inline.link = edit(inline.link)
.replace('label', inline._label)
.replace('href', inline._href)
.replace('title', inline._title)
.getRegex();
inline.reflink = edit(inline.reflink)
.replace('label', inline._label)
.replace('ref', block._label)
.getRegex();
inline.nolink = edit(inline.nolink)
.replace('ref', block._label)
.getRegex();
inline.reflinkSearch = edit(inline.reflinkSearch, 'g')
.replace('reflink', inline.reflink)
.replace('nolink', inline.nolink)
.getRegex();
/**
* Normal Inline Grammar
*/
inline.normal = merge({}, inline);
/**
* Pedantic Inline Grammar
*/
inline.pedantic = merge({}, inline.normal, {
strong: {
start: /^__|\*\*/,
middle: /^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,
endAst: /\*\*(?!\*)/g,
endUnd: /__(?!_)/g
},
em: {
start: /^_|\*/,
middle: /^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,
endAst: /\*(?!\*)/g,
endUnd: /_(?!_)/g
},
link: edit(/^!?\[(label)\]\((.*?)\)/)
.replace('label', inline._label)
.getRegex(),
reflink: edit(/^!?\[(label)\]\s*\[([^\]]*)\]/)
.replace('label', inline._label)
.getRegex()
});
/**
* GFM Inline Grammar
*/
inline.gfm = merge({}, inline.normal, {
escape: edit(inline.escape).replace('])', '~|])').getRegex(),
_extended_email: /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,
url: /^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,
_backpedal: /(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,
del: /^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,
text: /^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/
});
inline.gfm.url = edit(inline.gfm.url, 'i')
.replace('email', inline.gfm._extended_email)
.getRegex();
/**
* GFM + Line Breaks Inline Grammar
*/
inline.breaks = merge({}, inline.gfm, {
br: edit(inline.br).replace('{2,}', '*').getRegex(),
text: edit(inline.gfm.text)
.replace('\\b_', '\\b_| {2,}\\n')
.replace(/\{2,\}/g, '*')
.getRegex()
});

View File

@@ -0,0 +1,6 @@
{
"bold": false,
"editorTheme": "oneDarkPro",
"italic": true,
"vivid": false
}

View File

@@ -0,0 +1,91 @@
"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.activate = void 0;
const path_1 = require("path");
const util_1 = require("util");
const vscode_1 = require("vscode");
const Changelog_1 = require("./webviews/Changelog");
const utils_1 = require("./utils");
/**
* This method is called when the extension is activated.
* It initializes the core functionality of the extension.
*/
function activate() {
return __awaiter(this, void 0, void 0, function* () {
const flagPath = vscode_1.Uri.file((0, path_1.join)(__dirname, '../temp', 'flag.txt'));
let flag;
try {
// await workspace.fs.writeFile(flagPath, new TextEncoder().encode('true'))
try {
if (yield vscode_1.workspace.fs.stat(flagPath)) {
flag = true;
}
}
catch (error) { }
if (!flag) {
yield vscode_1.workspace.fs.writeFile(flagPath, new util_1.TextEncoder().encode('true'));
const configArr = [
{ defaultVal: false, type: 'bold' },
{ defaultVal: true, type: 'italic' },
{ defaultVal: false, type: 'vivid' },
];
const configuration = vscode_1.workspace.getConfiguration('oneDarkPro');
let isDefaultConfig = configArr.every((item) => {
return configuration.get(item.type) === item.defaultVal;
});
let colorConfig = configuration.get(`color`);
let colorFlagStr = '';
for (let key in colorConfig) {
colorFlagStr += colorConfig[key];
}
if (colorFlagStr != '') {
isDefaultConfig = false;
}
if (!isDefaultConfig) {
(0, utils_1.updateTheme)();
}
if (!configuration.get('markdownStyle')) {
(0, utils_1.updateCSS)();
}
}
}
catch (err) {
console.log(err);
// do nothing
}
// Observe changes in the config
vscode_1.workspace.onDidChangeConfiguration((event) => {
if (event.affectsConfiguration('oneDarkPro')) {
(0, utils_1.updateTheme)();
(0, utils_1.updateCSS)();
}
});
vscode_1.commands.registerCommand('oneDarkPro.showChangelog', () => {
new Changelog_1.ChangelogWebview().show();
});
const settingArr = ['Vivid', 'Italic', 'Bold'];
settingArr.forEach((settingItem) => {
vscode_1.commands.registerCommand(`oneDarkPro.set${settingItem}`, () => {
vscode_1.workspace
.getConfiguration()
.update(`oneDarkPro.${settingItem.toLowerCase()}`, true, vscode_1.ConfigurationTarget.Global);
});
vscode_1.commands.registerCommand(`oneDarkPro.cancel${settingItem}`, () => {
vscode_1.workspace
.getConfiguration()
.update(`oneDarkPro.${settingItem.toLowerCase()}`, false, vscode_1.ConfigurationTarget.Global);
});
});
});
}
exports.activate = activate;
//# sourceMappingURL=extension.js.map

View File

@@ -0,0 +1,27 @@
"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.changelogMessage = void 0;
const vscode_1 = require("vscode");
const MESSAGES = {
CHANGELOG: {
message: 'One Dark Pro Theme was updated. Check the changelog for more details.',
options: { cancel: 'Maybe later', ok: 'Show me' }
},
INSTALLATION: {
message: 'Thank you for using One Dark Pro!'
}
};
const changelogMessage = () => __awaiter(void 0, void 0, void 0, function* () {
return (yield vscode_1.window.showInformationMessage(MESSAGES.CHANGELOG.message, MESSAGES.CHANGELOG.options.ok, MESSAGES.CHANGELOG.options.cancel)) === MESSAGES.CHANGELOG.options.ok;
});
exports.changelogMessage = changelogMessage;
//# sourceMappingURL=message.js.map

View File

@@ -0,0 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=TokenColor.js.map

View File

@@ -0,0 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=colors.js.map

View File

@@ -0,0 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=configuration.js.map

View File

@@ -0,0 +1,20 @@
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./colors"), exports);
__exportStar(require("./configuration"), exports);
__exportStar(require("./TokenColor"), exports);
//# sourceMappingURL=index.js.map

View File

@@ -0,0 +1,106 @@
"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.Theme = void 0;
const themeData_1 = require("./themeData");
function createEditorTokens(config) {
return __awaiter(this, void 0, void 0, function* () {
return config.editorTheme in themeData_1.default.editorThemes
? (yield themeData_1.default.editorThemes[config.editorTheme]()).default
: (yield themeData_1.default.editorThemes['One Dark Pro']()).default;
});
}
const uniqBy = (arr, fn, set = new Set()) => arr.filter((el) => ((v) => !set.has(v) && set.add(v))(typeof fn === 'function' ? fn(el) : el[fn]));
function configFactory(configuration) {
let result = JSON.parse(JSON.stringify(themeData_1.default.tokenColors.default));
function mergeTheme(baseArray, overrides) {
let mergeArr = [...baseArray, ...overrides];
let newArr = uniqBy(mergeArr, 'scope');
overrides.forEach((item) => {
newArr.forEach((cell) => {
if (cell.scope === item.scope) {
cell.settings = Object.assign(Object.assign({}, cell.settings), item.settings);
}
});
});
return JSON.parse(JSON.stringify(newArr));
}
if (configuration.bold) {
result = mergeTheme(result, themeData_1.default.tokenColors.bold);
}
if (configuration.italic) {
result = mergeTheme(result, themeData_1.default.tokenColors.italic);
}
// Fill in color placeholders with concrete color values
let colorObj = configuration.vivid
? themeData_1.default.textColors.vivid
: themeData_1.default.textColors.classic;
for (let key in colorObj) {
if (configuration[key]) {
colorObj[key] = configuration[key];
}
}
result.forEach((token) => {
if (token.settings.foreground) {
if (token.settings.foreground in colorObj) {
token.settings.foreground = colorObj[token.settings.foreground];
}
}
});
return {
semanticTokenColors: {
enumMember: {
foreground: colorObj.fountainBlue,
},
'variable.constant': {
foreground: colorObj.whiskey,
},
'variable.defaultLibrary': {
foreground: colorObj.chalky,
},
'variable:dart': {
foreground: colorObj.whiskey,
},
'property:dart': {
foreground: colorObj.whiskey,
},
'annotation:dart': {
foreground: colorObj.whiskey,
},
'parameter.label:dart': {
foreground: colorObj.lightWhite,
},
macro: {
foreground: colorObj.whiskey,
},
},
tokenColors: result,
};
}
class Theme {
constructor(configuration) {
this.name = 'One Dark Pro';
this.type = 'dark';
this.semanticHighlighting = true;
const themeTokens = configFactory(configuration);
this.semanticTokenColors = themeTokens.semanticTokenColors;
this.tokenColors = themeTokens.tokenColors;
// this.colors = createEditorTokens(configuration)
}
static init(config) {
return __awaiter(this, void 0, void 0, function* () {
const result = Object.assign(Object.assign({}, new Theme(config)), { colors: yield createEditorTokens(config) });
return result;
});
}
}
exports.Theme = Theme;
//# sourceMappingURL=Theme.js.map

View File

@@ -0,0 +1,183 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = {
'activityBar.background': '#1f2430',
'activityBar.border': '#191e2a',
'activityBar.foreground': '#707a8ccc',
'activityBarBadge.background': '#ffcc66',
'activityBarBadge.foreground': '#1f2430',
'badge.background': '#ffcc66',
'badge.foreground': '#1f2430',
'button.background': '#ffcc66',
'button.foreground': '#1f2430',
'button.hoverBackground': '#fac761',
'debugExceptionWidget.background': '#232834',
'debugExceptionWidget.border': '#191e2a',
'debugToolBar.background': '#232834',
'diffEditor.insertedTextBackground': '#bae67e26',
'diffEditor.removedTextBackground': '#f29e7426',
'dropdown.background': '#232834',
'dropdown.border': '#373e4c',
'dropdown.foreground': '#707a8c',
'editor.background': '#232834',
'editor.findMatchBackground': '#ffcc660d',
'editor.findMatchBorder': '#ffcc66',
'editor.findMatchHighlightBackground': '#ffcc660d',
'editor.findMatchHighlightBorder': '#ffcc6659',
'editor.findRangeHighlightBackground': '#262f3e',
'editor.findRangeHighlightBorder': '#1f243000',
'editor.foreground': '#abb2bf',
'editor.inactiveSelectionBackground': '#262f3e',
'editor.lineHighlightBackground': '#191e2a',
'editor.rangeHighlightBackground': '#191e2a',
'editor.selectionBackground': '#2a3546',
'editor.selectionHighlightBackground': '#262f3e',
'editor.selectionHighlightBorder': '#313e52',
'editor.wordHighlightBackground': '#262f3e',
'editor.wordHighlightStrongBackground': '#ffcc6633',
'editorBracketMatch.background': '#707a8c4d',
'editorBracketMatch.border': '#707a8c99',
'editorCodeLens.foreground': '#5c6773',
'editorCursor.foreground': '#ffcc66',
'editorError.foreground': '#ff3333',
'editorGroup.background': '#232834',
'editorGroup.border': '#191e2a',
'editorGroupHeader.noTabsBackground': '#1f2430',
'editorGroupHeader.tabsBackground': '#1f2430',
'editorGroupHeader.tabsBorder': '#191e2a',
'editorGutter.addedBackground': '#a6cc7099',
'editorGutter.deletedBackground': '#f2798399',
'editorGutter.modifiedBackground': '#77a8d999',
'editorHoverWidget.background': '#232834',
'editorHoverWidget.border': '#101521',
'editorIndentGuide.activeBackground': '#707a8cb3',
'editorIndentGuide.background': '#707a8c4d',
'editorLineNumber.activeForeground': '#707a8ccc',
'editorLineNumber.foreground': '#707a8c66',
'editorLink.activeForeground': '#ffcc66',
'editorMarkerNavigation.background': '#232834',
'editorOverviewRuler.addedForeground': '#a6cc7099',
'editorOverviewRuler.border': '#191e2a',
'editorOverviewRuler.deletedForeground': '#f2798399',
'editorOverviewRuler.errorForeground': '#ff3333',
'editorOverviewRuler.modifiedForeground': '#77a8d999',
'editorOverviewRuler.warningForeground': '#ffcc66',
'editorRuler.foreground': '#707a8c4d',
'editorSuggestWidget.background': '#232834',
'editorSuggestWidget.border': '#101521',
'editorSuggestWidget.highlightForeground': '#ffcc66',
'editorSuggestWidget.selectedBackground': '#191e2a',
'editorWarning.foreground': '#ffcc66',
'editorWhitespace.foreground': '#707a8c66',
'editorWidget.background': '#232834',
'extensionButton.prominentBackground': '#ffcc66',
'extensionButton.prominentForeground': '#1f2430',
'extensionButton.prominentHoverBackground': '#fac761',
focusBorder: '#505867',
foreground: '#707a8c',
'gitDecoration.conflictingResourceForeground': '#ff0000',
'gitDecoration.deletedResourceForeground': '#f27983b3',
'gitDecoration.ignoredResourceForeground': '#484f5e',
'gitDecoration.modifiedResourceForeground': '#77a8d9b3',
'gitDecoration.submoduleResourceForeground': '#d4bfffb3',
'gitDecoration.untrackedResourceForeground': '#a6cc70b3',
'input.background': '#232834',
'input.border': '#373e4c',
'input.foreground': '#cbccc6',
'input.placeholderForeground': '#586070',
'inputOption.activeBorder': '#ffcc66',
'inputValidation.errorBackground': '#1f2430',
'inputValidation.errorBorder': '#ff3333',
'inputValidation.infoBackground': '#1f2430',
'inputValidation.infoBorder': '#5ccfe6',
'inputValidation.warningBackground': '#1f2430',
'inputValidation.warningBorder': '#ffd580',
'list.activeSelectionBackground': '#191e2a',
'list.activeSelectionForeground': '#707a8c',
'list.focusBackground': '#191e2a',
'list.focusForeground': '#707a8c',
'list.highlightForeground': '#ffcc66',
'list.hoverBackground': '#191e2a',
'list.hoverForeground': '#707a8c',
'list.inactiveSelectionBackground': '#191e2a',
'list.inactiveSelectionForeground': '#707a8c',
'list.invalidItemForeground': '#586070',
'panel.background': '#1f2430',
'panel.border': '#191e2a',
'panelTitle.activeBorder': '#ffcc66',
'panelTitle.activeForeground': '#cbccc6',
'panelTitle.inactiveForeground': '#707a8c',
'peekView.border': '#191e2a',
'peekViewEditor.background': '#232834',
'peekViewEditor.matchHighlightBackground': '#ffcc6633',
'peekViewResult.background': '#232834',
'peekViewResult.fileForeground': '#707a8c',
'peekViewResult.matchHighlightBackground': '#ffcc6633',
'peekViewTitle.background': '#232834',
'peekViewTitleDescription.foreground': '#707a8c',
'peekViewTitleLabel.foreground': '#707a8c',
'pickerGroup.border': '#191e2a',
'pickerGroup.foreground': '#484f5e',
'progressBar.background': '#ffcc66',
'scrollbar.shadow': '#191e2a',
'scrollbarSlider.activeBackground': '#707a8cb3',
'scrollbarSlider.background': '#707a8c66',
'scrollbarSlider.hoverBackground': '#707a8c99',
'selection.background': '#2a3546fd',
'settings.headerForeground': '#cbccc6',
'settings.modifiedItemIndicator': '#77a8d9',
'sideBar.background': '#1f2430',
'sideBar.border': '#191e2a',
'sideBarSectionHeader.background': '#1f2430',
'sideBarSectionHeader.foreground': '#707a8c',
'sideBarTitle.foreground': '#707a8c',
'statusBar.background': '#1f2430',
'statusBar.border': '#191e2a',
'statusBar.debuggingBackground': '#f29e74',
'statusBar.debuggingForeground': '#1f2430',
'statusBar.foreground': '#707a8c',
'statusBar.noFolderBackground': '#232834',
'statusBarItem.activeBackground': '#00000050',
'statusBarItem.hoverBackground': '#00000030',
'statusBarItem.prominentBackground': '#191e2a',
'statusBarItem.prominentHoverBackground': '#00000030',
'tab.activeBackground': '#232834',
'tab.activeBorderTop': '#ffcc66',
'tab.activeForeground': '#cbccc6',
'tab.border': '#191e2a',
'tab.inactiveBackground': '#1f2430',
'tab.inactiveForeground': '#707a8c',
'tab.unfocusedActiveBorderTop': '#707a8c',
'tab.unfocusedActiveForeground': '#707a8c',
'tab.unfocusedInactiveForeground': '#707a8c',
'terminal.ansiBlack': '#191e2a',
'terminal.ansiBlue': '#6dcbfa',
'terminal.ansiBrightBlack': '#686868',
'terminal.ansiBrightBlue': '#73d0ff',
'terminal.ansiBrightCyan': '#95e6cb',
'terminal.ansiBrightGreen': '#bae67e',
'terminal.ansiBrightMagenta': '#d4bfff',
'terminal.ansiBrightRed': '#f28779',
'terminal.ansiBrightWhite': '#ffffff',
'terminal.ansiBrightYellow': '#ffd580',
'terminal.ansiCyan': '#90e1c6',
'terminal.ansiGreen': '#a6cc70',
'terminal.ansiMagenta': '#cfbafa',
'terminal.ansiRed': '#ed8274',
'terminal.ansiWhite': '#c7c7c7',
'terminal.ansiYellow': '#fad07b',
'terminal.background': '#1f2430',
'terminal.foreground': '#cbccc6',
'textBlockQuote.background': '#232834',
'textLink.activeForeground': '#ffcc66',
'textLink.foreground': '#ffcc66',
'textPreformat.foreground': '#cbccc6',
'titleBar.activeBackground': '#1f2430',
'titleBar.activeForeground': '#cbccc6',
'titleBar.border': '#191e2a',
'titleBar.inactiveBackground': '#1f2430',
'titleBar.inactiveForeground': '#707a8c',
'walkThrough.embeddedEditorBackground': '#232834',
'widget.shadow': '#141925',
};
//# sourceMappingURL=ayu.js.map

View File

@@ -0,0 +1,60 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = {
"titleBar.activeBackground": "#2b2b2b",
"titleBar.border": "#1b1b1b",
"titleBar.activeForeground": "#ffffff",
"titleBar.inactiveBackground": "#353535",
"titleBar.inactiveForeground": "#999999",
"menubar.selectionBackground": "#2b2b2b",
"menubar.selectionForeground": "#15539e",
"menu.background": "#2f2f2f",
"menu.foreground": "#ffffff",
"menu.selectionBackground": "#15539e",
"menu.selectionForeground": "#ffffff",
"menu.separatorBackground": "#00000055",
"panel.background": "#313131",
"panel.border": "#1b1b1b",
"activityBar.background": "#282828",
"activityBar.border": "#1b1b1b",
"activityBar.foreground": "#ffffff",
"activityBarBadge.background": "#15539e",
"activityBarBadge.foreground": "#ffffff",
"sideBar.background": "#313131",
"sideBar.border": "#1b1b1b",
"sideBar.foreground": "#ffffff",
"sideBarSectionHeader.background": "#282828",
"statusBar.background": "#282828",
"statusBar.foreground": "#ffffff",
"statusBar.border": "#1b1b1b",
"statusBarItem.hoverBackground": "#373737",
"statusBar.noFolderBackground": "#282828",
"button.background": "#15539e",
"input.background": "#2d2d2d",
"input.border": "#1b1b1b",
"dropdown.background": "#353535",
"dropdown.border": "#1b1b1b",
"list.activeSelectionBackground": "#15539e",
"list.activeSelectionForeground": "#ffffff",
"list.focusBackground": "#15539e",
"list.hoverBackground": "#373737",
"list.highlightForeground": "#ffffff",
"list.inactiveSelectionBackground": "#15539e",
"list.inactiveSelectionForeground": "#ffffff",
"editor.background": "#202020",
"editorGroup.background": "#282828",
"editorGroup.border": "#1b1b1b",
"editorGroupHeader.tabsBackground": "#262626",
"editorGroupHeader.tabsBorder": "#1b1b1b",
"terminal.background": "#202020",
"notification.background": "#25252570",
"tab.activeBackground": "#2e2e2e",
"tab.activeBorder": "#15539e",
"tab.hoverBackground": "#2d2d2d",
"tab.border": "#1b1b1b",
"tab.inactiveBackground": "#262626",
"foreground": "#ffffff",
"focusBorder": "#15539e",
"contrastBorder": "#1b1b1b"
};
//# sourceMappingURL=gnome.js.map

View File

@@ -0,0 +1,136 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = {
'activityBar.background': '#000',
'activityBar.foreground': '#d7dae0',
'activityBarBadge.background': '#4d78cc',
'activityBarBadge.foreground': '#f8fafd',
'badge.background': '#0051c3',
'breadcrumb.activeSelectionForeground': '#2979FF',
'button.background': '#0240b392',
'debugToolBar.background': '#161616',
'diffEditor.insertedTextBackground': '#00809b33',
'dropdown.background': '#161616',
'dropdown.border': '#000',
'dropdown.listBackground': '#161616',
'editor.background': '#000',
'editor.findMatchBackground': '#42557b',
'editor.findMatchBorder': '#2979FF',
'editor.findMatchHighlightBackground': '#6199ff2f',
'editor.foreground': '#d4d4d4',
'editor.lineHighlightBackground': '#0f0f0f',
'editor.selectionBackground': '#57617760',
'editor.selectionHighlightBackground': '#ffffff10',
'editor.selectionHighlightBorder': '#dddddd',
'editor.wordHighlightBackground': '#d2e0ff2f',
'editor.wordHighlightBorder': '#7f848e',
'editor.wordHighlightStrongBackground': '#abb2bf26',
'editor.wordHighlightStrongBorder': '#7f848e',
'editorLineNumber.activeForeground': '#1152cc',
'editorBracketMatch.background': '#515a6b',
'editorBracketMatch.border': '#515a6b',
'editorCursor.background': '#ffffffc9',
'editorCursor.foreground': '#528bff',
'editorError.foreground': '#c24038',
'editorGroup.emptyBackground': '#000',
'editorGroup.border': '#3f3f3f5c',
'editorGroupHeader.noTabsBackground': '#000',
'editorGroupHeader.tabsBackground': '#000',
'editorGroupHeader.tabsBorder': '#000',
'editorHoverWidget.background': '#000',
'editorHoverWidget.border': '#383838',
'editorIndentGuide.activeBackground': '#8b8b8b59',
'editorIndentGuide.background': '#33333374',
'editorLineNumber.foreground': '#66666695',
'editorMarkerNavigation.background': '#21252b',
'editorRuler.foreground': '#abb2bf26',
'editorSuggestWidget.background': '#161616',
'editorSuggestWidget.border': '#181a1f',
'editorSuggestWidget.selectedBackground': '#2c313a',
'editorSuggestWidget.highlightForeground': '#2979FF',
'editorWarning.foreground': '#d19a66',
'editorWhitespace.foreground': '#3b4048',
'editorWidget.background': '#161616',
'editorWidget.resizeBorder': '#2979FF',
'editorWidget.border': '#2979FF',
focusBorder: '#464646',
'input.background': '#202020',
'list.activeSelectionBackground': '#31313184',
'list.activeSelectionForeground': '#2979FF',
'list.focusBackground': '#31313184',
'list.highlightForeground': '#2979FF',
'list.hoverBackground': '#31313184',
'list.inactiveSelectionBackground': '#31313184',
'list.inactiveSelectionForeground': '#2979FF',
'list.warningForeground': '#d19a66',
'menu.foreground': '#c8c8c8',
'menu.selectionForeground': '#2979FF',
'menubar.selectionForeground': '#2979FF',
'notificationLink.foreground': '#2979FF',
'panelSectionHeader.background': '#000',
'panelTitle.activeBorder': '#2979FF',
'peekViewEditor.background': '#1b1d23',
'peekViewEditor.matchHighlightBackground': '#29244b',
'peekViewResult.background': '#22262b',
'pickerGroup.foreground': '#2979FF',
'progressBar.background': '#2979FF',
'scrollbarSlider.activeBackground': '#ffffff28',
'scrollbarSlider.background': '#ffffff18',
'scrollbarSlider.hoverBackground': '#ffffff1f',
'selection.background': '#2979FF40',
'settings.modifiedItemIndicator': '#2979FF',
'settings.headerForeground': '#2979FF',
'sideBar.background': '#000',
'sideBar.border': '#222',
'sideBar.foreground': '#d4d4d4',
'sideBarSectionHeader.background': '#000',
'sideBarSectionHeader.foreground': '#d4d4d4',
'sideBarTitle.foreground': '#d4d4d4',
'statusBar.background': '#000',
'statusBar.debuggingBackground': '#cc6633',
'statusBar.debuggingBorder': '#66017a',
'statusBar.debuggingForeground': '#ffffff',
'statusBar.foreground': '#ccc',
'statusBar.noFolderBackground': '#000',
'statusBarItem.hoverBackground': '#1a1a1a',
'statusBarItem.remoteBackground': '#4d78cc',
'statusBarItem.remoteForeground': '#f8fafd',
'tab.activeBackground': '#000',
'tab.activeForeground': '#dcdcdc',
'tab.border': '#000',
'tab.activeBorder': '#2979FF',
'tab.hoverBackground': '#2a2a2acf',
'tab.inactiveBackground': '#000',
'tab.unfocusedHoverBackground': '#2a2a2acf',
'tab.unfocusedActiveForeground': '#fff',
'tab.inactiveForeground': '#9c9c9c',
'tab.unfocusedInactiveForeground': '#9c9c9c',
'tab.unfocusedActiveBorder': '#000',
'terminal.ansiBlack': '#3f4451',
'terminal.ansiBlue': '#4aa5f0',
'terminal.ansiBrightBlack': '#4f5666',
'terminal.ansiBrightBlue': '#4dc4ff',
'terminal.ansiBrightCyan': '#4cd1e0',
'terminal.ansiBrightGreen': '#a5e075',
'terminal.ansiBrightMagenta': '#de73ff',
'terminal.ansiBrightRed': '#ff616e',
'terminal.ansiBrightWhite': '#d7dae0',
'terminal.ansiBrightYellow': '#f0a45d',
'terminal.ansiCyan': '#42b3c2',
'terminal.ansiGreen': '#8cc265',
'terminal.ansiMagenta': '#c162de',
'terminal.ansiRed': '#e05561',
'terminal.ansiWhite': '#e6e6e6',
'terminal.ansiYellow': '#d18f52',
'terminal.background': '#000',
'terminal.border': '#abb2bf',
'terminal.foreground': '#abb2bf',
'terminal.selectionBackground': '#79797940',
'textLink.foreground': '#2979FF',
'titleBar.activeBackground': '#000',
'titleBar.inactiveBackground': '#000',
'titleBar.border': '#000',
'titleBar.activeForeground': '#ccc',
'titleBar.inactiveForeground': '#ccc',
};
//# sourceMappingURL=justBlack.js.map

View File

@@ -0,0 +1,228 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = {
'activityBar.background': '#2e3440',
'activityBar.dropBackground': '#3b4252',
'activityBar.foreground': '#d8dee9',
'activityBarBadge.background': '#88c0d0',
'activityBarBadge.foreground': '#2e3440',
'badge.background': '#88c0d0',
'badge.foreground': '#2e3440',
'button.background': '#434c5e',
'button.foreground': '#d8dee9',
'button.hoverBackground': '#4c566a',
'debugExceptionWidget.background': '#4c566a',
'debugExceptionWidget.border': '#2e3440',
'debugToolBar.background': '#3b4252',
'diffEditor.insertedTextBackground': '#81a1c133',
'diffEditor.removedTextBackground': '#bf616a4d',
'dropdown.background': '#3b4252',
'dropdown.border': '#3b4252',
'dropdown.foreground': '#d8dee9',
'editor.background': '#2e3440',
'editor.findMatchBackground': '#88c0d066',
'editor.findMatchHighlightBackground': '#88c0d033',
'editor.findRangeHighlightBackground': '#88c0d033',
'editor.foreground': '#abb2bf',
'editor.hoverHighlightBackground': '#3b4252',
'editor.inactiveSelectionBackground': '#434c5ecc',
'editor.lineHighlightBackground': '#3b4252',
'editor.lineHighlightBorder': '#3b4252',
'editor.rangeHighlightBackground': '#434c5e52',
'editor.selectionBackground': '#434c5ecc',
'editor.selectionHighlightBackground': '#434c5ecc',
'editor.wordHighlightBackground': '#81a1c166',
'editor.wordHighlightStrongBackground': '#81a1c199',
'editorActiveLineNumber.foreground': '#d8dee9cc',
'editorBracketMatch.background': '#2e344000',
'editorBracketMatch.border': '#88c0d0',
'editorCodeLens.foreground': '#4c566a',
'editorCursor.foreground': '#d8dee9',
'editorError.border': '#bf616a00',
'editorError.foreground': '#bf616a',
'editorGroup.background': '#2e3440',
'editorGroup.border': '#3b425201',
'editorGroup.dropBackground': '#3b425299',
'editorGroupHeader.noTabsBackground': '#2e3440',
'editorGroupHeader.tabsBackground': '#2e3440',
'editorGroupHeader.tabsBorder': '#3b425200',
'editorGutter.addedBackground': '#a3be8c',
'editorGutter.background': '#2e3440',
'editorGutter.deletedBackground': '#bf616a',
'editorGutter.modifiedBackground': '#ebcb8b',
'editorHint.border': '#ebcb8b00',
'editorHint.foreground': '#ebcb8b',
'editorHoverWidget.background': '#3b4252',
'editorHoverWidget.border': '#3b4252',
'editorIndentGuide.activeBackground': '#4c566a',
'editorIndentGuide.background': '#434c5eb3',
'editorLineNumber.activeForeground': '#d8dee9',
'editorLineNumber.foreground': '#4c566a',
'editorLink.activeForeground': '#88c0d0',
'editorMarkerNavigation.background': '#5e81acc0',
'editorMarkerNavigationError.background': '#bf616ac0',
'editorMarkerNavigationWarning.background': '#ebcb8bc0',
'editorOverviewRuler.addedForeground': '#a3be8c',
'editorOverviewRuler.border': '#3b4252',
'editorOverviewRuler.currentContentForeground': '#3b4252',
'editorOverviewRuler.deletedForeground': '#bf616a',
'editorOverviewRuler.errorForeground': '#bf616a',
'editorOverviewRuler.findMatchForeground': '#88c0d066',
'editorOverviewRuler.incomingContentForeground': '#3b4252',
'editorOverviewRuler.infoForeground': '#81a1c1',
'editorOverviewRuler.modifiedForeground': '#ebcb8b',
'editorOverviewRuler.rangeHighlightForeground': '#88c0d066',
'editorOverviewRuler.selectionHighlightForeground': '#88c0d066',
'editorOverviewRuler.warningForeground': '#ebcb8b',
'editorOverviewRuler.wordHighlightForeground': '#88c0d066',
'editorOverviewRuler.wordHighlightStrongForeground': '#88c0d066',
'editorRuler.foreground': '#434c5e',
'editorSuggestWidget.background': '#2e3440',
'editorSuggestWidget.border': '#3b4252',
'editorSuggestWidget.foreground': '#d8dee9',
'editorSuggestWidget.highlightForeground': '#88c0d0',
'editorSuggestWidget.selectedBackground': '#434c5e',
'editorWarning.border': '#ebcb8b00',
'editorWarning.foreground': '#ebcb8b',
'editorWhitespace.foreground': '#4c566ab3',
'editorWidget.background': '#2e3440',
'editorWidget.border': '#3b4252',
errorForeground: '#bf616a',
'extensionButton.prominentBackground': '#434c5e',
'extensionButton.prominentForeground': '#d8dee9',
'extensionButton.prominentHoverBackground': '#4c566a',
focusBorder: '#3b4252',
foreground: '#d8dee9',
'gitDecoration.conflictingResourceForeground': '#5e81ac',
'gitDecoration.deletedResourceForeground': '#bf616a',
'gitDecoration.ignoredResourceForeground': '#d8dee966',
'gitDecoration.modifiedResourceForeground': '#ebcb8b',
'gitDecoration.submoduleResourceForeground': '#8fbcbb',
'gitDecoration.untrackedResourceForeground': '#a3be8c',
'input.background': '#3b4252',
'input.border': '#3b4252',
'input.foreground': '#d8dee9',
'input.placeholderForeground': '#d8dee999',
'inputOption.activeBackground': '#5e81ac',
'inputOption.activeBorder': '#5e81ac',
'inputValidation.errorBackground': '#bf616a',
'inputValidation.errorBorder': '#bf616a',
'inputValidation.infoBackground': '#81a1c1',
'inputValidation.infoBorder': '#81a1c1',
'inputValidation.warningBackground': '#d08770',
'inputValidation.warningBorder': '#d08770',
'list.activeSelectionBackground': '#88c0d0',
'list.activeSelectionForeground': '#2e3440',
'list.dropBackground': '#88c0d099',
'list.errorForeground': '#bf616a',
'list.focusBackground': '#88c0d099',
'list.focusForeground': '#d8dee9',
'list.highlightForeground': '#88c0d0',
'list.hoverBackground': '#3b4252',
'list.hoverForeground': '#eceff4',
'list.inactiveFocusBackground': '#434c5ecc',
'list.inactiveSelectionBackground': '#434c5e',
'list.inactiveSelectionForeground': '#d8dee9',
'list.warningForeground': '#ebcb8b',
'merge.border': '#3b425200',
'merge.currentContentBackground': '#81a1c14d',
'merge.currentHeaderBackground': '#81a1c166',
'merge.incomingContentBackground': '#8fbcbb4d',
'merge.incomingHeaderBackground': '#8fbcbb66',
'minimap.findMatchHighlight': '#88c0d0',
'notificationCenter.border': '#3b425200',
'notificationCenterHeader.background': '#2e3440',
'notificationCenterHeader.foreground': '#88c0d0',
'notificationLink.foreground': '#88c0d0',
'notifications.background': '#3b4252',
'notifications.border': '#2e3440',
'notifications.foreground': '#d8dee9',
'notificationToast.border': '#3b425200',
'panel.background': '#2e3440',
'panel.border': '#3b4252',
'panelTitle.activeBorder': '#88c0d000',
'panelTitle.activeForeground': '#88c0d0',
'panelTitle.inactiveForeground': '#d8dee9',
'peekView.border': '#4c566a',
'peekViewEditor.background': '#2e3440',
'peekViewEditor.matchHighlightBackground': '#88c0d04d',
'peekViewEditorGutter.background': '#2e3440',
'peekViewResult.background': '#2e3440',
'peekViewResult.fileForeground': '#88c0d0',
'peekViewResult.lineForeground': '#d8dee966',
'peekViewResult.matchHighlightBackground': '#88c0d0cc',
'peekViewResult.selectionBackground': '#434c5e',
'peekViewResult.selectionForeground': '#d8dee9',
'peekViewTitle.background': '#3b4252',
'peekViewTitleDescription.foreground': '#d8dee9',
'peekViewTitleLabel.foreground': '#88c0d0',
'pickerGroup.border': '#3b4252',
'pickerGroup.foreground': '#88c0d0',
'progressBar.background': '#88c0d0',
'scrollbar.shadow': '#00000066',
'scrollbarSlider.activeBackground': '#434c5eaa',
'scrollbarSlider.background': '#434c5e99',
'scrollbarSlider.hoverBackground': '#434c5eaa',
'selection.background': '#88c0d099',
'sideBar.background': '#2e3440',
'sideBar.border': '#3b4252',
'sideBar.foreground': '#d8dee9',
'sideBarSectionHeader.background': '#3b4252',
'sideBarSectionHeader.foreground': '#d8dee9',
'sideBarTitle.foreground': '#d8dee9',
'statusBar.background': '#3b4252',
'statusBar.border': '#3b425200',
'statusBar.debuggingBackground': '#5e81ac',
'statusBar.debuggingForeground': '#d8dee9',
'statusBar.foreground': '#d8dee9',
'statusBar.noFolderBackground': '#3b4252',
'statusBar.noFolderForeground': '#d8dee9',
'statusBarItem.activeBackground': '#4c566a',
'statusBarItem.hoverBackground': '#434c5e',
'statusBarItem.prominentBackground': '#3b4252',
'statusBarItem.prominentHoverBackground': '#434c5e',
'tab.activeBackground': '#3b4252',
'tab.activeBorder': '#88c0d000',
'tab.activeBorderTop': '#88c0d000',
'tab.activeForeground': '#d8dee9',
'tab.border': '#3b425200',
'tab.hoverBackground': '#3b4252cc',
'tab.hoverBorder': '#88c0d000',
'tab.inactiveBackground': '#2e3440',
'tab.inactiveForeground': '#d8dee966',
'tab.unfocusedActiveBorder': '#88c0d000',
'tab.unfocusedActiveBorderTop': '#88c0d000',
'tab.unfocusedActiveForeground': '#d8dee999',
'tab.unfocusedHoverBackground': '#3b4252b3',
'tab.unfocusedHoverBorder': '#88c0d000',
'tab.unfocusedInactiveForeground': '#d8dee966',
'terminal.ansiBlack': '#3b4252',
'terminal.ansiBlue': '#81a1c1',
'terminal.ansiBrightBlack': '#4c566a',
'terminal.ansiBrightBlue': '#81a1c1',
'terminal.ansiBrightCyan': '#8fbcbb',
'terminal.ansiBrightGreen': '#a3be8c',
'terminal.ansiBrightMagenta': '#b48ead',
'terminal.ansiBrightRed': '#bf616a',
'terminal.ansiBrightWhite': '#eceff4',
'terminal.ansiBrightYellow': '#ebcb8b',
'terminal.ansiCyan': '#88c0d0',
'terminal.ansiGreen': '#a3be8c',
'terminal.ansiMagenta': '#b48ead',
'terminal.ansiRed': '#bf616a',
'terminal.ansiWhite': '#e5e9f0',
'terminal.ansiYellow': '#ebcb8b',
'terminal.background': '#2e3440',
'terminal.foreground': '#d8dee9',
'titleBar.activeBackground': '#2e3440',
'titleBar.activeForeground': '#d8dee9',
'titleBar.border': '#2e344000',
'titleBar.inactiveBackground': '#2e3440',
'titleBar.inactiveForeground': '#d8dee966',
'tree.indentGuidesStroke': '#616e88',
'walkThrough.embeddedEditorBackground': '#2e3440',
'welcomePage.buttonBackground': '#434c5e',
'welcomePage.buttonHoverBackground': '#4c566a',
'widget.shadow': '#00000066',
};
//# sourceMappingURL=nord.js.map

View File

@@ -0,0 +1,601 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = {
'activityBar.activeBorder': '#54bef2',
'activityBar.background': '#111720',
'activityBar.border': '#111720',
'activityBar.foreground': '#cacde2',
'activityBarBadge.background': '#54bef2',
'activityBarBadge.foreground': '#00111a',
'badge.background': '#54bef2',
'badge.foreground': '#00111a',
'breadcrumb.activeSelectionForeground': '#54bef2',
'breadcrumb.background': '#111720',
'breadcrumb.focusForeground': '#cacde2',
'breadcrumb.foreground': '#7e8995',
'breadcrumbPicker.background': '#111720',
'button.background': '#54bef2',
'button.border': '#111720',
'button.foreground': '#00111a',
'button.hoverBackground': '#67e8f9',
'button.secondaryBackground': '#00111a50',
'button.secondaryForeground': '#d2d8e7',
'button.secondaryHoverBackground': '#00111a',
'charts.blue': '#54bef2',
'charts.foreground': '#cacde2',
'charts.green': '#82f1b1',
'charts.orange': '#ff9c66',
'charts.purple': '#c792ea',
'charts.red': '#fb7185',
'charts.yellow': '#ffcb6b',
'debugConsole.errorForeground': '#fb7185',
'debugConsole.infoForeground': '#cacde2',
'debugConsole.sourceForeground': '#54bef2',
'debugConsole.warningForeground': '#ffcb6b',
'debugConsoleInputIcon.foreground': '#54bef2',
'debugToolBar.background': '#111720',
descriptionForeground: '#cacde2cc',
'diffEditor.insertedTextBackground': '#82f1b120',
'diffEditor.removedTextBackground': '#fb718560',
'dropdown.background': '#111720',
'dropdown.border': '#cacde210',
'editor.background': '#111720',
'editor.findMatchBackground': '#cacde240',
'editor.findMatchBorder': '#54bef2',
'editor.findMatchHighlightBackground': '#54bef260',
'editor.findMatchHighlightBorder': '#cacde210',
'editor.foreground': '#cacde2',
'editor.lineHighlightBackground': '#00111a50',
'editor.selectionBackground': '#54bef240',
'editor.selectionHighlightBackground': '#ffcb6b30',
'editorBracketMatch.background': '#00111a50',
'editorBracketMatch.border': '#54bef240',
'editorCodeLens.foreground': '#7e8995',
'editorCursor.foreground': '#ffcb6b',
'editorError.foreground': '#fb718540',
'editorGroup.border': '#111720',
'editorGroupHeader.tabsBackground': '#111720',
'editorGutter.addedBackground': '#82f1b140',
'editorGutter.deletedBackground': '#fb718540',
'editorGutter.modifiedBackground': '#54bef240',
'editorHoverWidget.background': '#111720',
'editorHoverWidget.border': '#cacde210',
'editorIndentGuide.activeBackground': '#5c6270',
'editorIndentGuide.background': '#7e899540',
'editorInfo.foreground': '#54bef240',
'editorInlayHint.background': '#2c313c',
'editorInlayHint.foreground': '#abb2bf',
'editorLineNumber.activeForeground': '#7e8995',
'editorLineNumber.foreground': '#5c6270',
'editorLink.activeForeground': '#d2d8e7',
'editorMarkerNavigation.background': '#54bef210',
'editorOverviewRuler.addedForeground': '#82f1b1',
'editorOverviewRuler.background': '#111720',
'editorOverviewRuler.border': '#111720',
'editorOverviewRuler.currentContentForeground': '#ffcb6b60',
'editorOverviewRuler.deletedForeground': '#fb7185',
'editorOverviewRuler.errorForeground': '#fb7185',
'editorOverviewRuler.findMatchForeground': '#67e8f9',
'editorOverviewRuler.incomingContentForeground': '#ffcb6b60',
'editorOverviewRuler.infoForeground': '#54bef2',
'editorOverviewRuler.modifiedForeground': '#ffcb6b',
'editorOverviewRuler.rangeHighlightForeground': '#67e8f930',
'editorOverviewRuler.selectionHighlightForeground': '#67e8f930',
'editorOverviewRuler.warningForeground': '#ffcb6b',
'editorOverviewRuler.wordHighlightForeground': '#ffcb6b30',
'editorOverviewRuler.wordHighlightStrongForeground': '#ffcb6b60',
'editorRuler.foreground': '#7e8995',
'editorSuggestWidget.background': '#111720',
'editorSuggestWidget.border': '#cacde210',
'editorSuggestWidget.focusHighlightForeground': '#54bef2',
'editorSuggestWidget.foreground': '#d2d8e7',
'editorSuggestWidget.highlightForeground': '#54bef2',
'editorSuggestWidget.selectedBackground': '#111720',
'editorSuggestWidget.selectedForeground': '#cacde2',
'editorWarning.foreground': '#ffcb6b40',
'editorWhitespace.foreground': '#cacde240',
'editorWidget.background': '#111720',
'editorWidget.border': '#54bef2',
'editorWidget.resizeBorder': '#54bef2',
'extensionButton.prominentBackground': '#54bef2cc',
'extensionButton.prominentHoverBackground': '#54bef2',
focusBorder: '#11172000',
foreground: '#cacde2',
'gitDecoration.conflictingResourceForeground': '#ffcb6bcc',
'gitDecoration.deletedResourceForeground': '#fb7185cc',
'gitDecoration.ignoredResourceForeground': '#5c6270',
'gitDecoration.modifiedResourceForeground': '#ffcb6bcc',
'gitDecoration.submoduleResourceForeground': '#c792eacc',
'gitDecoration.untrackedResourceForeground': '#82f1b1cc',
'gitlens.closedPullRequestIconColor': '#fb7185',
'gitlens.decorations.branchAheadForegroundColor': '#82f1b1',
'gitlens.decorations.branchBehindForegroundColor': '#ffcb6b',
'gitlens.decorations.branchDivergedForegroundColor': '#ff9c66',
'gitlens.decorations.branchMissingUpstreamForegroundColor': '#fb7185',
'gitlens.decorations.branchUnpublishedForegroundColor': '#82f1b1',
'gitlens.gutterBackgroundColor': '#00111a60',
'gitlens.gutterForegroundColor': '#cacde2',
'gitlens.gutterUncommittedForegroundColor': '#5c6270',
'gitlens.lineHighlightBackgroundColor': '#00111a60',
'gitlens.lineHighlightOverviewRulerColor': '#cacde2',
'gitlens.mergedPullRequestIconColor': '#c792ea',
'gitlens.openPullRequestIconColor': '#82f1b1',
'gitlens.trailingLineBackgroundColor': '#00111a50',
'gitlens.trailingLineForegroundColor': '#cacde240',
'gitlens.unpublishedCommitIconColor': '#82f1b1',
'gitlens.unpulledChangesIconColor': '#ffcb6b',
'gitlens.unpushlishedChangesIconColor': '#82f1b1',
'icon.foreground': '#cacde2',
'input.background': '#00111a50',
'input.border': '#111720',
'input.foreground': '#d2d8e7',
'input.placeholderForeground': '#cacde240',
'inputOption.activeBackground': '#00111a60',
'inputOption.activeBorder': '#cacde210',
'inputValidation.errorBorder': '#fb718540',
'inputValidation.infoBorder': '#54bef240',
'inputValidation.warningBorder': '#ffcb6b40',
'keybindingLabel.background': '#00111a50',
'keybindingLabel.border': '#5c6270cc',
'keybindingLabel.bottomBorder': '#7e8995cc',
'keybindingLabel.foreground': '#d2d8e7',
'list.activeSelectionBackground': '#7e899560',
'list.activeSelectionForeground': '#ffffff',
'list.activeSelectionIconForeground': '#ffffff',
'list.dropBackground': '#00111a50',
'list.focusBackground': '#54bef220',
'list.focusForeground': '#ffffff',
'list.focusHighlightForeground': '#ffffff',
'list.highlightForeground': '#d2d8e7',
'list.hoverBackground': '#00111a50',
'list.hoverForeground': '#d2d8e7',
'list.inactiveSelectionBackground': '#111720',
'list.inactiveSelectionForeground': '#54bef2',
'listFilterWidget.background': '#111720',
'listFilterWidget.noMatchesOutline': '#cacde210',
'listFilterWidget.outline': '#cacde210',
'menu.background': '#111720',
'menu.foreground': '#d2d8e7',
'menu.selectionBackground': '#111720',
'menu.selectionForeground': '#54bef2',
'menu.separatorBackground': '#d2d8e7',
'menubar.selectionBackground': '#111720',
'menubar.selectionForeground': '#54bef2',
'notificationCenterHeader.background': '#111720',
'notificationCenterHeader.foreground': '#d2d8e7',
'notificationLink.foreground': '#c792ea',
'notifications.background': '#111720',
'notifications.foreground': '#d2d8e7',
'notificationsErrorIcon.foreground': '#fb7185',
'notificationsInfoIcon.foreground': '#00111a50',
'notificationsWarningIcon.foreground': '#ffcb6b',
'panel.background': '#111720',
'panel.border': '#111720',
'panel.dropBorder': '#c792ea',
'panelTitle.activeBorder': '#54bef2',
'panelTitle.activeForeground': '#ffffff',
'panelTitle.inactiveForeground': '#7e8995',
'peekView.border': '#cacde210',
'peekViewEditor.background': '#c792ea10',
'peekViewEditor.matchHighlightBackground': '#54bef240',
'peekViewEditorGutter.background': '#c792ea10',
'peekViewResult.background': '#c792ea10',
'peekViewResult.matchHighlightBackground': '#54bef240',
'peekViewResult.selectionBackground': '#7e899540',
'peekViewTitle.background': '#c792ea10',
'peekViewTitleDescription.foreground': '#cacde240',
'pickerGroup.foreground': '#54bef2',
'progressBar.background': '#54bef2',
'scrollbar.shadow': '#11172000',
'scrollbarSlider.activeBackground': '#54bef240',
'scrollbarSlider.background': '#54bef230',
'scrollbarSlider.hoverBackground': '#111720',
'selection.background': '#54bef240',
'settings.checkboxBackground': '#111720',
'settings.checkboxForeground': '#cacde2',
'settings.dropdownBackground': '#111720',
'settings.dropdownForeground': '#cacde2',
'settings.headerForeground': '#54bef2',
'settings.modifiedItemIndicator': '#54bef2',
'settings.numberInputBackground': '#111720',
'settings.numberInputForeground': '#cacde2',
'settings.textInputBackground': '#111720',
'settings.textInputForeground': '#cacde2',
'sideBar.background': '#111720',
'sideBar.border': '#111720',
'sideBar.foreground': '#7e8995',
'sideBarSectionHeader.background': '#111720',
'sideBarSectionHeader.border': '#111720',
'sideBarTitle.foreground': '#cacde2',
'statusBar.background': '#111720',
'statusBar.border': '#111720',
'statusBar.debuggingBackground': '#54bef2',
'statusBar.debuggingForeground': '#00111a',
'statusBar.foreground': '#7e8995',
'statusBar.noFolderBackground': '#111720',
'statusBarItem.hoverBackground': '#00111a50',
'statusBarItem.prominentForeground': '#00111a',
'statusBarItem.remoteBackground': '#54bef2',
'statusBarItem.remoteForeground': '#00111a',
'tab.activeBorder': '#d19a66',
'tab.activeForeground': '#cacde2',
'tab.activeModifiedBorder': '#7e8995',
'tab.border': '#111720',
'tab.inactiveBackground': '#111720',
'tab.inactiveForeground': '#7e8995',
'tab.unfocusedActiveBorder': '#7e8995',
'tab.unfocusedActiveForeground': '#cacde2',
'terminal.ansiBlack': '#5c6270',
'terminal.ansiBlue': '#54bef2',
'terminal.ansiBrightBlack': '#7e8995',
'terminal.ansiBrightBlue': '#54bef2',
'terminal.ansiBrightCyan': '#67e8f9',
'terminal.ansiBrightGreen': '#82f1b1',
'terminal.ansiBrightMagenta': '#c792ea',
'terminal.ansiBrightRed': '#fb7185',
'terminal.ansiBrightWhite': '#ffffff',
'terminal.ansiBrightYellow': '#ffcb6b',
'terminal.ansiCyan': '#67e8f9',
'terminal.ansiGreen': '#82f1b1',
'terminal.ansiMagenta': '#c792ea',
'terminal.ansiRed': '#fb7185',
'terminal.ansiWhite': '#ffffff',
'terminal.ansiYellow': '#ffcb6b',
'terminalCursor.background': '#00111a',
'terminalCursor.foreground': '#cacde2',
'textCodeBlock.background': '#7e8995',
'textLink.activeForeground': '#54bef2',
'textLink.foreground': '#54bef2',
'textPreformat.foreground': '#7e8995',
'titleBar.activeBackground': '#111720',
'titleBar.activeForeground': '#d2d8e7',
'titleBar.border': '#111720',
'titleBar.inactiveBackground': '#111720',
'titleBar.inactiveForeground': '#7e8995',
'toolbar.hoverBackground': '#00111a50',
'widget.shadow': '#00111a10',
//"activityBar.dropBorder": "#cacde2",
//"activityBar.inactiveForeground": "#cacde266",
//"banner.background": "#7e899560",
//"banner.foreground": "#ffffff",
//"banner.iconForeground": "#54bef240",
//"charts.lines": "#cacde280",
//"checkbox.background": "#111720",
//"checkbox.border": "#cacde210",
//"checkbox.foreground": "#f0f0f0",
//"debugExceptionWidget.background": "#420b0d",
//"debugExceptionWidget.border": "#a31515",
//"debugIcon.breakpointCurrentStackframeForeground": "#ffcc00",
//"debugIcon.breakpointDisabledForeground": "#848484",
//"debugIcon.breakpointForeground": "#e51400",
//"debugIcon.breakpointStackframeForeground": "#89d185",
//"debugIcon.breakpointUnverifiedForeground": "#848484",
//"debugIcon.continueForeground": "#75beff",
//"debugIcon.disconnectForeground": "#f48771",
//"debugIcon.pauseForeground": "#75beff",
//"debugIcon.restartForeground": "#89d185",
//"debugIcon.startForeground": "#89d185",
//"debugIcon.stepBackForeground": "#75beff",
//"debugIcon.stepIntoForeground": "#75beff",
//"debugIcon.stepOutForeground": "#75beff",
//"debugIcon.stepOverForeground": "#75beff",
//"debugIcon.stopForeground": "#f48771",
//"debugTokenExpression.boolean": "#4e94ce",
//"debugTokenExpression.error": "#f48771",
//"debugTokenExpression.name": "#c586c0",
//"debugTokenExpression.number": "#b5cea8",
//"debugTokenExpression.string": "#ce9178",
//"debugTokenExpression.value": "#cccccc99",
//"debugView.exceptionLabelBackground": "#6c2022",
//"debugView.exceptionLabelForeground": "#cacde2",
//"debugView.stateLabelBackground": "#88888844",
//"debugView.stateLabelForeground": "#cacde2",
//"debugView.valueChangedHighlight": "#569cd6",
//"diffEditor.diagonalFill": "#cccccc33",
//"dropdown.foreground": "#f0f0f0",
//"editor.findRangeHighlightBackground": "#3a3d4166",
//"editor.focusedStackFrameHighlightBackground": "#7abd7a4d",
//"editor.foldBackground": "#54bef213",
//"editor.hoverHighlightBackground": "#264f7840",
//"editor.inactiveSelectionBackground": "#54bef220",
//"editor.inlineValuesBackground": "#ffc80033",
//"editor.inlineValuesForeground": "#ffffff80",
//"editor.lineHighlightBorder": "#282828",
//"editor.linkedEditingBackground": "#ff00004d",
//"editor.rangeHighlightBackground": "#ffffff0b",
//"editor.snippetFinalTabstopHighlightBorder": "#525252",
//"editor.snippetTabstopHighlightBackground": "#7c7c7c4d",
//"editor.stackFrameHighlightBackground": "#ffff0033",
//"editor.symbolHighlightBackground": "#54bef260",
//"editor.wordHighlightBackground": "#575757b8",
//"editor.wordHighlightStrongBackground": "#004972b8",
//"editorActiveLineNumber.foreground": "#c6c6c6",
//"editorBracketHighlight.foreground1": "#ffd700",
//"editorBracketHighlight.foreground2": "#da70d6",
//"editorBracketHighlight.foreground3": "#179fff",
//"editorBracketHighlight.foreground4": "#00000000",
//"editorBracketHighlight.foreground5": "#00000000",
//"editorBracketHighlight.foreground6": "#00000000",
//"editorBracketHighlight.unexpectedBracket.foreground": "#ff1212cc",
//"editorGhostText.foreground": "#ffffff56",
//"editorGroup.dropBackground": "#53595d80",
//"editorGroupHeader.noTabsBackground": "#111720",
//"editorGutter.background": "#111720",
//"editorGutter.commentRangeForeground": "#c5c5c5",
//"editorGutter.foldingControlForeground": "#cacde2",
//"editorHint.foreground": "#eeeeeeb3",
//"editorHoverWidget.foreground": "#cacde2",
//"editorHoverWidget.statusBarBackground": "#141c26",
//"editorLightBulb.foreground": "#ffcc00",
//"editorLightBulbAutoFix.foreground": "#75beff",
//"editorMarkerNavigationError.background": "#fb718540",
//"editorMarkerNavigationError.headerBackground": "#fb718506",
//"editorMarkerNavigationInfo.background": "#54bef240",
//"editorMarkerNavigationInfo.headerBackground": "#54bef206",
//"editorMarkerNavigationWarning.background": "#ffcb6b40",
//"editorMarkerNavigationWarning.headerBackground": "#ffcb6b06",
//"editorOverviewRuler.bracketMatchForeground": "#a0a0a0",
//"editorOverviewRuler.commonContentForeground": "#60606066",
//"editorPane.background": "#111720",
//"editorSuggestWidget.selectedIconForeground": "#ffffff",
//"editorUnnecessaryCode.opacity": "#000000aa",
//"editorWidget.foreground": "#cacde2",
//"errorForeground": "#f48771",
//"extensionBadge.remoteBackground": "#54bef2",
//"extensionBadge.remoteForeground": "#00111a",
//"extensionButton.prominentForeground": "#00111a",
//"extensionIcon.starForeground": "#ff8e00",
//"gitDecoration.addedResourceForeground": "#81b88b",
//"gitDecoration.renamedResourceForeground": "#73c991",
//"gitDecoration.stageDeletedResourceForeground": "#c74e39",
//"gitDecoration.stageModifiedResourceForeground": "#e2c08d",
//"gitlens.decorations.addedForegroundColor": "#81b88b",
//"gitlens.decorations.branchUpToDateForegroundColor": "#7e8995",
//"gitlens.decorations.copiedForegroundColor": "#73c991",
//"gitlens.decorations.deletedForegroundColor": "#fb7185cc",
//"gitlens.decorations.ignoredForegroundColor": "#5c6270",
//"gitlens.decorations.modifiedForegroundColor": "#ffcb6bcc",
//"gitlens.decorations.renamedForegroundColor": "#73c991",
//"gitlens.decorations.untrackedForegroundColor": "#82f1b1cc",
//"inputOption.activeForeground": "#ffffff",
//"inputValidation.errorBackground": "#5a1d1d",
//"inputValidation.infoBackground": "#063b49",
//"inputValidation.warningBackground": "#352a05",
//"interactive.activeCodeBorder": "#cacde210",
//"interactive.inactiveCodeBorder": "#111720",
//"list.deemphasizedForeground": "#8c8c8c",
//"list.errorForeground": "#f88070",
//"list.filterMatchBackground": "#54bef260",
//"list.filterMatchBorder": "#cacde210",
//"list.focusOutline": "#11172000",
//"list.invalidItemForeground": "#b89500",
//"list.warningForeground": "#cca700",
//"merge.commonContentBackground": "#60606029",
//"merge.commonHeaderBackground": "#60606066",
//"merge.currentContentBackground": "#40c8ae33",
//"merge.currentHeaderBackground": "#40c8ae80",
//"merge.incomingContentBackground": "#40a6ff33",
//"merge.incomingHeaderBackground": "#40a6ff80",
//"minimap.errorHighlight": "#ff1212b3",
//"minimap.findMatchHighlight": "#d18616",
//"minimap.selectionHighlight": "#264f78",
//"minimap.warningHighlight": "#ffcb6b40",
//"minimapGutter.addedBackground": "#587c0c",
//"minimapGutter.deletedBackground": "#94151b",
//"minimapGutter.modifiedBackground": "#0c7d9d",
//"minimapSlider.activeBackground": "#54bef220",
//"minimapSlider.background": "#54bef218",
//"minimapSlider.hoverBackground": "#11172080",
//"notebook.cellBorderColor": "#111720",
//"notebook.cellEditorBackground": "#cacde20a",
//"notebook.cellInsertionIndicator": "#11172000",
//"notebook.cellStatusBarItemHoverBackground": "#ffffff26",
//"notebook.cellToolbarSeparator": "#80808059",
//"notebook.focusedCellBorder": "#11172000",
//"notebook.focusedEditorBorder": "#11172000",
//"notebook.inactiveFocusedCellBorder": "#111720",
//"notebook.selectedCellBackground": "#111720",
//"notebook.selectedCellBorder": "#111720",
//"notebook.symbolHighlightBackground": "#ffffff0b",
//"notebookScrollbarSlider.activeBackground": "#54bef240",
//"notebookScrollbarSlider.background": "#54bef230",
//"notebookScrollbarSlider.hoverBackground": "#111720",
//"notebookStatusErrorIcon.foreground": "#f48771",
//"notebookStatusRunningIcon.foreground": "#cacde2",
//"notebookStatusSuccessIcon.foreground": "#89d185",
//"notifications.border": "#111720",
//"panelSection.border": "#111720",
//"panelSection.dropBackground": "#53595d80",
//"panelSectionHeader.background": "#80808033",
//"peekViewResult.fileForeground": "#ffffff",
//"peekViewResult.lineForeground": "#bbbbbb",
//"peekViewResult.selectionForeground": "#ffffff",
//"peekViewTitleLabel.foreground": "#ffffff",
//"pickerGroup.border": "#3f3f46",
//"ports.iconRunningProcessForeground": "#54bef2",
//"problemsErrorIcon.foreground": "#fb718540",
//"problemsInfoIcon.foreground": "#54bef240",
//"problemsWarningIcon.foreground": "#ffcb6b40",
//"quickInput.background": "#111720",
//"quickInput.foreground": "#cacde2",
//"quickInputList.focusBackground": "#7e899560",
//"quickInputList.focusForeground": "#ffffff",
//"quickInputList.focusIconForeground": "#ffffff",
//"quickInputTitle.background": "#ffffff1b",
//"rust_analyzer.inlayHints.background": "#11223300",
//"rust_analyzer.inlayHints.background.chainingHints": "#11223300",
//"rust_analyzer.inlayHints.background.parameterHints": "#11223300",
//"rust_analyzer.inlayHints.background.typeHints": "#11223300",
//"rust_analyzer.inlayHints.foreground": "#a0a0a0f0",
//"rust_analyzer.inlayHints.foreground.chainingHints": "#a0a0a0f0",
//"rust_analyzer.inlayHints.foreground.parameterHints": "#a0a0a0f0",
//"rust_analyzer.inlayHints.foreground.typeHints": "#a0a0a0f0",
//"rust_analyzer.syntaxTreeBorder": "#ffffff",
//"sash.hoverBorder": "#11172000",
//"scm.providerBorder": "#454545",
//"searchEditor.findMatchBackground": "#54bef23f",
//"searchEditor.findMatchBorder": "#cacde20b",
//"searchEditor.textInputBorder": "#111720",
//"settings.checkboxBorder": "#cacde210",
//"settings.dropdownBorder": "#cacde210",
//"settings.dropdownListBorder": "#54bef2",
//"settings.focusedRowBackground": "#80808024",
//"settings.focusedRowBorder": "#ffffff1f",
//"settings.numberInputBorder": "#111720",
//"settings.rowHoverBackground": "#80808012",
//"settings.textInputBorder": "#111720",
//"sideBar.dropBackground": "#53595d80",
//"sideBarSectionHeader.foreground": "#7e8995",
//"statusBar.debuggingBorder": "#111720",
//"statusBar.noFolderBorder": "#111720",
//"statusBar.noFolderForeground": "#7e8995",
//"statusBarItem.activeBackground": "#ffffff2e",
//"statusBarItem.errorBackground": "#c72e0f",
//"statusBarItem.errorForeground": "#ffffff",
//"statusBarItem.prominentBackground": "#00000080",
//"statusBarItem.prominentHoverBackground": "#0000004d",
//"statusBarItem.warningBackground": "#d98d0040",
//"statusBarItem.warningForeground": "#ffffff",
//"symbolIcon.arrayForeground": "#cacde2",
//"symbolIcon.booleanForeground": "#cacde2",
//"symbolIcon.classForeground": "#ee9d28",
//"symbolIcon.colorForeground": "#cacde2",
//"symbolIcon.constantForeground": "#cacde2",
//"symbolIcon.constructorForeground": "#b180d7",
//"symbolIcon.enumeratorForeground": "#ee9d28",
//"symbolIcon.enumeratorMemberForeground": "#75beff",
//"symbolIcon.eventForeground": "#ee9d28",
//"symbolIcon.fieldForeground": "#75beff",
//"symbolIcon.fileForeground": "#cacde2",
//"symbolIcon.folderForeground": "#cacde2",
//"symbolIcon.functionForeground": "#b180d7",
//"symbolIcon.interfaceForeground": "#75beff",
//"symbolIcon.keyForeground": "#cacde2",
//"symbolIcon.keywordForeground": "#cacde2",
//"symbolIcon.methodForeground": "#b180d7",
//"symbolIcon.moduleForeground": "#cacde2",
//"symbolIcon.namespaceForeground": "#cacde2",
//"symbolIcon.nullForeground": "#cacde2",
//"symbolIcon.numberForeground": "#cacde2",
//"symbolIcon.objectForeground": "#cacde2",
//"symbolIcon.operatorForeground": "#cacde2",
//"symbolIcon.packageForeground": "#cacde2",
//"symbolIcon.propertyForeground": "#cacde2",
//"symbolIcon.referenceForeground": "#cacde2",
//"symbolIcon.snippetForeground": "#cacde2",
//"symbolIcon.stringForeground": "#cacde2",
//"symbolIcon.structForeground": "#cacde2",
//"symbolIcon.textForeground": "#cacde2",
//"symbolIcon.typeParameterForeground": "#cacde2",
//"symbolIcon.unitForeground": "#cacde2",
//"symbolIcon.variableForeground": "#75beff",
//"tab.activeBackground": "#111720",
//"tab.inactiveModifiedBorder": "#7e899580",
//"tab.lastPinnedBorder": "#585858",
//"tab.unfocusedActiveBackground": "#111720",
//"tab.unfocusedActiveModifiedBorder": "#7e899580",
//"tab.unfocusedInactiveBackground": "#111720",
//"tab.unfocusedInactiveForeground": "#7e899580",
//"tab.unfocusedInactiveModifiedBorder": "#7e899540",
//"terminal.border": "#111720",
//"terminal.dropBackground": "#53595d80",
//"terminal.foreground": "#cccccc",
//"terminal.selectionBackground": "#ffffff40",
//"terminal.tab.activeBorder": "#d19a66",
//"testing.iconErrored": "#f14c4c",
//"testing.iconFailed": "#f14c4c",
//"testing.iconPassed": "#73c991",
//"testing.iconQueued": "#cca700",
//"testing.iconSkipped": "#848484",
//"testing.iconUnset": "#848484",
//"testing.message.error.decorationForeground": "#fb718540",
//"testing.message.error.lineBackground": "#ff000033",
//"testing.message.info.decorationForeground": "#cacde280",
//"testing.peekBorder": "#fb718540",
//"testing.peekHeaderBackground": "#fb718506",
//"testing.runAction": "#73c991",
//"textBlockQuote.background": "#7f7f7f1a",
//"textBlockQuote.border": "#007acc80",
//"textSeparator.foreground": "#ffffff2e",
//"toolbar.activeBackground": "#00131d50",
//"tree.indentGuidesStroke": "#585858",
//"tree.tableColumnsBorder": "#cccccc20",
//"welcomePage.progress.background": "#00111a50",
//"welcomePage.progress.foreground": "#54bef2",
//"welcomePage.tileBackground": "#111720",
//"welcomePage.tileHoverBackground": "#141c26",
//"welcomePage.tileShadow.": "#00111a10",
//"activityBar.activeBackground": null,
//"activityBar.activeFocusBorder": null,
//"contrastActiveBorder": null,
//"contrastBorder": null,
//"debugToolBar.border": null,
//"diffEditor.border": null,
//"diffEditor.insertedTextBorder": null,
//"diffEditor.removedTextBorder": null,
//"dropdown.listBackground": null,
//"editor.findRangeHighlightBorder": null,
//"editor.rangeHighlightBorder": null,
//"editor.selectionForeground": null,
//"editor.selectionHighlightBorder": null,
//"editor.snippetFinalTabstopHighlightBackground": null,
//"editor.snippetTabstopHighlightBorder": null,
//"editor.symbolHighlightBorder": null,
//"editor.wordHighlightBorder": null,
//"editor.wordHighlightStrongBorder": null,
//"editorCursor.background": null,
//"editorError.background": null,
//"editorError.border": null,
//"editorGhostText.border": null,
//"editorGroup.background": null,
//"editorGroup.emptyBackground": null,
//"editorGroup.focusedEmptyBorder": null,
//"editorGroupHeader.border": null,
//"editorGroupHeader.tabsBorder": null,
//"editorHint.border": null,
//"editorInfo.background": null,
//"editorInfo.border": null,
//"editorUnnecessaryCode.border": null,
//"editorWarning.background": null,
//"editorWarning.border": null,
//"inputValidation.errorForeground": null,
//"inputValidation.infoForeground": null,
//"inputValidation.warningForeground": null,
//"list.inactiveFocusBackground": null,
//"list.inactiveFocusOutline": null,
//"list.inactiveSelectionIconForeground": null,
//"menu.border": null,
//"menu.selectionBorder": null,
//"menubar.selectionBorder": null,
//"merge.border": null,
//"minimap.background": null,
//"notebook.cellHoverBackground": null,
//"notebook.focusedCellBackground": null,
//"notebook.inactiveSelectedCellBorder": null,
//"notebook.outputContainerBackgroundColor": null,
//"notificationCenter.border": null,
//"notificationToast.border": null,
//"panelInput.border": null,
//"panelSectionHeader.border": null,
//"panelSectionHeader.foreground": null,
//"peekViewEditor.matchHighlightBorder": null,
//"quickInput.list.focusBackground": null,
//"tab.activeBorderTop": null,
//"tab.hoverBackground": null,
//"tab.hoverBorder": null,
//"tab.hoverForeground": null,
//"tab.unfocusedActiveBorderTop": null,
//"tab.unfocusedHoverBackground": null,
//"tab.unfocusedHoverBorder": null,
//"tab.unfocusedHoverForeground": null,
//"terminal.background": null,
//"testing.message.info.lineBackground": null,
//"toolbar.hoverOutline": null,
//"walkThrough.embeddedEditorBackground": null,
//"welcomePage.background": null,
//"welcomePage.buttonBackground": null,
//"welcomePage.buttonHoverBackground": null,
//"window.activeBorder": null,
//"window.inactiveBorder": null
};
//# sourceMappingURL=ocean.js.map

View File

@@ -0,0 +1,142 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = {
'activityBar.background': '#282c34',
'activityBar.foreground': '#d7dae0',
'activityBarBadge.background': '#4d78cc',
'activityBarBadge.foreground': '#f8fafd',
'badge.background': '#282c34',
'button.background': '#404754',
'button.secondaryBackground': '#30333d',
'button.secondaryForeground': '#c0bdbd',
'checkbox.border': '#404754',
'debugToolBar.background': '#21252b',
descriptionForeground: '#abb2bf',
'diffEditor.insertedTextBackground': '#00809b33',
'dropdown.background': '#21252b',
'dropdown.border': '#21252b',
'editor.background': '#282c34',
'editor.findMatchBackground': '#42557b',
'editor.findMatchBorder': '#457dff',
'editor.findMatchHighlightBackground': '#6199ff2f',
'editor.foreground': '#abb2bf',
'editorHoverWidget.highlightForeground': '#61afef',
'editorInlayHint.foreground': '#abb2bf',
'editorInlayHint.background': '#2c313c',
'editor.lineHighlightBackground': '#2c313c',
'editorLineNumber.activeForeground': '#abb2bf',
'editorGutter.addedBackground': '#109868',
'editorGutter.deletedBackground': '#9A353D',
'editorGutter.modifiedBackground': '#948B60',
'editorOverviewRuler.addedBackground': '#109868',
'editorOverviewRuler.deletedBackground': '#9A353D',
'editorOverviewRuler.modifiedBackground': '#948B60',
'editor.selectionBackground': '#67769660',
'editor.selectionHighlightBackground': '#ffffff10',
'editor.selectionHighlightBorder': '#dddddd',
'editor.wordHighlightBackground': '#d2e0ff2f',
'editor.wordHighlightBorder': '#7f848e',
'editor.wordHighlightStrongBackground': '#abb2bf26',
'editor.wordHighlightStrongBorder': '#7f848e',
'editorActiveLineNumber.foreground': '#737984',
'editorBracketMatch.background': '#515a6b',
'editorBracketMatch.border': '#515a6b',
'editorCursor.background': '#ffffffc9',
'editorCursor.foreground': '#528bff',
'editorError.foreground': '#c24038',
'editorGroup.background': '#181a1f',
'editorGroup.border': '#181a1f',
'editorGroupHeader.tabsBackground': '#21252b',
'editorHoverWidget.background': '#21252b',
'editorHoverWidget.border': '#181a1f',
'editorIndentGuide.activeBackground': '#c8c8c859',
'editorIndentGuide.background': '#3b4048',
'editorLineNumber.foreground': '#495162',
'editorMarkerNavigation.background': '#21252b',
'editorRuler.foreground': '#abb2bf26',
'editorSuggestWidget.background': '#21252b',
'editorSuggestWidget.border': '#181a1f',
'editorSuggestWidget.selectedBackground': '#2c313a',
'editorWarning.foreground': '#d19a66',
'editorWhitespace.foreground': '#3b4048',
'editorWidget.background': '#21252b',
focusBorder: '#3e4452',
'gitDecoration.ignoredResourceForeground': '#636b78',
'input.background': '#1d1f23',
'list.activeSelectionBackground': '#2c313a',
'list.activeSelectionForeground': '#d7dae0',
'list.focusBackground': '#323842',
'list.focusForeground': '#f0f0f0',
'list.highlightForeground': '#c5c5c5',
'list.hoverBackground': '#2c313a',
'list.hoverForeground': '#fff',
'list.inactiveSelectionBackground': '#323842',
'list.inactiveSelectionForeground': '#d7dae0',
'list.warningForeground': '#d19a66',
'menu.foreground': '#abb2bf',
'menu.separatorBackground': '#343a45',
'minimapGutter.addedBackground': '#109868',
'minimapGutter.deletedBackground': '#9A353D',
'minimapGutter.modifiedBackground': '#948B60',
"panel.border": "#3e4452",
'panelSectionHeader.background': '#21252b',
'peekViewEditor.background': '#1b1d23',
'peekViewEditor.matchHighlightBackground': '#29244b',
'peekViewResult.background': '#22262b',
'scrollbar.shadow': '#23252c',
'scrollbarSlider.activeBackground': '#747d9180',
'scrollbarSlider.background': '#4e566660',
'scrollbarSlider.hoverBackground': '#5a637580',
'settings.focusedRowBackground': '#282c34',
'settings.headerForeground': '#fff',
'sideBar.background': '#21252b',
'sideBar.foreground': '#abb2bf',
'sideBarSectionHeader.background': '#282c34',
'sideBarSectionHeader.foreground': '#abb2bf',
'statusBar.background': '#21252b',
'statusBar.debuggingBackground': '#cc6633',
'statusBar.debuggingBorder': '#66017a',
'statusBar.debuggingForeground': '#ffffff',
'statusBar.foreground': '#9da5b4',
'statusBar.noFolderBackground': '#21252b',
'statusBarItem.hoverBackground': '#2c313a',
'statusBarItem.remoteBackground': '#4d78cc',
'statusBarItem.remoteForeground': '#f8fafd',
'tab.activeBackground': '#282c34',
'tab.activeForeground': '#dcdcdc',
'tab.border': '#181a1f',
'tab.hoverBackground': '#323842',
'tab.inactiveBackground': '#21252b',
'tab.unfocusedHoverBackground': '#323842',
'terminal.ansiBlack': '#3f4451',
'terminal.ansiBlue': '#4aa5f0',
'terminal.ansiBrightBlack': '#4f5666',
'terminal.ansiBrightBlue': '#4dc4ff',
'terminal.ansiBrightCyan': '#4cd1e0',
'terminal.ansiBrightGreen': '#a5e075',
'terminal.ansiBrightMagenta': '#de73ff',
'terminal.ansiBrightRed': '#ff616e',
'terminal.ansiBrightWhite': '#d7dae0',
'terminal.ansiBrightYellow': '#f0a45d',
'terminal.ansiCyan': '#42b3c2',
'terminal.ansiGreen': '#8cc265',
'terminal.ansiMagenta': '#c162de',
'terminal.ansiRed': '#e05561',
'terminal.ansiWhite': '#e6e6e6',
'terminal.ansiYellow': '#d18f52',
'terminal.background': '#282c34',
'terminal.border': '#3e4452',
'terminal.foreground': '#abb2bf',
'terminal.selectionBackground': '#abb2bf30',
'textBlockQuote.background': '#2e3440',
'textBlockQuote.border': '#4b5362',
'textLink.foreground': '#61afef',
'textPreformat.foreground': '#d19a66',
'titleBar.activeBackground': '#282c34',
'titleBar.activeForeground': '#9da5b4',
'titleBar.inactiveBackground': '#21252b',
'titleBar.inactiveForeground': '#6b717d',
'walkThrough.embeddedEditorBackground': '#2e3440',
'welcomePage.buttonHoverBackground': '#404754',
};
//# sourceMappingURL=oneDarkPro.js.map

View File

@@ -0,0 +1,142 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = {
'activityBar.background': '#23272e',
'activityBar.foreground': '#d7dae0',
'activityBarBadge.background': '#4d78cc',
'activityBarBadge.foreground': '#f8fafd',
'badge.background': '#23272e',
'button.background': '#404754',
'button.secondaryBackground': '#30333d',
'button.secondaryForeground': '#c0bdbd',
'checkbox.border': '#404754',
'debugToolBar.background': '#1e2227',
descriptionForeground: '#abb2bf',
'diffEditor.insertedTextBackground': '#00809b33',
'dropdown.background': '#1e2227',
'dropdown.border': '#1e2227',
'editor.background': '#23272e',
'editor.findMatchBackground': '#42557b',
'editor.findMatchBorder': '#457dff',
'editor.findMatchHighlightBackground': '#6199ff2f',
'editor.foreground': '#abb2bf',
'editorHoverWidget.highlightForeground': '#61afef',
"editorInlayHint.foreground": "#abb2bf",
"editorInlayHint.background": "#2c313c",
'editor.lineHighlightBackground': '#2c313c',
'editorLineNumber.activeForeground': '#abb2bf',
'editorGutter.addedBackground': '#109868',
'editorGutter.deletedBackground': '#9A353D',
'editorGutter.modifiedBackground': '#948B60',
'editorOverviewRuler.addedBackground': '#109868',
'editorOverviewRuler.deletedBackground': '#9A353D',
'editorOverviewRuler.modifiedBackground': '#948B60',
'editor.selectionBackground': '#67769660',
'editor.selectionHighlightBackground': '#ffffff10',
'editor.selectionHighlightBorder': '#dddddd',
'editor.wordHighlightBackground': '#d2e0ff2f',
'editor.wordHighlightBorder': '#7f848e',
'editor.wordHighlightStrongBackground': '#abb2bf26',
'editor.wordHighlightStrongBorder': '#7f848e',
'editorActiveLineNumber.foreground': '#737984',
'editorBracketMatch.background': '#515a6b',
'editorBracketMatch.border': '#515a6b',
'editorCursor.background': '#ffffffc9',
'editorCursor.foreground': '#528bff',
'editorError.foreground': '#c24038',
'editorGroup.background': '#181a1f',
'editorGroup.border': '#181a1f',
'editorGroupHeader.tabsBackground': '#1e2227',
'editorHoverWidget.background': '#1e2227',
'editorHoverWidget.border': '#181a1f',
'editorIndentGuide.activeBackground': '#c8c8c859',
'editorIndentGuide.background': '#3b4048',
'editorLineNumber.foreground': '#495162',
'editorMarkerNavigation.background': '#1e2227',
'editorRuler.foreground': '#abb2bf26',
'editorSuggestWidget.background': '#1e2227',
'editorSuggestWidget.border': '#181a1f',
'editorSuggestWidget.selectedBackground': '#2c313a',
'editorWarning.foreground': '#d19a66',
'editorWhitespace.foreground': '#3b4048',
'editorWidget.background': '#1e2227',
focusBorder: '#3e4452',
'gitDecoration.ignoredResourceForeground': '#636b78',
'input.background': '#1d1f23',
'list.activeSelectionBackground': '#2c313a',
'list.activeSelectionForeground': '#d7dae0',
'list.focusBackground': '#323842',
'list.focusForeground': '#f0f0f0',
'list.highlightForeground': '#c5c5c5',
'list.hoverBackground': '#2c313a',
'list.hoverForeground': '#fff',
'list.inactiveSelectionBackground': '#323842',
'list.inactiveSelectionForeground': '#d7dae0',
'list.warningForeground': '#d19a66',
'menu.foreground': '#abb2bf',
'menu.separatorBackground': '#343a45',
'minimapGutter.addedBackground': '#109868',
'minimapGutter.deletedBackground': '#9A353D',
'minimapGutter.modifiedBackground': '#948B60',
"panel.border": "#3e4452",
'panelSectionHeader.background': '#1e2227',
'peekViewEditor.background': '#1b1d23',
'peekViewEditor.matchHighlightBackground': '#29244b',
'peekViewResult.background': '#22262b',
'scrollbar.shadow': '#23252c',
'scrollbarSlider.activeBackground': '#747d9180',
'scrollbarSlider.background': '#4e566660',
'scrollbarSlider.hoverBackground': '#5a637580',
'settings.focusedRowBackground': '#23272e',
'settings.headerForeground': '#fff',
'sideBar.background': '#1e2227',
'sideBar.foreground': '#abb2bf',
'sideBarSectionHeader.background': '#23272e',
'sideBarSectionHeader.foreground': '#abb2bf',
'statusBar.background': '#1e2227',
'statusBar.debuggingBackground': '#cc6633',
'statusBar.debuggingBorder': '#66017a',
'statusBar.debuggingForeground': '#ffffff',
'statusBar.foreground': '#9da5b4',
'statusBar.noFolderBackground': '#1e2227',
'statusBarItem.hoverBackground': '#2c313a',
'statusBarItem.remoteBackground': '#4d78cc',
'statusBarItem.remoteForeground': '#f8fafd',
'tab.activeBackground': '#23272e',
'tab.activeForeground': '#dcdcdc',
'tab.border': '#181a1f',
'tab.hoverBackground': '#323842',
'tab.inactiveBackground': '#1e2227',
'tab.unfocusedHoverBackground': '#323842',
'terminal.ansiBlack': '#3f4451',
'terminal.ansiBlue': '#4aa5f0',
'terminal.ansiBrightBlack': '#4f5666',
'terminal.ansiBrightBlue': '#4dc4ff',
'terminal.ansiBrightCyan': '#4cd1e0',
'terminal.ansiBrightGreen': '#a5e075',
'terminal.ansiBrightMagenta': '#de73ff',
'terminal.ansiBrightRed': '#ff616e',
'terminal.ansiBrightWhite': '#d7dae0',
'terminal.ansiBrightYellow': '#f0a45d',
'terminal.ansiCyan': '#42b3c2',
'terminal.ansiGreen': '#8cc265',
'terminal.ansiMagenta': '#c162de',
'terminal.ansiRed': '#e05561',
'terminal.ansiWhite': '#e6e6e6',
'terminal.ansiYellow': '#d18f52',
'terminal.background': '#23272e',
"terminal.border": "#3e4452",
'terminal.foreground': '#abb2bf',
'terminal.selectionBackground': '#abb2bf30',
'textBlockQuote.background': '#2e3440',
'textBlockQuote.border': '#4b5362',
'textLink.foreground': '#61afef',
'textPreformat.foreground': '#d19a66',
'titleBar.activeBackground': '#23272e',
'titleBar.activeForeground': '#9da5b4',
'titleBar.inactiveBackground': '#1e2227',
'titleBar.inactiveForeground': '#6b717d',
'walkThrough.embeddedEditorBackground': '#2e3440',
'welcomePage.buttonHoverBackground': '#404754',
};
//# sourceMappingURL=oneDarkProDarker.js.map

View File

@@ -0,0 +1,166 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = {
'activityBar.background': '#282c34',
'activityBar.foreground': '#c7ccd6',
'activityBarBadge.background': '#21252b',
'activityBarBadge.foreground': '#f8fafd',
'badge.background': '#21252b',
'breadcrumbPicker.background': '#21252b',
'button.background': '#404754',
'button.secondaryBackground': '#30333d',
'button.secondaryForeground': '#c0bdbd',
'checkbox.border': '#404754',
'debugToolBar.background': '#21252b',
descriptionForeground: '#abb2bf',
'diffEditor.insertedTextBackground': '#00809b33',
'dropdown.background': '#21252b',
'dropdown.border': '#21252b',
'dropdown.listBackground': '#21252b',
'editor.background': '#282c34',
'editor.findMatchBackground': '#42557b',
'editor.findMatchBorder': '#457dff',
'editor.findMatchHighlightBackground': '#6199ff2f',
'editor.foreground': '#abb2bf',
'editorHoverWidget.highlightForeground': '#61afef',
'editorInlayHint.foreground': '#abb2bf',
'editorInlayHint.background': '#2c313c',
'editor.lineHighlightBackground': '#2c313c',
'editorLineNumber.activeForeground': '#abb2bf',
'editorGutter.addedBackground': '#109868',
'editorGutter.deletedBackground': '#9A353D',
'editorGutter.modifiedBackground': '#948B60',
'editorOverviewRuler.addedBackground': '#109868',
'editorOverviewRuler.deletedBackground': '#9A353D',
'editorOverviewRuler.modifiedBackground': '#948B60',
'editor.selectionBackground': '#67769660',
'editor.selectionHighlightBackground': '#404859',
'editor.selectionHighlightBorder': '#404859',
'editor.wordHighlightBackground': '#d2e0ff2f',
'editor.wordHighlightBorder': '#7f848e',
'editor.wordHighlightStrongBackground': '#abb2bf26',
'editor.wordHighlightStrongBorder': '#7f848e',
'editorActiveLineNumber.foreground': '#737984',
'editorBracketMatch.background': '#515a6b',
'editorBracketMatch.border': '#515a6b',
'editorCursor.background': '#ffffffc9',
'editorCursor.foreground': '#f0f0f0',
'editorError.foreground': '#c24038',
'editorGroup.background': '#181a1f',
'editorGroup.border': '#23252c',
'editorGroup.emptyBackground': '#282c34',
'editorGroupHeader.tabsBackground': '#282c34',
'editorHoverWidget.background': '#21252b',
'editorHoverWidget.border': '#181a1f',
'editorIndentGuide.activeBackground': '#495169',
'editorIndentGuide.background': '#343a45',
'editorLineNumber.foreground': '#495162',
'editorLink.activeForeground': '#f0f0f0',
'editorMarkerNavigation.background': '#21252b',
'editorOverviewRuler.border': '#282c34',
'editorRuler.foreground': '#abb2bf26',
'editorSuggestWidget.background': '#21252b',
'editorSuggestWidget.border': '#181a1f',
'editorSuggestWidget.selectedBackground': '#2c313a',
'editorWarning.foreground': '#d19a66',
'editorWhitespace.foreground': '#3b4048',
'editorWidget.background': '#21252b',
focusBorder: '#3e4452',
'gitDecoration.ignoredResourceForeground': '#636b78',
'input.background': '#21252b',
'list.activeSelectionBackground': '#2c313a',
'list.activeSelectionForeground': '#d7dae0',
'list.focusBackground': '#323842',
'list.focusForeground': '#f0f0f0',
'list.highlightForeground': '#c5c5c5',
'list.hoverBackground': '#2c313a',
'list.hoverForeground': '#abb2bf',
'list.inactiveSelectionBackground': '#323842',
'list.inactiveSelectionForeground': '#d7dae0',
'list.warningForeground': '#d19a66',
'listFilterWidget.background': '#21252b',
'menu.foreground': '#abb2bf',
'menu.separatorBackground': '#343a45',
'menubar.selectionBackground': '#323842',
'menubar.selectionForeground': '#f0f0f0',
'minimapGutter.addedBackground': '#109868',
'minimapGutter.deletedBackground': '#9A353D',
'minimapGutter.modifiedBackground': '#948B60',
'notificationLink.foreground': '#f0f0f0',
'notifications.foreground': '#969aa4',
'panel.background': '#282c34',
'panel.border': '#3e4452',
'panelInput.border': '#23252c',
'panelSection.dropBackground': '#323842a8',
'panelSectionHeader.background': '#21252b',
'panelTitle.activeBorder': '#f0f0f0',
'panelTitle.activeForeground': '#f0f0f0',
'panelTitle.inactiveForeground': '#abb2bf',
'peekViewEditor.background': '#1b1d23',
'peekViewEditor.matchHighlightBackground': '#29244b',
'peekViewResult.background': '#22262b',
'progressBar.background': '#f0f0f0',
'scrollbar.shadow': '#23252c',
'scrollbarSlider.activeBackground': '#747d9180',
'scrollbarSlider.background': '#4e566660',
'scrollbarSlider.hoverBackground': '#5a637580',
'settings.focusedRowBackground': '#282c34',
'settings.headerForeground': '#fff',
'sideBar.background': '#282c34',
'sideBar.border': '#23252c',
'sideBar.dropBackground': '#323842a8',
'sideBar.foreground': '#969aa4',
'sideBarSectionHeader.background': '#282c34',
'sideBarSectionHeader.foreground': '#abb2bf',
'sideBarTitle.foreground': '#abb2bf',
'statusBar.background': '#282c34',
'statusBar.debuggingBackground': '#171c22',
'statusBar.debuggingBorder': '#171c22',
'statusBar.debuggingForeground': '#f0f0f0',
'statusBar.foreground': '#969aa4',
'statusBar.noFolderBackground': '#21252b',
'statusBarItem.hoverBackground': '#2c313a',
'statusBarItem.remoteBackground': '#282c34',
'statusBarItem.remoteForeground': '#f8fafd',
'tab.activeBackground': '#282c34',
'tab.activeBorder': '#f0f0f0',
'tab.activeForeground': '#dcdcdc',
'tab.border': '#282c34',
'tab.hoverBackground': '#323842',
'tab.inactiveBackground': '#282c34',
'tab.unfocusedHoverBackground': '#323842',
'terminal.ansiBlack': '#3f4451',
'terminal.ansiBlue': '#4aa5f0',
'terminal.ansiBrightBlack': '#4f5666',
'terminal.ansiBrightBlue': '#4dc4ff',
'terminal.ansiBrightCyan': '#4cd1e0',
'terminal.ansiBrightGreen': '#a5e075',
'terminal.ansiBrightMagenta': '#de73ff',
'terminal.ansiBrightRed': '#ff616e',
'terminal.ansiBrightWhite': '#d7dae0',
'terminal.ansiBrightYellow': '#f0a45d',
'terminal.ansiCyan': '#42b3c2',
'terminal.ansiGreen': '#8cc265',
'terminal.ansiMagenta': '#c162de',
'terminal.ansiRed': '#e05561',
'terminal.ansiWhite': '#e6e6e6',
'terminal.ansiYellow': '#d18f52',
'terminal.background': '#282c34',
'terminal.border': '#3e4452',
'terminal.foreground': '#abb2bf',
'terminal.selectionBackground': '#abb2bf30',
'textLink.activeForeground': '#f0f0f0',
'textBlockQuote.background': '#2e3440',
'textBlockQuote.border': '#4b5362',
'textLink.foreground': '#f0f0f0',
'textPreformat.foreground': '#d19a66',
'titleBar.activeBackground': '#282c34',
'titleBar.activeForeground': '#9da5b4',
'titleBar.inactiveBackground': '#21252b',
'titleBar.inactiveForeground': '#6b717d',
'tree.indentGuidesStroke': '#343a45',
'widget.shadow': '#23252c',
'walkThrough.embeddedEditorBackground': '#2e3440',
'welcomePage.buttonHoverBackground': '#404754',
};
//# sourceMappingURL=oneDarkProFlat.js.map

View File

@@ -0,0 +1,108 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = {
'activityBar.background': '#222223',
'activityBar.border': '#222223',
'activityBar.foreground': '#e6e6e6',
'activityBarBadge.background': '#19f9d8',
'activityBarBadge.foreground': '#242526',
'badge.background': '#6fc1ff',
'badge.foreground': '#676b79',
'button.background': '#45a9f9',
'button.foreground': '#ffffff',
'button.hoverBackground': '#676b79',
'diffEditor.insertedTextBackground': '#19f9d866',
'diffEditor.removedTextBackground': '#ff4b8266',
'editor.background': '#292a2b',
'editor.findMatchBackground': '#b084eb90',
'editor.findMatchHighlightBackground': '#ffb86c40',
'editor.foreground': '#abb2bf',
'editor.inactiveSelectionBackground': '#ffb86c40',
'editor.lineHighlightBackground': '#31353a',
'editor.selectionBackground': '#ffb86c40',
'editor.selectionHighlightBackground': '#ffb86c40',
'editor.wordHighlightBackground': '#ffcc9560',
'editor.wordHighlightStrongBackground': '#ff9ac170',
'editorBracketMatch.border': '#19f9d8',
'editorCodeLens.foreground': '#ffb86c40',
'editorCursor.foreground': '#ff4b82',
'editorError.border': '#ff4b82',
'editorError.foreground': '#ff4b82',
'editorGutter.addedBackground': '#19f9d8',
'editorGutter.deletedBackground': '#ff4b82',
'editorGutter.modifiedBackground': '#ffcc95',
'editorHoverWidget.background': '#31353a',
'editorOverviewRuler.addedForeground': '#19f9d8',
'editorOverviewRuler.border': '#00000000',
'editorOverviewRuler.deletedForeground': '#ff4b82',
'editorOverviewRuler.errorForeground': '#ff4b82',
'editorOverviewRuler.infoForeground': '#6fc1ff',
'editorOverviewRuler.modifiedForeground': '#ffcc95',
'editorOverviewRuler.warningForeground': '#ffcc95',
'editorRuler.foreground': '#b084eb60',
'editorSuggestWidget.selectedBackground': '#19f9d899',
'editorWarning.border': '#ffcc95',
'editorWarning.foreground': '#ffcc95',
'editorWhitespace.foreground': '#4e5260',
'editorWidget.background': '#2a2c2d',
'editorWidget.border': '#373b41',
errorForeground: '#ff4b82',
'extensionButton.prominentBackground': '#45a9f9',
'extensionButton.prominentForeground': '#ffffff',
'extensionButton.prominentHoverBackground': '#676b79',
foreground: '#e6e6e6',
'list.activeSelectionBackground': '#292a2b',
'list.activeSelectionForeground': '#19f9d8',
'list.focusBackground': '#292a2b',
'list.focusForeground': '#19f9d8',
'list.highlightForeground': '#6fc1ff',
'list.hoverBackground': '#292a2b',
'list.hoverForeground': '#cdcdcd',
'list.inactiveSelectionBackground': '#292a2b',
'list.inactiveSelectionForeground': '#19f9d8',
'merge.currentContentBackground': '#b084eb40',
'merge.currentHeaderBackground': '#b084eb90',
'merge.incomingContentBackground': '#ffb86c40',
'merge.incomingHeaderBackground': '#45a9f990',
'progressBar.background': '#b084eb',
'scrollbar.shadow': '#222223',
'scrollbarSlider.activeBackground': '#757575',
'scrollbarSlider.background': '#373b4199',
'scrollbarSlider.hoverBackground': '#757575',
'sideBar.background': '#242526',
'sideBar.border': '#222223',
'sideBar.foreground': '#bbbbbb',
'statusBar.background': '#222223',
'statusBar.debuggingBackground': '#b084eb',
'statusBar.debuggingForeground': '#e6e6e6',
'statusBar.foreground': '#e6e6e6',
'statusBar.noFolderBackground': '#242526',
'statusBar.noFolderForeground': '#e6e6e6',
'tab.activeBackground': '#292a2b',
'tab.activeBorder': '#19f9d8',
'tab.activeForeground': '#19f9d8',
'tab.inactiveBackground': '#242526',
'tab.inactiveForeground': '#e6e6e6',
'terminal.ansiBlue': '#45a9f9',
'terminal.ansiBrightBlack': '#757575',
'terminal.ansiBrightBlue': '#6fc1ff',
'terminal.ansiBrightCyan': '#bcaafe',
'terminal.ansiBrightGreen': '#19f9d8',
'terminal.ansiBrightMagenta': '#ff9ac1',
'terminal.ansiBrightRed': '#ff2c6d',
'terminal.ansiBrightWhite': '#e6e6e6',
'terminal.ansiBrightYellow': '#ffcc95',
'terminal.ansiCyan': '#b084eb',
'terminal.ansiGreen': '#19f9d8',
'terminal.ansiMagenta': '#ff75b5',
'terminal.ansiRed': '#ff2c6d',
'terminal.ansiWhite': '#cdcdcd',
'terminal.ansiYellow': '#ffb86c',
'terminalCursor.background': '#e6e6e6',
'terminalCursor.foreground': '#ff4b82',
'titleBar.activeBackground': '#242526',
'titleBar.activeForeground': '#e6e6e6',
'titleBar.inactiveBackground': '#242526',
'titleBar.inactiveForeground': '#e6e6e6',
};
//# sourceMappingURL=panda.js.map

View File

@@ -0,0 +1,187 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = {
"badge.background": "#282c34",
"button.background": "#404754",
"button.secondaryBackground": "#30333d",
"button.secondaryForeground": "#c0bdbd",
"checkbox.border": "#404754",
"descriptionForeground": "#abb2bf",
"diffEditor.insertedTextBackground": "#00809b33",
"editor.findMatchBorder": "#457dff",
"editor.findMatchHighlightBackground": "#6199ff2f",
"editorInlayHint.foreground": "#abb2bf",
"editorInlayHint.background": "#2c313c",
"editorLineNumber.activeForeground": "#abb2bf",
"editorOverviewRuler.addedBackground": "#109868",
"editorOverviewRuler.deletedBackground": "#9A353D",
"editorOverviewRuler.modifiedBackground": "#948B60",
"editor.selectionBackground": "#67769660",
"editor.selectionHighlightBackground": "#ffffff10",
"editor.selectionHighlightBorder": "#dddddd",
"editor.wordHighlightBackground": "#d2e0ff2f",
"editor.wordHighlightBorder": "#7f848e",
"editor.wordHighlightStrongBackground": "#abb2bf26",
"editor.wordHighlightStrongBorder": "#7f848e",
"editorActiveLineNumber.foreground": "#737984",
"editorBracketMatch.background": "#515a6b",
"editorCursor.background": "#ffffffc9",
"editorError.foreground": "#c24038",
"editorGroup.background": "#181a1f",
"editorMarkerNavigation.background": "#21252b",
"editorSuggestWidget.border": "#181a1f",
"list.activeSelectionBackground": "#2c313a",
"list.activeSelectionForeground": "#d7dae0",
"list.focusBackground": "#323842",
"list.focusForeground": "#f0f0f0",
"list.hoverBackground": "#2c313a",
"list.hoverForeground": "#fff",
"list.inactiveSelectionBackground": "#323842",
"list.inactiveSelectionForeground": "#d7dae0",
"list.warningForeground": "#d19a66",
"menu.foreground": "#abb2bf",
"minimapGutter.deletedBackground": "#9A353D",
"panelSectionHeader.background": "#21252b",
"peekViewEditor.matchHighlightBackground": "#29244b",
"scrollbarSlider.activeBackground": "#747d9180",
"settings.focusedRowBackground": "#282c34",
"settings.headerForeground": "#fff",
"sideBar.foreground": "#abb2bf",
"statusBar.debuggingBorder": "#66017a",
"statusBar.debuggingForeground": "#ffffff",
"statusBar.foreground": "#9da5b4",
"statusBar.noFolderBackground": "#21252b",
"statusBarItem.remoteBackground": "#4d78cc",
"statusBarItem.remoteForeground": "#f8fafd",
"tab.unfocusedHoverBackground": "#323842",
"terminal.ansiBrightYellow": "#f0a45d",
"terminal.ansiYellow": "#d18f52",
"textBlockQuote.background": "#2e3440",
"textBlockQuote.border": "#4b5362",
"textPreformat.foreground": "#d19a66",
"walkThrough.embeddedEditorBackground": "#2e3440",
"welcomePage.buttonHoverBackground": "#404754",
"foreground": "#74819B",
"widget.shadow": "#000000",
"input.background": "#0b1015",
"input.border": "#18222D",
"button.hoverBackground": "#18222D",
"scrollbar.shadow": "#00000026",
"scrollbarSlider.background": "#18222D",
"scrollbarSlider.hoverBackground": "#22303Eff",
"editorOverviewRuler.border": "#0b1015",
"editor.background": "#0b1015",
"editor.foreground": "#c7d0d9",
"editorWidget.background": "#0b1015",
"editor.findMatchBackground": "#18222D",
"editor.lineHighlightBorder": "#18222D",
"editor.lineHighlightBackground": "#18222D",
"editorLineNumber.foreground": "#3A3E46",
"editorBracketMatch.border": "#74819B",
"editorGutter.deletedBackground": "#EF596F",
"editorCursor.foreground": "#ffffff",
"editorWhitespace.foreground": "#18222D",
"editorIndentGuide.background": "#18222D",
"editorIndentGuide.activeBackground": "#4B5567",
"editorRuler.foreground": "#18222D",
"editorGroupHeader.tabsBackground": "#0b1015",
"editorGroupHeader.noTabsBackground": "#0b1015",
"editorGroup.border": "#0b1015",
"editorSuggestWidget.background": "#0b1015",
"editorSuggestWidget.selectedBackground": "#18222D",
"editorHoverWidget.background": "#0b1015",
"tab.activeBackground": "#151e27",
"tab.inactiveBackground": "#0b1015",
"tab.border": "#0b1015",
"tab.activeForeground": "#00FF1B",
"tab.inactiveForeground": "#74819B",
"tab.unfocusedActiveBorder": "#0b1015",
"tab.hoverBackground": "#18222D",
"tab.activeBorder": "#00FF1B",
"panel.background": "#0b1015",
"panel.border": "#00FF1B",
"panelTitle.activeForeground": "#ffffff",
"panelTitle.inactiveForeground": "#74819B",
"statusBar.debuggingBackground": "#0b1015",
"activityBar.background": "#0b1015",
"activityBarBadge.foreground": "#000000",
"sideBar.background": "#0b1015",
"sideBarSectionHeader.foreground": "#FFFFFF",
"sideBarSectionHeader.background": "#0b1015",
"sideBar.border": "#00FF1B",
"sideBarSectionHeader.border": "#00ff1a56",
"titleBar.border": "#00FF1B",
"titleBar.activeForeground": "#00FF1B",
"titleBar.inactiveBackground": "#0b1015",
"titleBar.inactiveForeground": "#ffffff66",
"titleBar.activeBackground": "#0b1015",
"menubar.selectionBackground": "#6161618b",
"menu.separatorBackground": "#00FF1B",
"menu.selectionBackground": "#6161618b",
"debugToolBar.background": "#0b1015",
"dropdown.background": "#0b1015",
"dropdown.border": "#18222D",
"peekViewEditor.background": "#18222D",
"peekViewResult.background": "#18222D",
"peekViewResult.selectionBackground": "#18222D",
"peekViewTitle.background": "#18222D",
"peekViewTitleLabel.foreground": "#ffffff",
"notifications.border": "#18222D",
"notificationCenterHeader.background": "#18222D",
"notificationCenterHeader.foreground": "#eeeeee",
"notifications.background": "#18222D",
"notifications.foreground": "#eeeeee",
"notificationToast.border": "#18222D",
"gitDecoration.modifiedResourceForeground": "#08f758",
"gitDecoration.deletedResourceForeground": "#EF596F",
"gitDecoration.untrackedResourceForeground": "#11eb73",
"gitDecoration.ignoredResourceForeground": "#00B7C9",
"gitDecoration.conflictingResourceForeground": "#d55fde",
"focusBorder": "#00FF1B",
"activityBar.foreground": "#00FF1B",
"activityBar.inactiveForeground": "#ffffff66",
"activityBarBadge.background": "#00FF1B",
"activityBar.border": "#00FF1B",
"list.highlightForeground": "#00FF1B",
"textLink.foreground": "#00FF1B",
"editorWarning.foreground": "#329e24",
"editorGutter.modifiedBackground": "#00FF1B",
"editorGutter.addedBackground": "#329e24",
"progressBar.background": "#00FF1B",
"notificationsWarningIcon.foreground": "#cca700",
"editorMarkerNavigationWarning.background": "#329e24",
"editorHoverWidget.border": "#00FF1B",
"peekView.border": "#00FF1B",
"minimapGutter.addedBackground": "#329e24",
"minimapGutter.modifiedBackground": "#00FF1B",
"minimap.warningHighlight": "#329e24",
"minimapSlider.hoverBackground": "#9996969d",
"minimapSlider.activeBackground": "#bbb9b99d",
"minimapSlider.background": "#7e7e7e9d",
"terminal.foreground": "#cccccc",
"terminal.selectionBackground": "#ffffff40",
"terminalCursor.background": "#0d715fd1",
"terminalCursor.foreground": "#ffffff",
"terminal.border": "#80808059",
"terminal.ansiBlack": "#000000",
"terminal.ansiBlue": "#2472c8",
"terminal.ansiBrightBlack": "#666666",
"terminal.ansiBrightBlue": "#3b8eea",
"terminal.ansiBrightCyan": "#29b8db",
"terminal.ansiBrightGreen": "#23d18b",
"terminal.ansiBrightMagenta": "#c682ff",
"terminal.ansiBrightRed": "#64B5F6",
"terminal.ansiBrightWhite": "#e5e5e5",
"terminal.ansiBright45BD45": "#c7c531",
"terminal.ansiCyan": "#11a8cd",
"terminal.ansiGreen": "#21a771",
"terminal.ansiMagenta": "#aa76d5",
"terminal.ansiRed": "#b83360",
"terminal.ansiWhite": "#e5e5e5",
"terminal.ansi45BD45": "#329e24",
"terminal.background": "#0b1015",
"statusBarItem.hoverBackground": "#00ff2634",
"statusBar.border": "#00FF1B",
"statusBar.background": "#0b1015"
};
//# sourceMappingURL=retro.js.map

View File

@@ -0,0 +1,114 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = {
'activityBar.background': '#222222',
'activityBar.foreground': '#dcdcdc',
'activityBarBadge.background': '#4d78cc',
'activityBarBadge.foreground': '#f3f3f3',
'badge.background': '#222222',
'button.background': '#404754',
'debugToolBar.background': '#222222',
'diffEditor.insertedTextBackground': '#00809b33',
'dropdown.background': '#1f1f1f',
'dropdown.border': '#1e1e1e',
'editor.background': '#1e1e1e',
'editor.findMatchBackground': '#555555',
'editor.findMatchBorder': '#555555',
'editor.findMatchHighlightBackground': '#444444',
'editor.foreground': '#cccccc',
'editor.lineHighlightBackground': '#2c2c2c',
'editorLineNumber.activeForeground': '#ababab',
'editorGutter.addedBackground': '#109868',
'editorGutter.deletedBackground': '#9A353D',
'editorGutter.modifiedBackground': '#948B60',
'editor.selectionBackground': '#3e3e3e',
'editor.selectionHighlightBackground': '#ffffff10',
'editor.selectionHighlightBorder': '#acacac',
'editor.wordHighlightBackground': '#dcdcdc2f',
'editor.wordHighlightBorder': '#848484',
'editor.wordHighlightStrongBackground': '#ababab26',
'editor.wordHighlightStrongBorder': '#848484',
'editorActiveLineNumber.foreground': '#ababab',
'editorBracketMatch.background': '#555555',
'editorBracketMatch.border': '#555555',
'editorCursor.background': '#ffffffc9',
'editorCursor.foreground': '#528bff',
'editorError.foreground': '#c53f46',
'editorGroup.background': '#1e1e1e',
'editorGroup.border': '#1e1e1e',
'editorGroupHeader.tabsBackground': '#222222',
'editorHoverWidget.background': '#222222',
'editorHoverWidget.border': '#1e1e1e',
'editorIndentGuide.activeBackground': '#c8c8c859',
'editorIndentGuide.background': '#454545',
'editorLineNumber.foreground': '#555555',
'editorMarkerNavigation.background': '#222222',
'editorRuler.foreground': '#484848',
'editorSuggestWidget.background': '#222222',
'editorSuggestWidget.border': '#1e1e1e',
'editorSuggestWidget.selectedBackground': '#2c2c2c',
'editorWarning.foreground': '#d19a66',
'editorWhitespace.foreground': '#454545',
'editorWidget.background': '#2c2c2c',
focusBorder: '#464646',
'input.background': '#1d1d1d',
'list.activeSelectionBackground': '#3c3c3c',
'list.activeSelectionForeground': '#dedede',
'list.focusBackground': '#3c3c3c',
'list.highlightForeground': '#c5c5c5',
'list.hoverBackground': '#333333',
'list.inactiveSelectionBackground': '#3c3c3c',
'list.inactiveSelectionForeground': '#d7d7d7',
'list.warningForeground': '#d19a66',
'menu.foreground': '#c8c8c8',
'menu.background': '#3c3c3c',
'panelSectionHeader.background': '#222222',
'peekViewEditor.background': '#222222',
'peekViewEditor.matchHighlightBackground': '#292929',
'peekViewResult.background': '#222222',
'scrollbarSlider.activeBackground': '#89898980',
'scrollbarSlider.background': '#55555580',
'scrollbarSlider.hoverBackground': '#5a5a5a80',
'sideBar.background': '#1e1e1e',
'sideBarSectionHeader.background': '#2c2c2c',
'statusBar.background': '#222222',
'statusBar.debuggingBorder': '#222222',
'statusBar.debuggingForeground': '#ececec',
'statusBar.foreground': '#ececec',
'statusBar.noFolderBackground': '#222222',
'statusBarItem.hoverBackground': '#353535',
'statusBarItem.remoteBackground': '#4d78cc',
'statusBarItem.remoteForeground': '#f8fafd',
'tab.activeBackground': '#454545',
'tab.activeForeground': '#dcdcdc',
'tab.border': '#2a2a2a',
'tab.hoverBackground': '#565656',
'tab.inactiveBackground': '#2c2c2c',
'tab.unfocusedHoverBackground': '#2c2c2c',
'terminal.ansiBlack': '#313131',
'terminal.ansiBlue': '#4aa5f0',
'terminal.ansiBrightBlack': '#4f5666',
'terminal.ansiBrightBlue': '#4dc4ff',
'terminal.ansiBrightCyan': '#4cd1e0',
'terminal.ansiBrightGreen': '#a5e075',
'terminal.ansiBrightMagenta': '#de73ff',
'terminal.ansiBrightRed': '#ff616e',
'terminal.ansiBrightWhite': '#d7dae0',
'terminal.ansiBrightYellow': '#f0a45d',
'terminal.ansiCyan': '#42b3c2',
'terminal.ansiGreen': '#8cc265',
'terminal.ansiMagenta': '#c162de',
'terminal.ansiRed': '#e05561',
'terminal.ansiWhite': '#e6e6e6',
'terminal.ansiYellow': '#d18f52',
'terminal.background': '#1e1e1e',
'terminal.border': '#222222',
'terminal.foreground': '#cccccc',
'terminal.selectionBackground': '#ababab30',
'textLink.foreground': '#61afef',
'titleBar.activeBackground': '#282828',
'titleBar.activeForeground': '#a5a5a5',
'titleBar.inactiveBackground': '#272727',
'titleBar.inactiveForeground': '#757575',
};
//# sourceMappingURL=shadow.js.map

View File

@@ -0,0 +1,92 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = {
'activityBar.background': '#003847',
'badge.background': '#047aa6',
'button.background': '#2aa19899',
'debugExceptionWidget.background': '#00212b',
'debugExceptionWidget.border': '#ab395b',
'debugToolBar.background': '#00212b',
'dropdown.background': '#00212b',
'dropdown.border': '#2aa19899',
'editor.background': '#002b36',
'editor.foreground': '#abb2bf',
'editor.lineHighlightBackground': '#073642',
'editor.selectionBackground': '#274642',
'editor.selectionHighlightBackground': '#005a6faa',
'editor.wordHighlightBackground': '#004454aa',
'editor.wordHighlightStrongBackground': '#005a6faa',
'editorCursor.foreground': '#528bff',
'editorGroup.border': '#00212b',
'editorGroup.dropBackground': '#2aa19844',
'editorGroupHeader.tabsBackground': '#004052',
'editorHoverWidget.background': '#004052',
'editorIndentGuide.activeBackground': '#c3e1e180',
'editorIndentGuide.background': '#93a1a180',
'editorLineNumber.activeForeground': '#949494',
'editorMarkerNavigationError.background': '#ab395b',
'editorMarkerNavigationWarning.background': '#5b7e7a',
'editorWhitespace.foreground': '#93a1a180',
'editorWidget.background': '#00212b',
errorForeground: '#ffeaea',
focusBorder: '#2aa19899',
'input.background': '#003847',
'input.foreground': '#93a1a1',
'input.placeholderForeground': '#93a1a1aa',
'inputOption.activeBorder': '#2aa19899',
'inputValidation.errorBackground': '#571b26',
'inputValidation.errorBorder': '#a92049',
'inputValidation.infoBackground': '#052730',
'inputValidation.infoBorder': '#363b5f',
'inputValidation.warningBackground': '#5d5938',
'inputValidation.warningBorder': '#9d8a5e',
'list.activeSelectionBackground': '#005a6f',
'list.dropBackground': '#00445488',
'list.focusBackground': '#005a6f',
'list.highlightForeground': '#1ebcc5',
'list.hoverBackground': '#004454aa',
'list.inactiveSelectionBackground': '#00445488',
'minimap.selectionHighlight': '#274642',
'panel.border': '#2b2b4a',
'peekView.border': '#2b2b4a',
'peekViewEditor.background': '#10192c',
'peekViewEditor.matchHighlightBackground': '#7744aa40',
'peekViewResult.background': '#00212b',
'peekViewTitle.background': '#00212b',
'pickerGroup.border': '#2aa19899',
'pickerGroup.foreground': '#2aa19899',
'progressBar.background': '#047aa6',
'selection.background': '#2aa19899',
'sideBar.background': '#00212b',
'sideBarTitle.foreground': '#93a1a1',
'statusBar.background': '#00212b',
'statusBar.debuggingBackground': '#00212b',
'statusBar.foreground': '#93a1a1',
'statusBar.noFolderBackground': '#00212b',
'statusBarItem.prominentBackground': '#003847',
'statusBarItem.prominentHoverBackground': '#003847',
'statusBarItem.remoteBackground': '#2aa19899',
'tab.activeBackground': '#002b37',
'tab.activeForeground': '#d6dbdb',
'tab.border': '#003847',
'tab.inactiveBackground': '#004052',
'tab.inactiveForeground': '#93a1a1',
'terminal.ansiBlack': '#073642',
'terminal.ansiBlue': '#268bd2',
'terminal.ansiBrightBlack': '#586e75',
'terminal.ansiBrightBlue': '#839496',
'terminal.ansiBrightCyan': '#93a1a1',
'terminal.ansiBrightGreen': '#586e75',
'terminal.ansiBrightMagenta': '#6c71c4',
'terminal.ansiBrightRed': '#cb4b16',
'terminal.ansiBrightWhite': '#fdf6e3',
'terminal.ansiBrightYellow': '#657b83',
'terminal.ansiCyan': '#2aa198',
'terminal.ansiGreen': '#859900',
'terminal.ansiMagenta': '#d33682',
'terminal.ansiRed': '#dc322f',
'terminal.ansiWhite': '#eee8d5',
'terminal.ansiYellow': '#b58900',
'titleBar.activeBackground': '#002c39',
};
//# sourceMappingURL=solarized.js.map

View File

@@ -0,0 +1,90 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = {
'activityBar.background': '#073642',
'badge.background': '#047aa6',
'button.background': '#2aa19899',
'debugExceptionWidget.background': '#00212b',
'debugExceptionWidget.border': '#ab395b',
'debugToolBar.background': '#00212b',
'dropdown.background': '#00212b',
'dropdown.border': '#2aa19899',
'editor.background': '#002b36',
'editor.foreground': '#abb2bf',
'editor.lineHighlightBackground': '#073642',
'editor.selectionBackground': '#073642',
'editorCursor.foreground': '#528bff',
'editorGroup.background': '#011b23',
'editorGroup.border': '#073642',
'editorGroup.dropBackground': '#2aa19844',
'editorGroupHeader.tabsBackground': '#073642',
'editorHoverWidget.background': '#004052',
'editorMarkerNavigationError.background': '#ab395b',
'editorMarkerNavigationWarning.background': '#5b7e7a',
'editorWhitespace.foreground': '#93a1a180',
'editorWidget.background': '#00212b',
errorForeground: '#ffeaea',
focusBorder: '#2aa19899',
'input.background': '#002b36',
'input.foreground': '#93a1a1',
'input.placeholderForeground': '#93a1a1aa',
'inputOption.activeBorder': '#2aa19899',
'inputValidation.errorBackground': '#571b26',
'inputValidation.errorBorder': '#a92049',
'inputValidation.infoBackground': '#052730',
'inputValidation.infoBorder': '#363b5f',
'inputValidation.warningBackground': '#5d5938',
'inputValidation.warningBorder': '#9d8a5e',
'list.activeSelectionBackground': '#002b36',
'list.dropBackground': '#00445488',
'list.focusBackground': '#005a6f',
'list.highlightForeground': '#1ebcc5',
'list.hoverBackground': '#004454aa',
'list.inactiveSelectionBackground': '#002b36',
'panel.border': '#2b2b4a',
'peekView.border': '#2b2b4a',
'peekViewEditor.background': '#10192c',
'peekViewEditor.matchHighlightBackground': '#7744aa40',
'peekViewResult.background': '#00212b',
'peekViewTitle.background': '#00212b',
'pickerGroup.border': '#2aa19899',
'pickerGroup.foreground': '#2aa19899',
'progressBar.background': '#047aa6',
'scrollbar.shadow': '#073642',
'scrollbarSlider.activeBackground': '#073642',
'scrollbarSlider.background': '#002b36',
'scrollbarSlider.hoverBackground': '#073642',
'selection.background': '#2aa19899',
'sideBar.background': '#073642',
'sideBarSectionHeader.background': '#073642',
'sideBarTitle.foreground': '#93a1a1',
'statusBar.background': '#073642',
'statusBar.debuggingBackground': '#00212b',
'statusBar.foreground': '#93a1a1',
'statusBar.noFolderBackground': '#00212b',
'statusBarItem.prominentBackground': '#003847',
'statusBarItem.prominentHoverBackground': '#003847',
'tab.activeBackground': '#002b37',
'tab.activeForeground': '#d6dbdb',
'tab.border': '#003847',
'tab.inactiveBackground': '#073642',
'tab.inactiveForeground': '#93a1a1',
'terminal.ansiBlack': '#073642',
'terminal.ansiBlue': '#268bd2',
'terminal.ansiBrightBlack': '#002b36',
'terminal.ansiBrightBlue': '#839496',
'terminal.ansiBrightCyan': '#93a1a1',
'terminal.ansiBrightGreen': '#586e75',
'terminal.ansiBrightMagenta': '#6c71c4',
'terminal.ansiBrightRed': '#cb4b16',
'terminal.ansiBrightWhite': '#fdf6e3',
'terminal.ansiBrightYellow': '#657b83',
'terminal.ansiCyan': '#2aa198',
'terminal.ansiGreen': '#859900',
'terminal.ansiMagenta': '#d33682',
'terminal.ansiRed': '#dc322f',
'terminal.ansiWhite': '#eee8d5',
'terminal.ansiYellow': '#b58900',
'titleBar.activeBackground': '#073642',
};
//# sourceMappingURL=solarizedFlat.js.map

View File

@@ -0,0 +1,289 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = {
'activityBar.background': '#1f2335',
'activityBar.border': '#1f2335',
'activityBar.foreground': '#7982a9',
'activityBar.inactiveForeground': '#41496b',
'activityBarBadge.background': '#3d59a1',
'activityBarBadge.foreground': '#ffffff',
'badge.background': '#7e83b233',
'badge.foreground': '#a9b1d6',
'breadcrumb.activeSelectionForeground': '#a9b1d6',
'breadcrumb.background': '#1f2335',
'breadcrumb.focusForeground': '#a9b1d6',
'breadcrumb.foreground': '#545c7e',
'breadcrumbPicker.background': '#1f2335',
'button.background': '#3d59a1dd',
'button.foreground': '#ffffff',
'button.hoverBackground': '#3d59a1aa',
'charts.blue': '#7aa2f7',
'charts.foreground': '#9aa5ce',
'charts.green': '#73daca',
'charts.lines': '#1f2335',
'charts.orange': '#ff9e64',
'charts.purple': '#9d7cd8',
'charts.red': '#f7768e',
'charts.yellow': '#e0af68',
'debugConsole.errorForeground': '#bb616b',
'debugConsole.infoForeground': '#7982a9',
'debugConsole.sourceForeground': '#7982a9',
'debugConsole.warningForeground': '#c49a5a',
'debugConsoleInputIcon.foreground': '#73daca',
'debugExceptionWidget.background': '#1b1e2e',
'debugExceptionWidget.border': '#963c47',
'debugTokenExpression.boolean': '#ff9e64',
'debugTokenExpression.error': '#bb616b',
'debugTokenExpression.name': '#7dcfff',
'debugTokenExpression.number': '#ff9e64',
'debugTokenExpression.string': '#9ece6a',
'debugTokenExpression.value': '#9aa5ce',
'debugToolBar.background': '#1b1e2e',
'debugView.stateLabelBackground': '#1b1e2e',
'debugView.stateLabelForeground': '#7982a9',
'debugView.valueChangedHighlight': '#3d59a1cc',
descriptionForeground: '#545c7e',
'diffEditor.insertedTextBackground': '#41a6b515',
'diffEditor.removedTextBackground': '#db4b4b22',
'dropdown.background': '#1b1e2e',
'dropdown.foreground': '#7982a9',
'dropdown.listBackground': '#1b1e2e',
'editor.background': '#24283b',
'editor.findMatchBackground': '#3d59a166',
'editor.findMatchBorder': '#ffdb69aa',
'editor.findMatchHighlightBackground': '#3d59a166',
'editor.findRangeHighlightBackground': '#6f7bb625',
'editor.focusedStackFrameHighlightBackground': '#73daca20',
'editor.foreground': '#a9b1d6',
'editor.inactiveSelectionBackground': '#6f7bb615',
'editor.lineHighlightBackground': '#292e42',
'editor.rangeHighlightBackground': '#6f7bb620',
'editor.selectionBackground': '#6f7bb630',
'editor.selectionHighlightBackground': '#6f7bb633',
'editor.stackFrameHighlightBackground': '#e2bd3a20',
'editor.wordHighlightBackground': '#6f7bb633',
'editor.wordHighlightStrongBackground': '#6f7bb644',
'editorBracketMatch.background': '#1f2335',
'editorBracketMatch.border': '#545c7e',
'editorCodeLens.foreground': '#565f89',
'editorCursor.foreground': '#c0caf5',
'editorError.foreground': '#db4b4b',
'editorGroup.border': '#1b1e2e',
'editorGroup.dropBackground': '#292e42',
'editorGroupHeader.border': '#1b1e2e',
'editorGroupHeader.noTabsBackground': '#1f2335',
'editorGroupHeader.tabsBackground': '#1f2335',
'editorGroupHeader.tabsBorder': '#1b1e2e',
'editorGutter.addedBackground': '#164846',
'editorGutter.deletedBackground': '#823c41',
'editorGutter.modifiedBackground': '#394b70',
'editorHint.foreground': '#0da0ba',
'editorHoverWidget.background': '#1f2335',
'editorHoverWidget.border': '#1b1e2e',
'editorIndentGuide.activeBackground': '#3b4261',
'editorIndentGuide.background': '#292e42',
'editorInfo.foreground': '#0da0ba',
'editorInlayHint.background': '#2c313c',
'editorInlayHint.foreground': '#abb2bf',
'editorLightBulb.foreground': '#e0af68',
'editorLightBulbAutoFix.foreground': '#e0af68',
'editorLineNumber.activeForeground': '#737aa2',
'editorLineNumber.foreground': '#3b4261',
'editorLink.activeForeground': '#a9b1d6',
'editorMarkerNavigation.background': '#1f2335',
'editorOverviewRuler.addedForeground': '#164846',
'editorOverviewRuler.border': '#1b1e2e',
'editorOverviewRuler.bracketMatchForeground': '#1b1e2e',
'editorOverviewRuler.deletedForeground': '#703438',
'editorOverviewRuler.errorForeground': '#db4b4b',
'editorOverviewRuler.findMatchForeground': '#a9b1d644',
'editorOverviewRuler.infoForeground': '#1abc9c',
'editorOverviewRuler.modifiedForeground': '#394b70',
'editorOverviewRuler.rangeHighlightForeground': '#a9b1d644',
'editorOverviewRuler.selectionHighlightForeground': '#a9b1d622',
'editorOverviewRuler.warningForeground': '#e0af68',
'editorOverviewRuler.wordHighlightForeground': '#bb9af755',
'editorOverviewRuler.wordHighlightStrongForeground': '#bb9af766',
'editorPane.background': '#1f2335',
'editorRuler.foreground': '#1b1e2e',
'editorSuggestWidget.background': '#1f2335',
'editorSuggestWidget.border': '#1b1e2e',
'editorSuggestWidget.highlightForeground': '#668ac4',
'editorSuggestWidget.selectedBackground': '#282e44',
'editorWarning.foreground': '#e0af68',
'editorWhitespace.foreground': '#3b4261',
'editorWidget.background': '#1f2335',
'editorWidget.resizeBorder': '#545c7e33',
errorForeground: '#5a607d',
'extensionBadge.remoteBackground': '#3d59a1',
'extensionBadge.remoteForeground': '#ffffff',
'extensionButton.prominentBackground': '#3d59a1dd',
'extensionButton.prominentForeground': '#ffffff',
'extensionButton.prominentHoverBackground': '#3d59a1aa',
focusBorder: '#545c7e33',
foreground: '#7982a9',
'gitDecoration.addedResourceForeground': '#449dab',
'gitDecoration.conflictingResourceForeground': '#bb7a61',
'gitDecoration.deletedResourceForeground': '#914c54',
'gitDecoration.ignoredResourceForeground': '#545c7e',
'gitDecoration.modifiedResourceForeground': '#6183bb',
'gitDecoration.renamedResourceForeground': '#449dab',
'gitDecoration.stageDeletedResourceForeground': '#914c54',
'gitDecoration.stageModifiedResourceForeground': '#6183bb',
'gitDecoration.untrackedResourceForeground': '#449dab',
'gitlens.gutterForegroundColor': '#565f89',
'gitlens.gutterUncommittedForegroundColor': '#565f89',
'gitlens.trailingLineForegroundColor': '#565f89',
'icon.foreground': '#7982a9',
'input.background': '#1b1e2e',
'input.border': '#282e44',
'input.foreground': '#a9b1d6',
'input.placeholderForeground': '#4a5272',
'inputOption.activeBackground': '#3d59a144',
'inputOption.activeForeground': '#c0caf5',
'inputValidation.errorBackground': '#85353e',
'inputValidation.errorBorder': '#963c47',
'inputValidation.errorForeground': '#bbc2e0',
'inputValidation.infoBackground': '#0da0ba',
'inputValidation.infoBorder': '#0db9d7',
'inputValidation.infoForeground': '#000000',
'inputValidation.warningBackground': '#c2985b',
'inputValidation.warningBorder': '#e0af68',
'inputValidation.warningForeground': '#000000',
'list.activeSelectionBackground': '#2c324a',
'list.activeSelectionForeground': '#a9b1d6',
'list.deemphasizedForeground': '#7982a9',
'list.dropBackground': '#292e42',
'list.errorForeground': '#bb616b',
'list.focusBackground': '#292e42',
'list.focusForeground': '#a9b1d6',
'list.highlightForeground': '#668ac4',
'list.hoverBackground': '#1b1e2e',
'list.hoverForeground': '#a9b1d6',
'list.inactiveSelectionBackground': '#292e42',
'list.inactiveSelectionForeground': '#a9b1d6',
'list.invalidItemForeground': '#c97018',
'list.warningForeground': '#c49a5a',
'listFilterWidget.background': '#1b1e2e',
'listFilterWidget.noMatchesOutline': '#a6333f',
'listFilterWidget.outline': '#3d59a1',
'menu.background': '#1f2335',
'menu.border': '#1b1e2e',
'menu.foreground': '#7982a9',
'menu.selectionBackground': '#2f3549',
'menu.selectionForeground': '#c0caf5',
'menu.separatorBackground': '#1b1e2e',
'menubar.selectionBackground': '#2f3549',
'menubar.selectionBorder': '#1b1e2e',
'menubar.selectionForeground': '#c0caf5',
'merge.currentContentBackground': '#007a7544',
'merge.currentHeaderBackground': '#007a75aa',
'merge.incomingContentBackground': '#3d59a144',
'merge.incomingHeaderBackground': '#3d59a1aa',
'minimapGutter.addedBackground': '#1c5957',
'minimapGutter.deletedBackground': '#944449',
'minimapGutter.modifiedBackground': '#425882',
'notificationCenterHeader.background': '#1b1e2e',
'notificationLink.foreground': '#6183bb',
'notifications.background': '#1b1e2e',
'notificationsErrorIcon.foreground': '#bb616b',
'notificationsInfoIcon.foreground': '#0da0ba',
'notificationsWarningIcon.foreground': '#bba461',
'panel.background': '#1f2335',
'panel.border': '#1b1e2e',
'panelInput.border': '#1f2335',
'panelTitle.activeBorder': '#1f2335',
'panelTitle.activeForeground': '#7982a9',
'panelTitle.inactiveForeground': '#545c7e',
'peekView.border': '#1b1e2e',
'peekViewEditor.background': '#1f2335',
'peekViewEditor.matchHighlightBackground': '#3d59a166',
'peekViewResult.background': '#1b1e2e',
'peekViewResult.fileForeground': '#7982a9',
'peekViewResult.lineForeground': '#a9b1d6',
'peekViewResult.matchHighlightBackground': '#3d59a166',
'peekViewResult.selectionBackground': '#3d59a133',
'peekViewResult.selectionForeground': '#a9b1d6',
'peekViewTitle.background': '#1b1e2e',
'peekViewTitleDescription.foreground': '#7982a9',
'peekViewTitleLabel.foreground': '#a9b1d6',
'pickerGroup.border': '#1b1e2e',
'pickerGroup.foreground': '#a9b1d6',
'progressBar.background': '#3d59a1',
'scrollbar.shadow': '#00000033',
'scrollbarSlider.activeBackground': '#9cacff22',
'scrollbarSlider.background': '#9cacff15',
'scrollbarSlider.hoverBackground': '#9cacff10',
'selection.background': '#6f7bb635',
'settings.headerForeground': '#6183bb',
'sideBar.background': '#1f2335',
'sideBar.border': '#1b1e2e',
'sideBar.dropBackground': '#292e42',
'sideBar.foreground': '#7982a9',
'sideBarSectionHeader.background': '#1f2335',
'sideBarSectionHeader.border': '#1b1e2e',
'sideBarSectionHeader.foreground': '#a9b1d6',
'sideBarTitle.foreground': '#7982a9',
'statusBar.background': '#1f2335',
'statusBar.border': '#1b1e2e',
'statusBar.debuggingBackground': '#1f2335',
'statusBar.debuggingForeground': '#7982a9',
'statusBar.foreground': '#7982a9',
'statusBar.noFolderBackground': '#1f2335',
'statusBarItem.activeBackground': '#1b1e2e',
'statusBarItem.hoverBackground': '#282e44',
'statusBarItem.prominentBackground': '#1b1e2e',
'statusBarItem.prominentHoverBackground': '#282e44',
'tab.activeBackground': '#1f2335',
'tab.activeBorder': '#d19a66',
'tab.activeForeground': '#a9b1d6',
'tab.activeModifiedBorder': '#282d42',
'tab.border': '#1b1e2e',
'tab.hoverForeground': '#a9b1d6',
'tab.inactiveBackground': '#1f2335',
'tab.inactiveForeground': '#7982a9',
'tab.inactiveModifiedBorder': '#282d42',
'tab.lastPinnedBorder': '#2c3147',
'tab.unfocusedActiveBorder': '#3b4261',
'tab.unfocusedActiveForeground': '#a9b1d6',
'tab.unfocusedHoverForeground': '#a9b1d6',
'tab.unfocusedInactiveForeground': '#7982a9',
'terminal.ansiBlack': '#414868',
'terminal.ansiBlue': '#7aa2f7',
'terminal.ansiBrightBlack': '#414868',
'terminal.ansiBrightBlue': '#7aa2f7',
'terminal.ansiBrightCyan': '#7dcfff',
'terminal.ansiBrightGreen': '#73daca',
'terminal.ansiBrightMagenta': '#bb9af7',
'terminal.ansiBrightRed': '#f7768e',
'terminal.ansiBrightWhite': '#a9b1d6',
'terminal.ansiBrightYellow': '#e0af68',
'terminal.ansiCyan': '#7dcfff',
'terminal.ansiGreen': '#73daca',
'terminal.ansiMagenta': '#bb9af7',
'terminal.ansiRed': '#f7768e',
'terminal.ansiWhite': '#7982a9',
'terminal.ansiYellow': '#e0af68',
'terminal.background': '#1f2335',
'terminal.foreground': '#7982a9',
'terminal.selectionBackground': '#6f7bb620',
'textBlockQuote.background': '#1f2335',
'textCodeBlock.background': '#1f2335',
'textLink.activeForeground': '#7dcfff',
'textLink.foreground': '#668ac4',
'textPreformat.foreground': '#73daca',
'textSeparator.foreground': '#545c7e',
'titleBar.activeBackground': '#1f2335',
'titleBar.activeForeground': '#7982a9',
'titleBar.border': '#1b1e2e',
'titleBar.inactiveBackground': '#1f2335',
'titleBar.inactiveForeground': '#7982a9',
'tree.indentGuidesStroke': '#2e344f',
'walkThrough.embeddedEditorBackground': '#1f2335',
'welcomePage.buttonBackground': '#1b1e2e',
'welcomePage.buttonHoverBackground': '#1b1e2eaa',
'widget.shadow': '#ffffff00',
'window.activeBorder': '#0d0f17',
'window.inactiveBorder': '#0d0f17',
};
//# sourceMappingURL=tokyo.js.map

View File

@@ -0,0 +1,21 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = {
'activityBarBadge.background': '#007acc',
'editor.background': '#1e1e1e',
'editor.foreground': '#d4d4d4',
'editor.inactiveSelectionBackground': '#3a3d41',
'editor.selectionHighlightBackground': '#add6ff26',
'editorIndentGuide.activeBackground': '#707070',
'editorIndentGuide.background': '#404040',
'input.placeholderForeground': '#a6a6a6',
'list.dropBackground': '#383b3d',
'menu.background': '#252526',
'menu.foreground': '#cccccc',
'settings.numberInputBackground': '#292929',
'settings.textInputBackground': '#292929',
'sideBarTitle.foreground': '#bbbbbb',
'statusBarItem.remoteBackground': '#16825d',
'statusBarItem.remoteForeground': '#ffffff',
};
//# sourceMappingURL=vscode.js.map

View File

@@ -0,0 +1,39 @@
"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.generateTheme = void 0;
const vscode_1 = require("vscode");
const Theme_1 = require("./Theme");
const defaultSettings = require("../defaultConfig.json");
const colorObjArr_1 = require("../utils/colorObjArr");
exports.generateTheme = {
default: function () {
return __awaiter(this, void 0, void 0, function* () {
return yield Theme_1.Theme.init(defaultSettings);
});
},
fromSettings: function (themeName) {
return __awaiter(this, void 0, void 0, function* () {
const configuration = vscode_1.workspace.getConfiguration('oneDarkPro');
let colorObj = {};
colorObjArr_1.default.forEach((item) => {
let value = configuration.get('color')[item];
if (value) {
colorObj[item] = value;
}
});
const buildConfig = Object.assign({ bold: configuration.get('bold', defaultSettings.bold), editorTheme: themeName ||
configuration.get('editorTheme', defaultSettings.editorTheme), italic: configuration.get('italic', defaultSettings.italic), vivid: configuration.get('vivid', defaultSettings.vivid) }, colorObj);
return yield Theme_1.Theme.init(buildConfig);
});
},
};
//# sourceMappingURL=generator.js.map

View File

@@ -0,0 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.generateTheme = void 0;
var generator_1 = require("./generator");
Object.defineProperty(exports, "generateTheme", { enumerable: true, get: function () { return generator_1.generateTheme; } });
//# sourceMappingURL=index.js.map

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,18 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = [
'chalky',
'coral',
'dark',
'error',
'fountainBlue',
'green',
'invalid',
'lightDark',
'lightWhite',
'malibu',
'purple',
'whiskey',
'deepRed',
];
//# sourceMappingURL=colorObjArr.js.map

View File

@@ -0,0 +1,20 @@
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./reload-prompt"), exports);
__exportStar(require("./updateTheme"), exports);
__exportStar(require("./updateCSS"), exports);
//# sourceMappingURL=index.js.map

View File

@@ -0,0 +1,28 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.promptToReload = void 0;
const vscode_1 = require("vscode");
function promptToReload() {
const action = 'Reload';
const msg = {
en: {
reload: 'Please reload to apply the theme configuration changes.',
},
'zh-cn': {
reload: '请重新加载以让主题配置更改生效',
},
};
const config = JSON.parse(process.env.VSCODE_NLS_CONFIG);
const locale = config.locale;
let msgReload = msg.en.reload;
if (locale === 'zh-cn') {
msgReload = msg['zh-cn'].reload;
}
vscode_1.window.showInformationMessage(msgReload, action).then((selectedAction) => {
if (selectedAction === action) {
vscode_1.commands.executeCommand('workbench.action.reloadWindow');
}
});
}
exports.promptToReload = promptToReload;
//# sourceMappingURL=reload-prompt.js.map

View File

@@ -0,0 +1,37 @@
"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.updateCSS = void 0;
const vscode_1 = require("vscode");
const util_1 = require("util");
const path_1 = require("path");
const getCSSPath = file => (0, path_1.join)(__dirname, '../../', 'styles', file);
function updateCSS() {
const configuration = vscode_1.workspace.getConfiguration('oneDarkPro');
const files = [
'atom-one-dark-inside.css',
'base-inside.css',
'markdown-inside.css'
];
if (!configuration.get('markdownStyle')) {
files.forEach(file => {
vscode_1.workspace.fs.writeFile(vscode_1.Uri.file(getCSSPath(file)), new util_1.TextEncoder().encode(''));
});
}
else {
files.forEach((file) => __awaiter(this, void 0, void 0, function* () {
const fileContents = yield vscode_1.workspace.fs.readFile(vscode_1.Uri.file(getCSSPath(`./origin/${file}`)));
vscode_1.workspace.fs.writeFile(vscode_1.Uri.file(getCSSPath(`./${file}`)), fileContents);
}));
}
}
exports.updateCSS = updateCSS;
//# sourceMappingURL=updateCSS.js.map

View File

@@ -0,0 +1,36 @@
"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.updateTheme = void 0;
const path_1 = require("path");
const vscode_1 = require("vscode");
const util_1 = require("util");
const themes_1 = require("../themes");
const _1 = require("./");
function updateTheme() {
return __awaiter(this, void 0, void 0, function* () {
const writeTheme = (fileName, themeName) => __awaiter(this, void 0, void 0, function* () {
const THEME_PATH = vscode_1.Uri.file((0, path_1.join)(__dirname, '../../', 'themes', fileName));
const theme = yield themes_1.generateTheme.fromSettings(themeName);
return vscode_1.workspace.fs.writeFile(THEME_PATH, new util_1.TextEncoder().encode(JSON.stringify(theme, null, 2)));
});
let promiseArr = [];
promiseArr = [
writeTheme('OneDark-Pro.json'),
writeTheme('OneDark-Pro-flat.json', 'One Dark Pro Flat'),
writeTheme('OneDark-Pro-darker.json', 'One Dark Pro Darker'),
];
yield Promise.all(promiseArr);
(0, _1.promptToReload)();
});
}
exports.updateTheme = updateTheme;
//# sourceMappingURL=updateTheme.js.map

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,36 @@
"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.ChangelogWebview = void 0;
const Webview_1 = require("./Webview");
const vscode_1 = require("vscode");
const util_1 = require("util");
const path = require("path");
const marked_1 = require("marked");
class ChangelogWebview extends Webview_1.WebviewController {
get id() {
return 'Onedark Pro.Changelog';
}
get title() {
return 'Onedark Pro theme Changelog';
}
get content() {
const changelogPath = vscode_1.Uri.file(path.join(__dirname, '../../', 'CHANGELOG.md'));
return new Promise((resolve) => __awaiter(this, void 0, void 0, function* () {
const content = vscode_1.workspace.fs.readFile(changelogPath).then((data) => {
return new util_1.TextDecoder().decode(data);
});
resolve(marked_1.marked.parse(yield content));
}));
}
}
exports.ChangelogWebview = ChangelogWebview;
//# sourceMappingURL=Changelog.js.map

View File

@@ -0,0 +1,41 @@
"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.WebviewController = void 0;
const vscode_1 = require("vscode");
class WebviewController extends vscode_1.Disposable {
constructor() {
super(() => this.dispose());
}
dispose() {
if (this.disposablePanel) {
this.disposablePanel.dispose();
}
}
show() {
return __awaiter(this, void 0, void 0, function* () {
const fullHtml = yield this.content;
if (this.panel !== undefined) {
this.panel.webview.html = fullHtml;
return this.panel.reveal(vscode_1.ViewColumn.Active);
}
this.panel = vscode_1.window.createWebviewPanel(this.id, this.title, vscode_1.ViewColumn.Active, {
enableCommandUris: true,
enableFindWidget: true,
enableScripts: true,
retainContextWhenHidden: true
});
this.panel.webview.html = fullHtml;
});
}
}
exports.WebviewController = WebviewController;
//# sourceMappingURL=Webview.js.map

View File

@@ -0,0 +1,320 @@
{
"name": "material-theme",
"displayName": "One Dark Pro",
"description": "Atoms iconic One Dark theme for Visual Studio Code",
"version": "3.13.24",
"publisher": "zhuangtongfa",
"license": "MIT",
"bugs": {
"url": "https://github.com/Binaryify/OneDark-Pro/issues"
},
"homepage": "https://binaryify.github.io/OneDark-Pro/",
"repository": {
"type": "git",
"url": "https://github.com/Binaryify/OneDark-Pro"
},
"engines": {
"vscode": "^1.65.0"
},
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.js",
"browser": "./out/web/extension.js",
"categories": [
"Themes"
],
"extensionKind": [
"ui",
"workspace"
],
"eslintConfig": {
"extends": [
"@mskelton",
"@mskelton/eslint-config/typescript"
],
"plugins": [
"html"
],
"rules": {
"sort/imports": "off"
}
},
"scripts": {
"docs": "docsify serve docs",
"build:theme": "ts-node --project scripts/tsconfig.json scripts/generate-theme.ts",
"build:ts": "tsc -p src",
"build": "yarn build:sass && yarn build:theme && yarn build:ts",
"lint": "eslint . --ext .ts",
"watch:theme": "nodemon ./scripts/generate-theme.ts",
"watch:ts": "yarn build:ts -w",
"vscode:prepublish": "yarn build && yarn package-web",
"package": "vsce package",
"build:sass": "yarn sass --no-source-map scss:styles && yarn sass --no-source-map scss:styles/origin",
"compile-web": "webpack --config ./build/web-extension.webpack.config.js",
"watch-web": "webpack --watch --config ./build/web-extension.webpack.config.js",
"package-web": "webpack --mode production --devtool hidden-source-map --config ./build/web-extension.webpack.config.js"
},
"prettier": {
"singleQuote": true,
"semi": false
},
"contributes": {
"markdown.previewStyles": [
"./styles/base-inside.css",
"./styles/markdown-inside.css",
"./styles/atom-one-dark-inside.css"
],
"commands": [
{
"command": "oneDarkPro.showChangelog",
"title": "%description.oneDarkPro.showChangelog%",
"category": "OneDark Pro"
},
{
"command": "oneDarkPro.setVivid",
"title": "%description.oneDarkPro.setVivid%",
"category": "OneDark Pro"
},
{
"command": "oneDarkPro.cancelVivid",
"title": "%description.oneDarkPro.cancelVivid%",
"category": "OneDark Pro"
},
{
"command": "oneDarkPro.setItalic",
"title": "%description.oneDarkPro.setItalic%",
"category": "OneDark Pro"
},
{
"command": "oneDarkPro.cancelItalic",
"title": "%description.oneDarkPro.cancelItalic%",
"category": "OneDark Pro"
},
{
"command": "oneDarkPro.setBold",
"title": "%description.oneDarkPro.setBold%",
"category": "OneDark Pro"
},
{
"command": "oneDarkPro.cancelBold",
"title": "%description.oneDarkPro.cancelBold%",
"category": "OneDark Pro"
}
],
"themes": [
{
"label": "One Dark Pro",
"uiTheme": "vs-dark",
"path": "./themes/OneDark-Pro.json"
},
{
"label": "One Dark Pro Flat",
"uiTheme": "vs-dark",
"path": "./themes/OneDark-Pro-flat.json"
},
{
"label": "One Dark Pro Darker",
"uiTheme": "vs-dark",
"path": "./themes/OneDark-Pro-darker.json"
}
],
"configuration": {
"title": "One Dark Pro",
"properties": {
"oneDarkPro.editorTheme": {
"type": "string",
"default": "One Dark Pro",
"markdownDescription": "%description.oneDarkPro.editorTheme%",
"enum": [
"One Dark Pro",
"One Dark Pro Flat",
"Nord",
"Solarized",
"Solarized Flat",
"Shadow",
"Panda",
"Ayu",
"VS Code",
"Just Black",
"One Dark Pro Darker",
"Ocean",
"Tokyo",
"Retro",
"Gnome"
]
},
"oneDarkPro.italic": {
"type": "boolean",
"default": true,
"description": "%description.oneDarkPro.italic%"
},
"oneDarkPro.vivid": {
"type": "boolean",
"default": false,
"markdownDescription": "%description.oneDarkPro.vivid%"
},
"oneDarkPro.bold": {
"type": "boolean",
"default": false,
"markdownDescription": "%description.oneDarkPro.bold%"
},
"oneDarkPro.markdownStyle": {
"type": "boolean",
"default": true,
"description": "%description.oneDarkPro.markdownStyle%"
},
"oneDarkPro.color": {
"type": "object",
"scope": "resource",
"default": {
"chalky": "",
"coral": "",
"dark": "",
"error": "",
"fountainBlue": "",
"green": "",
"invalid": "",
"lightDark": "",
"lightWhite": "",
"malibu": "",
"purple": "",
"whiskey": "",
"deepRed": ""
},
"properties": {
"chalky": {
"type": "string",
"default": ""
},
"coral": {
"type": "string",
"default": ""
},
"dark": {
"type": "string",
"default": ""
},
"error": {
"type": "string",
"default": ""
},
"fountainBlue": {
"type": "string",
"default": ""
},
"green": {
"type": "string",
"default": ""
},
"invalid": {
"type": "string",
"default": ""
},
"lightDark": {
"type": "string",
"default": ""
},
"lightWhite": {
"type": "string",
"default": ""
},
"malibu": {
"type": "string",
"default": ""
},
"purple": {
"type": "string",
"default": ""
},
"whiskey": {
"type": "string",
"default": ""
},
"deepRed": {
"type": "string",
"default": ""
}
},
"additionalProperties": false,
"markdownDescription": "Code highlight color, read more [docs](https://binaryify.github.io/OneDark-Pro/#/?id=highlight-color-custom)"
}
}
}
},
"icon": "icon.png",
"keywords": [
"one dark",
"onedark",
"one dark pro",
"onedark pro",
"theme",
"atom"
],
"devDependencies": {
"@mskelton/eslint-config": "7.1.0",
"@mskelton/prettier-config": "5.1.0",
"@types/node": "16.11.27",
"@types/vscode": "1.65.0",
"@typescript-eslint/eslint-plugin": "4.33.0",
"all-contributors-cli": "6.20.0",
"docsify-cli": "4.4.4",
"eslint": "8.10.0",
"eslint-plugin-html": "6.2.0",
"eslint-plugin-prettier": "4.0.0",
"eslint-plugin-sort": "2.4.0",
"nodemon": "1.19.4",
"path-browserify": "1.0.1",
"prettier": "2.6.2",
"process": "0.11.10",
"sass": "1.50.1",
"ts-loader": "9.2.8",
"ts-node": "10.7.0",
"typescript": "4.6.3",
"util": "0.12.4",
"vsce": "1.103.1",
"webpack": "5.72.0",
"webpack-cli": "4.8.0"
},
"galleryBanner": {
"color": "#2d323b",
"theme": "dark"
},
"dependencies": {
"@types/marked": "^4.0.1",
"marked": "4"
},
"capabilities": {
"untrustedWorkspaces": {
"supported": true
},
"virtualWorkspaces": true
},
"badges": [
{
"url": "https://vsmarketplacebadge.apphb.com/version/zhuangtongfa.Material-theme.svg",
"href": "https://marketplace.visualstudio.com/items/zhuangtongfa.Material-theme",
"description": "Extension version"
},
{
"url": "https://vsmarketplacebadge.apphb.com/installs/zhuangtongfa.Material-theme.svg",
"href": "https://marketplace.visualstudio.com/items/zhuangtongfa.Material-theme",
"description": "Extension installs"
},
{
"url": "https://vsmarketplacebadge.apphb.com/rating/zhuangtongfa.Material-theme.svg",
"href": "https://marketplace.visualstudio.com/items/zhuangtongfa.Material-theme",
"description": "Extension Rating"
}
],
"__metadata": {
"id": "26a529c9-2654-4b95-a63f-02f6a52429e6",
"publisherId": "8ae75bda-ec22-4a17-9340-abf1a20beca9",
"publisherDisplayName": "binaryify",
"targetPlatform": "undefined",
"updated": true,
"isPreReleaseVersion": false,
"preRelease": false,
"installedTimestamp": 1650713090513
}
}

View File

@@ -0,0 +1,14 @@
{
"description.oneDarkPro.editorTheme": "Switch to different editor theme",
"description.oneDarkPro.italic": "Toggle italics on some scopes",
"description.oneDarkPro.vivid": "Toggle vivid colors",
"description.oneDarkPro.bold": "Toggle bold on some scopes",
"description.oneDarkPro.showChangelog": "Show changelog",
"description.oneDarkPro.setVivid": "Turn on vivid colors",
"description.oneDarkPro.cancelVivid": "Turn off vivid colors",
"description.oneDarkPro.setBold": "Turn on bold code on some scopes",
"description.oneDarkPro.cancelBold": "Turn off bold code on some scopes",
"description.oneDarkPro.setItalic": "Turn on italic code on some scopes",
"description.oneDarkPro.cancelItalic": "Turn off italic code on some scopes",
"description.oneDarkPro.markdownStyle": "Toggle Markdown style"
}

View File

@@ -0,0 +1,14 @@
{
"description.oneDarkPro.editorTheme": "设置不同编辑器主题",
"description.oneDarkPro.italic": "设置部分代码为斜体",
"description.oneDarkPro.vivid": "设置色彩为 vivid",
"description.oneDarkPro.bold": "设置部分代码为粗体",
"description.oneDarkPro.showChangelog": "打开变更日志",
"description.oneDarkPro.setVivid": "设置色彩为 vivid",
"description.oneDarkPro.cancelVivid": "取消设置色彩为 vivid",
"description.oneDarkPro.setBold": "设置部分代码为粗体",
"description.oneDarkPro.cancelBold": "取消设置部分代码为粗体",
"description.oneDarkPro.setItalic": "设置部分代码为斜体",
"description.oneDarkPro.cancelItalic": "取消设置部分代码为斜体",
"description.oneDarkPro.markdownStyle": "使用内置的 Markdown 样式"
}

View File

@@ -0,0 +1,41 @@
# ReleaseNote
## v3.0 Feature
- This version become a dynamic theme, have some breaking change(a little), support switch to other editor theme(Solarized, Nord, Panda, Ayu, VS Code(dark)), switch `bold`, `italic`, `vivid` in one theme
- The old `Onedark Pro bold`, `Onedark Pro vivid` theme can't use now, but you can switch that in VS Code's setting(support multiple, no more mutual exclusion)
![image.png](https://i.loli.net/2019/11/17/JYnl9HRaKzVbyQO.png)
![image.png](https://i.loli.net/2019/11/17/pRuzNfX8Kg5T3vo.png)
## Notice
- After change the config, the new theme file will generate, for let the new theme file effect, you should reload VS Code
![image.png](https://i.loli.net/2019/11/17/UTciHtgyx8K9mAk.png)
### Theme
- One Dark Pro
![image.png](https://i.loli.net/2019/11/17/gui51SGOKnaHFAb.png)
- Solarized
![image.png](https://i.loli.net/2019/11/17/jvYmPp7n9KWBVqZ.png)
- Solarized Flat
![image.png](https://i.loli.net/2019/11/17/sAhjUufVDw5N8rp.png)
- Nord
![image.png](https://i.loli.net/2019/11/17/QJodmtke8P1rNjE.png)
- Panda
![image.png](https://i.loli.net/2019/11/17/lpq6tvywL9hOSBj.png)
- Ayu
![image.png](https://i.loli.net/2019/11/23/txfJHVmKsyrnU2Y.png)
- VS Code(dark)
![image.png](https://i.loli.net/2019/11/17/nhCmQI4M6wclWzi.png)

View File

@@ -0,0 +1,132 @@
/*
Atom One Dark by Daniel Gamage
Original One Dark Syntax theme from https://github.com/atom/one-dark-syntax
base: #282c34
mono-1: #abb2bf
mono-2: #818896
mono-3: #5c6370
hue-1: #56b6c2
hue-2: #61aeee
hue-3: #c678dd
hue-4: #98c379
hue-5: #e06c75
hue-5-2: #be5046
hue-6: #d19a66
hue-6-2: #e6c07b
*/
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs, .vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs {
display: block;
overflow-x: auto;
padding: 0.5em;
color: #abb2bf;
background: #282c34;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-comment,
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-quote, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-comment,
.vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-quote, .vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-comment,
.vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-quote {
color: #5c6370;
font-style: italic;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-doctag,
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-keyword,
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-formula, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-doctag,
.vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-keyword,
.vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-formula, .vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-doctag,
.vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-keyword,
.vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-formula {
color: #c678dd;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-section,
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-name,
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-selector-tag,
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-deletion,
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-subst, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-section,
.vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-name,
.vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-selector-tag,
.vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-deletion,
.vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-subst, .vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-section,
.vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-name,
.vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-selector-tag,
.vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-deletion,
.vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-subst {
color: #e06c75;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-literal, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-literal, .vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-literal {
color: #56b6c2;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-string,
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-regexp,
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-addition,
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-attribute,
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-meta-string, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-string,
.vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-regexp,
.vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-addition,
.vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-attribute,
.vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-meta-string, .vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-string,
.vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-regexp,
.vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-addition,
.vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-attribute,
.vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-meta-string {
color: #98c379;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-built_in,
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-class .hljs-title, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-built_in,
.vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-class .hljs-title, .vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-built_in,
.vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-class .hljs-title {
color: #e6c07b;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-attr,
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-variable,
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-template-variable,
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-type,
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-selector-class,
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-selector-attr,
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-selector-pseudo,
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-number, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-attr,
.vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-variable,
.vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-template-variable,
.vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-type,
.vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-selector-class,
.vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-selector-attr,
.vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-selector-pseudo,
.vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-number, .vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-attr,
.vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-variable,
.vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-template-variable,
.vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-type,
.vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-selector-class,
.vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-selector-attr,
.vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-selector-pseudo,
.vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-number {
color: #d19a66;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-symbol,
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-bullet,
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-link,
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-meta,
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-selector-id,
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-title, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-symbol,
.vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-bullet,
.vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-link,
.vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-meta,
.vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-selector-id,
.vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-title, .vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-symbol,
.vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-bullet,
.vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-link,
.vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-meta,
.vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-selector-id,
.vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-title {
color: #61aeee;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-emphasis, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-emphasis, .vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-emphasis {
font-style: italic;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-strong, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-strong, .vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-strong {
font-weight: bold;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-link, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-link, .vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-link {
text-decoration: underline;
}

View File

@@ -0,0 +1,35 @@
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body {
box-sizing: border-box;
min-width: 200px;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body blockquote, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body blockquote, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body blockquote {
background-color: initial;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body pre, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body pre, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body pre {
color: initial;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body code, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body code, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body code {
color: inherit;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body pre code, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body pre code, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body pre code {
color: initial;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body code > div, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body code > div, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body code > div {
background: none;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body table th, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body table td, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body table th, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body table td, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body table th, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body table td {
border: 1px solid rgba(171, 178, 191, 0.5) !important;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body.showEditorSelection .code-active-line:before, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body.showEditorSelection .code-active-line:before, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body.showEditorSelection .code-active-line:before {
border-left: none;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body.showEditorSelection .code-line:hover:before, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body.showEditorSelection .code-line:hover:before, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body.showEditorSelection .code-line:hover:before {
border-left: none;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body.showEditorSelection .code-line .code-line:hover:before, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body.showEditorSelection .code-line .code-line:hover:before, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body.showEditorSelection .code-line .code-line:hover:before {
border-left: none;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body p, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body blockquote, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body ul, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body ol, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body dl, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body table, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body pre, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body p, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body blockquote, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body ul, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body ol, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body dl, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body table, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body pre, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body p, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body blockquote, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body ul, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body ol, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body dl, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body table, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body pre {
margin-top: 16px;
margin-bottom: 16px;
}

View File

@@ -0,0 +1,482 @@
/* Generated from 'node_modules/github-markdown-css/github-markdown.css' */
@font-face {
font-family: octicons-link;
src: url(data:font/woff;charset=utf-8;base64,d09GRgABAAAAAAZwABAAAAAACFQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABEU0lHAAAGaAAAAAgAAAAIAAAAAUdTVUIAAAZcAAAACgAAAAoAAQAAT1MvMgAAAyQAAABJAAAAYFYEU3RjbWFwAAADcAAAAEUAAACAAJThvmN2dCAAAATkAAAABAAAAAQAAAAAZnBnbQAAA7gAAACyAAABCUM+8IhnYXNwAAAGTAAAABAAAAAQABoAI2dseWYAAAFsAAABPAAAAZwcEq9taGVhZAAAAsgAAAA0AAAANgh4a91oaGVhAAADCAAAABoAAAAkCA8DRGhtdHgAAAL8AAAADAAAAAwGAACfbG9jYQAAAsAAAAAIAAAACABiATBtYXhwAAACqAAAABgAAAAgAA8ASm5hbWUAAAToAAABQgAAAlXu73sOcG9zdAAABiwAAAAeAAAAME3QpOBwcmVwAAAEbAAAAHYAAAB/aFGpk3jaTY6xa8JAGMW/O62BDi0tJLYQincXEypYIiGJjSgHniQ6umTsUEyLm5BV6NDBP8Tpts6F0v+k/0an2i+itHDw3v2+9+DBKTzsJNnWJNTgHEy4BgG3EMI9DCEDOGEXzDADU5hBKMIgNPZqoD3SilVaXZCER3/I7AtxEJLtzzuZfI+VVkprxTlXShWKb3TBecG11rwoNlmmn1P2WYcJczl32etSpKnziC7lQyWe1smVPy/Lt7Kc+0vWY/gAgIIEqAN9we0pwKXreiMasxvabDQMM4riO+qxM2ogwDGOZTXxwxDiycQIcoYFBLj5K3EIaSctAq2kTYiw+ymhce7vwM9jSqO8JyVd5RH9gyTt2+J/yUmYlIR0s04n6+7Vm1ozezUeLEaUjhaDSuXHwVRgvLJn1tQ7xiuVv/ocTRF42mNgZGBgYGbwZOBiAAFGJBIMAAizAFoAAABiAGIAznjaY2BkYGAA4in8zwXi+W2+MjCzMIDApSwvXzC97Z4Ig8N/BxYGZgcgl52BCSQKAA3jCV8CAABfAAAAAAQAAEB42mNgZGBg4f3vACQZQABIMjKgAmYAKEgBXgAAeNpjYGY6wTiBgZWBg2kmUxoDA4MPhGZMYzBi1AHygVLYQUCaawqDA4PChxhmh/8ODDEsvAwHgMKMIDnGL0x7gJQCAwMAJd4MFwAAAHjaY2BgYGaA4DAGRgYQkAHyGMF8NgYrIM3JIAGVYYDT+AEjAwuDFpBmA9KMDEwMCh9i/v8H8sH0/4dQc1iAmAkALaUKLgAAAHjaTY9LDsIgEIbtgqHUPpDi3gPoBVyRTmTddOmqTXThEXqrob2gQ1FjwpDvfwCBdmdXC5AVKFu3e5MfNFJ29KTQT48Ob9/lqYwOGZxeUelN2U2R6+cArgtCJpauW7UQBqnFkUsjAY/kOU1cP+DAgvxwn1chZDwUbd6CFimGXwzwF6tPbFIcjEl+vvmM/byA48e6tWrKArm4ZJlCbdsrxksL1AwWn/yBSJKpYbq8AXaaTb8AAHja28jAwOC00ZrBeQNDQOWO//sdBBgYGRiYWYAEELEwMTE4uzo5Zzo5b2BxdnFOcALxNjA6b2ByTswC8jYwg0VlNuoCTWAMqNzMzsoK1rEhNqByEyerg5PMJlYuVueETKcd/89uBpnpvIEVomeHLoMsAAe1Id4AAAAAAAB42oWQT07CQBTGv0JBhagk7HQzKxca2sJCE1hDt4QF+9JOS0nbaaYDCQfwCJ7Au3AHj+LO13FMmm6cl7785vven0kBjHCBhfpYuNa5Ph1c0e2Xu3jEvWG7UdPDLZ4N92nOm+EBXuAbHmIMSRMs+4aUEd4Nd3CHD8NdvOLTsA2GL8M9PODbcL+hD7C1xoaHeLJSEao0FEW14ckxC+TU8TxvsY6X0eLPmRhry2WVioLpkrbp84LLQPGI7c6sOiUzpWIWS5GzlSgUzzLBSikOPFTOXqly7rqx0Z1Q5BAIoZBSFihQYQOOBEdkCOgXTOHA07HAGjGWiIjaPZNW13/+lm6S9FT7rLHFJ6fQbkATOG1j2OFMucKJJsxIVfQORl+9Jyda6Sl1dUYhSCm1dyClfoeDve4qMYdLEbfqHf3O/AdDumsjAAB42mNgYoAAZQYjBmyAGYQZmdhL8zLdDEydARfoAqIAAAABAAMABwAKABMAB///AA8AAQAAAAAAAAAAAAAAAAABAAAAAA==) format("woff");
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body {
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
line-height: 1.5;
color: rgb(171, 178, 191);
line-height: 1.5;
word-wrap: break-word;
background: #282c34;
padding-top: 20px;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-c, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-c, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-c {
color: #6a737d;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-c1, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-s .pl-v, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-c1, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-s .pl-v, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-c1, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-s .pl-v {
color: #005cc5;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-e, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-en, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-e, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-en, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-e, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-en {
color: #6f42c1;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-smi, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-s .pl-s1, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-smi, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-s .pl-s1, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-smi, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-s .pl-s1 {
color: #24292e;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-ent, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-ent, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-ent {
color: #22863a;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-k, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-k, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-k {
color: #d73a49;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-s, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-pds, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-s .pl-pse .pl-s1, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-sr, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-sr .pl-cce, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-sr .pl-sre, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-sr .pl-sra, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-s, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-pds, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-s .pl-pse .pl-s1, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-sr, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-sr .pl-cce, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-sr .pl-sre, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-sr .pl-sra, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-s, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-pds, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-s .pl-pse .pl-s1, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-sr, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-sr .pl-cce, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-sr .pl-sre, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-sr .pl-sra {
color: #032f62;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-v, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-smw, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-v, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-smw, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-v, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-smw {
color: #e36209;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-bu, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-bu, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-bu {
color: #b31d28;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-ii, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-ii, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-ii {
color: #fafbfc;
background-color: #b31d28;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-c2, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-c2, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-c2 {
color: #fafbfc;
background-color: #d73a49;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-c2::before, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-c2::before, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-c2::before {
content: "^M";
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-sr .pl-cce, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-sr .pl-cce, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-sr .pl-cce {
font-weight: bold;
color: #22863a;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-ml, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-ml, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-ml {
color: #735c0f;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-mh, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-mh .pl-en, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-ms, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-mh, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-mh .pl-en, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-ms, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-mh, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-mh .pl-en, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-ms {
font-weight: bold;
color: #005cc5;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-mi, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-mi, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-mi {
font-style: italic;
color: #24292e;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-mb, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-mb, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-mb {
font-weight: bold;
color: #24292e;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-md, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-md, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-md {
color: #b31d28;
background-color: #ffeef0;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-mi1, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-mi1, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-mi1 {
color: #22863a;
background-color: #f0fff4;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-mc, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-mc, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-mc {
color: #e36209;
background-color: #ffebda;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-mi2, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-mi2, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-mi2 {
color: #f6f8fa;
background-color: #005cc5;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-mdr, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-mdr, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-mdr {
font-weight: bold;
color: #6f42c1;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-ba, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-ba, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-ba {
color: #586069;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-sg, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-sg, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-sg {
color: #959da5;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-corl, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-corl, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-corl {
text-decoration: underline;
color: #032f62;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .octicon, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .octicon, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .octicon {
display: inline-block;
vertical-align: text-top;
fill: currentColor;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body a, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body a, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body a {
background-color: transparent;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body a:active, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body a:hover, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body a:active, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body a:hover, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body a:active, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body a:hover {
outline-width: 0;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body strong, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body strong, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body strong {
font-weight: inherit;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body strong, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body strong, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body strong {
font-weight: bolder;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h1, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h1, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h1 {
margin: 0.67em 0;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body img, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body img, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body img {
border-style: none;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body hr, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body hr, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body hr {
box-sizing: content-box;
height: 0;
overflow: visible;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body input, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body input, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body input {
font: inherit;
margin: 0;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body input, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body input, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body input {
overflow: visible;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body [type=checkbox], .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body [type=checkbox], .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body [type=checkbox] {
box-sizing: border-box;
padding: 0;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body *, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body *, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body * {
box-sizing: border-box;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body input, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body input, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body input {
font-family: inherit;
line-height: inherit;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body a, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body a, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body a {
color: #528bff;
text-decoration: none;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body a:hover, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body a:hover, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body a:hover {
text-decoration: underline;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body strong, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body strong, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body strong {
font-weight: 600;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body hr, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body hr, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body hr {
height: 0;
margin: 15px 0;
overflow: hidden;
background: transparent;
border: 0;
border-bottom: 1px solid #dfe2e5;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body hr::before, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body hr::before, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body hr::before {
display: table;
content: "";
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body hr::after, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body hr::after, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body hr::after {
display: table;
clear: both;
content: "";
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body table, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body table, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body table {
border-spacing: 0;
border-collapse: collapse;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body td, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body th, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body td, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body th, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body td, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body th {
padding: 0;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h1, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h2, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h3, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h4, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h5, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h6, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h1, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h2, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h3, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h4, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h5, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h6, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h1, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h2, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h3, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h4, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h5, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h6 {
margin-top: 0;
margin-bottom: 0;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h1, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h1, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h1 {
font-weight: 600;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h2, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h2, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h2 {
font-weight: 600;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h3, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h3, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h3 {
font-weight: 600;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h4, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h4, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h4 {
font-weight: 600;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h5, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h5, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h5 {
font-weight: 600;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h6, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h6, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h6 {
font-weight: 600;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body p, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body p, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body p {
margin-top: 0;
margin-bottom: 10px;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body blockquote, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body blockquote, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body blockquote {
margin: 0;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body ul, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body ol, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body ul, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body ol, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body ul, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body ol {
padding-left: 0;
margin-top: 0;
margin-bottom: 0;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body ol ol, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body ul ol, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body ol ol, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body ul ol, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body ol ol, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body ul ol {
list-style-type: lower-roman;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body ul ul ol, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body ul ol ol, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body ol ul ol, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body ol ol ol, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body ul ul ol, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body ul ol ol, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body ol ul ol, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body ol ol ol, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body ul ul ol, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body ul ol ol, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body ol ul ol, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body ol ol ol {
list-style-type: lower-alpha;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body dd, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body dd, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body dd {
margin-left: 0;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body pre, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body pre, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body pre {
margin-top: 0;
margin-bottom: 0;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .octicon, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .octicon, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .octicon {
vertical-align: text-bottom;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-0, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-0, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-0 {
padding-left: 0 !important;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-1, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-1, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-1 {
padding-left: 4px !important;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-2, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-2, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-2 {
padding-left: 8px !important;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-3, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-3, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-3 {
padding-left: 16px !important;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-4, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-4, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-4 {
padding-left: 24px !important;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-5, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-5, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-5 {
padding-left: 32px !important;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-6, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-6, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-6 {
padding-left: 40px !important;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body::before, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body::before, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body::before {
display: table;
content: "";
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body::after, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body::after, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body::after {
display: table;
clear: both;
content: "";
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body > *:first-child, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body > *:first-child, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body > *:first-child {
margin-top: 0 !important;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body > *:last-child, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body > *:last-child, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body > *:last-child {
margin-bottom: 0 !important;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body a:not([href]), .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body a:not([href]), .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body a:not([href]) {
color: inherit;
text-decoration: none;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .anchor, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .anchor, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .anchor {
float: left;
padding-right: 4px;
margin-left: -20px;
line-height: 1;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .anchor:focus, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .anchor:focus, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .anchor:focus {
outline: none;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body p, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body blockquote, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body ul, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body ol, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body dl, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body table, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body pre, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body p, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body blockquote, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body ul, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body ol, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body dl, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body table, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body pre, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body p, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body blockquote, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body ul, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body ol, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body dl, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body table, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body pre {
margin-top: 0;
margin-bottom: 16px;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body hr, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body hr, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body hr {
height: 0.25em;
padding: 0;
margin: 24px 0;
background-color: #e1e4e8;
border: 0;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body blockquote, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body blockquote, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body blockquote {
/* padding: 0 1em;
color: #6a737d;
border-left: 0.25em solid #dfe2e5; */
padding: 8.5px 17px;
margin: 1.5em 0;
color: #7c879c;
border-color: #4b5362;
border-width: 4px;
border-left: 5px solid #4b5362;
background: transparent;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body blockquote > :first-child, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body blockquote > :first-child, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body blockquote > :first-child {
margin-top: 0;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body blockquote > :last-child, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body blockquote > :last-child, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body blockquote > :last-child {
margin-bottom: 0;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body kbd, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body kbd, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body kbd {
display: inline-block;
padding: 3px 5px;
line-height: 10px;
color: #444d56;
vertical-align: middle;
background-color: #fafbfc;
border: solid 1px #c6cbd1;
border-bottom-color: #959da5;
border-radius: 3px;
box-shadow: inset 0 -1px 0 #959da5;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h1, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h2, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h3, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h4, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h5, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h6, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h1, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h2, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h3, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h4, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h5, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h6, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h1, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h2, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h3, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h4, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h5, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h6 {
margin-top: 24px;
margin-bottom: 16px;
font-weight: 600;
line-height: 1.25;
color: rgb(240, 240, 240);
border-bottom: none;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h1 .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h2 .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h3 .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h4 .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h5 .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h6 .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h1 .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h2 .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h3 .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h4 .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h5 .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h6 .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h1 .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h2 .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h3 .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h4 .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h5 .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h6 .octicon-link {
color: #1b1f23;
vertical-align: middle;
visibility: hidden;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h1:hover .anchor, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h2:hover .anchor, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h3:hover .anchor, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h4:hover .anchor, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h5:hover .anchor, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h6:hover .anchor, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h1:hover .anchor, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h2:hover .anchor, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h3:hover .anchor, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h4:hover .anchor, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h5:hover .anchor, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h6:hover .anchor, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h1:hover .anchor, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h2:hover .anchor, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h3:hover .anchor, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h4:hover .anchor, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h5:hover .anchor, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h6:hover .anchor {
text-decoration: none;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h1:hover .anchor .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h2:hover .anchor .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h3:hover .anchor .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h4:hover .anchor .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h5:hover .anchor .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h6:hover .anchor .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h1:hover .anchor .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h2:hover .anchor .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h3:hover .anchor .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h4:hover .anchor .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h5:hover .anchor .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h6:hover .anchor .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h1:hover .anchor .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h2:hover .anchor .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h3:hover .anchor .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h4:hover .anchor .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h5:hover .anchor .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h6:hover .anchor .octicon-link {
visibility: visible;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h1, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h1, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h1 {
padding-bottom: 0.3em;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h2, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h2, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h2 {
padding-bottom: 0.3em;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h6, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h6, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h6 {
color: #6a737d;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body ul, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body ol, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body ul, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body ol, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body ul, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body ol {
padding-left: 2em;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body ul ul, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body ul ol, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body ol ol, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body ol ul, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body ul ul, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body ul ol, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body ol ol, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body ol ul, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body ul ul, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body ul ol, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body ol ol, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body ol ul {
margin-top: 0;
margin-bottom: 0;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body li, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body li, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body li {
word-wrap: break-all;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body li > p, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body li > p, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body li > p {
margin-top: 16px;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body li + li, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body li + li, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body li + li {
margin-top: 0.25em;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body dl, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body dl, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body dl {
padding: 0;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body dl dt, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body dl dt, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body dl dt {
padding: 0;
margin-top: 16px;
font-style: italic;
font-weight: 600;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body dl dd, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body dl dd, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body dl dd {
padding: 0 16px;
margin-bottom: 16px;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body table, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body table, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body table {
display: block;
width: 100%;
overflow: auto;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body table th, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body table th, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body table th {
font-weight: 700;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body table th, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body table td, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body table th, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body table td, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body table th, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body table td {
padding: 6px 13px;
/* border: 1px solid #dfe2e5; */
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body img, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body img, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body img {
max-width: 100%;
box-sizing: content-box;
display: inline-block;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body img[align=right], .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body img[align=right], .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body img[align=right] {
padding-left: 20px;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body img[align=left], .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body img[align=left], .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body img[align=left] {
padding-right: 20px;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body code, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body code, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body code {
padding: 0.2em 0.4em;
margin: 0;
background-color: #3a3f4b;
border-radius: 3px;
color: white;
margin: 0 1px;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body pre, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body pre, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body pre {
word-wrap: normal;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body pre > code, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body pre > code, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body pre > code {
padding: 0;
margin: 0;
word-break: normal;
white-space: pre;
background: transparent;
border: 0;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .highlight, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .highlight, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .highlight {
margin-bottom: 16px;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .highlight pre, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .highlight pre, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .highlight pre {
margin-bottom: 0;
word-break: normal;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .highlight pre, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body pre, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .highlight pre, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body pre, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .highlight pre, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body pre {
padding: 16px;
overflow: auto;
line-height: 1.45;
/* background-color: #f6f8fa; */
border-radius: 3px;
background-color: #31363f;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body pre code, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body pre code, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body pre code {
display: inline;
max-width: auto;
padding: 0;
margin: 0;
overflow: visible;
line-height: inherit;
word-wrap: normal;
background-color: transparent;
border: 0;
color: rgb(171, 178, 191);
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .full-commit .btn-outline:not(:disabled):hover, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .full-commit .btn-outline:not(:disabled):hover, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .full-commit .btn-outline:not(:disabled):hover {
color: #005cc5;
border-color: #005cc5;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body kbd, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body kbd, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body kbd {
display: inline-block;
padding: 3px 5px;
line-height: 10px;
color: #444d56;
vertical-align: middle;
background-color: #fafbfc;
border: solid 1px #d1d5da;
border-bottom-color: #c6cbd1;
border-radius: 3px;
box-shadow: inset 0 -1px 0 #c6cbd1;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body :checked + .radio-label, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body :checked + .radio-label, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body :checked + .radio-label {
position: relative;
z-index: 1;
border-color: #0366d6;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .task-list-item, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .task-list-item, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .task-list-item {
list-style-type: none;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .task-list-item + .task-list-item, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .task-list-item + .task-list-item, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .task-list-item + .task-list-item {
margin-top: 3px;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .task-list-item input, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .task-list-item input, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .task-list-item input {
margin: 0 0.2em 0.25em -1.6em;
vertical-align: middle;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body hr, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body hr, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body hr {
border-bottom-color: #eee;
}

View File

@@ -0,0 +1,132 @@
/*
Atom One Dark by Daniel Gamage
Original One Dark Syntax theme from https://github.com/atom/one-dark-syntax
base: #282c34
mono-1: #abb2bf
mono-2: #818896
mono-3: #5c6370
hue-1: #56b6c2
hue-2: #61aeee
hue-3: #c678dd
hue-4: #98c379
hue-5: #e06c75
hue-5-2: #be5046
hue-6: #d19a66
hue-6-2: #e6c07b
*/
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs, .vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs {
display: block;
overflow-x: auto;
padding: 0.5em;
color: #abb2bf;
background: #282c34;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-comment,
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-quote, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-comment,
.vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-quote, .vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-comment,
.vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-quote {
color: #5c6370;
font-style: italic;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-doctag,
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-keyword,
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-formula, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-doctag,
.vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-keyword,
.vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-formula, .vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-doctag,
.vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-keyword,
.vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-formula {
color: #c678dd;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-section,
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-name,
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-selector-tag,
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-deletion,
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-subst, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-section,
.vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-name,
.vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-selector-tag,
.vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-deletion,
.vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-subst, .vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-section,
.vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-name,
.vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-selector-tag,
.vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-deletion,
.vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-subst {
color: #e06c75;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-literal, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-literal, .vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-literal {
color: #56b6c2;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-string,
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-regexp,
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-addition,
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-attribute,
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-meta-string, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-string,
.vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-regexp,
.vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-addition,
.vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-attribute,
.vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-meta-string, .vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-string,
.vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-regexp,
.vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-addition,
.vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-attribute,
.vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-meta-string {
color: #98c379;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-built_in,
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-class .hljs-title, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-built_in,
.vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-class .hljs-title, .vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-built_in,
.vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-class .hljs-title {
color: #e6c07b;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-attr,
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-variable,
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-template-variable,
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-type,
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-selector-class,
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-selector-attr,
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-selector-pseudo,
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-number, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-attr,
.vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-variable,
.vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-template-variable,
.vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-type,
.vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-selector-class,
.vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-selector-attr,
.vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-selector-pseudo,
.vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-number, .vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-attr,
.vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-variable,
.vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-template-variable,
.vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-type,
.vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-selector-class,
.vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-selector-attr,
.vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-selector-pseudo,
.vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-number {
color: #d19a66;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-symbol,
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-bullet,
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-link,
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-meta,
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-selector-id,
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-title, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-symbol,
.vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-bullet,
.vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-link,
.vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-meta,
.vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-selector-id,
.vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-title, .vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-symbol,
.vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-bullet,
.vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-link,
.vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-meta,
.vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-selector-id,
.vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-title {
color: #61aeee;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-emphasis, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-emphasis, .vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-emphasis {
font-style: italic;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-strong, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-strong, .vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-strong {
font-weight: bold;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"] .hljs-link, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"] .hljs-link, .vscode-dark[data-vscode-theme-name="One Dark Pro"] .hljs-link {
text-decoration: underline;
}

View File

@@ -0,0 +1,35 @@
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body {
box-sizing: border-box;
min-width: 200px;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body blockquote, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body blockquote, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body blockquote {
background-color: initial;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body pre, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body pre, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body pre {
color: initial;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body code, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body code, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body code {
color: inherit;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body pre code, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body pre code, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body pre code {
color: initial;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body code > div, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body code > div, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body code > div {
background: none;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body table th, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body table td, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body table th, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body table td, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body table th, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body table td {
border: 1px solid rgba(171, 178, 191, 0.5) !important;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body.showEditorSelection .code-active-line:before, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body.showEditorSelection .code-active-line:before, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body.showEditorSelection .code-active-line:before {
border-left: none;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body.showEditorSelection .code-line:hover:before, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body.showEditorSelection .code-line:hover:before, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body.showEditorSelection .code-line:hover:before {
border-left: none;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body.showEditorSelection .code-line .code-line:hover:before, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body.showEditorSelection .code-line .code-line:hover:before, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body.showEditorSelection .code-line .code-line:hover:before {
border-left: none;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body p, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body blockquote, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body ul, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body ol, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body dl, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body table, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body pre, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body p, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body blockquote, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body ul, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body ol, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body dl, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body table, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body pre, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body p, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body blockquote, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body ul, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body ol, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body dl, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body table, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body pre {
margin-top: 16px;
margin-bottom: 16px;
}

View File

@@ -0,0 +1,482 @@
/* Generated from 'node_modules/github-markdown-css/github-markdown.css' */
@font-face {
font-family: octicons-link;
src: url(data:font/woff;charset=utf-8;base64,d09GRgABAAAAAAZwABAAAAAACFQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABEU0lHAAAGaAAAAAgAAAAIAAAAAUdTVUIAAAZcAAAACgAAAAoAAQAAT1MvMgAAAyQAAABJAAAAYFYEU3RjbWFwAAADcAAAAEUAAACAAJThvmN2dCAAAATkAAAABAAAAAQAAAAAZnBnbQAAA7gAAACyAAABCUM+8IhnYXNwAAAGTAAAABAAAAAQABoAI2dseWYAAAFsAAABPAAAAZwcEq9taGVhZAAAAsgAAAA0AAAANgh4a91oaGVhAAADCAAAABoAAAAkCA8DRGhtdHgAAAL8AAAADAAAAAwGAACfbG9jYQAAAsAAAAAIAAAACABiATBtYXhwAAACqAAAABgAAAAgAA8ASm5hbWUAAAToAAABQgAAAlXu73sOcG9zdAAABiwAAAAeAAAAME3QpOBwcmVwAAAEbAAAAHYAAAB/aFGpk3jaTY6xa8JAGMW/O62BDi0tJLYQincXEypYIiGJjSgHniQ6umTsUEyLm5BV6NDBP8Tpts6F0v+k/0an2i+itHDw3v2+9+DBKTzsJNnWJNTgHEy4BgG3EMI9DCEDOGEXzDADU5hBKMIgNPZqoD3SilVaXZCER3/I7AtxEJLtzzuZfI+VVkprxTlXShWKb3TBecG11rwoNlmmn1P2WYcJczl32etSpKnziC7lQyWe1smVPy/Lt7Kc+0vWY/gAgIIEqAN9we0pwKXreiMasxvabDQMM4riO+qxM2ogwDGOZTXxwxDiycQIcoYFBLj5K3EIaSctAq2kTYiw+ymhce7vwM9jSqO8JyVd5RH9gyTt2+J/yUmYlIR0s04n6+7Vm1ozezUeLEaUjhaDSuXHwVRgvLJn1tQ7xiuVv/ocTRF42mNgZGBgYGbwZOBiAAFGJBIMAAizAFoAAABiAGIAznjaY2BkYGAA4in8zwXi+W2+MjCzMIDApSwvXzC97Z4Ig8N/BxYGZgcgl52BCSQKAA3jCV8CAABfAAAAAAQAAEB42mNgZGBg4f3vACQZQABIMjKgAmYAKEgBXgAAeNpjYGY6wTiBgZWBg2kmUxoDA4MPhGZMYzBi1AHygVLYQUCaawqDA4PChxhmh/8ODDEsvAwHgMKMIDnGL0x7gJQCAwMAJd4MFwAAAHjaY2BgYGaA4DAGRgYQkAHyGMF8NgYrIM3JIAGVYYDT+AEjAwuDFpBmA9KMDEwMCh9i/v8H8sH0/4dQc1iAmAkALaUKLgAAAHjaTY9LDsIgEIbtgqHUPpDi3gPoBVyRTmTddOmqTXThEXqrob2gQ1FjwpDvfwCBdmdXC5AVKFu3e5MfNFJ29KTQT48Ob9/lqYwOGZxeUelN2U2R6+cArgtCJpauW7UQBqnFkUsjAY/kOU1cP+DAgvxwn1chZDwUbd6CFimGXwzwF6tPbFIcjEl+vvmM/byA48e6tWrKArm4ZJlCbdsrxksL1AwWn/yBSJKpYbq8AXaaTb8AAHja28jAwOC00ZrBeQNDQOWO//sdBBgYGRiYWYAEELEwMTE4uzo5Zzo5b2BxdnFOcALxNjA6b2ByTswC8jYwg0VlNuoCTWAMqNzMzsoK1rEhNqByEyerg5PMJlYuVueETKcd/89uBpnpvIEVomeHLoMsAAe1Id4AAAAAAAB42oWQT07CQBTGv0JBhagk7HQzKxca2sJCE1hDt4QF+9JOS0nbaaYDCQfwCJ7Au3AHj+LO13FMmm6cl7785vven0kBjHCBhfpYuNa5Ph1c0e2Xu3jEvWG7UdPDLZ4N92nOm+EBXuAbHmIMSRMs+4aUEd4Nd3CHD8NdvOLTsA2GL8M9PODbcL+hD7C1xoaHeLJSEao0FEW14ckxC+TU8TxvsY6X0eLPmRhry2WVioLpkrbp84LLQPGI7c6sOiUzpWIWS5GzlSgUzzLBSikOPFTOXqly7rqx0Z1Q5BAIoZBSFihQYQOOBEdkCOgXTOHA07HAGjGWiIjaPZNW13/+lm6S9FT7rLHFJ6fQbkATOG1j2OFMucKJJsxIVfQORl+9Jyda6Sl1dUYhSCm1dyClfoeDve4qMYdLEbfqHf3O/AdDumsjAAB42mNgYoAAZQYjBmyAGYQZmdhL8zLdDEydARfoAqIAAAABAAMABwAKABMAB///AA8AAQAAAAAAAAAAAAAAAAABAAAAAA==) format("woff");
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body {
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
line-height: 1.5;
color: rgb(171, 178, 191);
line-height: 1.5;
word-wrap: break-word;
background: #282c34;
padding-top: 20px;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-c, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-c, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-c {
color: #6a737d;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-c1, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-s .pl-v, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-c1, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-s .pl-v, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-c1, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-s .pl-v {
color: #005cc5;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-e, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-en, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-e, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-en, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-e, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-en {
color: #6f42c1;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-smi, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-s .pl-s1, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-smi, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-s .pl-s1, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-smi, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-s .pl-s1 {
color: #24292e;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-ent, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-ent, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-ent {
color: #22863a;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-k, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-k, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-k {
color: #d73a49;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-s, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-pds, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-s .pl-pse .pl-s1, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-sr, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-sr .pl-cce, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-sr .pl-sre, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-sr .pl-sra, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-s, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-pds, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-s .pl-pse .pl-s1, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-sr, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-sr .pl-cce, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-sr .pl-sre, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-sr .pl-sra, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-s, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-pds, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-s .pl-pse .pl-s1, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-sr, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-sr .pl-cce, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-sr .pl-sre, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-sr .pl-sra {
color: #032f62;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-v, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-smw, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-v, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-smw, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-v, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-smw {
color: #e36209;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-bu, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-bu, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-bu {
color: #b31d28;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-ii, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-ii, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-ii {
color: #fafbfc;
background-color: #b31d28;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-c2, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-c2, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-c2 {
color: #fafbfc;
background-color: #d73a49;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-c2::before, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-c2::before, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-c2::before {
content: "^M";
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-sr .pl-cce, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-sr .pl-cce, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-sr .pl-cce {
font-weight: bold;
color: #22863a;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-ml, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-ml, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-ml {
color: #735c0f;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-mh, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-mh .pl-en, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-ms, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-mh, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-mh .pl-en, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-ms, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-mh, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-mh .pl-en, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-ms {
font-weight: bold;
color: #005cc5;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-mi, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-mi, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-mi {
font-style: italic;
color: #24292e;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-mb, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-mb, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-mb {
font-weight: bold;
color: #24292e;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-md, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-md, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-md {
color: #b31d28;
background-color: #ffeef0;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-mi1, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-mi1, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-mi1 {
color: #22863a;
background-color: #f0fff4;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-mc, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-mc, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-mc {
color: #e36209;
background-color: #ffebda;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-mi2, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-mi2, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-mi2 {
color: #f6f8fa;
background-color: #005cc5;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-mdr, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-mdr, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-mdr {
font-weight: bold;
color: #6f42c1;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-ba, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-ba, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-ba {
color: #586069;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-sg, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-sg, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-sg {
color: #959da5;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-corl, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-corl, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-corl {
text-decoration: underline;
color: #032f62;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .octicon, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .octicon, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .octicon {
display: inline-block;
vertical-align: text-top;
fill: currentColor;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body a, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body a, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body a {
background-color: transparent;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body a:active, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body a:hover, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body a:active, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body a:hover, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body a:active, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body a:hover {
outline-width: 0;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body strong, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body strong, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body strong {
font-weight: inherit;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body strong, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body strong, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body strong {
font-weight: bolder;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h1, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h1, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h1 {
margin: 0.67em 0;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body img, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body img, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body img {
border-style: none;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body hr, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body hr, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body hr {
box-sizing: content-box;
height: 0;
overflow: visible;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body input, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body input, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body input {
font: inherit;
margin: 0;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body input, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body input, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body input {
overflow: visible;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body [type=checkbox], .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body [type=checkbox], .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body [type=checkbox] {
box-sizing: border-box;
padding: 0;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body *, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body *, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body * {
box-sizing: border-box;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body input, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body input, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body input {
font-family: inherit;
line-height: inherit;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body a, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body a, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body a {
color: #528bff;
text-decoration: none;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body a:hover, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body a:hover, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body a:hover {
text-decoration: underline;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body strong, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body strong, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body strong {
font-weight: 600;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body hr, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body hr, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body hr {
height: 0;
margin: 15px 0;
overflow: hidden;
background: transparent;
border: 0;
border-bottom: 1px solid #dfe2e5;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body hr::before, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body hr::before, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body hr::before {
display: table;
content: "";
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body hr::after, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body hr::after, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body hr::after {
display: table;
clear: both;
content: "";
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body table, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body table, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body table {
border-spacing: 0;
border-collapse: collapse;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body td, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body th, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body td, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body th, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body td, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body th {
padding: 0;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h1, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h2, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h3, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h4, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h5, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h6, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h1, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h2, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h3, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h4, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h5, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h6, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h1, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h2, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h3, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h4, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h5, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h6 {
margin-top: 0;
margin-bottom: 0;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h1, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h1, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h1 {
font-weight: 600;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h2, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h2, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h2 {
font-weight: 600;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h3, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h3, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h3 {
font-weight: 600;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h4, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h4, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h4 {
font-weight: 600;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h5, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h5, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h5 {
font-weight: 600;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h6, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h6, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h6 {
font-weight: 600;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body p, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body p, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body p {
margin-top: 0;
margin-bottom: 10px;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body blockquote, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body blockquote, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body blockquote {
margin: 0;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body ul, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body ol, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body ul, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body ol, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body ul, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body ol {
padding-left: 0;
margin-top: 0;
margin-bottom: 0;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body ol ol, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body ul ol, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body ol ol, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body ul ol, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body ol ol, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body ul ol {
list-style-type: lower-roman;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body ul ul ol, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body ul ol ol, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body ol ul ol, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body ol ol ol, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body ul ul ol, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body ul ol ol, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body ol ul ol, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body ol ol ol, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body ul ul ol, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body ul ol ol, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body ol ul ol, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body ol ol ol {
list-style-type: lower-alpha;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body dd, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body dd, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body dd {
margin-left: 0;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body pre, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body pre, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body pre {
margin-top: 0;
margin-bottom: 0;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .octicon, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .octicon, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .octicon {
vertical-align: text-bottom;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-0, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-0, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-0 {
padding-left: 0 !important;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-1, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-1, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-1 {
padding-left: 4px !important;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-2, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-2, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-2 {
padding-left: 8px !important;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-3, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-3, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-3 {
padding-left: 16px !important;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-4, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-4, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-4 {
padding-left: 24px !important;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-5, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-5, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-5 {
padding-left: 32px !important;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .pl-6, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .pl-6, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .pl-6 {
padding-left: 40px !important;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body::before, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body::before, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body::before {
display: table;
content: "";
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body::after, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body::after, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body::after {
display: table;
clear: both;
content: "";
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body > *:first-child, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body > *:first-child, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body > *:first-child {
margin-top: 0 !important;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body > *:last-child, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body > *:last-child, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body > *:last-child {
margin-bottom: 0 !important;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body a:not([href]), .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body a:not([href]), .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body a:not([href]) {
color: inherit;
text-decoration: none;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .anchor, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .anchor, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .anchor {
float: left;
padding-right: 4px;
margin-left: -20px;
line-height: 1;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .anchor:focus, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .anchor:focus, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .anchor:focus {
outline: none;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body p, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body blockquote, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body ul, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body ol, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body dl, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body table, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body pre, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body p, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body blockquote, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body ul, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body ol, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body dl, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body table, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body pre, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body p, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body blockquote, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body ul, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body ol, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body dl, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body table, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body pre {
margin-top: 0;
margin-bottom: 16px;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body hr, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body hr, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body hr {
height: 0.25em;
padding: 0;
margin: 24px 0;
background-color: #e1e4e8;
border: 0;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body blockquote, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body blockquote, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body blockquote {
/* padding: 0 1em;
color: #6a737d;
border-left: 0.25em solid #dfe2e5; */
padding: 8.5px 17px;
margin: 1.5em 0;
color: #7c879c;
border-color: #4b5362;
border-width: 4px;
border-left: 5px solid #4b5362;
background: transparent;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body blockquote > :first-child, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body blockquote > :first-child, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body blockquote > :first-child {
margin-top: 0;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body blockquote > :last-child, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body blockquote > :last-child, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body blockquote > :last-child {
margin-bottom: 0;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body kbd, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body kbd, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body kbd {
display: inline-block;
padding: 3px 5px;
line-height: 10px;
color: #444d56;
vertical-align: middle;
background-color: #fafbfc;
border: solid 1px #c6cbd1;
border-bottom-color: #959da5;
border-radius: 3px;
box-shadow: inset 0 -1px 0 #959da5;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h1, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h2, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h3, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h4, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h5, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h6, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h1, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h2, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h3, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h4, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h5, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h6, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h1, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h2, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h3, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h4, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h5, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h6 {
margin-top: 24px;
margin-bottom: 16px;
font-weight: 600;
line-height: 1.25;
color: rgb(240, 240, 240);
border-bottom: none;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h1 .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h2 .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h3 .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h4 .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h5 .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h6 .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h1 .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h2 .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h3 .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h4 .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h5 .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h6 .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h1 .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h2 .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h3 .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h4 .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h5 .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h6 .octicon-link {
color: #1b1f23;
vertical-align: middle;
visibility: hidden;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h1:hover .anchor, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h2:hover .anchor, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h3:hover .anchor, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h4:hover .anchor, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h5:hover .anchor, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h6:hover .anchor, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h1:hover .anchor, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h2:hover .anchor, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h3:hover .anchor, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h4:hover .anchor, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h5:hover .anchor, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h6:hover .anchor, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h1:hover .anchor, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h2:hover .anchor, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h3:hover .anchor, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h4:hover .anchor, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h5:hover .anchor, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h6:hover .anchor {
text-decoration: none;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h1:hover .anchor .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h2:hover .anchor .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h3:hover .anchor .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h4:hover .anchor .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h5:hover .anchor .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h6:hover .anchor .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h1:hover .anchor .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h2:hover .anchor .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h3:hover .anchor .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h4:hover .anchor .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h5:hover .anchor .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h6:hover .anchor .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h1:hover .anchor .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h2:hover .anchor .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h3:hover .anchor .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h4:hover .anchor .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h5:hover .anchor .octicon-link, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h6:hover .anchor .octicon-link {
visibility: visible;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h1, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h1, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h1 {
padding-bottom: 0.3em;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h2, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h2, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h2 {
padding-bottom: 0.3em;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body h6, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body h6, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body h6 {
color: #6a737d;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body ul, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body ol, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body ul, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body ol, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body ul, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body ol {
padding-left: 2em;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body ul ul, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body ul ol, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body ol ol, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body ol ul, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body ul ul, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body ul ol, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body ol ol, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body ol ul, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body ul ul, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body ul ol, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body ol ol, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body ol ul {
margin-top: 0;
margin-bottom: 0;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body li, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body li, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body li {
word-wrap: break-all;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body li > p, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body li > p, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body li > p {
margin-top: 16px;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body li + li, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body li + li, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body li + li {
margin-top: 0.25em;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body dl, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body dl, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body dl {
padding: 0;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body dl dt, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body dl dt, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body dl dt {
padding: 0;
margin-top: 16px;
font-style: italic;
font-weight: 600;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body dl dd, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body dl dd, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body dl dd {
padding: 0 16px;
margin-bottom: 16px;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body table, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body table, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body table {
display: block;
width: 100%;
overflow: auto;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body table th, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body table th, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body table th {
font-weight: 700;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body table th, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body table td, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body table th, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body table td, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body table th, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body table td {
padding: 6px 13px;
/* border: 1px solid #dfe2e5; */
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body img, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body img, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body img {
max-width: 100%;
box-sizing: content-box;
display: inline-block;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body img[align=right], .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body img[align=right], .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body img[align=right] {
padding-left: 20px;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body img[align=left], .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body img[align=left], .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body img[align=left] {
padding-right: 20px;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body code, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body code, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body code {
padding: 0.2em 0.4em;
margin: 0;
background-color: #3a3f4b;
border-radius: 3px;
color: white;
margin: 0 1px;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body pre, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body pre, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body pre {
word-wrap: normal;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body pre > code, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body pre > code, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body pre > code {
padding: 0;
margin: 0;
word-break: normal;
white-space: pre;
background: transparent;
border: 0;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .highlight, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .highlight, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .highlight {
margin-bottom: 16px;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .highlight pre, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .highlight pre, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .highlight pre {
margin-bottom: 0;
word-break: normal;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .highlight pre, .vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body pre, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .highlight pre, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body pre, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .highlight pre, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body pre {
padding: 16px;
overflow: auto;
line-height: 1.45;
/* background-color: #f6f8fa; */
border-radius: 3px;
background-color: #31363f;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body pre code, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body pre code, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body pre code {
display: inline;
max-width: auto;
padding: 0;
margin: 0;
overflow: visible;
line-height: inherit;
word-wrap: normal;
background-color: transparent;
border: 0;
color: rgb(171, 178, 191);
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .full-commit .btn-outline:not(:disabled):hover, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .full-commit .btn-outline:not(:disabled):hover, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .full-commit .btn-outline:not(:disabled):hover {
color: #005cc5;
border-color: #005cc5;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body kbd, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body kbd, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body kbd {
display: inline-block;
padding: 3px 5px;
line-height: 10px;
color: #444d56;
vertical-align: middle;
background-color: #fafbfc;
border: solid 1px #d1d5da;
border-bottom-color: #c6cbd1;
border-radius: 3px;
box-shadow: inset 0 -1px 0 #c6cbd1;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body :checked + .radio-label, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body :checked + .radio-label, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body :checked + .radio-label {
position: relative;
z-index: 1;
border-color: #0366d6;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .task-list-item, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .task-list-item, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .task-list-item {
list-style-type: none;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .task-list-item + .task-list-item, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .task-list-item + .task-list-item, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .task-list-item + .task-list-item {
margin-top: 3px;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body .task-list-item input, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body .task-list-item input, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body .task-list-item input {
margin: 0 0.2em 0.25em -1.6em;
vertical-align: middle;
}
.vscode-dark[data-vscode-theme-name="One Dark Pro Flat"].vscode-body hr, .vscode-dark[data-vscode-theme-name="One Dark Pro Darker"].vscode-body hr, .vscode-dark[data-vscode-theme-name="One Dark Pro"].vscode-body hr {
border-bottom-color: #eee;
}

View File

@@ -0,0 +1 @@
true

File diff suppressed because it is too large Load Diff