mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-26 03:59:55 +00:00
Add zed-pro
as an internal theme
This commit is contained in:
parent
c9786fe464
commit
53f58f72f2
1 changed files with 28 additions and 0 deletions
28
styles/src/themes/internal/zed-pro.ts
Normal file
28
styles/src/themes/internal/zed-pro.ts
Normal file
|
@ -0,0 +1,28 @@
|
|||
import chroma from "chroma-js";
|
||||
import { colorRamp, createColorScheme } from "./common/ramps";
|
||||
|
||||
const name = "zed-pro";
|
||||
|
||||
const ramps = {
|
||||
neutral: chroma.scale([
|
||||
"#101010",
|
||||
"#1C1C1C",
|
||||
"#212121",
|
||||
"#2D2D2D",
|
||||
"#B9B9B9",
|
||||
"#DADADA",
|
||||
"#E6E6E6",
|
||||
"#FFFFFF",
|
||||
]),
|
||||
red: colorRamp(chroma("#DC604F")),
|
||||
orange: colorRamp(chroma("#DE782F")),
|
||||
yellow: colorRamp(chroma("#E0B750")),
|
||||
green: colorRamp(chroma("#2A643D")),
|
||||
cyan: colorRamp(chroma("#215050")),
|
||||
blue: colorRamp(chroma("#2F6DB7")),
|
||||
violet: colorRamp(chroma("#5874C1")),
|
||||
magenta: colorRamp(chroma("#DE9AB8")),
|
||||
};
|
||||
|
||||
export const dark = createColorScheme(`${name}-dark`, false, ramps);
|
||||
export const light = createColorScheme(`${name}-light`, true, ramps);
|
Loading…
Reference in a new issue