Skip to content

Commit 9a7d21d

Browse files
authored
Merge pull request #12 from amorey/plugin-bugfix
Fixes issue with plugin preventing access to colors from theme()
2 parents 58f6a1b + c23f269 commit 9a7d21d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "fancy-ansi",
3-
"version": "0.1.1-rc1",
3+
"version": "0.1.1-rc2",
44
"description": "Small JavaScript library for converting ANSI to HTML",
55
"license": "Apache-2.0",
66
"repository": {

src/plugin.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ export default plugin(
2424
{
2525
theme: {
2626
ansi: {
27-
colors,
27+
colors: {
28+
...colors,
29+
},
2830
},
2931
},
3032
},

0 commit comments

Comments
 (0)