Skip to content

Commit

Permalink
Merge pull request #137 from Hadil-Ben-Abdallah/main
Browse files Browse the repository at this point in the history
Add a new theme
  • Loading branch information
JacobLinCool authored Oct 17, 2024
2 parents 1801578 + 5580c25 commit 7ec0fe5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/exts/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import transparent from "../theme/transparent";
import unicorn from "../theme/unicorn";
import wtf from "../theme/wtf";
import radical from "../theme/radical";
import chartreuse from "../theme/chartreuse";
import { Extension, Item } from "../types";

export const supported: Record<string, Theme> = {
Expand All @@ -18,6 +19,7 @@ export const supported: Record<string, Theme> = {
wtf,
transparent,
radical,
chartreuse
};

export function ThemeExtension(): Extension {
Expand Down
10 changes: 10 additions & 0 deletions src/core/theme/chartreuse.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { Theme } from "./_theme";

export default Theme({
palette: {
bg: ["#000", "#fff"],
text: ["#00AEFF", "#7fff00"],
color: ["#ffa116", "#5cb85c", "#f0ad4e", "#d9534f"],
},
css: `#L{fill:#fff}`,
});

0 comments on commit 7ec0fe5

Please sign in to comment.