├── .nvmrc ├── themes └── .gitkeep ├── demo ├── ini.ini ├── react.js ├── yml.yml ├── css.css ├── invalid.json ├── xml.xml ├── json.json ├── c.c ├── js.js ├── typescript.ts ├── html.html ├── php.php ├── cpp.cpp ├── rust.rs ├── markdown.md ├── python.py ├── shell.sh ├── csharp.cs ├── java.java ├── arm.S ├── Makefile ├── kotlin.kt └── intel.S ├── images ├── logo.png ├── logo.psd ├── heading.png ├── heading.psd ├── screenshot.png ├── screenshot-1-0-0.png └── Code_2019-02-13_12-30-08.png ├── .gitignore ├── .vscodeignore ├── tsconfig.json ├── .vscode └── launch.json ├── LICENSE ├── colour-occurrences.txt ├── package.json ├── src ├── app.ts └── themes │ └── papercolor.yaml ├── README.md └── CHANGELOG.md /.nvmrc: -------------------------------------------------------------------------------- 1 | v18.8.0 2 | -------------------------------------------------------------------------------- /themes/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /demo/ini.ini: -------------------------------------------------------------------------------- 1 | 2 | ; Some comment 3 | [SECTION] 4 | key1=value 5 | key2=33 6 | key_3="some text" 7 | -------------------------------------------------------------------------------- /images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrworkman/papercolor-vscode-redux/HEAD/images/logo.png -------------------------------------------------------------------------------- /images/logo.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrworkman/papercolor-vscode-redux/HEAD/images/logo.psd -------------------------------------------------------------------------------- /images/heading.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrworkman/papercolor-vscode-redux/HEAD/images/heading.png -------------------------------------------------------------------------------- /images/heading.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrworkman/papercolor-vscode-redux/HEAD/images/heading.psd -------------------------------------------------------------------------------- /images/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrworkman/papercolor-vscode-redux/HEAD/images/screenshot.png -------------------------------------------------------------------------------- /images/screenshot-1-0-0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrworkman/papercolor-vscode-redux/HEAD/images/screenshot-1-0-0.png -------------------------------------------------------------------------------- /images/Code_2019-02-13_12-30-08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrworkman/papercolor-vscode-redux/HEAD/images/Code_2019-02-13_12-30-08.png -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | #.vscode/** 2 | .vscode-test/** 3 | *.vsix 4 | desktop.ini 5 | *.pri 6 | *.DS_Store 7 | 8 | bin/* 9 | node_modules/* 10 | 11 | themes/*.json 12 | -------------------------------------------------------------------------------- /demo/react.js: -------------------------------------------------------------------------------- 1 | import { Component } from "React"; 2 | 3 | class Wow extends Component { 4 | render() { 5 | return ( 6 |
7 | 8 |
9 | ); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /.vscodeignore: -------------------------------------------------------------------------------- 1 | # Excludes files from being added to .vsix package. 2 | 3 | # Ignore all files by default 4 | **/* 5 | 6 | # Things to allow. 7 | !LICENSE 8 | !CHANGELOG.md 9 | !README.md 10 | !images/*.png 11 | !themes/papercolor-vscode-redux.json 12 | -------------------------------------------------------------------------------- /demo/yml.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "6" 4 | install: 5 | - npm install 6 | script: 7 | - npm test 8 | after_script: 9 | - npm run coveralls 10 | notifications: 11 | email: 12 | on_success: never 13 | on_failure: "always" 14 | 15 | # Some Comment -------------------------------------------------------------------------------- /demo/css.css: -------------------------------------------------------------------------------- 1 | .someClass { 2 | font-family: sans, 'font with spaces'; 3 | } 4 | 5 | #someID { 6 | background: yellow; 7 | color: #f00; 8 | } 9 | 10 | /* 11 | some comment 12 | */ 13 | 14 | table { 15 | align-content: center; 16 | font-size: 22; 17 | background-color: var(--main-bg-color); 18 | } 19 | -------------------------------------------------------------------------------- /demo/invalid.json: -------------------------------------------------------------------------------- 1 | { 2 | "env": { 3 | "es6": true, 4 | "mocha": true, 5 | "node": true 6 | }, 7 | "extends: "eslint:recommended", 8 | "rules": { 9 | "indent": [ 10 | "error", 11 | 2 12 | ], 13 | "linebreak-style": [ 14 | "error", 15 | "unix" 16 | ], 17 | "quotes: [ 18 | "error", 19 | "single" 20 | ], 21 | "semi": [ 22 | "error", 23 | "always" 24 | ] 25 | } 26 | } -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "module": "commonjs", 4 | "esModuleInterop": true, 5 | "target": "es6", 6 | "moduleResolution": "node", 7 | "sourceMap": true, 8 | "outDir": "bin", 9 | 10 | "noImplicitAny": true, 11 | "removeComments": true, 12 | "preserveConstEnums": true, 13 | "strictNullChecks": true, 14 | }, 15 | "include": [ 16 | "src/" 17 | ], 18 | "lib": ["es2021"] 19 | } 20 | -------------------------------------------------------------------------------- /demo/xml.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | Apples 8 | Bananas 9 | 10 | 11 | 12 | 13 | African Coffee Table 14 | 80 15 | 120 16 | 17 | 18 | -------------------------------------------------------------------------------- /demo/json.json: -------------------------------------------------------------------------------- 1 | { 2 | "env": { 3 | "es6": true, 4 | "mocha": true, 5 | "node": true 6 | }, 7 | "extends": "eslint:recommended", 8 | "rules": { 9 | "indent": [ 10 | "error", 11 | 2 12 | ], 13 | "linebreak-style": [ 14 | "error", 15 | "unix" 16 | ], 17 | "quotes": [ 18 | "error", 19 | "single" 20 | ], 21 | "semi": [ 22 | "error", 23 | "always" 24 | ] 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /demo/c.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #define SOMETHING 0x00010000 4 | 5 | #if DEBUG 6 | int x = 3; 7 | #else 8 | int x = 4; 9 | #endif 10 | 11 | const int XX = 0; 12 | char c = '0'; 13 | 14 | typedef struct x { 15 | int field; 16 | char *ptr; 17 | } X; 18 | 19 | /// \brief Something 20 | int main(int argc, char **argv) { 21 | 22 | int y = x-x; 23 | 24 | if (argc < 1) { 25 | printf("Expected at least one argument!\n"); 26 | return 1; 27 | } 28 | 29 | return 0; 30 | } 31 | -------------------------------------------------------------------------------- /demo/js.js: -------------------------------------------------------------------------------- 1 | const hello = 'I am never used'; 2 | 3 | doesNotExist.nope(`I'm never imported`); 4 | 5 | class widget extends React.Component { } 6 | 7 | const joe = function () { }; 8 | 9 | const wes = 100; 10 | 11 | function wes() { 12 | let str1 = `some template: ${1}`; 13 | let str2 = 'some string'; 14 | 15 | var f = "foo"; 16 | 17 | if (something == true && a <= b) { 18 | 19 | throw new Exception(); 20 | } 21 | 22 | var x = html` `; 23 | 24 | return 42; 25 | } 26 | 27 | const wes = () => { }; 28 | 29 | console.log(joe, wes); 30 | -------------------------------------------------------------------------------- /demo/typescript.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { BrowserModule } from '@angular/platform-browser'; 3 | import { FormsModule } from '@angular/forms'; 4 | 5 | import { AppComponent } from './app.component'; 6 | 7 | @NgModule({ 8 | imports: [ 9 | BrowserModule, 10 | FormsModule 11 | ], 12 | declarations: [ 13 | AppComponent 14 | ], 15 | bootstrap: [AppComponent] 16 | }) 17 | export class AppModule { } 18 | 19 | let something = (a: string) => { 20 | console.log(`do something with ${a}`); 21 | } 22 | 23 | function foo(x: number, y: number): number { 24 | return x + y; 25 | } -------------------------------------------------------------------------------- /demo/html.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Document 9 | 10 | 11 | 12 | 13 | 14 | 15 |

Something

16 | 17 |

something

