Skip to content

Commit 7ec0fe5

Browse files
authored
Merge pull request #137 from Hadil-Ben-Abdallah/main
Add a new theme
2 parents 1801578 + 5580c25 commit 7ec0fe5

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

src/core/exts/theme.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import transparent from "../theme/transparent";
77
import unicorn from "../theme/unicorn";
88
import wtf from "../theme/wtf";
99
import radical from "../theme/radical";
10+
import chartreuse from "../theme/chartreuse";
1011
import { Extension, Item } from "../types";
1112

1213
export const supported: Record<string, Theme> = {
@@ -18,6 +19,7 @@ export const supported: Record<string, Theme> = {
1819
wtf,
1920
transparent,
2021
radical,
22+
chartreuse
2123
};
2224

2325
export function ThemeExtension(): Extension {

src/core/theme/chartreuse.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import { Theme } from "./_theme";
2+
3+
export default Theme({
4+
palette: {
5+
bg: ["#000", "#fff"],
6+
text: ["#00AEFF", "#7fff00"],
7+
color: ["#ffa116", "#5cb85c", "#f0ad4e", "#d9534f"],
8+
},
9+
css: `#L{fill:#fff}`,
10+
});

0 commit comments

Comments
 (0)