Skip to content

Commit 1801578

Browse files
authored
Merge pull request #136 from Hadil-Ben-Abdallah/main
Add a new theme
2 parents 3153bc0 + 5ba6737 commit 1801578

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
@@ -6,6 +6,7 @@ import nord from "../theme/nord";
66
import transparent from "../theme/transparent";
77
import unicorn from "../theme/unicorn";
88
import wtf from "../theme/wtf";
9+
import radical from "../theme/radical";
910
import { Extension, Item } from "../types";
1011

1112
export const supported: Record<string, Theme> = {
@@ -16,6 +17,7 @@ export const supported: Record<string, Theme> = {
1617
unicorn,
1718
wtf,
1819
transparent,
20+
radical,
1921
};
2022

2123
export function ThemeExtension(): Extension {

src/core/theme/radical.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: ["#101010", "#ffff"],
6+
text: ["#fe428e", "#a9fef7"],
7+
color: ["#ffa116", "#5cb85c", "#f0ad4e", "#d9534f"],
8+
},
9+
css: `#L{fill:#fff}`,
10+
});

0 commit comments

Comments
 (0)