Skip to content

Commit

Permalink
feat: added a new sandbox theme (#616)
Browse files Browse the repository at this point in the history
Co-authored-by: Danilo Woznica <[email protected]>
  • Loading branch information
VedanthB and danilowoz authored Oct 17, 2022
1 parent 9b87e35 commit 0cc7567
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sandpack-themes/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@ export { nightOwl } from "./nightOwl";
export { sandpackDark } from "./sandpackDark";
export { ecoLight } from "./ecoLight";
export { freeCodeCampDark } from "./freeCodeCampDark";
export { neoCyan } from "./neoCyan";
export { cobalt2 } from "./cobalt2";
export { levelUp } from "./levelUp";

36 changes: 36 additions & 0 deletions sandpack-themes/src/neoCyan.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
import type { SandpackTheme } from "./types";

export const neoCyan: SandpackTheme = {
colors: {
surface1: "#2b3935",
surface2: "#191324",
surface3: "#524763",
clickable: "#aaaaaa",
base: "#ffffff",
disabled: "#aaaaaa",
hover: "#ffffff",
accent: "#82d8d8",
error: "#e54b4b",
errorSurface: "#191324",
},
syntax: {
plain: "#ffffff",
comment: {
color: "#82d8d8",
fontStyle: "italic",
},
keyword: "#e54b4b",
tag: "#ff26be",
punctuation: "#9588aa",
definition: "#82d8d8",
property: "#82d8d8",
static: "#82d8d8",
string: "#a8fe39",
},
font: {
body: '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',
mono: '"MonoLisa", "Fira Mono", "DejaVu Sans Mono", Menlo, Consolas, "Liberation Mono", Monaco, "Lucida Console", monospace',
size: "12px",
lineHeight: "18px",
},
};

0 comments on commit 0cc7567

Please sign in to comment.