18 | 19 | 24 | 25 | 26 | 27 |
28 | 29 |
30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- 1 | // A launch configuration that launches the extension inside a new window 2 | // Use IntelliSense to learn about possible attributes. 3 | // Hover to view descriptions of existing attributes. 4 | // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 5 | { 6 | "version": "0.2.0", 7 | "configurations": [ 8 | { 9 | "name": "Extension", 10 | "type": "extensionHost", 11 | "request": "launch", 12 | "runtimeExecutable": "${execPath}", 13 | "args": [ 14 | "--extensionDevelopmentPath=${workspaceFolder}" 15 | ] 16 | } 17 | ] 18 | } -------------------------------------------------------------------------------- /demo/php.php: -------------------------------------------------------------------------------- 1 | 10 | 11 | 25 | -------------------------------------------------------------------------------- /demo/cpp.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | using namespace std; 4 | 5 | class CSomeType { 6 | 7 | private: 8 | int m_someInternal; 9 | 10 | public: 11 | CSomeType() { 12 | m_someInternal = 1; 13 | } 14 | 15 | ~CSomeType() { 16 | 17 | } 18 | 19 | void mutate() { 20 | m_someInternal++; 21 | } 22 | }; 23 | 24 | /// \brief Something. 25 | int main() { 26 | auto myType = new CSomeType(); 27 | 28 | cout << "Hello, world!" << endl; 29 | cout << myType << endl; 30 | 31 | try { 32 | myType->mutate(); 33 | } catch(...) { 34 | 35 | } 36 | 37 | if (1 == 1 || 1 <= 2) { 38 | // Blah 39 | } 40 | 41 | cout << myType << endl; 42 | 43 | delete myType; 44 | 45 | return 0; 46 | } 47 | -------------------------------------------------------------------------------- /demo/rust.rs: -------------------------------------------------------------------------------- 1 | //! Doc comment 2 | 3 | use std::fmt::Debug; 4 | 5 | const SOMETHING: u32 = 0x00010000; 6 | 7 | pub enum OneOf { 8 | This(T1), 9 | That(T2), 10 | } 11 | 12 | struct SomeStruct { 13 | thing1: u32, 14 | thing2: &str 15 | } 16 | 17 | impl SomeStruct { 18 | 19 | } 20 | 21 | impl From<&str> for SomeStruct { 22 | fn from(n: &str) -> Self { 23 | todo!() 24 | } 25 | } 26 | 27 | const SOME_CONST: u32 = 123456; 28 | 29 | /*! Inner block doc */ 30 | /** Outer block doc */ 31 | 32 | fn main() { 33 | let mut foo: u16 = 990; 34 | let bar = "Some string"::to_string(); 35 | 36 | println!("Hello, jello! {foo}", foo=42); 37 | 38 | if c == 1 { 39 | if x == true { 40 | return; 41 | } 42 | } 43 | 44 | process::exit(0); 45 | } 46 | -------------------------------------------------------------------------------- /demo/markdown.md: -------------------------------------------------------------------------------- 1 | # Papercolor Redux Theme 2 | 3 | > A reworked papercolor theme for VS Code. 4 | 5 | ![Preview](images/preview.gif) 6 | 7 | # Installation 8 | 9 | 1. Install [Visual Studio Code](https://code.visualstudio.com/) 10 | 2. Launch Visual Studio Code 11 | 3. Choose **Extensions** from menu 12 | 4. Search for `papercolor-vscode-redux` 13 | 5. Click **Install** to install it 14 | 6. Click **Reload** to reload the Code 15 | 7. File > Preferences > Color Theme > **Papercolor Redux** 16 | 17 | *Some text in italics*. 18 | 19 | A list: 20 | * Item 1 21 | - Item 2 22 | 23 | Some `inline code`. 24 | 25 | ``` 26 | A code block 27 | ``` 28 | Another, different code block. 29 | 30 | | Heading | Heading | 31 | |--------:|---------| 32 | | a | b | 33 | 34 | underlined 35 |
36 | 37 | 38 | -------------------------------------------------------------------------------- /demo/python.py: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | class A: 5 | def __init__(self, a): 6 | self.a = a 7 | 8 | from flask import Flask, jsonify, make_response, request 9 | 10 | app = Flask('python-flask-seed') 11 | 12 | 13 | def foo(something: Optional[str]) -> bool: 14 | return something != "" 15 | 16 | @app.route('/welcome', methods=['POST']) 17 | def welcome(self, a): 18 | content = request.get_json(silent=True, force=True) 19 | 20 | try: 21 | message = 'Welcome %s!' % content['name'] 22 | response = { 23 | 'message': message, 24 | 'length': len(message), 25 | } 26 | return make_response(jsonify(response), 200) 27 | 28 | except Exception as ex: 29 | response = {'error': 'name is required'} 30 | return make_response(jsonify(response), 400) 31 | 32 | print(f"El. Psy. Kongroo.") 33 | 34 | foo( 35 | something="cheese", 36 | ) 37 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019 Stephen Workman 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /demo/shell.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/bash 2 | 3 | # See https://github.com/jeff-hykin/better-shell-syntax 4 | 5 | export PATH="${PATH}:/usr/local/opt/llvm/bin" 6 | 7 | find "$PWD" -maxdepth 1 -print0 | perl -p -e 's/\0'$escaped_path'\//\0/g' 8 | 9 | if [[ "$OSTYPE" == "darwin"* ]]; then 10 | brew install $@ 11 | fi 12 | 13 | cd /opencv-3.2.0/ \ 14 | && mkdir build \ 15 | && cd build \ 16 | && ldconfig \ 17 | && rm /opencv.zip \ 18 | && rm /opencv_contrib.zip 19 | 20 | function go_to_vs_lang_settings { 21 | arg_1=$1 22 | arg_2=$2 23 | arg_3=$3 24 | all_arguments=$@ 25 | cd "/Applications/extensions/"; ls -1 26 | } 27 | 28 | exec 9>&2 29 | exec 8> >( 30 | perl -e '$|=1; while(sysread STDIN,$a,9999) {print 31 | "$ENV{COLOR_BLUE}$a$ENV{COLOR_RESET}"}' 32 | ) 33 | 34 | export COLOR_BLUE="$(tput setaf 4)" 35 | export COLOR_RED="$(tput setaf 1)" 36 | export COLOR_RESET="$(tput sgr0)" 37 | 38 | sed -e 's/a/b/' 39 | sed 's/a/b/' 40 | sed 's/a/b/' adklfjasdlkjf 41 | 42 | read -p "Do you want to save your changes?" -n 1 -r 43 | echo # (optional) move to a new line 44 | if [[ ! $REPLY =~ ^[Yy]$ ]] 45 | 46 | then 47 | exit 1 48 | fi 49 | -------------------------------------------------------------------------------- /demo/csharp.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace SomeNamespace { 4 | 5 | public enum X { 6 | 7 | } 8 | 9 | } 10 | 11 | 12 | public class SomeClass { 13 | 14 | private int _someint = 22; 15 | private const double x = 0.0; 16 | private readonly object o = new Object(); 17 | 18 | private bool x = true; 19 | private bool x = false; 20 | 21 | // Some Comment... 22 | 23 | /// Some method. 24 | /// Some description. 25 | public SomeClass(float fl) { 26 | int l = 55; 27 | string x = $"Some {abc} String"; 28 | foo(); 29 | } 30 | 31 | public static void foo() { 32 | var q = (a) => { 33 | var verbatim = @"verbatim"; 34 | }; 35 | 36 | try { 37 | // Something... 38 | if (1 == 1) { 39 | return; 40 | } else { 41 | throw new Exception("Some Exception"); 42 | } 43 | } catch (Exception e) { 44 | Debug.WriteLine($"Something happened {e.Message}!"); 45 | } finally { 46 | Debug.WriteLine("Done, and stuff."); 47 | } 48 | } 49 | 50 | [SomeAnnotation(Something = "Something")] 51 | public string Something { get; set; } 52 | 53 | } 54 | -------------------------------------------------------------------------------- /colour-occurrences.txt: -------------------------------------------------------------------------------- 1 | 44 #424242 2 | 31 #d70087 3 | 19 #005f87 4 | 18 #8700af 5 | 12 #0087af 6 | 12 #005faf 7 | 6 #008700 8 | 5 #f00 9 | 5 #6f9700 10 | 4 #878787 11 | 3 #d75f00 12 | 3 #444444 13 | 2 #d86307 14 | 2 #d70000 15 | 2 #AA00FF 16 | 1 #e1efff 17 | 1 #af0000 18 | 1 #a5ff90 19 | 1 #880E4F 20 | 1 #01579B 21 | 1 #00af5f 22 | 1 #005ff8 23 | 24 | #5f8700 25 | #af5f00 26 | #afd7ff 27 | #afff87 28 | #afffaf 29 | #b2b2b2 30 | #bcbcbc 31 | #c6c6c6 32 | #d0d0d0 33 | #d7d7ff 34 | #e4e4e4 35 | #eeeeee 36 | #ffafd7 37 | #ffd787 38 | #ffd7ff 39 | #ffff00 40 | #ffff5f 41 | #ffffaf 42 | #ffffd7 43 | 44 | 45 | background', color00 #eeeeee 46 | negative', color01 #af0000 47 | positive', color02 #008700 48 | olive', color03 #5f8700 49 | neutral', color04 #0087af 50 | comment', color05 #878787 51 | navy', color06 #005f87 52 | foreground', color07 #444444 53 | 54 | nontext', color08 #bcbcbc 55 | red', color09 #d70000 56 | pink', color10 #d70087 57 | purple', color11 #8700af 58 | accent', color12 #d75f00 59 | orange', color13 #d75f00 60 | blue', color14 #005faf 61 | highlight', color15 #005f87 62 | 63 | Repeats: 64 | color16 #0087af 65 | color17 #008700 -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "papercolor-vscode-redux", 3 | "displayName": "PaperColor Redux Theme", 4 | "description": "Updated papercolor theme for vscode.", 5 | "version": "1.1.0", 6 | "publisher": "mrworkman", 7 | "icon": "images/logo.png", 8 | "repository": { 9 | "type": "git", 10 | "url": "https://github.com/mrworkman/papercolor-vscode-redux" 11 | }, 12 | "engines": { 13 | "vscode": "^1.75.1" 14 | }, 15 | "categories": [ 16 | "Themes" 17 | ], 18 | "keywords": [ 19 | "VSCode", 20 | "Themes" 21 | ], 22 | "contributes": { 23 | "themes": [ 24 | { 25 | "label": "PaperColor Redux", 26 | "uiTheme": "vs", 27 | "path": "./themes/papercolor-vscode-redux.json" 28 | } 29 | ] 30 | }, 31 | "devDependencies": { 32 | "@types/node": "^17.0.21", 33 | "ts-command-line-args": "^2.2.1", 34 | "typescript": "^4.6.2", 35 | "vsce": "~2.6.7", 36 | "watch": "^0.13.0", 37 | "yaml": "~1.10.2" 38 | }, 39 | "scripts": { 40 | "build": "tsc && node bin/app.js --source-file=src/themes/papercolor.yaml --target-file themes/papercolor-vscode-redux.json", 41 | "watch": "watch --wait=0 --interval=1 'npm run build' ./src/", 42 | "package": "npm run build && vsce ls && vsce package", 43 | "publish": "vsce publish" 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /demo/java.java: -------------------------------------------------------------------------------- 1 | 2 | package org.example.somepackage; 3 | 4 | // Some example imports. 5 | import java.util.Calendar; 6 | import java.util.Date; 7 | 8 | // Static import. 9 | import static java.lang.System.out; 10 | 11 | 12 | public class SomeClass extends FooClass { 13 | 14 | private final String _someString = "Some string"; 15 | 16 | private int _someint = 22; 17 | private final double _x = 0.0; 18 | private static final Object SOME_OBJECT = new Object(); 19 | 20 | public SomeClass() { 21 | int l = 55; 22 | String x = "Some String"; 23 | 24 | super(true); 25 | } 26 | 27 | public void Foo() { 28 | Object o = new Object(); 29 | } 30 | 31 | @SomeAnnotation 32 | @SomeOtherAnnotation(femputer = true) 33 | public String getSnooSnoo() { 34 | 35 | return "SNOO SNOO"; 36 | } 37 | 38 | /** 39 | * Something else. See this {@code something}. 40 | * 41 | * @param args These are the args. 42 | * @return void Nothing. 43 | */ 44 | public static void main(String[] args) { 45 | out.println("Hello, jello.") 46 | 47 | Thread thread = new Thread(() -> { 48 | while (q == r && true) { 49 | out.println("Something"); 50 | } 51 | Thread.sleep(1); 52 | }); 53 | 54 | thread.start(); 55 | 56 | try { 57 | BarClass bar = new BarClass(); 58 | 59 | if (somevar == getB()) { 60 | doSomething(bar.SOMETHING); 61 | } else { 62 | doSomethingElse(); 63 | return; 64 | } 65 | } catch (RuntimeException e) { 66 | throw new FooException("FOO Happened."); 67 | } finally { 68 | out.println("derp"); 69 | } 70 | 71 | System.exit(0); 72 | } 73 | } 74 | -------------------------------------------------------------------------------- /src/app.ts: -------------------------------------------------------------------------------- 1 | import fs from 'fs'; 2 | import YAML from 'yaml'; 3 | import { parse } from 'ts-command-line-args'; 4 | 5 | interface IArgs{ 6 | "source-file": string; 7 | "target-file": string; 8 | } 9 | 10 | const args = parse({ 11 | "source-file": String, 12 | "target-file": String, 13 | }); 14 | 15 | type YamlTokenColor = { 16 | name: string; 17 | color: string; 18 | } & { 19 | [key: string]: string[]; 20 | } 21 | 22 | type YamlTheme = { 23 | name: string; 24 | type: string; 25 | namedColors: string[]; 26 | uiColors: { 27 | [element: string]: string 28 | }; 29 | tokenColors: YamlTokenColor[]; 30 | } 31 | 32 | interface ISettings { 33 | foreground: string; 34 | fontStyle: string; 35 | } 36 | 37 | interface ITokenSpec { 38 | name: string; 39 | scope: string[]; 40 | settings: ISettings; 41 | } 42 | 43 | const source: YamlTheme = YAML.parse( 44 | fs.readFileSync(args['source-file'], 'utf-8') 45 | ); 46 | 47 | var target = { 48 | $schema: "vscode://schemas/color-theme", 49 | name: source.name, 50 | type: source.type, 51 | colors: source.uiColors, 52 | tokenColors: [] as ITokenSpec[], 53 | }; 54 | 55 | target.tokenColors = source.tokenColors.flatMap(it => { 56 | var styles = Object.getOwnPropertyNames(it).filter( 57 | prop => prop !== 'name' && 58 | prop !== 'color' 59 | ); 60 | 61 | return styles.map(style => { 62 | var tokenSpec: ITokenSpec = { 63 | name: `${it.name}-${style}`, 64 | scope: it[style] || [], 65 | settings: { 66 | foreground: it.color, 67 | fontStyle: style !== 'normal' ? style : "", 68 | } 69 | } 70 | 71 | return tokenSpec; 72 | }); 73 | }); 74 | 75 | console.log(`Writing output to ${args['target-file']}...`); 76 | 77 | fs.writeFileSync(args['target-file'], JSON.stringify(target, null, 2)); 78 | 79 | console.log("Done."); -------------------------------------------------------------------------------- /demo/arm.S: -------------------------------------------------------------------------------- 1 | .section __TEXT,__text,regular,pure_instructions 2 | .build_version macos, 12, 0 sdk_version 12, 3 3 | .globl _main ; -- Begin function main 4 | .p2align 2 5 | _main: ; @main 6 | .cfi_startproc 7 | ; %bb.0: 8 | sub sp, sp, #48 9 | stp x29, x30, [sp, #32] ; 16-byte Folded Spill 10 | add x29, sp, #32 11 | .cfi_def_cfa w29, 16 12 | .cfi_offset w30, -8 13 | .cfi_offset w29, -16 14 | stur wzr, [x29, #-4] 15 | stur w0, [x29, #-8] 16 | str x1, [sp, #16] 17 | adrp x9, _x@PAGE 18 | ldr w8, [x9, _x@PAGEOFF] 19 | ldr w9, [x9, _x@PAGEOFF] 20 | subs w8, w8, w9 21 | str w8, [sp, #12] 22 | ldur w8, [x29, #-8] 23 | subs w8, w8, #1 24 | b.ge LBB0_2 25 | b LBB0_1 26 | LBB0_1: 27 | adrp x0, l_.str@PAGE 28 | add x0, x0, l_.str@PAGEOFF 29 | bl _printf 30 | mov w8, #1 31 | stur w8, [x29, #-4] 32 | b LBB0_3 33 | LBB0_2: 34 | stur wzr, [x29, #-4] 35 | b LBB0_3 36 | LBB0_3: 37 | ldur w0, [x29, #-4] 38 | ldp x29, x30, [sp, #32] ; 16-byte Folded Reload 39 | add sp, sp, #48 40 | ret 41 | .cfi_endproc 42 | ; -- End function 43 | .section __DATA,__data 44 | .globl _x ; @x 45 | .p2align 2 46 | _x: 47 | .long 4 ; 0x4 48 | 49 | .section __TEXT,__const 50 | .globl _XX ; @XX 51 | .p2align 2 52 | _XX: 53 | .long 0 ; 0x0 54 | 55 | .section __DATA,__data 56 | .globl _c ; @c 57 | _c: 58 | .byte 48 ; 0x30 59 | 60 | .section __TEXT,__cstring,cstring_literals 61 | l_.str: ; @.str 62 | .asciz "Expected at least one argument!\n" 63 | 64 | .subsections_via_symbols 65 | -------------------------------------------------------------------------------- /demo/Makefile: -------------------------------------------------------------------------------- 1 | 2 | # 3 | # default definitions for Unix utilities (may be changed here) 4 | CC = gcc 5 | RM = rm -f 6 | HARDLN = ln 7 | MKDIR = mkdir -p 8 | 9 | # The following variable indicates the architecture of the output binaries 10 | # on using this Makefile. 11 | 12 | BITS = 64 13 | 14 | ############################################################################# 15 | ## General compiler options ## 16 | ############################################################################# 17 | 18 | DEFINES = -DLINUX -D_GCC3 19 | #Note: Append the path to appropriate LDAP headers if not already present 20 | #in the include list. 21 | INCLUDES = -I/opt/ibm/ldap/V6.3.1/include -I../include -I/usr/include 22 | 23 | ############################################################################# 24 | ## Options for building 64 bit targets on AMD64 Linux 25 | ############################################################################# 26 | CLIENT_LIBS = -lidsldif -libmldap -libmldapdbg -lidsldapiconv 27 | LIBS = -L/opt/ibm/ldap/V6.3.1/lib64 -L/usr/lib64 -lpthread -ldl 28 | 29 | LFLAGS = -Wl,-rpath,/opt/ibm/ldap/V6.3.1/lib64 $(LIBS) $(CLIENT_LIBS) 30 | CFLAGS = $(INCLUDES) $(DEFINES) 31 | ############################################################################# 32 | ## Targets ## 33 | ############################################################################# 34 | 35 | all: ldapsearch ldapmodify ldapdelete ldapmodrdn ldapadd ldapchangepwd ldapexop 36 | 37 | ldapsearch: 38 | $(MKDIR) $(BITS) 39 | $(CC) $(CFLAGS) -o $(BITS)/$@ ldapsearch.c $(LFLAGS) 40 | 41 | ldapmodify: 42 | $(MKDIR) $(BITS) 43 | $(CC) $(CFLAGS) -o $(BITS)/$@ ldapmodify.c $(LFLAGS) 44 | 45 | ldapdelete: 46 | $(MKDIR) $(BITS) 47 | $(CC) $(CFLAGS) -o $(BITS)/$@ ldapdelete.c $(LFLAGS) 48 | 49 | ldapmodrdn: 50 | $(MKDIR) $(BITS) 51 | $(CC) $(CFLAGS) -o $(BITS)/$@ ldapmodrdn.c $(LFLAGS) 52 | 53 | ldapchangepwd: 54 | $(MKDIR) $(BITS) 55 | $(CC) $(CFLAGS) -o $(BITS)/$@ ldapchangepwd.c $(LFLAGS) 56 | 57 | ldapexop: 58 | $(MKDIR) $(BITS) 59 | $(CC) $(CFLAGS) -o $(BITS)/$@ ldapexop.c $(LFLAGS) 60 | 61 | ldapadd: ldapmodify 62 | $(RM) $(BITS)/$@ 63 | $(HARDLN) $(BITS)/ldapmodify $(BITS)/ldapadd 64 | 65 | clean: 66 | $(RM) *.o core a.out $(BITS)/*.o $(BITS)/core $(BITS)/a.out $(BITS)/ldapsearch \ 67 | $(BITS)/ldapmodify $(BITS)/ldapdelete \ 68 | $(BITS)/ldapmodrdn $(BITS)/ldapadd $(BITS)/ldapchangepwd $(BITS)/ldapexop 69 | 70 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |
2 | 3 | ![heading](https://github.com/mrworkman/papercolor-vscode-redux/raw/main/images/heading.png) 4 | 5 |
6 | 7 | A _light_ colour theme for [vscode](https://code.visualstudio.com/), based on 8 | the fabulous [PaperColor theme](https://github.com/NLKNguyen/papercolor-theme) 9 | for [vim](https://www.vim.org/). 10 | 11 | Note that there are of course differences between this theme and the one for 12 | vim, mostly due to which textmate scopes have been defined for each language 13 | (some things aren't easily doable). 14 | 15 |
16 | 17 | ![screenshot-v1](https://github.com/mrworkman/papercolor-vscode-redux/raw/main/images/screenshot-1-0-0.png) 18 | ![screenshot](https://github.com/mrworkman/papercolor-vscode-redux/raw/main/images/screenshot.png) 19 | 20 |
21 | 22 | The font shown in the screenshot is [Fira Mono](https://fonts.google.com/specimen/Fira+Mono) ([Info](https://mozilla.github.io/Fira/), [GitHub](https://github.com/mozilla/Fira)). 23 | 24 | 25 | ## Languages 26 | 27 | The following languages are explicitly supported. Colouring will apply for other 28 | languages as well, but it may be incomplete or inconsistent with other 29 | languages. 30 | 31 | - Assembly language (Intel, ARM) 32 | - BASH/Shell 33 | - C/C++ 34 | - C# 35 | - CSS 36 | - Dockerfile 37 | - HTML/XML 38 | - ini 39 | - Java 40 | - JavaScript 41 | - JSON 42 | - Kotlin 43 | - Makefile 44 | - Markdown 45 | - PHP 46 | - Python 47 | - Rust 48 | - tmux configuration files 49 | - TOML 50 | - TypeScript 51 | - Vim Script 52 | - YAML 53 | 54 | I will add more as time allows, but pull-requests are welcome. 55 | 56 | ## Recommended Extensions 57 | 58 | I recommend having the following extensions installed to provide better support 59 | various languages. In some cases no highlighting is possible without the 60 | installation of an extension. 61 | 62 | - [Arm Assembly](https://marketplace.visualstudio.com/items?itemName=dan-c-underwood.arm) 63 | - [Better Dockerfile Syntax](https://marketplace.visualstudio.com/items?itemName=jeff-hykin.better-dockerfile-syntax) 64 | - [Better JavaScript Syntax](https://marketplace.visualstudio.com/items?itemName=jeff-hykin.better-js-syntax) 65 | - [Better Shell Syntax](https://marketplace.visualstudio.com/items?itemName=jeff-hykin.better-shellscript-syntax) 66 | - [Better TOML](https://marketplace.visualstudio.com/items?itemName=bungcip.better-toml) 67 | - [C/C++](https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools) 68 | - [Kotlin](https://marketplace.visualstudio.com/items?itemName=fwcd.kotlin) 69 | - [Kotlin Language](https://marketplace.visualstudio.com/items?itemName=mathiasfrohlich.Kotlin) 70 | - [rust-analyzer](https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer) 71 | - [tmux](https://marketplace.visualstudio.com/items?itemName=malmaud.tmux) 72 | - [VimL](https://marketplace.visualstudio.com/items?itemName=XadillaX.viml) 73 | - [x8664assembly](https://marketplace.visualstudio.com/items?itemName=fredhappyface.x8664assembly) 74 | 75 | ## Links 76 | * [GitHub](https://github.com/mrworkman/papercolor-vscode-redux) 77 | 78 | 79 | -------------------------------------------------------------------------------- /demo/kotlin.kt: -------------------------------------------------------------------------------- 1 | package com.r3.dr.test.gen.flows 2 | 3 | import co.paralleluniverse.fibers.Suspendable 4 | import com.r3.corda.lib.tokens.contracts.utilities.heldBy 5 | import com.r3.corda.lib.tokens.contracts.utilities.issuedBy 6 | import com.r3.corda.lib.tokens.contracts.utilities.of 7 | import com.r3.corda.lib.tokens.money.GBP 8 | import com.r3.corda.lib.tokens.workflows.flows.issue.IssueTokensFlow 9 | import net.corda.core.flows.FinalityFlow 10 | import net.corda.core.flows.FlowLogic 11 | import net.corda.core.flows.InitiatingFlow 12 | import net.corda.core.flows.StartableByRPC 13 | import net.corda.core.utilities.ProgressTracker 14 | import net.corda.core.utilities.ProgressTracker.Step 15 | import java.time.Duration 16 | import java.time.Instant 17 | 18 | @InitiatingFlow 19 | @StartableByRPC 20 | class GenerateIssuances( 21 | val count: Int, 22 | val commitAfter: Int = 2000 23 | ): FlowLogic() { 24 | 25 | // This flow is restartable. It checks how many issuances already exist, and stops when the total in the vault is 26 | // met, or exceeded. 27 | 28 | @Suspendable 29 | @Suppress("JpaQlInspection") 30 | override fun call() { 31 | 32 | logger.error("Getting number of existing issuances...") 33 | 34 | // Get the number of existing issuances 35 | val existingIssuancesCount = serviceHub.withEntityManager { 36 | createQuery("SELECT COUNT(TRANSACTION_ID) FROM VaultSchemaV1\$VaultFungibleStates") 37 | .resultList.single() as Long 38 | }.toInt() 39 | 40 | logger.error("$existingIssuancesCount issuances found.") 41 | 42 | val startTime = Instant.now() 43 | 44 | updateProgress(0, 0, existingIssuancesCount, startTime) 45 | 46 | var difference = count - existingIssuancesCount 47 | var prevPercentage = 0 48 | 49 | if (difference > 0) { 50 | (1..difference).forEach { 51 | val percentageRounded = ((it / difference.toDouble()) * 10).toInt() * 10 52 | 53 | // Create an issuance 54 | subFlow(IssueTokensFlow(listOf(1 of GBP issuedBy ourIdentity heldBy ourIdentity), emptyList())) 55 | 56 | if (prevPercentage != percentageRounded) { 57 | updateProgress(percentageRounded, it, it + existingIssuancesCount, startTime) 58 | 59 | // Commit for every 10%. 60 | sleep(Duration.ofMillis(1)) 61 | } else { 62 | // Commit every X transactions. 63 | if (it != 0 && it % commitAfter == 0) { 64 | sleep(Duration.ofMillis(1)) 65 | } 66 | } 67 | 68 | prevPercentage = percentageRounded 69 | } 70 | } else { 71 | updateProgress(100, 0, existingIssuancesCount, startTime) 72 | } 73 | } 74 | 75 | @Suspendable 76 | private fun updateProgress(percentage: Int, count: Int, existing: Int, startTime: Instant) { 77 | // Using error will make it print to the console as well. 78 | logger.error( 79 | "Issuance generation @ $percentage% ($count txes of $existing total) after ${Duration.between(startTime, Instant.now())}." 80 | ) 81 | } 82 | } -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Change Log 2 | All notable changes to the "papercolor-redux" extension will be documented in this file. 3 | 4 | # [1.1.0] - 2023-03-12 5 | - Change the "hover widget" and notifications backgrounds to white for a bit 6 | more contrast between it and the editor background. 7 | - Change the status bar error and warning colours. The warning colour was 8 | especially ugly. 9 | 10 | ## [1.0.0] - 2022-09-11 11 | - Add better colouring for Vim Script (requires 12 | [VimL](https://marketplace.visualstudio.com/items?itemName=XadillaX.viml)). 13 | - Add support for JavaScript tagged template literals (requires 14 | [Better JavaScript Syntax](https://marketplace.visualstudio.com/items?itemName=jeff-hykin.better-js-syntax)). 15 | 16 | ## [0.999.2] - 2022-09-02 17 | - v1.0.0 pre-release 2. 18 | - Change rust macro style & colour. 19 | - Highlight Python builtin and support functions like `print()` and `len()` and other tweaks. 20 | - Tweak Dockerfile colouring (via [Better DockerFile Syntax](https://marketplace.visualstudio.com/items?itemName=jeff-hykin.better-dockerfile-syntax)) 21 | - Tweak TOML colouring (via [Better TOML](https://marketplace.visualstudio.com/items?itemName=bungcip.better-toml)) 22 | 23 | ## [0.999.1] - 2022-08-30 24 | - v1.0.0 pre-release 1. 25 | - Colour fixes for Python, TS, & Vue. 26 | - Different colour scheme for HTML & XML. 27 | - Updates to diff and merge colours. 28 | 29 | ## [0.999.0] - 2022-08-29 30 | - v1.0.0 pre-release 0. 31 | - Refactor, using yaml source file. 32 | - Many colour changes to make theme more consistent with original vim theme, as 33 | well as more consistent between file types. 34 | 35 | ## [0.11.0] - 2022-03-02 36 | - Slight colour adjustments. 37 | 38 | ## [0.10.0] - 2022-01-27 39 | - Fix white text appearing in the "suggest widget". 40 | - Some small Docker colouring changes. 41 | - Lighten up the title-bar. 42 | 43 | ## [0.9.0] - 2020-06-16 44 | - Fix merge colours. Thanks to @g7fernandes for pointing it out! 45 | 46 | ## [0.8.0] - 2020-03-06 47 | - Improve colouring for Typescript. 48 | - Minor corrections to Javascript and C# colouring. 49 | - Updated inputValidation foreground/background. Thanks to @Thalos12 for pointing it out! 50 | 51 | ## [0.7.0] - 2019-05-06 52 | - Remove base "Meta" colouring. 53 | - Improve colouring for Kotlin. 54 | - Update colouring for C#. 55 | - Update colouring for Javascript. 56 | 57 | ## [0.6.0] - 2019-04-09 58 | - Again, tweak colouring for Batch scripts. 59 | - Improve colouring for Groovy. 60 | 61 | ## [0.5.0] - 2019-03-29 62 | - Improve colouring for C/C++. 63 | - Improve colouring for x86 Assembly (requires [13xforever.language-x86-64-assembly](https://marketplace.visualstudio.com/items?itemName=13xforever.language-x86-64-assembly) extension). 64 | - Improve colouring for Shell scripts. 65 | - Improve colouring for diffs. 66 | 67 | ## [0.4.0] - 2019-03-15 68 | - Improve colouring for HTML. 69 | - Improve colouring for Batch scripts. 70 | - Make it easier to see selected text in highlighted search results. 71 | - Make it possible to see "through" the terminal cursor with dark text. 72 | 73 | ## [0.3.0] - 2019-03-06 74 | - Improve colouring for C#. 75 | - Improve colouring for Java. 76 | - UI colouring fixes. 77 | 78 | ## [0.2.0] - 2019-02-20 79 | - Improve colouring for Python. 80 | - Improve colouring for Batch scripts. 81 | - Improve colouring for Shell scripts. 82 | - UI colouring fixes. 83 | 84 | ## [0.1.0] - 2019-02-13 85 | - Initial release 86 | -------------------------------------------------------------------------------- /demo/intel.S: -------------------------------------------------------------------------------- 1 | ;-----------------------------------------------------------------------------; 2 | ; File Name: boot.asm ; 3 | ; Author: Stephen Workman ; 4 | ; Date: July 3, 2013 ; 5 | ;-----------------------------------------------------------------------------; 6 | [BITS 16] ; 16 bit real-mode code only 7 | 8 | ; Put this here so the linker doesn't put _DATA,CONST,_BSS sections in another 9 | ; segment. Everything should have the same "origin". 10 | GROUP DGROUP _TEXT _DATA CONST _BSS 11 | 12 | SECTION _TEXT CLASS=CODE 13 | 14 | ; This is to deal with an oddity in OPTLINK 8.00.12 15 | ; You're supposed to be able to use /bi:0x7c00 to change the start address 16 | ; of the output file, but instead it will emit the message 17 | ; "Below 100H Cannot Be Initialized" and the output file will be zero bytes. 18 | ; 19 | ; If you pad the start of the output file with a number of bytes equal in 20 | ; size to start address you want, they will be *discarded* by the linker 21 | ; effectively allowing you to change the start address in the output file. 22 | resb 0x7c00 23 | 24 | ;-----------------------------------------------------------------------------; 25 | ; Entry Point ; 26 | ;-----------------------------------------------------------------------------; 27 | GLOBAL _start 28 | ; CS needs to be set to 0 in order to get addresses that line up well with 29 | ; physical addresses. This will make transfer of execution after enabling 30 | ; protected mode easier. If I went with a CS of 0x7c0, the code could have 31 | ; a start address of 0000 instead of 0x7c00 but it would cause lots of 32 | ; headache later when trying to use a global descriptor whose base address 33 | ; is set to 0. 34 | jmp 0:_start 35 | 36 | ;-----------------------------------------------------------------------------; 37 | ; Signature ; 38 | ;-----------------------------------------------------------------------------; 39 | BOOT_ID db "IRONPXE", 0x00 40 | 41 | ;-----------------------------------------------------------------------------; 42 | ; _start ; 43 | ;-----------------------------------------------------------------------------; 44 | _start: 45 | 46 | EXTERN _bootmain 47 | 48 | ; Disable interrupts 49 | ;cli 50 | 51 | ; Set the data selector now so the BSS 52 | ; & DATA sections can be accessed now.. 53 | mov ax, cs 54 | mov ds, ax 55 | 56 | ; Store some info that the BIOS/PXE provide 57 | mov [bootDriveNumber], dl 58 | mov [pxenvPlusSeg], es 59 | mov [pxenvPlusOffset], bx 60 | mov [pxenvPlusStackSeg], ss 61 | mov [pxenvPlusStackPtr], sp 62 | 63 | ; Set the remaining data selectors 64 | ; Redundant - calling enable_unreal will do this 65 | 66 | ; Set the stack segment and stack pointer. It should be ok to have SP = 0 67 | ; initially since the first item pushed to the stack should cause SP to wrap 68 | ; to 0xfffe anyway... can't use this for protected mode though! 69 | mov ss, ax 70 | xor sp, sp 71 | 72 | call enable_unreal 73 | 74 | push BOOT_INFO 75 | call _bootmain 76 | add sp, 2 77 | 78 | ;; Spin on it 79 | spin: 80 | hlt 81 | jmp spin 82 | 83 | ;-----------------------------------------------------------------------------; 84 | ; Swithces the CPU to 'unreal' mode. ; 85 | ; Process: ; 86 | ; 1. Enable protected mode. ; 87 | ; 2. Load 32-bit protected-mode code segment selector. ; 88 | ; 3. Load 32-bit data segments into all data registers (except ss). ; 89 | ; 4. Load 16-bit protected-mode code segment selector (*required* in order ; 90 | ; to return to real-mode) ; 91 | ; 5. Disable protected mode. ; 92 | ; 6. Jump to a real-mode code segment ; 93 | ; 7. Load 16-bit real-mode data segments into all data registers. ; 94 | ; Notes: ; 95 | ; - Just changing to 32-bit protected mode and back to real-mode is enough ; 96 | ; to enable 'unreal' mode (as long as 32-bit selectors are loaded into ; 97 | ; the data registers.) ; 98 | ; - Not necessary to change the stack segment to 32-bit addressing ; 99 | ; - Do not need to re-load IVT/IDT since it is never changed using LIDT ; 100 | ; after enabling protected mode. ; 101 | ; - Do not need to disable paging since it's never enabled in te first place; 102 | ; - Do not load 16-bit selectors while in 16-bit protected mode as you will ; 103 | ; NOT get 32-bit addressing when returning to real-mode (duh). ; 104 | ;-----------------------------------------------------------------------------; 105 | EXTERN __gdt_hdr 106 | 107 | enable_unreal: 108 | 109 | ; Disable interrupts 110 | cli 111 | 112 | ; Load GDT 113 | lgdt [__gdt_hdr] 114 | 115 | ; Switch to protected mode 116 | mov eax, cr0 117 | or eax, 1 118 | mov cr0, eax 119 | 120 | ; Jump to 32-bit code segment 121 | jmp 0x08:pm32 122 | 123 | [BITS 32] 124 | pm32: 125 | ; set data segments to data selector (0x10) 126 | mov ax, 0x10 127 | mov ds, ax 128 | mov es, ax 129 | mov fs, ax 130 | mov gs, ax 131 | 132 | ; Jump to 16-bit code segment 133 | jmp 0x18:pm16 134 | 135 | [BITS 16] 136 | pm16: 137 | ; Disable protected mode 138 | mov eax,cr0 139 | and al, 0xFE 140 | mov cr0,eax 141 | 142 | ; Jump to real-mode segment 143 | jmp 0:rm16 144 | 145 | rm16: 146 | ; Now in 'unreal' mode. 16-bit code with 32-bit addressing possible. 147 | ; Any of the data segment registers can be changed without affecting 148 | ; this functionality. 149 | 150 | ; Using a 'flat' memory/code model, so set all of the data segments 151 | ; to the same as the code segment. 152 | mov ax, cs 153 | mov ds, ax 154 | mov es, ax 155 | mov fs, ax 156 | mov gs, ax 157 | 158 | ; Re-enable interrupts 159 | sti 160 | 161 | ; Return to caller 162 | ret 163 | 164 | ;-----------------------------------------------------------------------------; 165 | ;-----------------------------------------------------------------------------; 166 | GLOBAL _transfer_execution 167 | _transfer_execution: 168 | 169 | mov bp, sp 170 | mov ebx, dword [bp + 2] ; Set EBX to physical address of MBI 171 | mov ecx, dword [bp + 6] ; Set ECX to physical start address of kernel 172 | 173 | ; Disable interrupts 174 | cli 175 | 176 | ; Load GDT 177 | lgdt [__gdt_hdr] 178 | 179 | ; Switch to protected mode 180 | mov eax, cr0 181 | or eax, 1 182 | mov cr0, eax 183 | 184 | ; Jump to 32-bit code segment 185 | jmp 0x08:pm32x 186 | 187 | [BITS 32] 188 | pm32x: 189 | 190 | ; set data segments to data selector (0x10) 191 | mov ax, 0x10 192 | mov ds, ax 193 | mov es, ax 194 | mov fs, ax 195 | mov gs, ax 196 | mov ss, ax 197 | 198 | ; Multiboot loader magic # 199 | mov eax, 0x2BADB002 200 | 201 | ; Jump into the kernel 202 | jmp ecx 203 | 204 | ; No returning! 205 | cli 206 | hlt 207 | 208 | ; 209 | ; 210 | ; 211 | ; Force the linker to put sections in the expected order. 212 | SECTION _DATA CLASS=DATA 213 | SECTION CONST CLASS=CONST 214 | SECTION _BSS CLASS=BSS 215 | 216 | ; 217 | ; A data structure to hold info provided by UNDI/PXE at boot time 218 | ALIGN 2 219 | BOOT_INFO: 220 | bootDriveNumber: resb 1 221 | reserved resb 1 ; For alignment, mainly 222 | pxenvPlusOffset: resw 1 223 | pxenvPlusSeg: resw 1 224 | pxenvPlusStackPtr: resw 1 225 | pxenvPlusStackSeg: resw 1 226 | 227 | ;times 510-($-$$) db 0 228 | ;dw 0xAA55 -------------------------------------------------------------------------------- /src/themes/papercolor.yaml: -------------------------------------------------------------------------------- 1 | name: Papercolor Redux 2 | type: light 3 | 4 | # Use the Flutter Color extension to see colour swatches and picker. 5 | 6 | namedColors: 7 | # Standard Papercolor colours 8 | - &background "#eeeeee" 9 | - &negative "#af0000" 10 | - &positive "#008700" 11 | - &olive "#5f8700" 12 | - &neutral "#0087af" 13 | - &comment "#878787" 14 | - &navy "#005f87" 15 | - &foreground "#444444" 16 | - &nontext "#bcbcbc" 17 | - &red "#d70000" 18 | - &pink "#d70087" 19 | - &purple "#8700af" 20 | - &accent "#d75f00" 21 | - &orange "#d75f00" 22 | - &blue "#005faf" 23 | - &highlight "#005f87" 24 | 25 | - &aqua "#0087af" 26 | - &green "#008700" 27 | 28 | # Non-standard colours 29 | 30 | 31 | uiColors: 32 | # activityBar 33 | activityBar.background: "#eeeeee" 34 | activityBar.border: "#B0BEC5" 35 | activityBar.foreground: "#155f87" 36 | activityBarBadge.background: "#d70087" 37 | activityBarBadge.foreground: "#eeeeee" 38 | 39 | # badge 40 | badge.background: "#d70087" 41 | badge.foreground: "#eeeeee" 42 | 43 | # button 44 | button.background: "#0277BD" 45 | button.foreground: "#eeeeee" 46 | button.hoverBackground: "#155f87" 47 | 48 | # contrast 49 | contrastActiveBorder: "#00000000" 50 | contrastBorder: "#ffffff00" 51 | 52 | # debug 53 | debugExceptionWidget.background: "#eeeeee" 54 | debugExceptionWidget.border: "#0d3a58" 55 | debugToolBar.background: "#eeeeee" 56 | 57 | # description 58 | descriptionForeground: "#aaa" 59 | 60 | # diff 61 | diffEditor.insertedLineBackground: "#00870020" 62 | diffEditor.insertedTextBackground: "#00870030" 63 | diffEditor.removedLineBackground: "#D7000020" 64 | diffEditor.removedTextBackground: "#D7000030" 65 | diffEditor.diagonalFill: *comment 66 | diffEditorGutter.insertedLineBackground: *green 67 | diffEditorGutter.removedLineBackground: *red 68 | 69 | # dropdown 70 | dropdown.background: "#ffffff" 71 | dropdown.border: "#eeeeee" 72 | dropdown.foreground: "#444444" 73 | 74 | # editor 75 | # This is the main background color 76 | editor.background: "#f3f3f3" 77 | # this is the main text colour 78 | editor.foreground: "#444444" 79 | 80 | # Currently found item 81 | editor.findMatchBackground: "#ffff5f" 82 | editor.findMatchBorder: "#ffff5f" 83 | # Other Found Items in the document 84 | editor.findMatchHighlightBackground: "#ffff5f66" 85 | editor.findMatchHighlightBorder: "#ffff5f88" 86 | 87 | # Highlights the "range" (lines) in the selection that the search applies to. 88 | editor.findRangeHighlightBackground: "#CFD8DC60" 89 | 90 | # When you hover over something and a popup shows this highlights that thing 91 | editor.hoverHighlightBackground: "#B0BEC5dd" 92 | 93 | # current line styles 94 | editor.lineHighlightBackground: "#e4e4e4" 95 | editor.lineHighlightBorder: "#e4e4e4" 96 | editor.rangeHighlightBackground: "#e4e4e4" 97 | 98 | # selected Text colours 99 | # This is the standard Select colour. 100 | editor.selectionBackground: "#0087af88" 101 | editor.inactiveSelectionBackground: "#0087af77" 102 | 103 | # This is the colour of the other matching elements 104 | editor.selectionHighlightBackground: "#B3E5FC88" 105 | 106 | # Word Highlights! This happens when you move your cursor inside a variable 107 | # Strong is the one where your cursor currently is 108 | editor.wordHighlightStrongBackground: "#ffffff21" 109 | # and this one is the rest of them 110 | editor.wordHighlightBackground: "#ffffff21" 111 | editorBracketMatch.background: "#e0e0e0" 112 | editorBracketMatch.border: "#9e9e9e" 113 | editorCodeLens.foreground: "#aaa" 114 | 115 | editorCursor.foreground: "#005f87" 116 | editorError.border: "#00000000" 117 | editorError.foreground: "#F50057" 118 | 119 | # gutter 120 | editorGutter.background: "#eeeeee" 121 | editorGutter.addedBackground: "#3C9F4A" 122 | editorGutter.deletedBackground: "#A22929" 123 | editorGutter.modifiedBackground: "#26506D" 124 | 125 | # editorGroup 126 | editorGroup.border: "#CFD8DC" 127 | editorGroup.dropBackground: "#12273899" 128 | 129 | # editorGroupHeader 130 | editorGroupHeader.noTabsBackground: "#eeeeee" 131 | editorGroupHeader.tabsBackground: "#eeeeee" 132 | editorGroupHeader.tabsBorder: "#B0BEC5" 133 | 134 | # editorHoverWidget 135 | editorHoverWidget.background: "#ffffff" 136 | editorHoverWidget.border: *navy 137 | 138 | # Vertical indentation guides (lines) 139 | editorIndentGuide.background: "#155f8766" 140 | editorIndentGuide.activeBackground: "#155f87a8" 141 | 142 | # Line numbers displayed in the gutter. 143 | editorLineNumber.foreground: "#bdbdbd" 144 | editorLineNumber.activeForeground: "#78909C" 145 | 146 | editorLink.activeForeground: "#aaa" 147 | # editorMarkerNavigation 148 | editorMarkerNavigation.background: "#3B536433" 149 | editorMarkerNavigationError.background: "#A22929" 150 | editorMarkerNavigationWarning.background: "#ffc600" 151 | # ruler 152 | editorOverviewRuler.border: "#0d3a58" 153 | editorOverviewRuler.commonContentForeground: "#ffc60055" 154 | editorOverviewRuler.currentContentForeground: "#ee3a4355" 155 | editorOverviewRuler.incomingContentForeground: "#3ad90055" 156 | editorRuler.foreground: "#ff408133" 157 | # editorSuggestWidget 158 | editorSuggestWidget.background: "#eeeeee" 159 | editorSuggestWidget.border: "#0d3a58" 160 | editorSuggestWidget.foreground: "#444444" 161 | editorSuggestWidget.highlightForeground: "#d70087" 162 | editorSuggestWidget.selectedBackground: "#B3E5FCe8" 163 | editorSuggestWidget.selectedForeground: "#444444" 164 | # editorWarning 165 | editorWarning.border: "#ffffff00" 166 | editorWarning.foreground: "#ffc600" 167 | editorWhitespace.foreground: "#0D47A148" 168 | 169 | editorWidget.background: "#eeeeee" 170 | editorWidget.resizeBorder: "#155f87" 171 | editorWidget.border: "#0d3a58" 172 | 173 | errorForeground: "#FF1744" 174 | # extensionButton 175 | extensionButton.prominentBackground: "#0088ff" 176 | extensionButton.prominentForeground: "#fff" 177 | extensionButton.prominentHoverBackground: "#ff9d00" 178 | focusBorder: "#0d3a58" 179 | 180 | foreground: "#444444" 181 | 182 | # input 183 | input.background: "#ffffff" 184 | input.border: "#eeeeee" 185 | input.foreground: "#444444" 186 | input.placeholderForeground: "#9E9E9E" 187 | inputOption.activeBorder: "#d70087" 188 | 189 | inputValidation.errorForeground: "#444444" 190 | inputValidation.errorBackground: "#FCE4EC" 191 | inputValidation.errorBorder: "#EC407A" 192 | inputValidation.infoForeground: "#444444" 193 | inputValidation.infoBackground: "#fff" 194 | inputValidation.infoBorder: "#0277BD" 195 | inputValidation.warningForeground: "#444444" 196 | inputValidation.warningBackground: "#ffff8d" 197 | inputValidation.warningBorder: "#edd740" 198 | 199 | # list 200 | list.activeSelectionBackground: "#0091EA" 201 | list.activeSelectionForeground: "#eeeeee" 202 | list.dropBackground: "#81D4FA" 203 | list.errorForeground: "#D50000" 204 | list.focusBackground: "#B3E5FC" 205 | list.focusForeground: "#444444" 206 | list.highlightForeground: "#d70087" 207 | list.hoverBackground: "#B3E5FC" 208 | list.hoverForeground: "#444444" 209 | list.inactiveFocusBackground: "#4FC3F7" 210 | list.inactiveSelectionBackground: "#0091EA88" 211 | list.inactiveSelectionForeground: "#444444" 212 | list.warningForeground: "#FF6F00" 213 | 214 | # menu 215 | menu.background: "#eeeeee" 216 | menu.foreground: "#444444" 217 | menu.selectionBackground: "#0087af" 218 | menu.selectionForeground: "#eeeeee" 219 | 220 | menubar.selectionBackground: "#0087af" 221 | menubar.selectionForeground: "#eeeeee" 222 | 223 | # merge 224 | merge.border: "#444444" 225 | merge.commonContentBackground: "#d7008736" 226 | merge.commonHeaderBackground: "#d70087" 227 | merge.currentContentBackground: "#78c2a354" 228 | merge.currentHeaderBackground: "#398d3d" 229 | merge.incomingContentBackground: "#0091EA36" 230 | merge.incomingHeaderBackground: "#0091EA" 231 | 232 | mergeEditor.change.background: "#4FC3F720" 233 | mergeEditor.change.word.background: "#4FC3F740" 234 | mergeEditor.conflict.handled.minimapOverViewRuler: "#008700" 235 | mergeEditor.conflict.handledFocused.border: "#00870040" 236 | mergeEditor.conflict.handledUnfocused.border: "#00870020" 237 | mergeEditor.conflict.unhandled.minimapOverViewRuler: "#4FC3F7" 238 | mergeEditor.conflict.unhandledFocused.border: "#4FC3F7" 239 | mergeEditor.conflict.unhandledUnfocused.border: "#4FC3F720" 240 | 241 | # Minimap 242 | minimap.background: "#eeeeee" 243 | 244 | # notification colors - The colors below only apply for VS Code versions 1.21 and higher. 245 | notificationCenter.border: "#0d3a58" 246 | notificationCenterHeader.foreground: "#444444" 247 | notificationCenterHeader.background: "#eeeeee" 248 | notificationToast.border: "#0d3a58" 249 | notifications.foreground: "#444444" 250 | notifications.background: "#ffffff" 251 | notifications.border: *navy 252 | notificationsErrorIcon.foreground: *red 253 | notificationsInfoIcon.foreground: *blue 254 | notificationsWarningIcon.foreground: *accent 255 | notificationLink.foreground: "#444444" 256 | 257 | # panel (e.g. terminal "header") 258 | panel.background: "#eeeeee" 259 | panel.border: "#B0BEC5" 260 | panelTitle.activeBorder: "#4A148C" 261 | panelTitle.activeForeground: "#444444" 262 | panelTitle.inactiveForeground: "#757575" 263 | 264 | # "peekView 265 | peekView.border: "#B0BEC5" 266 | peekViewEditor.background: "#ECEFF1" 267 | peekViewEditor.matchHighlightBackground: "#19354900" 268 | peekViewEditorGutter.background: "#E0E0E0" 269 | peekViewResult.background: "#ECEFF1" 270 | peekViewResult.fileForeground: "#f00" 271 | peekViewResult.lineForeground: "#444444" 272 | peekViewResult.matchHighlightBackground: "#ffff8d" 273 | peekViewResult.selectionBackground: "#B3E5FC" 274 | peekViewResult.selectionForeground: "#444444" 275 | peekViewTitle.background: "#CFD8DC" 276 | peekViewTitleDescription.foreground: "#263238" 277 | peekViewTitleLabel.foreground: "#d70087" 278 | 279 | # picker 280 | pickerGroup.border: "#0d3a58" 281 | pickerGroup.foreground: "#aaa" 282 | # progressBar 283 | progressBar.background: "#d70087" 284 | 285 | # scrollbar 286 | scrollbar.shadow: "#00000000" 287 | scrollbarSlider.activeBackground: "#58585880" 288 | scrollbarSlider.background: "#58585820" 289 | scrollbarSlider.hoverBackground: "#58585840" 290 | 291 | # selection 292 | selection.background: "#B3E5FC" 293 | 294 | settings.checkboxBackground: "#ffffff" 295 | settings.checkboxForeground: "#d70087" 296 | settings.headerForeground: "#155f87" 297 | 298 | # sidebar 299 | sideBar.background: "#f3f3f3" 300 | sideBar.border: "#B0BEC5" 301 | sideBar.foreground: "#444444" 302 | sideBarSectionHeader.background: "#E0E0E0" 303 | sideBarSectionHeader.foreground: "#444444" 304 | sideBarTitle.foreground: "#444444" 305 | 306 | # statusBar 307 | statusBar.background: "#155f87" 308 | statusBar.border: "#4A148C" 309 | statusBar.debuggingBackground: "#D50000" 310 | statusBar.debuggingBorder: "#4A148C" 311 | statusBar.debuggingForeground: "#eeeeee" 312 | statusBar.foreground: "#eeeeee" 313 | statusBar.noFolderBackground: "#155f87" 314 | statusBar.noFolderBorder: "#4A148C" 315 | statusBar.noFolderForeground: "#eeeeee" 316 | 317 | statusBarItem.activeBackground: "#039BE5" 318 | statusBarItem.hoverBackground: "#0277BD" 319 | statusBarItem.prominentBackground: "#039BE5" 320 | statusBarItem.prominentHoverBackground: "#0277BD" 321 | 322 | statusBarItem.errorBackground: "#ff0000" 323 | statusBarItem.errorForeground: "#ffffff" 324 | statusBarItem.warningBackground: "#f9f97a" 325 | statusBarItem.warningForeground: "#000000" 326 | 327 | # tabs. 328 | tab.activeBackground: "#eeeeee" 329 | tab.activeForeground: "#444444" 330 | tab.border: "#B0BEC5" 331 | tab.activeBorder: "#eeeeee" 332 | tab.inactiveBackground: "#E0E0E0" 333 | tab.inactiveForeground: "#757575" 334 | tab.unfocusedActiveForeground: "#757575" 335 | tab.unfocusedInactiveForeground: "#9E9E9E" 336 | 337 | # --- workbench: terminal 338 | terminal.ansiBlack: "#000000" 339 | terminal.ansiRed: "#CC0000" 340 | terminal.ansiGreen: "#508A18" 341 | terminal.ansiYellow: "#EA780C" 342 | terminal.ansiBlue: "#005F87" 343 | terminal.ansiMagenta: "#75507B" 344 | terminal.ansiCyan: "#008787" 345 | terminal.ansiWhite: "#ffffff" 346 | terminal.ansiBrightBlack: "#738287" 347 | terminal.ansiBrightRed: "#EF2929" 348 | terminal.ansiBrightGreen: "#6DB525" 349 | terminal.ansiBrightYellow: "#FF8412" 350 | terminal.ansiBrightBlue: "#0087AF" 351 | terminal.ansiBrightMagenta: "#AD7FA8" 352 | terminal.ansiBrightCyan: "#00B0B0" 353 | terminal.ansiBrightWhite: "#193549" 354 | terminal.background: "#f3f3f3" 355 | terminal.foreground: "#444444" 356 | terminal.selectionBackground: "#155f8740" 357 | terminalCursor.background: "#dddddd" 358 | terminalCursor.foreground: "#757575" 359 | 360 | # Git status colors in File Explorer 361 | gitDecoration.modifiedResourceForeground: "#F57F17" 362 | gitDecoration.deletedResourceForeground: "#FF1744" 363 | gitDecoration.untrackedResourceForeground: "#33691E" 364 | gitDecoration.ignoredResourceForeground: "#616161" 365 | gitDecoration.conflictingResourceForeground: "#FF3D00" 366 | 367 | # textBlockQuote 368 | textBlockQuote.background: "#EDE7F6" 369 | textBlockQuote.border: "#6200EA" 370 | textCodeBlock.background: "#E0E0E0" 371 | 372 | textLink.activeForeground: "#7E57C2" 373 | textLink.foreground: "#311B92" 374 | 375 | textPreformat.foreground: "#d70087" 376 | textSeparator.foreground: "#f00" 377 | 378 | titleBar.border: "#00000008" 379 | titleBar.activeBackground: "#eeeeee" 380 | titleBar.activeForeground: "#444444" 381 | titleBar.inactiveBackground: "#c7c7c7aa" 382 | titleBar.inactiveForeground: "#01579B" 383 | 384 | walkThrough.embeddedEditorBackground: "#e0e0e068" 385 | welcomePage.background: "#ECEFF1" 386 | widget.shadow: "#155f8766" 387 | 388 | tokenColors: 389 | 390 | # 391 | # STANDARD COLOURS 392 | # 393 | 394 | - name: pcvim-negative 395 | color: *negative 396 | normal: 397 | - invalid 398 | 399 | - name: pcvim-green 400 | color: *green 401 | normal: 402 | - entity.name.type.option 403 | - entity.name.type.result 404 | bold: 405 | - constant.language.bool 406 | - constant.language.boolean 407 | - constant.language.java 408 | - constant.language.json 409 | - constant.language.kotlin 410 | - constant.language.php 411 | - constant.language.python 412 | - constant.other.boolean 413 | 414 | - name: pcvim-olive 415 | color: *olive # was 6f9700 416 | normal: 417 | - string 418 | - text.html.markdown markup.fenced_code.block 419 | - text.html.markdown markup.inline.raw.string 420 | - text.html.markdown markup.raw.block 421 | 422 | - name: pcvim-aqua 423 | color: *aqua 424 | normal: 425 | - entity.string.template.element punctuation.definition 426 | - entity.string.template.element punctuation.section.block 427 | - keyword.control.new 428 | - keyword.mnemonic 429 | - keyword.operator 430 | - keyword.other.new 431 | - meta.interpolation punctuation.definition.interpolation 432 | - meta.preprocessor keyword.control.directive 433 | - meta.template.expression punctuation 434 | - punctuation.brackets.angle 435 | - punctuation.separator 436 | - source.cpp keyword.control.directive 437 | - source.css constant.other.color punctuation.definition 438 | - source.css meta.function support.function 439 | - source.css meta.function punctuation.section.function 440 | - source.dockerfile punctuation.separator constant.numeric.version 441 | - source.dockerfile variable.other.dockerfile 442 | - source.python meta.fstring constant.character.format.placeholder 443 | - source.shell punctuation.section.bracket.curly 444 | - source.shell variable.other.normal 445 | - source.shell variable.parameter.positional 446 | - source.sass entity.name.function 447 | - source.viml entity.tag.name 448 | - source.viml constant.character.escape 449 | - source.viml punctuation.expression.bracket.curly 450 | - source.viml punctuation.expression.bracket.round 451 | - storage.type.function.arrow 452 | - support.function.mnemonic 453 | - text.html.markdown heading punctuation 454 | - text.html.php meta.embedded.block punctuation.section.embedded 455 | bold: 456 | - keyword.declaration.enum storage.type 457 | - keyword.declaration.struct storage.type 458 | - keyword.operator.logical 459 | - keyword.other.class 460 | - keyword.other.enum 461 | - meta.attribute.rust 462 | - meta.class meta.class.identifier storage.modifier 463 | - meta.class meta.definition.class.inherited storage.modifier.extends 464 | - meta.declaration.annotation 465 | - meta.decorator meta.brace.round 466 | - meta.decorator meta.function-call entity.name.function 467 | - meta.decorator punctuation.decorator 468 | - meta.function.decorator entity.name.function.decorator 469 | - meta.function.decorator punctuation.definition 470 | - meta.function.decorator support.type 471 | - source.js storage.modifier 472 | - storage.type.class 473 | - storage.type.struct 474 | - support.function.magic 475 | 476 | - name: pcvim-comment 477 | color: *comment 478 | normal: 479 | - string.json punctuation.support.type.property-name 480 | - text.html meta.tag.metadata.doctype 481 | - text.html meta.tag.metadata.doctype entity.other.attribute-name 482 | - meta.tag punctuation.separator 483 | bold: 484 | - comment.line.quotes support.constant.field 485 | italic: 486 | - comment 487 | 488 | - name: pcvim-navy 489 | color: *navy 490 | normal: 491 | - constant.language.registers 492 | - entity.name.type 493 | - entity.name.type.class 494 | - entity.name.type.struct 495 | - entity.name.type.trait 496 | - source.cs meta.tag entity.other.attribute-name 497 | - source.dockerfile variable.other.assignment 498 | - source.js meta.tag.attributes string.quoted 499 | - source.shell variable.other.assignment 500 | - source.viml support.variable 501 | - source.viml variable.other 502 | - source.viml variable.other storage.modifier 503 | - source.vue meta.attribute 504 | - source.vue meta.attribute string.quoted punctuation.definition 505 | - storage.register 506 | - text meta.tag meta.attribute.style punctuation.definition 507 | - text.html entity.other.attribute-name 508 | - text.html meta.attribute string.quoted punctuation.definition 509 | - text.xml entity.other.attribute-name 510 | - text.xml meta.tag string.quoted punctuation.definition 511 | bold: 512 | - source.css support.type.property-name 513 | - source.rust storage.type 514 | - source.sass support.type.property-name 515 | - storage.modifier 516 | - storage.type.modifier 517 | 518 | - name: pcvim-foreground 519 | color: *foreground 520 | normal: 521 | - meta.interpolation 522 | - meta.template.expression 523 | - meta.import storage.modifier.import 524 | - meta.package storage.modifier.package 525 | - meta.use entity.name.type 526 | - source.json punctuation.separator.dictionary.key-value 527 | - source.kotlin entity.string.template.element 528 | - source.toml meta.tag punctuation.definition.table.array 529 | - source.ts punctuation.separator.key-value 530 | - source.viml entity.name.function storage.modifier.scope 531 | - source.viml punctuation.separator.comma 532 | - string.unquoted.plain.out 533 | italic: 534 | - text.html.markdown markup.italic 535 | bold: 536 | - meta.macro entity.name 537 | - source.dockerfile entity.name.image 538 | - text.html.markdown markup.bold 539 | 540 | # # - name: pcvim-nontext 541 | # # color: *nontext 542 | # # normal: 543 | # # - 544 | 545 | - name: pcvim-red 546 | color: *red 547 | normal: 548 | # FIXME: try/except/finally doesn't work in Python. What else?? 549 | - keyword.control.try 550 | - keyword.control.catch 551 | - keyword.control.finally 552 | - keyword.control.trycatch 553 | - keyword.control.throw 554 | - keyword.control.flow.throw 555 | - source.makefile entity.name.function.target 556 | # - source.viml storage.type.let 557 | 558 | # Higlights the type, not try/except/else 559 | - support.type.exception.python 560 | 561 | - name: pcvim-pink 562 | color: *pink 563 | normal: 564 | - keyword.declaration.trait 565 | - keyword.other storage.type 566 | - keyword.control.directive.include 567 | - keyword.control.flow.return 568 | - keyword.control.from 569 | - keyword.control.import 570 | - keyword.control.return 571 | - keyword.other.fn 572 | - keyword.other.using 573 | - keyword.other.rust 574 | - keyword.other.kotlin 575 | - meta.import keyword 576 | - meta.package keyword 577 | - meta.use keyword 578 | - meta.var.expr storage.type 579 | - punctuation.definition.block.sequence.item 580 | - punctuation.separator.dictionary.key-value 581 | - punctuation.separator.key-value.mapping 582 | - source.arm variable.named 583 | - source.cs meta.tag 584 | - source.css meta.selector entity.name.tag 585 | - source.dockerfile meta.command constant.character.escape.line-continuation 586 | - source.css meta.selector entity.other.attribute-name 587 | - source.ini entity.name.section.group-title 588 | - source.js entity.other.attribute-name 589 | - source.makefile string.interpolated punctuation.definition 590 | - source.sass entity.other.attribute-name 591 | - source.shell entity.name.command 592 | - source.toml entity.other.attribute-name.table 593 | - source.toml meta.tag punctuation.definition.table 594 | - source.viml storage.function 595 | - source.viml support.function 596 | - source.vue entity.name.tag 597 | - storage.type.function 598 | - text meta.tag 599 | - text.html.markdown meta string.other.link 600 | - text.html.markdown markup.quote punctuation.definition.quote 601 | - text.html.php variable punctuation.definition 602 | - text.xml meta.tag.preprocessor punctuation.definition.tag 603 | bold: 604 | - entity.name.type.anchor 605 | - entity.name.type.numeric 606 | - entity.name.type.primitive 607 | - keyword.control.property.anchor punctuation.definition.anchor 608 | - keyword.other.rust storage.type 609 | - keyword.other.typedef 610 | - keyword.other.var 611 | - keyword.type 612 | - punctuation.definition.alias 613 | - source.dockerfile constant.numeric.version 614 | - source.js meta.var.expr storage.type 615 | - storage.type.built-in.primitive 616 | - storage.type.kotlin 617 | - storage.type.ts 618 | - storage.type.let 619 | - storage.type.primitive 620 | - support.class.kotlin 621 | - text.html.markdown heading entity.name.section 622 | - variable.other.alias 623 | 624 | - name: pcvim-purple 625 | color: *purple 626 | normal: 627 | - entity.name.type.lifetime 628 | - meta.import punctuation.definition 629 | - source.js meta.tag 630 | - source.shell string.interpolated punctuation.definition 631 | - text.html.markdown markup.list punctuation.definition 632 | - text.html.markdown meta punctuation.definition.link 633 | bold: 634 | - keyword.control 635 | 636 | - name: pcvim-orange 637 | color: *orange 638 | normal: 639 | - constant 640 | - keyword.control.unit 641 | - keyword.other.unit 642 | - variable.language.self 643 | - source.css support.constant.property-value 644 | - source.python variable.parameter.function-call 645 | - source.sass support.constant.property-value 646 | - text meta.tag entity.name.tag.namespace 647 | 648 | - name: pcvim-blue 649 | color: *blue 650 | normal: 651 | # - label # <-- a semantic token type 652 | - constant.other.caps 653 | - entity.name.label 654 | - entity.name.namespace 655 | - keyword 656 | - meta.preprocessor entity.name 657 | - meta.preprocessor keyword.control 658 | - meta.use entity.name 659 | - source.cs meta.tag punctuation.definition 660 | - source.ts meta.object-literal.key 661 | # - source.ts meta.object.member variable.other 662 | - source.viml meta.parameter entity.name.parameter 663 | - source.viml support.variable.environment 664 | - source.vue punctuation.definition.tag 665 | - string entity.name.tag 666 | - string support.type.property-name 667 | - text meta.tag punctuation.definition.tag 668 | - text.html.markdown markup.fenced_code punctuation.definition 669 | - text.html.markdown markup.fenced_code fenced_code.block.language 670 | - text.html.markdown markup.inline.raw.string punctuation.definition 671 | - text.html.markdown meta markup.underline.link 672 | - variable.language.super 673 | - variable.other.constant 674 | - variable.other.makefile 675 | bold: 676 | - keyword.other.namespace 677 | - keyword.other.struct 678 | - keyword.other.typedef 679 | - source.css constant.other.color 680 | - source.css support.constant.color 681 | - source.shell support.function.builtin 682 | - source.python meta.function-call support.type 683 | - source.python support.function.builtin 684 | - source.viml entity.name.function 685 | - source.vue constant.language.color 686 | - support.function.kotlin 687 | - text.html.php support.function 688 | 689 | # # 690 | # # NON-STANDARD COLOURS 691 | # # 692 | 693 | # - name: actual-red 694 | # color: "#f00" 695 | # normal: 696 | # - beginning.punctuation.definition.quote.markdown 697 | # - meta.separator.markdown 698 | # - beginning.punctuation.definition.list.markdown 699 | # - fenced_code.block.language 700 | # - markup.inline.raw.markdown 701 | # - fenced_code.block.language 702 | # - markup.inline.raw.markdown 703 | 704 | # - name: alt-orange 705 | # color: "#d86307" 706 | # normal: 707 | # - constant 708 | # bold: 709 | # - source.css constant 710 | # - source.css support.constant 711 | # - source.stylus constant 712 | # - source.stylus support.constant 713 | 714 | # - name: alt-purple 715 | # color: "#AA00FF" 716 | # normal: 717 | # - support.function 718 | # - string.other.link.title.markdown 719 | # - string.other.link.description.markdown 720 | # - string.other.link.description.title.markdown 721 | 722 | # # 723 | # # ODDBALL 724 | # # 725 | 726 | # - name: pale-blue 727 | # color: "#e1efff" 728 | # normal: 729 | # - support.variable.property.dom 730 | 731 | # - name: pale-green 732 | # color: "#a5ff90" 733 | # normal: 734 | # - string.other.link.title.markdown 735 | 736 | # - name: shrug 737 | # color: "#880E4F" 738 | # normal: 739 | # - entity.other.inherited-class.js 740 | 741 | # - name: alt-blue 742 | # color: "#01579B" 743 | # normal: 744 | # - source.ini keyword 745 | 746 | # - name: green 747 | # color: "#00af5f" 748 | # bold: 749 | # - keyword.codetag.notation.python 750 | 751 | # - name: alt-blue2 752 | # color: "#005ff8" 753 | # normal: 754 | # - storage.modifier.ts 755 | 756 | 757 | # entity.name.namespace - purple (pink normal?) 758 | # entity.name.type 759 | # support.type 760 | # storage.type.struct 761 | # entity.name.type.class 762 | # support.class 763 | # entity.name.type.interface 764 | # entity.name.type.enum 765 | # entity.name.function 766 | # support.function 767 | # entity.name.function.member 768 | # entity.name.function.macro 769 | # variable.other.readwrite , entity.name.variable 770 | # variable.other.constant 771 | # support.constant 772 | # variable.parameter 773 | # variable.other.property 774 | # variable.other.constant.property 775 | # variable.other.enummember 776 | # variable.other.event --------------------------------------------------------------------------------