mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-29 22:42:17 +03:00
Add metadata to all themes and organize
Co-Authored-By: gibusu <95764254+gibusu@users.noreply.github.com>
This commit is contained in:
parent
c3900565b9
commit
b700ea84a5
@ -2,11 +2,11 @@ import chroma from "chroma-js";
|
||||
import { colorRamp, createColorScheme } from "./common/ramps";
|
||||
|
||||
const name = "Andromeda";
|
||||
const author = "";
|
||||
const url = "";
|
||||
const author = "EliverLara";
|
||||
const url = "https://github.com/EliverLara/Andromeda";
|
||||
const license = {
|
||||
type: "",
|
||||
url: "",
|
||||
type: "MIT",
|
||||
url: "https://github.com/EliverLara/Andromeda/blob/master/LICENSE.md",
|
||||
};
|
||||
|
||||
const ramps = {
|
||||
|
@ -1,13 +1,13 @@
|
||||
import chroma from "chroma-js";
|
||||
import { colorRamp, createColorScheme } from "./common/ramps";
|
||||
|
||||
const name = "Cave";
|
||||
const author = "";
|
||||
const url = "";
|
||||
const name = "Atelier Cave";
|
||||
const author = "atelierbram";
|
||||
const url = "https://atelierbram.github.io/syntax-highlighting/atelier-schemes/cave/";
|
||||
const license = {
|
||||
type: "",
|
||||
url: ""
|
||||
}
|
||||
type: "MIT",
|
||||
url: "https://github.com/atelierbram/syntax-highlighting/blob/master/LICENSE",
|
||||
};
|
||||
|
||||
export const dark = createColorScheme(`${name} Dark`, false, {
|
||||
neutral: chroma
|
@ -1,9 +1,13 @@
|
||||
import chroma from "chroma-js";
|
||||
import { colorRamp, createColorScheme } from "./common/ramps";
|
||||
|
||||
const name = "Sulphurpool";
|
||||
const author = "";
|
||||
const url = "";
|
||||
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
styles/src/themes/internal/atelier-dune.ts
Normal file
34
styles/src/themes/internal/atelier-dune.ts
Normal file
@ -0,0 +1,34 @@
|
||||
import chroma from "chroma-js";
|
||||
import { colorRamp, createColorScheme } from "../common/ramps";
|
||||
|
||||
const name = "Atelier Dune";
|
||||
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.scale([
|
||||
"#20201d",
|
||||
"#292824",
|
||||
"#6e6b5e",
|
||||
"#7d7a68",
|
||||
"#999580",
|
||||
"#a6a28c",
|
||||
"#e8e4cf",
|
||||
"#fefbec",
|
||||
]),
|
||||
red: colorRamp(chroma("#d73737")),
|
||||
orange: colorRamp(chroma("#b65611")),
|
||||
yellow: colorRamp(chroma("#ae9513")),
|
||||
green: colorRamp(chroma("#60ac39")),
|
||||
cyan: colorRamp(chroma("#1fad83")),
|
||||
blue: colorRamp(chroma("#6684e1")),
|
||||
violet: colorRamp(chroma("#b854d4")),
|
||||
magenta: colorRamp(chroma("#d43552")),
|
||||
};
|
||||
|
||||
export const dark = createColorScheme(`${name} Dark`, false, ramps);
|
||||
export const light = createColorScheme(`${name} Light`, true, ramps);
|
@ -2,8 +2,12 @@ import chroma from "chroma-js";
|
||||
import { colorRamp, createColorScheme } from "../common/ramps";
|
||||
|
||||
const name = "Atelier Heath";
|
||||
const author = "Bram de Haan (http://atelierbramdehaan.nl)";
|
||||
const url = "";
|
||||
const author = "atelierbram";
|
||||
const url = "https://atelierbram.github.io/syntax-highlighting/atelier-schemes/heath/";
|
||||
const license = {
|
||||
type: "MIT",
|
||||
url: "https://github.com/atelierbram/syntax-highlighting/blob/master/LICENSE",
|
||||
};
|
||||
|
||||
// `name-[light|dark]`, isLight, color ramps
|
||||
export const dark = createColorScheme(`${name} Dark`, false, {
|
@ -2,8 +2,12 @@ import chroma from "chroma-js";
|
||||
import { colorRamp, createColorScheme } from "../common/ramps";
|
||||
|
||||
const name = "Atelier Seaside";
|
||||
const author = "Bram de Haan (http://atelierbramdehaan.nl)";
|
||||
const url = "";
|
||||
const author = "atelierbram";
|
||||
const url = "https://atelierbram.github.io/syntax-highlighting/atelier-schemes/seaside/";
|
||||
const license = {
|
||||
type: "MIT",
|
||||
url: "https://github.com/atelierbram/syntax-highlighting/blob/master/LICENSE",
|
||||
};
|
||||
|
||||
const ramps = {
|
||||
neutral: chroma.scale([
|
@ -3,7 +3,11 @@ import { colorRamp, createColorScheme } from "../common/ramps";
|
||||
|
||||
const name = "Monokai";
|
||||
const author = "Wimer Hazenberg (http://www.monokai.nl)";
|
||||
const url = "";
|
||||
const url = "https://base16.netlify.app/previews/base16-monokai.html";
|
||||
const license = {
|
||||
type: "?",
|
||||
url: "?",
|
||||
};
|
||||
|
||||
// `name-[light|dark]`, isLight, color ramps
|
||||
export const dark = createColorScheme(`${name}`, false, {
|
||||
|
@ -3,7 +3,11 @@ import { colorRamp, createColorScheme } from "../common/ramps";
|
||||
|
||||
const name = "Nord";
|
||||
const author = "arcticicestudio";
|
||||
const url = "";
|
||||
const url = "https://www.nordtheme.com/";
|
||||
const license = {
|
||||
type: "MIT",
|
||||
url: "https://github.com/arcticicestudio/nord/blob/develop/LICENSE.md",
|
||||
};
|
||||
|
||||
// `name-[light|dark]`, isLight, color ramps
|
||||
export const dark = createColorScheme(`${name}`, false, {
|
||||
|
@ -3,7 +3,11 @@ import { colorRamp, createColorScheme } from "../common/ramps";
|
||||
|
||||
const name = "Seti UI";
|
||||
const author = "jesseweed";
|
||||
const url = "";
|
||||
const url = "https://github.com/jesseweed/seti-ui";
|
||||
const license = {
|
||||
type: "MIT",
|
||||
url: "https://github.com/jesseweed/seti-ui/blob/master/LICENSE.md",
|
||||
};
|
||||
|
||||
// `name-[light|dark]`, isLight, color ramps
|
||||
export const dark = createColorScheme(`${name}`, false, {
|
||||
|
@ -4,6 +4,10 @@ import { colorRamp, createColorScheme } from "../common/ramps";
|
||||
const name = "Tokyo Night Storm";
|
||||
const author = "ghifarit53";
|
||||
const url = "https://github.com/ghifarit53/tokyonight-vim";
|
||||
const license = {
|
||||
type: "MIT",
|
||||
url: "https://github.com/ghifarit53/tokyonight-vim/blob/master/LICENSE",
|
||||
};
|
||||
|
||||
// `name-[light|dark]`, isLight, color ramps
|
||||
export const dark = createColorScheme(`${name}`, false, {
|
||||
|
@ -4,6 +4,10 @@ import { colorRamp, createColorScheme } from "../common/ramps";
|
||||
const name = "Tokyo";
|
||||
const author = "Michaël Ball";
|
||||
const url = "https://github.com/folke/tokyonight.nvim";
|
||||
const license = {
|
||||
type: "Apache License 2.0",
|
||||
url: "https://github.com/folke/tokyonight.nvim/blob/main/LICENSE",
|
||||
};
|
||||
|
||||
// `name-[light|dark]`, isLight, color ramps
|
||||
export const dark = createColorScheme(`${name} Night`, false, {
|
||||
|
@ -1,28 +0,0 @@
|
||||
import chroma from "chroma-js";
|
||||
import { colorRamp, createColorScheme } from "../common/ramps";
|
||||
|
||||
const name = "Twilight";
|
||||
const author = "David Hart (https://github.com/hartbit)";
|
||||
const url = "";
|
||||
|
||||
// `name-[light|dark]`, isLight, color ramps
|
||||
export const dark = createColorScheme(`${name}`, false, {
|
||||
neutral: chroma.scale([
|
||||
"#1e1e1e",
|
||||
"#323537",
|
||||
"#464b50",
|
||||
"#5f5a60",
|
||||
"#838184",
|
||||
"#a7a7a7",
|
||||
"#c3c3c3",
|
||||
"#ffffff",
|
||||
]),
|
||||
red: colorRamp(chroma("#cf6a4c")),
|
||||
orange: colorRamp(chroma("#cda869")),
|
||||
yellow: colorRamp(chroma("#f9ee98")),
|
||||
green: colorRamp(chroma("#8f9d6a")),
|
||||
cyan: colorRamp(chroma("#afc4db")),
|
||||
blue: colorRamp(chroma("#7587a6")),
|
||||
violet: colorRamp(chroma("#9b859d")),
|
||||
magenta: colorRamp(chroma("#9b703f")),
|
||||
});
|
@ -4,6 +4,10 @@ import { colorRamp, createColorScheme } from "../common/ramps";
|
||||
const name = "Zed Pro";
|
||||
const author = "Nate Butler"
|
||||
const url = "https://github.com/iamnbutler"
|
||||
const license = {
|
||||
type: "?",
|
||||
url: "?",
|
||||
};
|
||||
|
||||
const ramps = {
|
||||
neutral: chroma
|
||||
|
@ -3,7 +3,11 @@ import { colorRamp, createColorScheme } from "../common/ramps";
|
||||
|
||||
const name = "Zenburn";
|
||||
const author = "elnawe";
|
||||
const url = "";
|
||||
const url = "https://github.com/elnawe/base16-zenburn-scheme";
|
||||
const license = {
|
||||
type: "?",
|
||||
url: "https://github.com/elnawe/base16-zenburn-scheme/blob/master/zenburn.yaml",
|
||||
};
|
||||
|
||||
// `name-[light|dark]`, isLight, color ramps
|
||||
export const dark = createColorScheme(`${name}`, false, {
|
||||
|
34
styles/src/themes/one-dark.ts
Normal file
34
styles/src/themes/one-dark.ts
Normal file
@ -0,0 +1,34 @@
|
||||
import chroma from "chroma-js";
|
||||
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
|
||||
.scale([
|
||||
"#282c34",
|
||||
"#353b45",
|
||||
"#3e4451",
|
||||
"#545862",
|
||||
"#565c64",
|
||||
"#abb2bf",
|
||||
"#b6bdca",
|
||||
"#c8ccd4",
|
||||
])
|
||||
.domain([0.05, 0.22, 0.25, 0.45, 0.62, 0.8, 0.9, 1]),
|
||||
|
||||
red: colorRamp(chroma("#e06c75")),
|
||||
orange: colorRamp(chroma("#d19a66")),
|
||||
yellow: colorRamp(chroma("#e5c07b")),
|
||||
green: colorRamp(chroma("#98c379")),
|
||||
cyan: colorRamp(chroma("#56b6c2")),
|
||||
blue: colorRamp(chroma("#61afef")),
|
||||
violet: colorRamp(chroma("#c678dd")),
|
||||
magenta: colorRamp(chroma("#be5046")),
|
||||
});
|
33
styles/src/themes/one-light.ts
Normal file
33
styles/src/themes/one-light.ts
Normal file
@ -0,0 +1,33 @@
|
||||
import chroma from "chroma-js";
|
||||
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([
|
||||
"#090a0b",
|
||||
"#202227",
|
||||
"#383a42",
|
||||
"#696c77",
|
||||
"#a0a1a7",
|
||||
"#e5e5e6",
|
||||
"#f0f0f1",
|
||||
"#fafafa",
|
||||
])
|
||||
.domain([0.05, 0.22, 0.25, 0.45, 0.62, 0.8, 0.9, 1]),
|
||||
|
||||
red: colorRamp(chroma("#ca1243")),
|
||||
orange: colorRamp(chroma("#d75f00")),
|
||||
yellow: colorRamp(chroma("#c18401")),
|
||||
green: colorRamp(chroma("#50a14f")),
|
||||
cyan: colorRamp(chroma("#0184bc")),
|
||||
blue: colorRamp(chroma("#4078f2")),
|
||||
violet: colorRamp(chroma("#a626a4")),
|
||||
magenta: colorRamp(chroma("#986801")),
|
||||
});
|
@ -1,58 +0,0 @@
|
||||
import chroma from "chroma-js";
|
||||
import { colorRamp, createColorScheme } from "./common/ramps";
|
||||
|
||||
const name = "One";
|
||||
const author = "";
|
||||
const url = "";
|
||||
const license = {
|
||||
type: "",
|
||||
url: "",
|
||||
};
|
||||
|
||||
export const dark = createColorScheme(`${name} Dark`, false, {
|
||||
neutral: chroma
|
||||
.scale([
|
||||
"#282c34",
|
||||
"#353b45",
|
||||
"#3e4451",
|
||||
"#545862",
|
||||
"#565c64",
|
||||
"#abb2bf",
|
||||
"#b6bdca",
|
||||
"#c8ccd4",
|
||||
])
|
||||
.domain([0.05, 0.22, 0.25, 0.45, 0.62, 0.8, 0.9, 1]),
|
||||
|
||||
red: colorRamp(chroma("#e06c75")),
|
||||
orange: colorRamp(chroma("#d19a66")),
|
||||
yellow: colorRamp(chroma("#e5c07b")),
|
||||
green: colorRamp(chroma("#98c379")),
|
||||
cyan: colorRamp(chroma("#56b6c2")),
|
||||
blue: colorRamp(chroma("#61afef")),
|
||||
violet: colorRamp(chroma("#c678dd")),
|
||||
magenta: colorRamp(chroma("#be5046")),
|
||||
});
|
||||
|
||||
export const light = createColorScheme(`${name} Light`, true, {
|
||||
neutral: chroma
|
||||
.scale([
|
||||
"#090a0b",
|
||||
"#202227",
|
||||
"#383a42",
|
||||
"#696c77",
|
||||
"#a0a1a7",
|
||||
"#e5e5e6",
|
||||
"#f0f0f1",
|
||||
"#fafafa",
|
||||
])
|
||||
.domain([0.05, 0.22, 0.25, 0.45, 0.62, 0.8, 0.9, 1]),
|
||||
|
||||
red: colorRamp(chroma("#ca1243")),
|
||||
orange: colorRamp(chroma("#d75f00")),
|
||||
yellow: colorRamp(chroma("#c18401")),
|
||||
green: colorRamp(chroma("#50a14f")),
|
||||
cyan: colorRamp(chroma("#0184bc")),
|
||||
blue: colorRamp(chroma("#4078f2")),
|
||||
violet: colorRamp(chroma("#a626a4")),
|
||||
magenta: colorRamp(chroma("#986801")),
|
||||
});
|
@ -2,8 +2,12 @@ import chroma from "chroma-js";
|
||||
import { colorRamp, createColorScheme } from "./common/ramps";
|
||||
|
||||
const name = "Rosé Pine Dawn";
|
||||
const author = "";
|
||||
const url = "";
|
||||
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
|
||||
|
@ -2,8 +2,12 @@ import chroma from "chroma-js";
|
||||
import { colorRamp, createColorScheme } from "./common/ramps";
|
||||
|
||||
const name = "Rosé Pine Moon";
|
||||
const author = "";
|
||||
const url = "";
|
||||
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
|
||||
|
@ -2,8 +2,12 @@ import chroma from "chroma-js";
|
||||
import { colorRamp, createColorScheme } from "./common/ramps";
|
||||
|
||||
const name = "Rosé Pine";
|
||||
const author = "";
|
||||
const url = "";
|
||||
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([
|
||||
|
@ -2,8 +2,12 @@ import chroma from "chroma-js";
|
||||
import { colorRamp, createColorScheme } from "./common/ramps";
|
||||
|
||||
const name = "Sandcastle";
|
||||
const author = "";
|
||||
const url = "";
|
||||
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([
|
||||
|
@ -2,8 +2,12 @@ import chroma from "chroma-js";
|
||||
import { colorRamp, createColorScheme } from "./common/ramps";
|
||||
|
||||
const name = "Solarized";
|
||||
const author = "";
|
||||
const url = "";
|
||||
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
|
||||
|
@ -2,8 +2,12 @@ import chroma from "chroma-js";
|
||||
import { colorRamp, createColorScheme } from "./common/ramps";
|
||||
|
||||
const name = "Summercamp";
|
||||
const author = "";
|
||||
const url = "";
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user