Added build-licenses command to style tree
This commit is contained in:
@@ -1,13 +1,8 @@
|
||||
import chroma from "chroma-js";
|
||||
import { Meta } from "./common/colorScheme";
|
||||
import { colorRamp, createColorScheme } from "./common/ramps";
|
||||
|
||||
const name = "Andromeda";
|
||||
const author = "EliverLara";
|
||||
const url = "https://github.com/EliverLara/Andromeda";
|
||||
const license = {
|
||||
type: "MIT",
|
||||
url: "https://github.com/EliverLara/Andromeda/blob/master/LICENSE.md",
|
||||
};
|
||||
|
||||
const ramps = {
|
||||
neutral: chroma
|
||||
@@ -33,3 +28,14 @@ const ramps = {
|
||||
};
|
||||
|
||||
export const dark = createColorScheme(`${name}`, false, ramps);
|
||||
|
||||
export const meta: Meta = {
|
||||
name,
|
||||
author: "EliverLara",
|
||||
license: {
|
||||
SPDX: "MIT",
|
||||
https_url: "https://raw.githubusercontent.com/EliverLara/Andromeda/master/LICENSE.md",
|
||||
license_checksum: "2f7886f1a05cefc2c26f5e49de1a39fa4466413c1ccb06fc80960e73f5ed4b89"
|
||||
},
|
||||
url: "https://github.com/EliverLara/Andromeda"
|
||||
}
|
||||
@@ -1,13 +1,8 @@
|
||||
import chroma from "chroma-js";
|
||||
import { Meta } from "./common/colorScheme";
|
||||
import { colorRamp, createColorScheme } from "./common/ramps";
|
||||
|
||||
const name = "Atelier Cave";
|
||||
const author = "atelierbram";
|
||||
const url = "https://atelierbram.github.io/syntax-highlighting/atelier-schemes/cave/";
|
||||
const license = {
|
||||
type: "MIT",
|
||||
url: "https://github.com/atelierbram/syntax-highlighting/blob/master/LICENSE",
|
||||
};
|
||||
|
||||
export const dark = createColorScheme(`${name} Dark`, false, {
|
||||
neutral: chroma
|
||||
@@ -54,3 +49,15 @@ export const light = createColorScheme(`${name} Light`, true, {
|
||||
violet: colorRamp(chroma("#955ae7")),
|
||||
magenta: colorRamp(chroma("#bf40bf")),
|
||||
});
|
||||
|
||||
|
||||
export const meta: Meta = {
|
||||
name,
|
||||
author: "atelierbram",
|
||||
license: {
|
||||
SPDX: "MIT",
|
||||
https_url: "https://raw.githubusercontent.com/atelierbram/syntax-highlighting/master/LICENSE",
|
||||
license_checksum: "6c2353bb9dd0b7b211364d98184ab482e54f40f611eda0c02974c3a1f9e6193c"
|
||||
},
|
||||
url: "https://atelierbram.github.io/syntax-highlighting/atelier-schemes/cave/"
|
||||
}
|
||||
@@ -1,13 +1,8 @@
|
||||
import chroma from "chroma-js";
|
||||
import { Meta } from "./common/colorScheme";
|
||||
import { colorRamp, createColorScheme } from "./common/ramps";
|
||||
|
||||
const name = "Atelier Sulphurpool";
|
||||
const author = "atelierbram";
|
||||
const url = "https://atelierbram.github.io/syntax-highlighting/atelier-schemes/dune/";
|
||||
const license = {
|
||||
type: "MIT",
|
||||
url: "https://github.com/atelierbram/syntax-highlighting/blob/master/LICENSE",
|
||||
};
|
||||
|
||||
const ramps = {
|
||||
neutral: chroma
|
||||
@@ -34,3 +29,14 @@ const ramps = {
|
||||
|
||||
export const dark = createColorScheme(`${name} Dark`, false, ramps);
|
||||
export const light = createColorScheme(`${name} Light`, true, ramps);
|
||||
|
||||
export const meta: Meta = {
|
||||
name,
|
||||
author: "atelierbram",
|
||||
license: {
|
||||
SPDX: "MIT",
|
||||
https_url: "https://raw.githubusercontent.com/atelierbram/syntax-highlighting/master/LICENSE",
|
||||
license_checksum: "6c2353bb9dd0b7b211364d98184ab482e54f40f611eda0c02974c3a1f9e6193c"
|
||||
},
|
||||
url: "https://atelierbram.github.io/syntax-highlighting/atelier-schemes/dune/"
|
||||
}
|
||||
@@ -16,6 +16,28 @@ export interface ColorScheme {
|
||||
players: Players;
|
||||
}
|
||||
|
||||
export interface Meta {
|
||||
name: string,
|
||||
author: string,
|
||||
url: string,
|
||||
license: License
|
||||
}
|
||||
|
||||
export interface License {
|
||||
SPDX: SPDXExpression,
|
||||
/// A url where we can download the license's text
|
||||
https_url: string,
|
||||
license_checksum: string
|
||||
}
|
||||
|
||||
// License name -> License text
|
||||
export interface Licenses {
|
||||
[key: string]: string
|
||||
}
|
||||
|
||||
// FIXME: Add support for the SPDX expression syntax
|
||||
export type SPDXExpression = "MIT";
|
||||
|
||||
export interface Player {
|
||||
cursor: string;
|
||||
selection: string;
|
||||
|
||||
@@ -1,13 +1,8 @@
|
||||
import chroma from "chroma-js";
|
||||
import { Meta } from "./common/colorScheme";
|
||||
import { colorRamp, createColorScheme } from "./common/ramps";
|
||||
|
||||
const name = "One Dark";
|
||||
const author = "simurai";
|
||||
const url = "https://github.com/atom/atom/tree/master/packages/one-dark-ui";
|
||||
const license = {
|
||||
type: "MIT",
|
||||
url: "https://github.com/atom/atom/blob/master/packages/one-dark-ui/LICENSE.md",
|
||||
};
|
||||
|
||||
export const dark = createColorScheme(`${name}`, false, {
|
||||
neutral: chroma
|
||||
@@ -32,3 +27,14 @@ export const dark = createColorScheme(`${name}`, false, {
|
||||
violet: colorRamp(chroma("#c678dd")),
|
||||
magenta: colorRamp(chroma("#be5046")),
|
||||
});
|
||||
|
||||
export const meta: Meta = {
|
||||
name,
|
||||
author: "simurai",
|
||||
license: {
|
||||
SPDX: "MIT",
|
||||
https_url: "https://raw.githubusercontent.com/atom/atom/master/packages/one-light-ui/LICENSE.md",
|
||||
license_checksum: "d5af8fc171f6f600c0ab4e7597dca398dda80dbe6821ce01cef78e859e7a00f8"
|
||||
},
|
||||
url: "https://github.com/atom/atom/tree/master/packages/one-dark-ui"
|
||||
}
|
||||
|
||||
@@ -1,13 +1,8 @@
|
||||
import chroma from "chroma-js";
|
||||
import { Meta } from "./common/colorScheme";
|
||||
import { colorRamp, createColorScheme } from "./common/ramps";
|
||||
|
||||
const name = "One Light";
|
||||
const author = "simurai";
|
||||
const url = "https://github.com/atom/atom/tree/master/packages/one-light-ui";
|
||||
const license = {
|
||||
type: "MIT",
|
||||
url: "https://github.com/atom/atom/blob/master/packages/one-light-ui/LICENSE.md",
|
||||
};
|
||||
|
||||
export const light = createColorScheme(`${name}`, true, {
|
||||
neutral: chroma.scale([
|
||||
@@ -31,3 +26,14 @@ export const light = createColorScheme(`${name}`, true, {
|
||||
violet: colorRamp(chroma("#a626a4")),
|
||||
magenta: colorRamp(chroma("#986801")),
|
||||
});
|
||||
|
||||
export const meta: Meta = {
|
||||
name,
|
||||
author: "simurai",
|
||||
license: {
|
||||
SPDX: "MIT",
|
||||
https_url: "https://raw.githubusercontent.com/atom/atom/master/packages/one-light-ui/LICENSE.md",
|
||||
license_checksum: "d5af8fc171f6f600c0ab4e7597dca398dda80dbe6821ce01cef78e859e7a00f8"
|
||||
},
|
||||
url: "https://github.com/atom/atom/tree/master/packages/one-light-ui"
|
||||
}
|
||||
|
||||
@@ -1,13 +1,8 @@
|
||||
import chroma from "chroma-js";
|
||||
import { Meta } from "./common/colorScheme";
|
||||
import { colorRamp, createColorScheme } from "./common/ramps";
|
||||
|
||||
const name = "Rosé Pine Dawn";
|
||||
const author = "edunfelt";
|
||||
const url = "https://github.com/edunfelt/base16-rose-pine-scheme";
|
||||
const license = {
|
||||
type: "MIT",
|
||||
url: "https://github.com/edunfelt/base16-rose-pine-scheme/blob/main/rose-pine-dawn.yaml",
|
||||
};
|
||||
|
||||
const ramps = {
|
||||
neutral: chroma
|
||||
@@ -33,3 +28,14 @@ const ramps = {
|
||||
};
|
||||
|
||||
export const light = createColorScheme(`${name}`, true, ramps);
|
||||
|
||||
export const meta: Meta = {
|
||||
name,
|
||||
author: "edunfelt",
|
||||
license: {
|
||||
SPDX: "MIT",
|
||||
https_url: "https://raw.githubusercontent.com/edunfelt/base16-rose-pine-scheme/main/LICENSE",
|
||||
license_checksum: "6ca1b9da8c78c8441c5aa43d024a4e4a7bf59d1ecca1480196e94fda0f91ee4a"
|
||||
},
|
||||
url: "https://github.com/edunfelt/base16-rose-pine-scheme"
|
||||
}
|
||||
@@ -1,13 +1,8 @@
|
||||
import chroma from "chroma-js";
|
||||
import { Meta } from "./common/colorScheme";
|
||||
import { colorRamp, createColorScheme } from "./common/ramps";
|
||||
|
||||
const name = "Rosé Pine Moon";
|
||||
const author = "edunfelt";
|
||||
const url = "https://github.com/edunfelt/base16-rose-pine-scheme";
|
||||
const license = {
|
||||
type: "MIT",
|
||||
url: "https://github.com/edunfelt/base16-rose-pine-scheme/blob/main/rose-pine-moon.yaml",
|
||||
};
|
||||
|
||||
const ramps = {
|
||||
neutral: chroma
|
||||
@@ -33,3 +28,14 @@ const ramps = {
|
||||
};
|
||||
|
||||
export const dark = createColorScheme(`${name}`, false, ramps);
|
||||
|
||||
export const meta: Meta = {
|
||||
name,
|
||||
author: "edunfelt",
|
||||
license: {
|
||||
SPDX: "MIT",
|
||||
https_url: "https://raw.githubusercontent.com/edunfelt/base16-rose-pine-scheme/main/LICENSE",
|
||||
license_checksum: "6ca1b9da8c78c8441c5aa43d024a4e4a7bf59d1ecca1480196e94fda0f91ee4a"
|
||||
},
|
||||
url: "https://github.com/edunfelt/base16-rose-pine-scheme"
|
||||
}
|
||||
@@ -1,13 +1,8 @@
|
||||
import chroma from "chroma-js";
|
||||
import { Meta } from "./common/colorScheme";
|
||||
import { colorRamp, createColorScheme } from "./common/ramps";
|
||||
|
||||
const name = "Rosé Pine";
|
||||
const author = "edunfelt";
|
||||
const url = "https://github.com/edunfelt/base16-rose-pine-scheme";
|
||||
const license = {
|
||||
type: "MIT",
|
||||
url: "https://github.com/edunfelt/base16-rose-pine-scheme",
|
||||
};
|
||||
|
||||
const ramps = {
|
||||
neutral: chroma.scale([
|
||||
@@ -31,3 +26,14 @@ const ramps = {
|
||||
};
|
||||
|
||||
export const dark = createColorScheme(`${name}`, false, ramps);
|
||||
|
||||
export const meta: Meta = {
|
||||
name,
|
||||
author: "edunfelt",
|
||||
license: {
|
||||
SPDX: "MIT",
|
||||
https_url: "https://raw.githubusercontent.com/edunfelt/base16-rose-pine-scheme/main/LICENSE",
|
||||
license_checksum: "6ca1b9da8c78c8441c5aa43d024a4e4a7bf59d1ecca1480196e94fda0f91ee4a"
|
||||
},
|
||||
url: "https://github.com/edunfelt/base16-rose-pine-scheme"
|
||||
}
|
||||
@@ -1,13 +1,8 @@
|
||||
import chroma from "chroma-js";
|
||||
import { Meta } from "./common/colorScheme";
|
||||
import { colorRamp, createColorScheme } from "./common/ramps";
|
||||
|
||||
const name = "Sandcastle";
|
||||
const author = "gessig";
|
||||
const url = "https://github.com/gessig/base16-sandcastle-scheme";
|
||||
const license = {
|
||||
type: "MIT",
|
||||
url: "https://github.com/gessig/base16-sandcastle-scheme/blob/master/LICENSE",
|
||||
};
|
||||
|
||||
const ramps = {
|
||||
neutral: chroma.scale([
|
||||
@@ -31,3 +26,15 @@ const ramps = {
|
||||
};
|
||||
|
||||
export const dark = createColorScheme(`${name}`, false, ramps);
|
||||
|
||||
export const meta: Meta = {
|
||||
name,
|
||||
author: "gessig",
|
||||
license: {
|
||||
SPDX: "MIT",
|
||||
https_url: "https://raw.githubusercontent.com/gessig/base16-sandcastle-scheme/master/LICENSE",
|
||||
license_checksum: "8399d44b4d935b60be9fee0a76d7cc9a817b4f3f11574c9d6d1e8fd57e72ffdc"
|
||||
},
|
||||
url: "https://github.com/gessig/base16-sandcastle-scheme"
|
||||
}
|
||||
|
||||
|
||||
@@ -1,13 +1,8 @@
|
||||
import chroma from "chroma-js";
|
||||
import { Meta as Metadata } from "./common/colorScheme";
|
||||
import { colorRamp, createColorScheme } from "./common/ramps";
|
||||
|
||||
const name = "Solarized";
|
||||
const author = "Ethan Schoonover";
|
||||
const url = "https://github.com/altercation/solarized";
|
||||
const license = {
|
||||
type: "MIT",
|
||||
url: "https://github.com/altercation/solarized/blob/master/README.md",
|
||||
};
|
||||
|
||||
const ramps = {
|
||||
neutral: chroma
|
||||
@@ -34,3 +29,15 @@ const ramps = {
|
||||
|
||||
export const dark = createColorScheme(`${name} Dark`, false, ramps);
|
||||
export const light = createColorScheme(`${name} Light`, true, ramps);
|
||||
|
||||
export const meta: Metadata = {
|
||||
name,
|
||||
author: "Ethan Schoonover",
|
||||
license: {
|
||||
SPDX: "MIT",
|
||||
https_url: "https://raw.githubusercontent.com/altercation/solarized/master/LICENSE",
|
||||
license_checksum: "494aefdabf86acce06bd63001ad8aedad4ee38da23509d3f917d95aa3368b9a6"
|
||||
},
|
||||
url: "https://github.com/altercation/solarized"
|
||||
}
|
||||
|
||||
|
||||
@@ -1,13 +1,8 @@
|
||||
import chroma from "chroma-js";
|
||||
import { Meta } from "./common/colorScheme";
|
||||
import { colorRamp, createColorScheme } from "./common/ramps";
|
||||
|
||||
const name = "Summercamp";
|
||||
const author = "zoefiri";
|
||||
const url = "https://github.com/zoefiri/base16-sc";
|
||||
const license = {
|
||||
type: "MIT",
|
||||
url: "https://github.com/zoefiri/base16-sc/blob/master/summercamp.yaml",
|
||||
};
|
||||
|
||||
const ramps = {
|
||||
neutral: chroma
|
||||
@@ -33,3 +28,13 @@ const ramps = {
|
||||
};
|
||||
|
||||
export const dark = createColorScheme(`${name}`, false, ramps);
|
||||
export const meta: Meta = {
|
||||
name,
|
||||
author: "zoefiri",
|
||||
url: "https://github.com/zoefiri/base16-sc",
|
||||
license: {
|
||||
SPDX: "MIT",
|
||||
https_url: "https://raw.githubusercontent.com/zoefiri/base16-sc/master/LICENSE",
|
||||
license_checksum: "fadcc834b7eaf2943800956600e8aeea4b495ecf6490f4c4b6c91556a90accaf"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user