Skip to content

Commit

Permalink
feat: added a new sandbox theme (#617)
Browse files Browse the repository at this point in the history
Co-authored-by: Danilo Woznica <[email protected]>
  • Loading branch information
Ananyamadhu08 and danilowoz authored Oct 17, 2022
1 parent 6e16a71 commit ca659f4
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
36 changes: 36 additions & 0 deletions sandpack-themes/src/amethyst.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
import type { SandpackTheme } from "./types";

export const amethyst: SandpackTheme = {
colors: {
surface1: "#000000",
surface2: "#0a0a23",
surface3: "#3b3b4f",
clickable: "#dfdfe2",
base: "#ffffff",
disabled: "#858591",
hover: "#ffffff",
accent: "#a26cd6",
error: "#ffffff",
errorSurface: "#3b3b4f",
},
syntax: {
plain: "#ffffff",
comment: {
color: "#858591",
fontStyle: "italic"
},
keyword: "#a26cdd",
tag: "#f07178",
punctuation: "#99c9ff",
definition: "#ffffff",
property: "#99c9ff",
static: "#f78c6c",
string: "#57d1b7",
},
font: {
body: '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',
mono: '"Fira Mono", "DejaVu Sans Mono", Menlo, Consolas, "Liberation Mono", Monaco, "Lucida Console", monospace',
size: "12px",
lineHeight: "18px",
},
};
1 change: 1 addition & 0 deletions sandpack-themes/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export { nightOwl } from "./nightOwl";
export { sandpackDark } from "./sandpackDark";
export { ecoLight } from "./ecoLight";
export { freeCodeCampDark } from "./freeCodeCampDark";
export { amethyst } from "./amethyst";
export { neoCyan } from "./neoCyan";
export { cobalt2 } from "./cobalt2";
export { levelUp } from "./levelUp";
Expand Down

0 comments on commit ca659f4

Please sign in to comment.