mirror of
https://github.com/antonmedv/fx
synced 2024-11-11 07:10:28 +00:00
More themes
This commit is contained in:
parent
83f60180b0
commit
ca98db8acc
3
testdata/example.json
vendored
3
testdata/example.json
vendored
@ -4,7 +4,8 @@
|
|||||||
"tags": [
|
"tags": [
|
||||||
"fox",
|
"fox",
|
||||||
"dog",
|
"dog",
|
||||||
"lazy"
|
"lazy",
|
||||||
|
null
|
||||||
],
|
],
|
||||||
"year": 3000,
|
"year": 3000,
|
||||||
"funny": true,
|
"funny": true,
|
||||||
|
30
theme.go
30
theme.go
@ -84,10 +84,10 @@ var themes = map[string]theme{
|
|||||||
StatusBar: defaultStatusBar,
|
StatusBar: defaultStatusBar,
|
||||||
Search: defaultSearch,
|
Search: defaultSearch,
|
||||||
Key: boldFg("4"),
|
Key: boldFg("4"),
|
||||||
String: boldFg("2"),
|
String: fg("2"),
|
||||||
Null: defaultNull,
|
Null: defaultNull,
|
||||||
Boolean: boldFg("3"),
|
Boolean: fg("5"),
|
||||||
Number: boldFg("6"),
|
Number: fg("6"),
|
||||||
},
|
},
|
||||||
"2": {
|
"2": {
|
||||||
Cursor: defaultCursor,
|
Cursor: defaultCursor,
|
||||||
@ -102,6 +102,18 @@ var themes = map[string]theme{
|
|||||||
Number: fg("6"),
|
Number: fg("6"),
|
||||||
},
|
},
|
||||||
"3": {
|
"3": {
|
||||||
|
Cursor: defaultCursor,
|
||||||
|
Syntax: noColor,
|
||||||
|
Preview: defaultPreview,
|
||||||
|
StatusBar: defaultStatusBar,
|
||||||
|
Search: defaultSearch,
|
||||||
|
Key: fg("13"),
|
||||||
|
String: fg("11"),
|
||||||
|
Null: defaultNull,
|
||||||
|
Boolean: fg("1"),
|
||||||
|
Number: fg("14"),
|
||||||
|
},
|
||||||
|
"4": {
|
||||||
Cursor: defaultCursor,
|
Cursor: defaultCursor,
|
||||||
Syntax: noColor,
|
Syntax: noColor,
|
||||||
Preview: defaultPreview,
|
Preview: defaultPreview,
|
||||||
@ -113,7 +125,7 @@ var themes = map[string]theme{
|
|||||||
Boolean: fg("#F15BB5"),
|
Boolean: fg("#F15BB5"),
|
||||||
Number: fg("#9B5DE5"),
|
Number: fg("#9B5DE5"),
|
||||||
},
|
},
|
||||||
"4": {
|
"5": {
|
||||||
Cursor: defaultCursor,
|
Cursor: defaultCursor,
|
||||||
Syntax: noColor,
|
Syntax: noColor,
|
||||||
Preview: defaultPreview,
|
Preview: defaultPreview,
|
||||||
@ -125,7 +137,7 @@ var themes = map[string]theme{
|
|||||||
Boolean: fg("#ee964b"),
|
Boolean: fg("#ee964b"),
|
||||||
Number: fg("#ee964b"),
|
Number: fg("#ee964b"),
|
||||||
},
|
},
|
||||||
"5": {
|
"6": {
|
||||||
Cursor: defaultCursor,
|
Cursor: defaultCursor,
|
||||||
Syntax: noColor,
|
Syntax: noColor,
|
||||||
Preview: defaultPreview,
|
Preview: defaultPreview,
|
||||||
@ -137,7 +149,7 @@ var themes = map[string]theme{
|
|||||||
Boolean: fg("#FF6B6B"),
|
Boolean: fg("#FF6B6B"),
|
||||||
Number: fg("#FFD93D"),
|
Number: fg("#FFD93D"),
|
||||||
},
|
},
|
||||||
"6": {
|
"7": {
|
||||||
Cursor: defaultCursor,
|
Cursor: defaultCursor,
|
||||||
Syntax: noColor,
|
Syntax: noColor,
|
||||||
Preview: defaultPreview,
|
Preview: defaultPreview,
|
||||||
@ -149,7 +161,7 @@ var themes = map[string]theme{
|
|||||||
Boolean: boldFg("201"),
|
Boolean: boldFg("201"),
|
||||||
Number: boldFg("201"),
|
Number: boldFg("201"),
|
||||||
},
|
},
|
||||||
"7": {
|
"8": {
|
||||||
Cursor: defaultCursor,
|
Cursor: defaultCursor,
|
||||||
Syntax: noColor,
|
Syntax: noColor,
|
||||||
Preview: defaultPreview,
|
Preview: defaultPreview,
|
||||||
@ -161,7 +173,7 @@ var themes = map[string]theme{
|
|||||||
Boolean: fg("195"),
|
Boolean: fg("195"),
|
||||||
Number: fg("195"),
|
Number: fg("195"),
|
||||||
},
|
},
|
||||||
"8": {
|
"9": {
|
||||||
Cursor: defaultCursor,
|
Cursor: defaultCursor,
|
||||||
Syntax: noColor,
|
Syntax: noColor,
|
||||||
Preview: defaultPreview,
|
Preview: defaultPreview,
|
||||||
@ -173,7 +185,7 @@ var themes = map[string]theme{
|
|||||||
Boolean: noColor,
|
Boolean: noColor,
|
||||||
Number: noColor,
|
Number: noColor,
|
||||||
},
|
},
|
||||||
"9": {
|
"🔵": {
|
||||||
Cursor: defaultCursor,
|
Cursor: defaultCursor,
|
||||||
Syntax: boldFg("33"),
|
Syntax: boldFg("33"),
|
||||||
Preview: defaultPreview,
|
Preview: defaultPreview,
|
||||||
|
Loading…
Reference in New Issue
Block a user