Skip to content

Commit

Permalink
feat(theme): freeCodeCamp Dark Theme (#605)
Browse files Browse the repository at this point in the history
Co-authored-by: Danilo Woznica <[email protected]>
  • Loading branch information
Insidiae and danilowoz authored Oct 4, 2022
1 parent 06be763 commit 24370e1
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/freeCodeCampDark.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
import type { SandpackTheme } from "./types";

export const freeCodeCampDark: SandpackTheme = {
colors: {
surface1: "#2a2a40",
surface2: "#0a0a23",
surface3: "#3b3b4f",
clickable: "#dfdfe2",
base: "#ffffff",
disabled: "#858591",
hover: "#ffffff",
accent: "#dbb8ff",
error: "#ffffff",
errorSurface: "#3b3b4f",
},
syntax: {
plain: "#ffffff",
comment: {
color: "#858591",
fontStyle: "italic",
},
keyword: "#dbb8ff",
tag: "#f07178",
punctuation: "#99c9ff",
definition: "#ffffff",
property: "#99c9ff",
static: "#f78c6c",
string: "#acd157",
},
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: "13px",
lineHeight: "20px",
},
};
1 change: 1 addition & 0 deletions sandpack-themes/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ export { monokaiPro } from "./monokaiPro";
export { nightOwl } from "./nightOwl";
export { sandpackDark } from "./sandpackDark";
export { ecoLight } from "./ecoLight";
export { freeCodeCampDark } from "./freeCodeCampDark";

0 comments on commit 24370e1

Please sign in to comment.