Merge branch 'main' into ime-support-2

This commit is contained in:
Antonio Scandurra
2022-07-22 16:03:38 +02:00
209 changed files with 1859 additions and 9740 deletions
-519
View File
@@ -1,519 +0,0 @@
{
"meta": {
"themeName": "cave-dark"
},
"text": {
"primary": {
"value": "#e2dfe7",
"type": "color"
},
"secondary": {
"value": "#8b8792",
"type": "color"
},
"muted": {
"value": "#8b8792",
"type": "color"
},
"placeholder": {
"value": "#7e7887",
"type": "color"
},
"active": {
"value": "#efecf4",
"type": "color"
},
"feature": {
"value": "#576ddb",
"type": "color"
},
"ok": {
"value": "#2a9292",
"type": "color"
},
"error": {
"value": "#be4678",
"type": "color"
},
"warning": {
"value": "#a06e3b",
"type": "color"
},
"info": {
"value": "#576ddb",
"type": "color"
}
},
"icon": {
"primary": {
"value": "#e2dfe7",
"type": "color"
},
"secondary": {
"value": "#8b8792",
"type": "color"
},
"muted": {
"value": "#8b8792",
"type": "color"
},
"placeholder": {
"value": "#7e7887",
"type": "color"
},
"active": {
"value": "#efecf4",
"type": "color"
},
"feature": {
"value": "#576ddb",
"type": "color"
},
"ok": {
"value": "#2a9292",
"type": "color"
},
"error": {
"value": "#be4678",
"type": "color"
},
"warning": {
"value": "#a06e3b",
"type": "color"
},
"info": {
"value": "#576ddb",
"type": "color"
}
},
"background": {
"100": {
"base": {
"value": "#332f38",
"type": "color"
},
"hovered": {
"value": "#3f3b45",
"type": "color"
},
"active": {
"value": "#4c4653",
"type": "color"
}
},
"300": {
"base": {
"value": "#26232a",
"type": "color"
},
"hovered": {
"value": "#332f38",
"type": "color"
},
"active": {
"value": "#3f3b45",
"type": "color"
}
},
"500": {
"base": {
"value": "#19171c",
"type": "color"
},
"hovered": {
"value": "#1c1a20",
"type": "color"
},
"active": {
"value": "#201d23",
"type": "color"
}
},
"on300": {
"base": {
"value": "#19171c",
"type": "color"
},
"hovered": {
"value": "#1c1a20",
"type": "color"
},
"active": {
"value": "#201d23",
"type": "color"
}
},
"on500": {
"base": {
"value": "#332f38",
"type": "color"
},
"hovered": {
"value": "#3f3b45",
"type": "color"
},
"active": {
"value": "#4c4653",
"type": "color"
}
},
"ok": {
"base": {
"value": "#2a929226",
"type": "color"
},
"hovered": {
"value": "#2a929233",
"type": "color"
},
"active": {
"value": "#2a929240",
"type": "color"
}
},
"error": {
"base": {
"value": "#be467826",
"type": "color"
},
"hovered": {
"value": "#be467833",
"type": "color"
},
"active": {
"value": "#be467840",
"type": "color"
}
},
"warning": {
"base": {
"value": "#a06e3b26",
"type": "color"
},
"hovered": {
"value": "#a06e3b33",
"type": "color"
},
"active": {
"value": "#a06e3b40",
"type": "color"
}
},
"info": {
"base": {
"value": "#576ddb26",
"type": "color"
},
"hovered": {
"value": "#576ddb33",
"type": "color"
},
"active": {
"value": "#576ddb40",
"type": "color"
}
}
},
"border": {
"primary": {
"value": "#19171c",
"type": "color"
},
"secondary": {
"value": "#26232a",
"type": "color"
},
"muted": {
"value": "#655f6d",
"type": "color"
},
"active": {
"value": "#655f6d",
"type": "color"
},
"onMedia": {
"value": "#19171c1a",
"type": "color"
},
"ok": {
"value": "#2a929226",
"type": "color"
},
"error": {
"value": "#be467826",
"type": "color"
},
"warning": {
"value": "#a06e3b26",
"type": "color"
},
"info": {
"value": "#576ddb26",
"type": "color"
}
},
"editor": {
"background": {
"value": "#19171c",
"type": "color"
},
"indent_guide": {
"value": "#655f6d",
"type": "color"
},
"indent_guide_active": {
"value": "#26232a",
"type": "color"
},
"line": {
"active": {
"value": "#26232a",
"type": "color"
},
"highlighted": {
"value": "#332f38",
"type": "color"
}
},
"highlight": {
"selection": {
"value": "#576ddb3d",
"type": "color"
},
"occurrence": {
"value": "#5852603d",
"type": "color"
},
"activeOccurrence": {
"value": "#5852607a",
"type": "color"
},
"matchingBracket": {
"value": "#201d23",
"type": "color"
},
"match": {
"value": "#3d1576",
"type": "color"
},
"activeMatch": {
"value": "#782edf7a",
"type": "color"
},
"related": {
"value": "#1c1a20",
"type": "color"
}
},
"gutter": {
"primary": {
"value": "#7e7887",
"type": "color"
},
"active": {
"value": "#efecf4",
"type": "color"
}
}
},
"syntax": {
"primary": {
"value": "#efecf4",
"type": "color"
},
"comment": {
"value": "#8b8792",
"type": "color"
},
"keyword": {
"value": "#576ddb",
"type": "color"
},
"function": {
"value": "#a06e3b",
"type": "color"
},
"type": {
"value": "#398bc6",
"type": "color"
},
"variant": {
"value": "#576ddb",
"type": "color"
},
"property": {
"value": "#576ddb",
"type": "color"
},
"enum": {
"value": "#aa573c",
"type": "color"
},
"operator": {
"value": "#aa573c",
"type": "color"
},
"string": {
"value": "#aa573c",
"type": "color"
},
"number": {
"value": "#2a9292",
"type": "color"
},
"boolean": {
"value": "#2a9292",
"type": "color"
}
},
"player": {
"1": {
"baseColor": {
"value": "#576ddb",
"type": "color"
},
"cursorColor": {
"value": "#576ddb",
"type": "color"
},
"selectionColor": {
"value": "#576ddb3d",
"type": "color"
},
"borderColor": {
"value": "#576ddbcc",
"type": "color"
}
},
"2": {
"baseColor": {
"value": "#2a9292",
"type": "color"
},
"cursorColor": {
"value": "#2a9292",
"type": "color"
},
"selectionColor": {
"value": "#2a92923d",
"type": "color"
},
"borderColor": {
"value": "#2a9292cc",
"type": "color"
}
},
"3": {
"baseColor": {
"value": "#bf40bf",
"type": "color"
},
"cursorColor": {
"value": "#bf40bf",
"type": "color"
},
"selectionColor": {
"value": "#bf40bf3d",
"type": "color"
},
"borderColor": {
"value": "#bf40bfcc",
"type": "color"
}
},
"4": {
"baseColor": {
"value": "#aa573c",
"type": "color"
},
"cursorColor": {
"value": "#aa573c",
"type": "color"
},
"selectionColor": {
"value": "#aa573c3d",
"type": "color"
},
"borderColor": {
"value": "#aa573ccc",
"type": "color"
}
},
"5": {
"baseColor": {
"value": "#955ae7",
"type": "color"
},
"cursorColor": {
"value": "#955ae7",
"type": "color"
},
"selectionColor": {
"value": "#955ae73d",
"type": "color"
},
"borderColor": {
"value": "#955ae7cc",
"type": "color"
}
},
"6": {
"baseColor": {
"value": "#398bc6",
"type": "color"
},
"cursorColor": {
"value": "#398bc6",
"type": "color"
},
"selectionColor": {
"value": "#398bc63d",
"type": "color"
},
"borderColor": {
"value": "#398bc6cc",
"type": "color"
}
},
"7": {
"baseColor": {
"value": "#be4678",
"type": "color"
},
"cursorColor": {
"value": "#be4678",
"type": "color"
},
"selectionColor": {
"value": "#be46783d",
"type": "color"
},
"borderColor": {
"value": "#be4678cc",
"type": "color"
}
},
"8": {
"baseColor": {
"value": "#a06e3b",
"type": "color"
},
"cursorColor": {
"value": "#a06e3b",
"type": "color"
},
"selectionColor": {
"value": "#a06e3b3d",
"type": "color"
},
"borderColor": {
"value": "#a06e3bcc",
"type": "color"
}
}
},
"shadowAlpha": {
"value": 0.24,
"type": "number"
}
}
-519
View File
@@ -1,519 +0,0 @@
{
"meta": {
"themeName": "cave-light"
},
"text": {
"primary": {
"value": "#26232a",
"type": "color"
},
"secondary": {
"value": "#585260",
"type": "color"
},
"muted": {
"value": "#585260",
"type": "color"
},
"placeholder": {
"value": "#655f6d",
"type": "color"
},
"active": {
"value": "#19171c",
"type": "color"
},
"feature": {
"value": "#576ddb",
"type": "color"
},
"ok": {
"value": "#2a9292",
"type": "color"
},
"error": {
"value": "#be4678",
"type": "color"
},
"warning": {
"value": "#a06e3b",
"type": "color"
},
"info": {
"value": "#576ddb",
"type": "color"
}
},
"icon": {
"primary": {
"value": "#26232a",
"type": "color"
},
"secondary": {
"value": "#585260",
"type": "color"
},
"muted": {
"value": "#585260",
"type": "color"
},
"placeholder": {
"value": "#655f6d",
"type": "color"
},
"active": {
"value": "#19171c",
"type": "color"
},
"feature": {
"value": "#576ddb",
"type": "color"
},
"ok": {
"value": "#2a9292",
"type": "color"
},
"error": {
"value": "#be4678",
"type": "color"
},
"warning": {
"value": "#a06e3b",
"type": "color"
},
"info": {
"value": "#576ddb",
"type": "color"
}
},
"background": {
"100": {
"base": {
"value": "#ccc9d2",
"type": "color"
},
"hovered": {
"value": "#b7b3bd",
"type": "color"
},
"active": {
"value": "#a19da7",
"type": "color"
}
},
"300": {
"base": {
"value": "#e2dfe7",
"type": "color"
},
"hovered": {
"value": "#ccc9d2",
"type": "color"
},
"active": {
"value": "#b7b3bd",
"type": "color"
}
},
"500": {
"base": {
"value": "#efecf4",
"type": "color"
},
"hovered": {
"value": "#ece9f1",
"type": "color"
},
"active": {
"value": "#e9e6ee",
"type": "color"
}
},
"on300": {
"base": {
"value": "#efecf4",
"type": "color"
},
"hovered": {
"value": "#ece9f1",
"type": "color"
},
"active": {
"value": "#e9e6ee",
"type": "color"
}
},
"on500": {
"base": {
"value": "#ccc9d2",
"type": "color"
},
"hovered": {
"value": "#b7b3bd",
"type": "color"
},
"active": {
"value": "#a19da7",
"type": "color"
}
},
"ok": {
"base": {
"value": "#2a929226",
"type": "color"
},
"hovered": {
"value": "#2a929233",
"type": "color"
},
"active": {
"value": "#2a929240",
"type": "color"
}
},
"error": {
"base": {
"value": "#be467826",
"type": "color"
},
"hovered": {
"value": "#be467833",
"type": "color"
},
"active": {
"value": "#be467840",
"type": "color"
}
},
"warning": {
"base": {
"value": "#a06e3b26",
"type": "color"
},
"hovered": {
"value": "#a06e3b33",
"type": "color"
},
"active": {
"value": "#a06e3b40",
"type": "color"
}
},
"info": {
"base": {
"value": "#576ddb26",
"type": "color"
},
"hovered": {
"value": "#576ddb33",
"type": "color"
},
"active": {
"value": "#576ddb40",
"type": "color"
}
}
},
"border": {
"primary": {
"value": "#b7b3bd",
"type": "color"
},
"secondary": {
"value": "#ccc9d2",
"type": "color"
},
"muted": {
"value": "#e2dfe7",
"type": "color"
},
"active": {
"value": "#655f6d",
"type": "color"
},
"onMedia": {
"value": "#efecf41a",
"type": "color"
},
"ok": {
"value": "#2a929226",
"type": "color"
},
"error": {
"value": "#be467826",
"type": "color"
},
"warning": {
"value": "#a06e3b26",
"type": "color"
},
"info": {
"value": "#576ddb26",
"type": "color"
}
},
"editor": {
"background": {
"value": "#efecf4",
"type": "color"
},
"indent_guide": {
"value": "#e2dfe7",
"type": "color"
},
"indent_guide_active": {
"value": "#ccc9d2",
"type": "color"
},
"line": {
"active": {
"value": "#e2dfe7",
"type": "color"
},
"highlighted": {
"value": "#ccc9d2",
"type": "color"
}
},
"highlight": {
"selection": {
"value": "#576ddb3d",
"type": "color"
},
"occurrence": {
"value": "#8b87921f",
"type": "color"
},
"activeOccurrence": {
"value": "#8b87923d",
"type": "color"
},
"matchingBracket": {
"value": "#e9e6ee",
"type": "color"
},
"match": {
"value": "#d5bdfa",
"type": "color"
},
"activeMatch": {
"value": "#a775ee3d",
"type": "color"
},
"related": {
"value": "#ece9f1",
"type": "color"
}
},
"gutter": {
"primary": {
"value": "#655f6d",
"type": "color"
},
"active": {
"value": "#19171c",
"type": "color"
}
}
},
"syntax": {
"primary": {
"value": "#19171c",
"type": "color"
},
"comment": {
"value": "#585260",
"type": "color"
},
"keyword": {
"value": "#576ddb",
"type": "color"
},
"function": {
"value": "#a06e3b",
"type": "color"
},
"type": {
"value": "#398bc6",
"type": "color"
},
"variant": {
"value": "#576ddb",
"type": "color"
},
"property": {
"value": "#576ddb",
"type": "color"
},
"enum": {
"value": "#aa573c",
"type": "color"
},
"operator": {
"value": "#aa573c",
"type": "color"
},
"string": {
"value": "#aa573c",
"type": "color"
},
"number": {
"value": "#2a9292",
"type": "color"
},
"boolean": {
"value": "#2a9292",
"type": "color"
}
},
"player": {
"1": {
"baseColor": {
"value": "#576ddb",
"type": "color"
},
"cursorColor": {
"value": "#576ddb",
"type": "color"
},
"selectionColor": {
"value": "#576ddb3d",
"type": "color"
},
"borderColor": {
"value": "#576ddbcc",
"type": "color"
}
},
"2": {
"baseColor": {
"value": "#2a9292",
"type": "color"
},
"cursorColor": {
"value": "#2a9292",
"type": "color"
},
"selectionColor": {
"value": "#2a92923d",
"type": "color"
},
"borderColor": {
"value": "#2a9292cc",
"type": "color"
}
},
"3": {
"baseColor": {
"value": "#bf40bf",
"type": "color"
},
"cursorColor": {
"value": "#bf40bf",
"type": "color"
},
"selectionColor": {
"value": "#bf40bf3d",
"type": "color"
},
"borderColor": {
"value": "#bf40bfcc",
"type": "color"
}
},
"4": {
"baseColor": {
"value": "#aa573c",
"type": "color"
},
"cursorColor": {
"value": "#aa573c",
"type": "color"
},
"selectionColor": {
"value": "#aa573c3d",
"type": "color"
},
"borderColor": {
"value": "#aa573ccc",
"type": "color"
}
},
"5": {
"baseColor": {
"value": "#955ae7",
"type": "color"
},
"cursorColor": {
"value": "#955ae7",
"type": "color"
},
"selectionColor": {
"value": "#955ae73d",
"type": "color"
},
"borderColor": {
"value": "#955ae7cc",
"type": "color"
}
},
"6": {
"baseColor": {
"value": "#398bc6",
"type": "color"
},
"cursorColor": {
"value": "#398bc6",
"type": "color"
},
"selectionColor": {
"value": "#398bc63d",
"type": "color"
},
"borderColor": {
"value": "#398bc6cc",
"type": "color"
}
},
"7": {
"baseColor": {
"value": "#be4678",
"type": "color"
},
"cursorColor": {
"value": "#be4678",
"type": "color"
},
"selectionColor": {
"value": "#be46783d",
"type": "color"
},
"borderColor": {
"value": "#be4678cc",
"type": "color"
}
},
"8": {
"baseColor": {
"value": "#a06e3b",
"type": "color"
},
"cursorColor": {
"value": "#a06e3b",
"type": "color"
},
"selectionColor": {
"value": "#a06e3b3d",
"type": "color"
},
"borderColor": {
"value": "#a06e3bcc",
"type": "color"
}
}
},
"shadowAlpha": {
"value": 0.12,
"type": "number"
}
}
-1181
View File
File diff suppressed because it is too large Load Diff
-519
View File
@@ -1,519 +0,0 @@
{
"meta": {
"themeName": "solarized-dark"
},
"text": {
"primary": {
"value": "#eee8d5",
"type": "color"
},
"secondary": {
"value": "#93a1a1",
"type": "color"
},
"muted": {
"value": "#93a1a1",
"type": "color"
},
"placeholder": {
"value": "#839496",
"type": "color"
},
"active": {
"value": "#fdf6e3",
"type": "color"
},
"feature": {
"value": "#268bd2",
"type": "color"
},
"ok": {
"value": "#859900",
"type": "color"
},
"error": {
"value": "#dc322f",
"type": "color"
},
"warning": {
"value": "#b58900",
"type": "color"
},
"info": {
"value": "#268bd2",
"type": "color"
}
},
"icon": {
"primary": {
"value": "#eee8d5",
"type": "color"
},
"secondary": {
"value": "#93a1a1",
"type": "color"
},
"muted": {
"value": "#93a1a1",
"type": "color"
},
"placeholder": {
"value": "#839496",
"type": "color"
},
"active": {
"value": "#fdf6e3",
"type": "color"
},
"feature": {
"value": "#268bd2",
"type": "color"
},
"ok": {
"value": "#859900",
"type": "color"
},
"error": {
"value": "#dc322f",
"type": "color"
},
"warning": {
"value": "#b58900",
"type": "color"
},
"info": {
"value": "#268bd2",
"type": "color"
}
},
"background": {
"100": {
"base": {
"value": "#1b444f",
"type": "color"
},
"hovered": {
"value": "#30525c",
"type": "color"
},
"active": {
"value": "#446068",
"type": "color"
}
},
"300": {
"base": {
"value": "#073642",
"type": "color"
},
"hovered": {
"value": "#1b444f",
"type": "color"
},
"active": {
"value": "#30525c",
"type": "color"
}
},
"500": {
"base": {
"value": "#002b36",
"type": "color"
},
"hovered": {
"value": "#022e39",
"type": "color"
},
"active": {
"value": "#04313c",
"type": "color"
}
},
"on300": {
"base": {
"value": "#002b36",
"type": "color"
},
"hovered": {
"value": "#022e39",
"type": "color"
},
"active": {
"value": "#04313c",
"type": "color"
}
},
"on500": {
"base": {
"value": "#1b444f",
"type": "color"
},
"hovered": {
"value": "#30525c",
"type": "color"
},
"active": {
"value": "#446068",
"type": "color"
}
},
"ok": {
"base": {
"value": "#85990026",
"type": "color"
},
"hovered": {
"value": "#85990033",
"type": "color"
},
"active": {
"value": "#85990040",
"type": "color"
}
},
"error": {
"base": {
"value": "#dc322f26",
"type": "color"
},
"hovered": {
"value": "#dc322f33",
"type": "color"
},
"active": {
"value": "#dc322f40",
"type": "color"
}
},
"warning": {
"base": {
"value": "#b5890026",
"type": "color"
},
"hovered": {
"value": "#b5890033",
"type": "color"
},
"active": {
"value": "#b5890040",
"type": "color"
}
},
"info": {
"base": {
"value": "#268bd226",
"type": "color"
},
"hovered": {
"value": "#268bd233",
"type": "color"
},
"active": {
"value": "#268bd240",
"type": "color"
}
}
},
"border": {
"primary": {
"value": "#002b36",
"type": "color"
},
"secondary": {
"value": "#073642",
"type": "color"
},
"muted": {
"value": "#657b83",
"type": "color"
},
"active": {
"value": "#657b83",
"type": "color"
},
"onMedia": {
"value": "#002b361a",
"type": "color"
},
"ok": {
"value": "#85990026",
"type": "color"
},
"error": {
"value": "#dc322f26",
"type": "color"
},
"warning": {
"value": "#b5890026",
"type": "color"
},
"info": {
"value": "#268bd226",
"type": "color"
}
},
"editor": {
"background": {
"value": "#002b36",
"type": "color"
},
"indent_guide": {
"value": "#657b83",
"type": "color"
},
"indent_guide_active": {
"value": "#073642",
"type": "color"
},
"line": {
"active": {
"value": "#073642",
"type": "color"
},
"highlighted": {
"value": "#1b444f",
"type": "color"
}
},
"highlight": {
"selection": {
"value": "#268bd23d",
"type": "color"
},
"occurrence": {
"value": "#586e753d",
"type": "color"
},
"activeOccurrence": {
"value": "#586e757a",
"type": "color"
},
"matchingBracket": {
"value": "#04313c",
"type": "color"
},
"match": {
"value": "#1b1f6b",
"type": "color"
},
"activeMatch": {
"value": "#434abc7a",
"type": "color"
},
"related": {
"value": "#022e39",
"type": "color"
}
},
"gutter": {
"primary": {
"value": "#839496",
"type": "color"
},
"active": {
"value": "#fdf6e3",
"type": "color"
}
}
},
"syntax": {
"primary": {
"value": "#fdf6e3",
"type": "color"
},
"comment": {
"value": "#93a1a1",
"type": "color"
},
"keyword": {
"value": "#268bd2",
"type": "color"
},
"function": {
"value": "#b58900",
"type": "color"
},
"type": {
"value": "#2aa198",
"type": "color"
},
"variant": {
"value": "#268bd2",
"type": "color"
},
"property": {
"value": "#268bd2",
"type": "color"
},
"enum": {
"value": "#cb4b16",
"type": "color"
},
"operator": {
"value": "#cb4b16",
"type": "color"
},
"string": {
"value": "#cb4b16",
"type": "color"
},
"number": {
"value": "#859900",
"type": "color"
},
"boolean": {
"value": "#859900",
"type": "color"
}
},
"player": {
"1": {
"baseColor": {
"value": "#268bd2",
"type": "color"
},
"cursorColor": {
"value": "#268bd2",
"type": "color"
},
"selectionColor": {
"value": "#268bd23d",
"type": "color"
},
"borderColor": {
"value": "#268bd2cc",
"type": "color"
}
},
"2": {
"baseColor": {
"value": "#859900",
"type": "color"
},
"cursorColor": {
"value": "#859900",
"type": "color"
},
"selectionColor": {
"value": "#8599003d",
"type": "color"
},
"borderColor": {
"value": "#859900cc",
"type": "color"
}
},
"3": {
"baseColor": {
"value": "#d33682",
"type": "color"
},
"cursorColor": {
"value": "#d33682",
"type": "color"
},
"selectionColor": {
"value": "#d336823d",
"type": "color"
},
"borderColor": {
"value": "#d33682cc",
"type": "color"
}
},
"4": {
"baseColor": {
"value": "#cb4b16",
"type": "color"
},
"cursorColor": {
"value": "#cb4b16",
"type": "color"
},
"selectionColor": {
"value": "#cb4b163d",
"type": "color"
},
"borderColor": {
"value": "#cb4b16cc",
"type": "color"
}
},
"5": {
"baseColor": {
"value": "#6c71c4",
"type": "color"
},
"cursorColor": {
"value": "#6c71c4",
"type": "color"
},
"selectionColor": {
"value": "#6c71c43d",
"type": "color"
},
"borderColor": {
"value": "#6c71c4cc",
"type": "color"
}
},
"6": {
"baseColor": {
"value": "#2aa198",
"type": "color"
},
"cursorColor": {
"value": "#2aa198",
"type": "color"
},
"selectionColor": {
"value": "#2aa1983d",
"type": "color"
},
"borderColor": {
"value": "#2aa198cc",
"type": "color"
}
},
"7": {
"baseColor": {
"value": "#dc322f",
"type": "color"
},
"cursorColor": {
"value": "#dc322f",
"type": "color"
},
"selectionColor": {
"value": "#dc322f3d",
"type": "color"
},
"borderColor": {
"value": "#dc322fcc",
"type": "color"
}
},
"8": {
"baseColor": {
"value": "#b58900",
"type": "color"
},
"cursorColor": {
"value": "#b58900",
"type": "color"
},
"selectionColor": {
"value": "#b589003d",
"type": "color"
},
"borderColor": {
"value": "#b58900cc",
"type": "color"
}
}
},
"shadowAlpha": {
"value": 0.24,
"type": "number"
}
}
-519
View File
@@ -1,519 +0,0 @@
{
"meta": {
"themeName": "solarized-light"
},
"text": {
"primary": {
"value": "#073642",
"type": "color"
},
"secondary": {
"value": "#586e75",
"type": "color"
},
"muted": {
"value": "#586e75",
"type": "color"
},
"placeholder": {
"value": "#657b83",
"type": "color"
},
"active": {
"value": "#002b36",
"type": "color"
},
"feature": {
"value": "#268bd2",
"type": "color"
},
"ok": {
"value": "#859900",
"type": "color"
},
"error": {
"value": "#dc322f",
"type": "color"
},
"warning": {
"value": "#b58900",
"type": "color"
},
"info": {
"value": "#268bd2",
"type": "color"
}
},
"icon": {
"primary": {
"value": "#073642",
"type": "color"
},
"secondary": {
"value": "#586e75",
"type": "color"
},
"muted": {
"value": "#586e75",
"type": "color"
},
"placeholder": {
"value": "#657b83",
"type": "color"
},
"active": {
"value": "#002b36",
"type": "color"
},
"feature": {
"value": "#268bd2",
"type": "color"
},
"ok": {
"value": "#859900",
"type": "color"
},
"error": {
"value": "#dc322f",
"type": "color"
},
"warning": {
"value": "#b58900",
"type": "color"
},
"info": {
"value": "#268bd2",
"type": "color"
}
},
"background": {
"100": {
"base": {
"value": "#d7d6c8",
"type": "color"
},
"hovered": {
"value": "#c1c5bb",
"type": "color"
},
"active": {
"value": "#aab3ae",
"type": "color"
}
},
"300": {
"base": {
"value": "#eee8d5",
"type": "color"
},
"hovered": {
"value": "#d7d6c8",
"type": "color"
},
"active": {
"value": "#c1c5bb",
"type": "color"
}
},
"500": {
"base": {
"value": "#fdf6e3",
"type": "color"
},
"hovered": {
"value": "#f9f3e0",
"type": "color"
},
"active": {
"value": "#f6efdc",
"type": "color"
}
},
"on300": {
"base": {
"value": "#fdf6e3",
"type": "color"
},
"hovered": {
"value": "#f9f3e0",
"type": "color"
},
"active": {
"value": "#f6efdc",
"type": "color"
}
},
"on500": {
"base": {
"value": "#d7d6c8",
"type": "color"
},
"hovered": {
"value": "#c1c5bb",
"type": "color"
},
"active": {
"value": "#aab3ae",
"type": "color"
}
},
"ok": {
"base": {
"value": "#85990026",
"type": "color"
},
"hovered": {
"value": "#85990033",
"type": "color"
},
"active": {
"value": "#85990040",
"type": "color"
}
},
"error": {
"base": {
"value": "#dc322f26",
"type": "color"
},
"hovered": {
"value": "#dc322f33",
"type": "color"
},
"active": {
"value": "#dc322f40",
"type": "color"
}
},
"warning": {
"base": {
"value": "#b5890026",
"type": "color"
},
"hovered": {
"value": "#b5890033",
"type": "color"
},
"active": {
"value": "#b5890040",
"type": "color"
}
},
"info": {
"base": {
"value": "#268bd226",
"type": "color"
},
"hovered": {
"value": "#268bd233",
"type": "color"
},
"active": {
"value": "#268bd240",
"type": "color"
}
}
},
"border": {
"primary": {
"value": "#c1c5bb",
"type": "color"
},
"secondary": {
"value": "#d7d6c8",
"type": "color"
},
"muted": {
"value": "#eee8d5",
"type": "color"
},
"active": {
"value": "#657b83",
"type": "color"
},
"onMedia": {
"value": "#fdf6e31a",
"type": "color"
},
"ok": {
"value": "#85990026",
"type": "color"
},
"error": {
"value": "#dc322f26",
"type": "color"
},
"warning": {
"value": "#b5890026",
"type": "color"
},
"info": {
"value": "#268bd226",
"type": "color"
}
},
"editor": {
"background": {
"value": "#fdf6e3",
"type": "color"
},
"indent_guide": {
"value": "#eee8d5",
"type": "color"
},
"indent_guide_active": {
"value": "#d7d6c8",
"type": "color"
},
"line": {
"active": {
"value": "#eee8d5",
"type": "color"
},
"highlighted": {
"value": "#d7d6c8",
"type": "color"
}
},
"highlight": {
"selection": {
"value": "#268bd23d",
"type": "color"
},
"occurrence": {
"value": "#93a1a11f",
"type": "color"
},
"activeOccurrence": {
"value": "#93a1a13d",
"type": "color"
},
"matchingBracket": {
"value": "#f6efdc",
"type": "color"
},
"match": {
"value": "#bcc0f6",
"type": "color"
},
"activeMatch": {
"value": "#7f84d73d",
"type": "color"
},
"related": {
"value": "#f9f3e0",
"type": "color"
}
},
"gutter": {
"primary": {
"value": "#657b83",
"type": "color"
},
"active": {
"value": "#002b36",
"type": "color"
}
}
},
"syntax": {
"primary": {
"value": "#002b36",
"type": "color"
},
"comment": {
"value": "#586e75",
"type": "color"
},
"keyword": {
"value": "#268bd2",
"type": "color"
},
"function": {
"value": "#b58900",
"type": "color"
},
"type": {
"value": "#2aa198",
"type": "color"
},
"variant": {
"value": "#268bd2",
"type": "color"
},
"property": {
"value": "#268bd2",
"type": "color"
},
"enum": {
"value": "#cb4b16",
"type": "color"
},
"operator": {
"value": "#cb4b16",
"type": "color"
},
"string": {
"value": "#cb4b16",
"type": "color"
},
"number": {
"value": "#859900",
"type": "color"
},
"boolean": {
"value": "#859900",
"type": "color"
}
},
"player": {
"1": {
"baseColor": {
"value": "#268bd2",
"type": "color"
},
"cursorColor": {
"value": "#268bd2",
"type": "color"
},
"selectionColor": {
"value": "#268bd23d",
"type": "color"
},
"borderColor": {
"value": "#268bd2cc",
"type": "color"
}
},
"2": {
"baseColor": {
"value": "#859900",
"type": "color"
},
"cursorColor": {
"value": "#859900",
"type": "color"
},
"selectionColor": {
"value": "#8599003d",
"type": "color"
},
"borderColor": {
"value": "#859900cc",
"type": "color"
}
},
"3": {
"baseColor": {
"value": "#d33682",
"type": "color"
},
"cursorColor": {
"value": "#d33682",
"type": "color"
},
"selectionColor": {
"value": "#d336823d",
"type": "color"
},
"borderColor": {
"value": "#d33682cc",
"type": "color"
}
},
"4": {
"baseColor": {
"value": "#cb4b16",
"type": "color"
},
"cursorColor": {
"value": "#cb4b16",
"type": "color"
},
"selectionColor": {
"value": "#cb4b163d",
"type": "color"
},
"borderColor": {
"value": "#cb4b16cc",
"type": "color"
}
},
"5": {
"baseColor": {
"value": "#6c71c4",
"type": "color"
},
"cursorColor": {
"value": "#6c71c4",
"type": "color"
},
"selectionColor": {
"value": "#6c71c43d",
"type": "color"
},
"borderColor": {
"value": "#6c71c4cc",
"type": "color"
}
},
"6": {
"baseColor": {
"value": "#2aa198",
"type": "color"
},
"cursorColor": {
"value": "#2aa198",
"type": "color"
},
"selectionColor": {
"value": "#2aa1983d",
"type": "color"
},
"borderColor": {
"value": "#2aa198cc",
"type": "color"
}
},
"7": {
"baseColor": {
"value": "#dc322f",
"type": "color"
},
"cursorColor": {
"value": "#dc322f",
"type": "color"
},
"selectionColor": {
"value": "#dc322f3d",
"type": "color"
},
"borderColor": {
"value": "#dc322fcc",
"type": "color"
}
},
"8": {
"baseColor": {
"value": "#b58900",
"type": "color"
},
"cursorColor": {
"value": "#b58900",
"type": "color"
},
"selectionColor": {
"value": "#b589003d",
"type": "color"
},
"borderColor": {
"value": "#b58900cc",
"type": "color"
}
}
},
"shadowAlpha": {
"value": 0.12,
"type": "number"
}
}
-519
View File
@@ -1,519 +0,0 @@
{
"meta": {
"themeName": "sulphurpool-dark"
},
"text": {
"primary": {
"value": "#dfe2f1",
"type": "color"
},
"secondary": {
"value": "#979db4",
"type": "color"
},
"muted": {
"value": "#979db4",
"type": "color"
},
"placeholder": {
"value": "#898ea4",
"type": "color"
},
"active": {
"value": "#f5f7ff",
"type": "color"
},
"feature": {
"value": "#3d8fd1",
"type": "color"
},
"ok": {
"value": "#ac9739",
"type": "color"
},
"error": {
"value": "#c94922",
"type": "color"
},
"warning": {
"value": "#c08b30",
"type": "color"
},
"info": {
"value": "#3d8fd1",
"type": "color"
}
},
"icon": {
"primary": {
"value": "#dfe2f1",
"type": "color"
},
"secondary": {
"value": "#979db4",
"type": "color"
},
"muted": {
"value": "#979db4",
"type": "color"
},
"placeholder": {
"value": "#898ea4",
"type": "color"
},
"active": {
"value": "#f5f7ff",
"type": "color"
},
"feature": {
"value": "#3d8fd1",
"type": "color"
},
"ok": {
"value": "#ac9739",
"type": "color"
},
"error": {
"value": "#c94922",
"type": "color"
},
"warning": {
"value": "#c08b30",
"type": "color"
},
"info": {
"value": "#3d8fd1",
"type": "color"
}
},
"background": {
"100": {
"base": {
"value": "#363f62",
"type": "color"
},
"hovered": {
"value": "#444c6f",
"type": "color"
},
"active": {
"value": "#51597b",
"type": "color"
}
},
"300": {
"base": {
"value": "#293256",
"type": "color"
},
"hovered": {
"value": "#363f62",
"type": "color"
},
"active": {
"value": "#444c6f",
"type": "color"
}
},
"500": {
"base": {
"value": "#202746",
"type": "color"
},
"hovered": {
"value": "#222a4a",
"type": "color"
},
"active": {
"value": "#252d4e",
"type": "color"
}
},
"on300": {
"base": {
"value": "#202746",
"type": "color"
},
"hovered": {
"value": "#222a4a",
"type": "color"
},
"active": {
"value": "#252d4e",
"type": "color"
}
},
"on500": {
"base": {
"value": "#363f62",
"type": "color"
},
"hovered": {
"value": "#444c6f",
"type": "color"
},
"active": {
"value": "#51597b",
"type": "color"
}
},
"ok": {
"base": {
"value": "#ac973926",
"type": "color"
},
"hovered": {
"value": "#ac973933",
"type": "color"
},
"active": {
"value": "#ac973940",
"type": "color"
}
},
"error": {
"base": {
"value": "#c9492226",
"type": "color"
},
"hovered": {
"value": "#c9492233",
"type": "color"
},
"active": {
"value": "#c9492240",
"type": "color"
}
},
"warning": {
"base": {
"value": "#c08b3026",
"type": "color"
},
"hovered": {
"value": "#c08b3033",
"type": "color"
},
"active": {
"value": "#c08b3040",
"type": "color"
}
},
"info": {
"base": {
"value": "#3d8fd126",
"type": "color"
},
"hovered": {
"value": "#3d8fd133",
"type": "color"
},
"active": {
"value": "#3d8fd140",
"type": "color"
}
}
},
"border": {
"primary": {
"value": "#202746",
"type": "color"
},
"secondary": {
"value": "#293256",
"type": "color"
},
"muted": {
"value": "#6b7394",
"type": "color"
},
"active": {
"value": "#6b7394",
"type": "color"
},
"onMedia": {
"value": "#2027461a",
"type": "color"
},
"ok": {
"value": "#ac973926",
"type": "color"
},
"error": {
"value": "#c9492226",
"type": "color"
},
"warning": {
"value": "#c08b3026",
"type": "color"
},
"info": {
"value": "#3d8fd126",
"type": "color"
}
},
"editor": {
"background": {
"value": "#202746",
"type": "color"
},
"indent_guide": {
"value": "#6b7394",
"type": "color"
},
"indent_guide_active": {
"value": "#293256",
"type": "color"
},
"line": {
"active": {
"value": "#293256",
"type": "color"
},
"highlighted": {
"value": "#363f62",
"type": "color"
}
},
"highlight": {
"selection": {
"value": "#3d8fd13d",
"type": "color"
},
"occurrence": {
"value": "#5e66873d",
"type": "color"
},
"activeOccurrence": {
"value": "#5e66877a",
"type": "color"
},
"matchingBracket": {
"value": "#252d4e",
"type": "color"
},
"match": {
"value": "#1a2a6d",
"type": "color"
},
"activeMatch": {
"value": "#3d56c47a",
"type": "color"
},
"related": {
"value": "#222a4a",
"type": "color"
}
},
"gutter": {
"primary": {
"value": "#898ea4",
"type": "color"
},
"active": {
"value": "#f5f7ff",
"type": "color"
}
}
},
"syntax": {
"primary": {
"value": "#f5f7ff",
"type": "color"
},
"comment": {
"value": "#979db4",
"type": "color"
},
"keyword": {
"value": "#3d8fd1",
"type": "color"
},
"function": {
"value": "#c08b30",
"type": "color"
},
"type": {
"value": "#22a2c9",
"type": "color"
},
"variant": {
"value": "#3d8fd1",
"type": "color"
},
"property": {
"value": "#3d8fd1",
"type": "color"
},
"enum": {
"value": "#c76b29",
"type": "color"
},
"operator": {
"value": "#c76b29",
"type": "color"
},
"string": {
"value": "#c76b29",
"type": "color"
},
"number": {
"value": "#ac9739",
"type": "color"
},
"boolean": {
"value": "#ac9739",
"type": "color"
}
},
"player": {
"1": {
"baseColor": {
"value": "#3d8fd1",
"type": "color"
},
"cursorColor": {
"value": "#3d8fd1",
"type": "color"
},
"selectionColor": {
"value": "#3d8fd13d",
"type": "color"
},
"borderColor": {
"value": "#3d8fd1cc",
"type": "color"
}
},
"2": {
"baseColor": {
"value": "#ac9739",
"type": "color"
},
"cursorColor": {
"value": "#ac9739",
"type": "color"
},
"selectionColor": {
"value": "#ac97393d",
"type": "color"
},
"borderColor": {
"value": "#ac9739cc",
"type": "color"
}
},
"3": {
"baseColor": {
"value": "#9c637a",
"type": "color"
},
"cursorColor": {
"value": "#9c637a",
"type": "color"
},
"selectionColor": {
"value": "#9c637a3d",
"type": "color"
},
"borderColor": {
"value": "#9c637acc",
"type": "color"
}
},
"4": {
"baseColor": {
"value": "#c76b29",
"type": "color"
},
"cursorColor": {
"value": "#c76b29",
"type": "color"
},
"selectionColor": {
"value": "#c76b293d",
"type": "color"
},
"borderColor": {
"value": "#c76b29cc",
"type": "color"
}
},
"5": {
"baseColor": {
"value": "#6679cc",
"type": "color"
},
"cursorColor": {
"value": "#6679cc",
"type": "color"
},
"selectionColor": {
"value": "#6679cc3d",
"type": "color"
},
"borderColor": {
"value": "#6679cccc",
"type": "color"
}
},
"6": {
"baseColor": {
"value": "#22a2c9",
"type": "color"
},
"cursorColor": {
"value": "#22a2c9",
"type": "color"
},
"selectionColor": {
"value": "#22a2c93d",
"type": "color"
},
"borderColor": {
"value": "#22a2c9cc",
"type": "color"
}
},
"7": {
"baseColor": {
"value": "#c94922",
"type": "color"
},
"cursorColor": {
"value": "#c94922",
"type": "color"
},
"selectionColor": {
"value": "#c949223d",
"type": "color"
},
"borderColor": {
"value": "#c94922cc",
"type": "color"
}
},
"8": {
"baseColor": {
"value": "#c08b30",
"type": "color"
},
"cursorColor": {
"value": "#c08b30",
"type": "color"
},
"selectionColor": {
"value": "#c08b303d",
"type": "color"
},
"borderColor": {
"value": "#c08b30cc",
"type": "color"
}
}
},
"shadowAlpha": {
"value": 0.24,
"type": "number"
}
}
-519
View File
@@ -1,519 +0,0 @@
{
"meta": {
"themeName": "sulphurpool-light"
},
"text": {
"primary": {
"value": "#293256",
"type": "color"
},
"secondary": {
"value": "#5e6687",
"type": "color"
},
"muted": {
"value": "#5e6687",
"type": "color"
},
"placeholder": {
"value": "#6b7394",
"type": "color"
},
"active": {
"value": "#202746",
"type": "color"
},
"feature": {
"value": "#3d8fd1",
"type": "color"
},
"ok": {
"value": "#ac9739",
"type": "color"
},
"error": {
"value": "#c94922",
"type": "color"
},
"warning": {
"value": "#c08b30",
"type": "color"
},
"info": {
"value": "#3d8fd1",
"type": "color"
}
},
"icon": {
"primary": {
"value": "#293256",
"type": "color"
},
"secondary": {
"value": "#5e6687",
"type": "color"
},
"muted": {
"value": "#5e6687",
"type": "color"
},
"placeholder": {
"value": "#6b7394",
"type": "color"
},
"active": {
"value": "#202746",
"type": "color"
},
"feature": {
"value": "#3d8fd1",
"type": "color"
},
"ok": {
"value": "#ac9739",
"type": "color"
},
"error": {
"value": "#c94922",
"type": "color"
},
"warning": {
"value": "#c08b30",
"type": "color"
},
"info": {
"value": "#3d8fd1",
"type": "color"
}
},
"background": {
"100": {
"base": {
"value": "#cdd1e2",
"type": "color"
},
"hovered": {
"value": "#bbc0d3",
"type": "color"
},
"active": {
"value": "#a9aec3",
"type": "color"
}
},
"300": {
"base": {
"value": "#dfe2f1",
"type": "color"
},
"hovered": {
"value": "#cdd1e2",
"type": "color"
},
"active": {
"value": "#bbc0d3",
"type": "color"
}
},
"500": {
"base": {
"value": "#f5f7ff",
"type": "color"
},
"hovered": {
"value": "#f0f2fc",
"type": "color"
},
"active": {
"value": "#eaedf8",
"type": "color"
}
},
"on300": {
"base": {
"value": "#f5f7ff",
"type": "color"
},
"hovered": {
"value": "#f0f2fc",
"type": "color"
},
"active": {
"value": "#eaedf8",
"type": "color"
}
},
"on500": {
"base": {
"value": "#cdd1e2",
"type": "color"
},
"hovered": {
"value": "#bbc0d3",
"type": "color"
},
"active": {
"value": "#a9aec3",
"type": "color"
}
},
"ok": {
"base": {
"value": "#ac973926",
"type": "color"
},
"hovered": {
"value": "#ac973933",
"type": "color"
},
"active": {
"value": "#ac973940",
"type": "color"
}
},
"error": {
"base": {
"value": "#c9492226",
"type": "color"
},
"hovered": {
"value": "#c9492233",
"type": "color"
},
"active": {
"value": "#c9492240",
"type": "color"
}
},
"warning": {
"base": {
"value": "#c08b3026",
"type": "color"
},
"hovered": {
"value": "#c08b3033",
"type": "color"
},
"active": {
"value": "#c08b3040",
"type": "color"
}
},
"info": {
"base": {
"value": "#3d8fd126",
"type": "color"
},
"hovered": {
"value": "#3d8fd133",
"type": "color"
},
"active": {
"value": "#3d8fd140",
"type": "color"
}
}
},
"border": {
"primary": {
"value": "#bbc0d3",
"type": "color"
},
"secondary": {
"value": "#cdd1e2",
"type": "color"
},
"muted": {
"value": "#dfe2f1",
"type": "color"
},
"active": {
"value": "#6b7394",
"type": "color"
},
"onMedia": {
"value": "#f5f7ff1a",
"type": "color"
},
"ok": {
"value": "#ac973926",
"type": "color"
},
"error": {
"value": "#c9492226",
"type": "color"
},
"warning": {
"value": "#c08b3026",
"type": "color"
},
"info": {
"value": "#3d8fd126",
"type": "color"
}
},
"editor": {
"background": {
"value": "#f5f7ff",
"type": "color"
},
"indent_guide": {
"value": "#dfe2f1",
"type": "color"
},
"indent_guide_active": {
"value": "#cdd1e2",
"type": "color"
},
"line": {
"active": {
"value": "#dfe2f1",
"type": "color"
},
"highlighted": {
"value": "#cdd1e2",
"type": "color"
}
},
"highlight": {
"selection": {
"value": "#3d8fd13d",
"type": "color"
},
"occurrence": {
"value": "#979db41f",
"type": "color"
},
"activeOccurrence": {
"value": "#979db43d",
"type": "color"
},
"matchingBracket": {
"value": "#eaedf8",
"type": "color"
},
"match": {
"value": "#bcc6f7",
"type": "color"
},
"activeMatch": {
"value": "#7b8ddc3d",
"type": "color"
},
"related": {
"value": "#f0f2fc",
"type": "color"
}
},
"gutter": {
"primary": {
"value": "#6b7394",
"type": "color"
},
"active": {
"value": "#202746",
"type": "color"
}
}
},
"syntax": {
"primary": {
"value": "#202746",
"type": "color"
},
"comment": {
"value": "#5e6687",
"type": "color"
},
"keyword": {
"value": "#3d8fd1",
"type": "color"
},
"function": {
"value": "#c08b30",
"type": "color"
},
"type": {
"value": "#22a2c9",
"type": "color"
},
"variant": {
"value": "#3d8fd1",
"type": "color"
},
"property": {
"value": "#3d8fd1",
"type": "color"
},
"enum": {
"value": "#c76b29",
"type": "color"
},
"operator": {
"value": "#c76b29",
"type": "color"
},
"string": {
"value": "#c76b29",
"type": "color"
},
"number": {
"value": "#ac9739",
"type": "color"
},
"boolean": {
"value": "#ac9739",
"type": "color"
}
},
"player": {
"1": {
"baseColor": {
"value": "#3d8fd1",
"type": "color"
},
"cursorColor": {
"value": "#3d8fd1",
"type": "color"
},
"selectionColor": {
"value": "#3d8fd13d",
"type": "color"
},
"borderColor": {
"value": "#3d8fd1cc",
"type": "color"
}
},
"2": {
"baseColor": {
"value": "#ac9739",
"type": "color"
},
"cursorColor": {
"value": "#ac9739",
"type": "color"
},
"selectionColor": {
"value": "#ac97393d",
"type": "color"
},
"borderColor": {
"value": "#ac9739cc",
"type": "color"
}
},
"3": {
"baseColor": {
"value": "#9c637a",
"type": "color"
},
"cursorColor": {
"value": "#9c637a",
"type": "color"
},
"selectionColor": {
"value": "#9c637a3d",
"type": "color"
},
"borderColor": {
"value": "#9c637acc",
"type": "color"
}
},
"4": {
"baseColor": {
"value": "#c76b29",
"type": "color"
},
"cursorColor": {
"value": "#c76b29",
"type": "color"
},
"selectionColor": {
"value": "#c76b293d",
"type": "color"
},
"borderColor": {
"value": "#c76b29cc",
"type": "color"
}
},
"5": {
"baseColor": {
"value": "#6679cc",
"type": "color"
},
"cursorColor": {
"value": "#6679cc",
"type": "color"
},
"selectionColor": {
"value": "#6679cc3d",
"type": "color"
},
"borderColor": {
"value": "#6679cccc",
"type": "color"
}
},
"6": {
"baseColor": {
"value": "#22a2c9",
"type": "color"
},
"cursorColor": {
"value": "#22a2c9",
"type": "color"
},
"selectionColor": {
"value": "#22a2c93d",
"type": "color"
},
"borderColor": {
"value": "#22a2c9cc",
"type": "color"
}
},
"7": {
"baseColor": {
"value": "#c94922",
"type": "color"
},
"cursorColor": {
"value": "#c94922",
"type": "color"
},
"selectionColor": {
"value": "#c949223d",
"type": "color"
},
"borderColor": {
"value": "#c94922cc",
"type": "color"
}
},
"8": {
"baseColor": {
"value": "#c08b30",
"type": "color"
},
"cursorColor": {
"value": "#c08b30",
"type": "color"
},
"selectionColor": {
"value": "#c08b303d",
"type": "color"
},
"borderColor": {
"value": "#c08b30cc",
"type": "color"
}
}
},
"shadowAlpha": {
"value": 0.12,
"type": "number"
}
}
-4297
View File
File diff suppressed because it is too large Load Diff
+310 -310
View File
@@ -1,316 +1,316 @@
{
"name": "styles",
"version": "1.0.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "styles",
"version": "1.0.0",
"license": "ISC",
"dependencies": {
"@types/chroma-js": "^2.1.3",
"@types/node": "^17.0.23",
"case-anything": "^2.1.10",
"chroma-js": "^2.4.2",
"ts-node": "^10.7.0"
}
},
"node_modules/@cspotcode/source-map-consumer": {
"version": "0.8.0",
"resolved": "https://registry.npmjs.org/@cspotcode/source-map-consumer/-/source-map-consumer-0.8.0.tgz",
"integrity": "sha512-41qniHzTU8yAGbCp04ohlmSrZf8bkf/iJsl3V0dRGsQN/5GFfx+LbCSsCpp2gqrqjTVg/K6O8ycoV35JIwAzAg==",
"engines": {
"node": ">= 12"
}
},
"node_modules/@cspotcode/source-map-support": {
"version": "0.7.0",
"resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.7.0.tgz",
"integrity": "sha512-X4xqRHqN8ACt2aHVe51OxeA2HjbcL4MqFqXkrmQszJ1NOUuUu5u6Vqx/0lZSVNku7velL5FC/s5uEAj1lsBMhA==",
"dependencies": {
"@cspotcode/source-map-consumer": "0.8.0"
},
"engines": {
"node": ">=12"
}
},
"node_modules/@tsconfig/node10": {
"version": "1.0.8",
"resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.8.tgz",
"integrity": "sha512-6XFfSQmMgq0CFLY1MslA/CPUfhIL919M1rMsa5lP2P097N2Wd1sSX0tx1u4olM16fLNhtHZpRhedZJphNJqmZg=="
},
"node_modules/@tsconfig/node12": {
"version": "1.0.9",
"resolved": "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.9.tgz",
"integrity": "sha512-/yBMcem+fbvhSREH+s14YJi18sp7J9jpuhYByADT2rypfajMZZN4WQ6zBGgBKp53NKmqI36wFYDb3yaMPurITw=="
},
"node_modules/@tsconfig/node14": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/@tsconfig/node14/-/node14-1.0.1.tgz",
"integrity": "sha512-509r2+yARFfHHE7T6Puu2jjkoycftovhXRqW328PDXTVGKihlb1P8Z9mMZH04ebyajfRY7dedfGynlrFHJUQCg=="
},
"node_modules/@tsconfig/node16": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.2.tgz",
"integrity": "sha512-eZxlbI8GZscaGS7kkc/trHTT5xgrjH3/1n2JDwusC9iahPKWMRvRjJSAN5mCXviuTGQ/lHnhvv8Q1YTpnfz9gA=="
},
"node_modules/@types/chroma-js": {
"version": "2.1.3",
"resolved": "https://registry.npmjs.org/@types/chroma-js/-/chroma-js-2.1.3.tgz",
"integrity": "sha512-1xGPhoSGY1CPmXLCBcjVZSQinFjL26vlR8ZqprsBWiFyED4JacJJ9zHhh5aaUXqbY9B37mKQ73nlydVAXmr1+g=="
},
"node_modules/@types/node": {
"version": "17.0.23",
"resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.23.tgz",
"integrity": "sha512-UxDxWn7dl97rKVeVS61vErvw086aCYhDLyvRQZ5Rk65rZKepaFdm53GeqXaKBuOhED4e9uWq34IC3TdSdJJ2Gw=="
},
"node_modules/acorn": {
"version": "8.7.0",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.7.0.tgz",
"integrity": "sha512-V/LGr1APy+PXIwKebEWrkZPwoeoF+w1jiOBUmuxuiUIaOHtob8Qc9BTrYo7VuI5fR8tqsy+buA2WFooR5olqvQ==",
"bin": {
"acorn": "bin/acorn"
},
"engines": {
"node": ">=0.4.0"
}
},
"node_modules/acorn-walk": {
"version": "8.2.0",
"resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.2.0.tgz",
"integrity": "sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==",
"engines": {
"node": ">=0.4.0"
}
},
"node_modules/arg": {
"version": "4.1.3",
"resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz",
"integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA=="
},
"node_modules/case-anything": {
"version": "2.1.10",
"resolved": "https://registry.npmjs.org/case-anything/-/case-anything-2.1.10.tgz",
"integrity": "sha512-JczJwVrCP0jPKh05McyVsuOg6AYosrB9XWZKbQzXeDAm2ClE/PJE/BcrrQrVyGYH7Jg8V/LDupmyL4kFlVsVFQ==",
"engines": {
"node": ">=12.13"
},
"funding": {
"url": "https://github.com/sponsors/mesqueeb"
}
},
"node_modules/chroma-js": {
"version": "2.4.2",
"resolved": "https://registry.npmjs.org/chroma-js/-/chroma-js-2.4.2.tgz",
"integrity": "sha512-U9eDw6+wt7V8z5NncY2jJfZa+hUH8XEj8FQHgFJTrUFnJfXYf4Ml4adI2vXZOjqRDpFWtYVWypDfZwnJ+HIR4A=="
},
"node_modules/create-require": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz",
"integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ=="
},
"node_modules/diff": {
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz",
"integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==",
"engines": {
"node": ">=0.3.1"
}
},
"node_modules/make-error": {
"version": "1.3.6",
"resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz",
"integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw=="
},
"node_modules/ts-node": {
"version": "10.7.0",
"resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.7.0.tgz",
"integrity": "sha512-TbIGS4xgJoX2i3do417KSaep1uRAW/Lu+WAL2doDHC0D6ummjirVOXU5/7aiZotbQ5p1Zp9tP7U6cYhA0O7M8A==",
"dependencies": {
"@cspotcode/source-map-support": "0.7.0",
"@tsconfig/node10": "^1.0.7",
"@tsconfig/node12": "^1.0.7",
"@tsconfig/node14": "^1.0.0",
"@tsconfig/node16": "^1.0.2",
"acorn": "^8.4.1",
"acorn-walk": "^8.1.1",
"arg": "^4.1.0",
"create-require": "^1.1.0",
"diff": "^4.0.1",
"make-error": "^1.1.1",
"v8-compile-cache-lib": "^3.0.0",
"yn": "3.1.1"
},
"bin": {
"ts-node": "dist/bin.js",
"ts-node-cwd": "dist/bin-cwd.js",
"ts-node-esm": "dist/bin-esm.js",
"ts-node-script": "dist/bin-script.js",
"ts-node-transpile-only": "dist/bin-transpile.js",
"ts-script": "dist/bin-script-deprecated.js"
},
"peerDependencies": {
"@swc/core": ">=1.2.50",
"@swc/wasm": ">=1.2.50",
"@types/node": "*",
"typescript": ">=2.7"
},
"peerDependenciesMeta": {
"@swc/core": {
"optional": true
},
"@swc/wasm": {
"optional": true
}
}
},
"node_modules/typescript": {
"version": "4.6.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.6.3.tgz",
"integrity": "sha512-yNIatDa5iaofVozS/uQJEl3JRWLKKGJKh6Yaiv0GLGSuhpFJe7P3SbHZ8/yjAHRQwKRoA6YZqlfjXWmVzoVSMw==",
"peer": true,
"bin": {
"tsc": "bin/tsc",
"tsserver": "bin/tsserver"
},
"engines": {
"node": ">=4.2.0"
}
},
"node_modules/v8-compile-cache-lib": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.0.tgz",
"integrity": "sha512-mpSYqfsFvASnSn5qMiwrr4VKfumbPyONLCOPmsR3A6pTY/r0+tSaVbgPWSAIuzbk3lCTa+FForeTiO+wBQGkjA=="
},
"node_modules/yn": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz",
"integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==",
"engines": {
"node": ">=6"
}
}
"name": "styles",
"version": "1.0.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "styles",
"version": "1.0.0",
"license": "ISC",
"dependencies": {
"@types/chroma-js": "^2.1.3",
"@types/node": "^17.0.23",
"case-anything": "^2.1.10",
"chroma-js": "^2.4.2",
"ts-node": "^10.7.0"
}
},
"dependencies": {
"@cspotcode/source-map-consumer": {
"version": "0.8.0",
"resolved": "https://registry.npmjs.org/@cspotcode/source-map-consumer/-/source-map-consumer-0.8.0.tgz",
"integrity": "sha512-41qniHzTU8yAGbCp04ohlmSrZf8bkf/iJsl3V0dRGsQN/5GFfx+LbCSsCpp2gqrqjTVg/K6O8ycoV35JIwAzAg=="
"node_modules/@cspotcode/source-map-consumer": {
"version": "0.8.0",
"resolved": "https://registry.npmjs.org/@cspotcode/source-map-consumer/-/source-map-consumer-0.8.0.tgz",
"integrity": "sha512-41qniHzTU8yAGbCp04ohlmSrZf8bkf/iJsl3V0dRGsQN/5GFfx+LbCSsCpp2gqrqjTVg/K6O8ycoV35JIwAzAg==",
"engines": {
"node": ">= 12"
}
},
"node_modules/@cspotcode/source-map-support": {
"version": "0.7.0",
"resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.7.0.tgz",
"integrity": "sha512-X4xqRHqN8ACt2aHVe51OxeA2HjbcL4MqFqXkrmQszJ1NOUuUu5u6Vqx/0lZSVNku7velL5FC/s5uEAj1lsBMhA==",
"dependencies": {
"@cspotcode/source-map-consumer": "0.8.0"
},
"engines": {
"node": ">=12"
}
},
"node_modules/@tsconfig/node10": {
"version": "1.0.8",
"resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.8.tgz",
"integrity": "sha512-6XFfSQmMgq0CFLY1MslA/CPUfhIL919M1rMsa5lP2P097N2Wd1sSX0tx1u4olM16fLNhtHZpRhedZJphNJqmZg=="
},
"node_modules/@tsconfig/node12": {
"version": "1.0.9",
"resolved": "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.9.tgz",
"integrity": "sha512-/yBMcem+fbvhSREH+s14YJi18sp7J9jpuhYByADT2rypfajMZZN4WQ6zBGgBKp53NKmqI36wFYDb3yaMPurITw=="
},
"node_modules/@tsconfig/node14": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/@tsconfig/node14/-/node14-1.0.1.tgz",
"integrity": "sha512-509r2+yARFfHHE7T6Puu2jjkoycftovhXRqW328PDXTVGKihlb1P8Z9mMZH04ebyajfRY7dedfGynlrFHJUQCg=="
},
"node_modules/@tsconfig/node16": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.2.tgz",
"integrity": "sha512-eZxlbI8GZscaGS7kkc/trHTT5xgrjH3/1n2JDwusC9iahPKWMRvRjJSAN5mCXviuTGQ/lHnhvv8Q1YTpnfz9gA=="
},
"node_modules/@types/chroma-js": {
"version": "2.1.3",
"resolved": "https://registry.npmjs.org/@types/chroma-js/-/chroma-js-2.1.3.tgz",
"integrity": "sha512-1xGPhoSGY1CPmXLCBcjVZSQinFjL26vlR8ZqprsBWiFyED4JacJJ9zHhh5aaUXqbY9B37mKQ73nlydVAXmr1+g=="
},
"node_modules/@types/node": {
"version": "17.0.23",
"resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.23.tgz",
"integrity": "sha512-UxDxWn7dl97rKVeVS61vErvw086aCYhDLyvRQZ5Rk65rZKepaFdm53GeqXaKBuOhED4e9uWq34IC3TdSdJJ2Gw=="
},
"node_modules/acorn": {
"version": "8.7.0",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.7.0.tgz",
"integrity": "sha512-V/LGr1APy+PXIwKebEWrkZPwoeoF+w1jiOBUmuxuiUIaOHtob8Qc9BTrYo7VuI5fR8tqsy+buA2WFooR5olqvQ==",
"bin": {
"acorn": "bin/acorn"
},
"engines": {
"node": ">=0.4.0"
}
},
"node_modules/acorn-walk": {
"version": "8.2.0",
"resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.2.0.tgz",
"integrity": "sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==",
"engines": {
"node": ">=0.4.0"
}
},
"node_modules/arg": {
"version": "4.1.3",
"resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz",
"integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA=="
},
"node_modules/case-anything": {
"version": "2.1.10",
"resolved": "https://registry.npmjs.org/case-anything/-/case-anything-2.1.10.tgz",
"integrity": "sha512-JczJwVrCP0jPKh05McyVsuOg6AYosrB9XWZKbQzXeDAm2ClE/PJE/BcrrQrVyGYH7Jg8V/LDupmyL4kFlVsVFQ==",
"engines": {
"node": ">=12.13"
},
"funding": {
"url": "https://github.com/sponsors/mesqueeb"
}
},
"node_modules/chroma-js": {
"version": "2.4.2",
"resolved": "https://registry.npmjs.org/chroma-js/-/chroma-js-2.4.2.tgz",
"integrity": "sha512-U9eDw6+wt7V8z5NncY2jJfZa+hUH8XEj8FQHgFJTrUFnJfXYf4Ml4adI2vXZOjqRDpFWtYVWypDfZwnJ+HIR4A=="
},
"node_modules/create-require": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz",
"integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ=="
},
"node_modules/diff": {
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz",
"integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==",
"engines": {
"node": ">=0.3.1"
}
},
"node_modules/make-error": {
"version": "1.3.6",
"resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz",
"integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw=="
},
"node_modules/ts-node": {
"version": "10.7.0",
"resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.7.0.tgz",
"integrity": "sha512-TbIGS4xgJoX2i3do417KSaep1uRAW/Lu+WAL2doDHC0D6ummjirVOXU5/7aiZotbQ5p1Zp9tP7U6cYhA0O7M8A==",
"dependencies": {
"@cspotcode/source-map-support": "0.7.0",
"@tsconfig/node10": "^1.0.7",
"@tsconfig/node12": "^1.0.7",
"@tsconfig/node14": "^1.0.0",
"@tsconfig/node16": "^1.0.2",
"acorn": "^8.4.1",
"acorn-walk": "^8.1.1",
"arg": "^4.1.0",
"create-require": "^1.1.0",
"diff": "^4.0.1",
"make-error": "^1.1.1",
"v8-compile-cache-lib": "^3.0.0",
"yn": "3.1.1"
},
"bin": {
"ts-node": "dist/bin.js",
"ts-node-cwd": "dist/bin-cwd.js",
"ts-node-esm": "dist/bin-esm.js",
"ts-node-script": "dist/bin-script.js",
"ts-node-transpile-only": "dist/bin-transpile.js",
"ts-script": "dist/bin-script-deprecated.js"
},
"peerDependencies": {
"@swc/core": ">=1.2.50",
"@swc/wasm": ">=1.2.50",
"@types/node": "*",
"typescript": ">=2.7"
},
"peerDependenciesMeta": {
"@swc/core": {
"optional": true
},
"@cspotcode/source-map-support": {
"version": "0.7.0",
"resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.7.0.tgz",
"integrity": "sha512-X4xqRHqN8ACt2aHVe51OxeA2HjbcL4MqFqXkrmQszJ1NOUuUu5u6Vqx/0lZSVNku7velL5FC/s5uEAj1lsBMhA==",
"requires": {
"@cspotcode/source-map-consumer": "0.8.0"
}
},
"@tsconfig/node10": {
"version": "1.0.8",
"resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.8.tgz",
"integrity": "sha512-6XFfSQmMgq0CFLY1MslA/CPUfhIL919M1rMsa5lP2P097N2Wd1sSX0tx1u4olM16fLNhtHZpRhedZJphNJqmZg=="
},
"@tsconfig/node12": {
"version": "1.0.9",
"resolved": "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.9.tgz",
"integrity": "sha512-/yBMcem+fbvhSREH+s14YJi18sp7J9jpuhYByADT2rypfajMZZN4WQ6zBGgBKp53NKmqI36wFYDb3yaMPurITw=="
},
"@tsconfig/node14": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/@tsconfig/node14/-/node14-1.0.1.tgz",
"integrity": "sha512-509r2+yARFfHHE7T6Puu2jjkoycftovhXRqW328PDXTVGKihlb1P8Z9mMZH04ebyajfRY7dedfGynlrFHJUQCg=="
},
"@tsconfig/node16": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.2.tgz",
"integrity": "sha512-eZxlbI8GZscaGS7kkc/trHTT5xgrjH3/1n2JDwusC9iahPKWMRvRjJSAN5mCXviuTGQ/lHnhvv8Q1YTpnfz9gA=="
},
"@types/chroma-js": {
"version": "2.1.3",
"resolved": "https://registry.npmjs.org/@types/chroma-js/-/chroma-js-2.1.3.tgz",
"integrity": "sha512-1xGPhoSGY1CPmXLCBcjVZSQinFjL26vlR8ZqprsBWiFyED4JacJJ9zHhh5aaUXqbY9B37mKQ73nlydVAXmr1+g=="
},
"@types/node": {
"version": "17.0.23",
"resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.23.tgz",
"integrity": "sha512-UxDxWn7dl97rKVeVS61vErvw086aCYhDLyvRQZ5Rk65rZKepaFdm53GeqXaKBuOhED4e9uWq34IC3TdSdJJ2Gw=="
},
"acorn": {
"version": "8.7.0",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.7.0.tgz",
"integrity": "sha512-V/LGr1APy+PXIwKebEWrkZPwoeoF+w1jiOBUmuxuiUIaOHtob8Qc9BTrYo7VuI5fR8tqsy+buA2WFooR5olqvQ=="
},
"acorn-walk": {
"version": "8.2.0",
"resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.2.0.tgz",
"integrity": "sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA=="
},
"arg": {
"version": "4.1.3",
"resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz",
"integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA=="
},
"case-anything": {
"version": "2.1.10",
"resolved": "https://registry.npmjs.org/case-anything/-/case-anything-2.1.10.tgz",
"integrity": "sha512-JczJwVrCP0jPKh05McyVsuOg6AYosrB9XWZKbQzXeDAm2ClE/PJE/BcrrQrVyGYH7Jg8V/LDupmyL4kFlVsVFQ=="
},
"chroma-js": {
"version": "2.4.2",
"resolved": "https://registry.npmjs.org/chroma-js/-/chroma-js-2.4.2.tgz",
"integrity": "sha512-U9eDw6+wt7V8z5NncY2jJfZa+hUH8XEj8FQHgFJTrUFnJfXYf4Ml4adI2vXZOjqRDpFWtYVWypDfZwnJ+HIR4A=="
},
"create-require": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz",
"integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ=="
},
"diff": {
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz",
"integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A=="
},
"make-error": {
"version": "1.3.6",
"resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz",
"integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw=="
},
"ts-node": {
"version": "10.7.0",
"resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.7.0.tgz",
"integrity": "sha512-TbIGS4xgJoX2i3do417KSaep1uRAW/Lu+WAL2doDHC0D6ummjirVOXU5/7aiZotbQ5p1Zp9tP7U6cYhA0O7M8A==",
"requires": {
"@cspotcode/source-map-support": "0.7.0",
"@tsconfig/node10": "^1.0.7",
"@tsconfig/node12": "^1.0.7",
"@tsconfig/node14": "^1.0.0",
"@tsconfig/node16": "^1.0.2",
"acorn": "^8.4.1",
"acorn-walk": "^8.1.1",
"arg": "^4.1.0",
"create-require": "^1.1.0",
"diff": "^4.0.1",
"make-error": "^1.1.1",
"v8-compile-cache-lib": "^3.0.0",
"yn": "3.1.1"
}
},
"typescript": {
"version": "4.6.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.6.3.tgz",
"integrity": "sha512-yNIatDa5iaofVozS/uQJEl3JRWLKKGJKh6Yaiv0GLGSuhpFJe7P3SbHZ8/yjAHRQwKRoA6YZqlfjXWmVzoVSMw==",
"peer": true
},
"v8-compile-cache-lib": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.0.tgz",
"integrity": "sha512-mpSYqfsFvASnSn5qMiwrr4VKfumbPyONLCOPmsR3A6pTY/r0+tSaVbgPWSAIuzbk3lCTa+FForeTiO+wBQGkjA=="
},
"yn": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz",
"integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q=="
"@swc/wasm": {
"optional": true
}
}
},
"node_modules/typescript": {
"version": "4.6.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.6.3.tgz",
"integrity": "sha512-yNIatDa5iaofVozS/uQJEl3JRWLKKGJKh6Yaiv0GLGSuhpFJe7P3SbHZ8/yjAHRQwKRoA6YZqlfjXWmVzoVSMw==",
"peer": true,
"bin": {
"tsc": "bin/tsc",
"tsserver": "bin/tsserver"
},
"engines": {
"node": ">=4.2.0"
}
},
"node_modules/v8-compile-cache-lib": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.0.tgz",
"integrity": "sha512-mpSYqfsFvASnSn5qMiwrr4VKfumbPyONLCOPmsR3A6pTY/r0+tSaVbgPWSAIuzbk3lCTa+FForeTiO+wBQGkjA=="
},
"node_modules/yn": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz",
"integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==",
"engines": {
"node": ">=6"
}
}
},
"dependencies": {
"@cspotcode/source-map-consumer": {
"version": "0.8.0",
"resolved": "https://registry.npmjs.org/@cspotcode/source-map-consumer/-/source-map-consumer-0.8.0.tgz",
"integrity": "sha512-41qniHzTU8yAGbCp04ohlmSrZf8bkf/iJsl3V0dRGsQN/5GFfx+LbCSsCpp2gqrqjTVg/K6O8ycoV35JIwAzAg=="
},
"@cspotcode/source-map-support": {
"version": "0.7.0",
"resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.7.0.tgz",
"integrity": "sha512-X4xqRHqN8ACt2aHVe51OxeA2HjbcL4MqFqXkrmQszJ1NOUuUu5u6Vqx/0lZSVNku7velL5FC/s5uEAj1lsBMhA==",
"requires": {
"@cspotcode/source-map-consumer": "0.8.0"
}
},
"@tsconfig/node10": {
"version": "1.0.8",
"resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.8.tgz",
"integrity": "sha512-6XFfSQmMgq0CFLY1MslA/CPUfhIL919M1rMsa5lP2P097N2Wd1sSX0tx1u4olM16fLNhtHZpRhedZJphNJqmZg=="
},
"@tsconfig/node12": {
"version": "1.0.9",
"resolved": "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.9.tgz",
"integrity": "sha512-/yBMcem+fbvhSREH+s14YJi18sp7J9jpuhYByADT2rypfajMZZN4WQ6zBGgBKp53NKmqI36wFYDb3yaMPurITw=="
},
"@tsconfig/node14": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/@tsconfig/node14/-/node14-1.0.1.tgz",
"integrity": "sha512-509r2+yARFfHHE7T6Puu2jjkoycftovhXRqW328PDXTVGKihlb1P8Z9mMZH04ebyajfRY7dedfGynlrFHJUQCg=="
},
"@tsconfig/node16": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.2.tgz",
"integrity": "sha512-eZxlbI8GZscaGS7kkc/trHTT5xgrjH3/1n2JDwusC9iahPKWMRvRjJSAN5mCXviuTGQ/lHnhvv8Q1YTpnfz9gA=="
},
"@types/chroma-js": {
"version": "2.1.3",
"resolved": "https://registry.npmjs.org/@types/chroma-js/-/chroma-js-2.1.3.tgz",
"integrity": "sha512-1xGPhoSGY1CPmXLCBcjVZSQinFjL26vlR8ZqprsBWiFyED4JacJJ9zHhh5aaUXqbY9B37mKQ73nlydVAXmr1+g=="
},
"@types/node": {
"version": "17.0.23",
"resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.23.tgz",
"integrity": "sha512-UxDxWn7dl97rKVeVS61vErvw086aCYhDLyvRQZ5Rk65rZKepaFdm53GeqXaKBuOhED4e9uWq34IC3TdSdJJ2Gw=="
},
"acorn": {
"version": "8.7.0",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.7.0.tgz",
"integrity": "sha512-V/LGr1APy+PXIwKebEWrkZPwoeoF+w1jiOBUmuxuiUIaOHtob8Qc9BTrYo7VuI5fR8tqsy+buA2WFooR5olqvQ=="
},
"acorn-walk": {
"version": "8.2.0",
"resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.2.0.tgz",
"integrity": "sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA=="
},
"arg": {
"version": "4.1.3",
"resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz",
"integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA=="
},
"case-anything": {
"version": "2.1.10",
"resolved": "https://registry.npmjs.org/case-anything/-/case-anything-2.1.10.tgz",
"integrity": "sha512-JczJwVrCP0jPKh05McyVsuOg6AYosrB9XWZKbQzXeDAm2ClE/PJE/BcrrQrVyGYH7Jg8V/LDupmyL4kFlVsVFQ=="
},
"chroma-js": {
"version": "2.4.2",
"resolved": "https://registry.npmjs.org/chroma-js/-/chroma-js-2.4.2.tgz",
"integrity": "sha512-U9eDw6+wt7V8z5NncY2jJfZa+hUH8XEj8FQHgFJTrUFnJfXYf4Ml4adI2vXZOjqRDpFWtYVWypDfZwnJ+HIR4A=="
},
"create-require": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz",
"integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ=="
},
"diff": {
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz",
"integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A=="
},
"make-error": {
"version": "1.3.6",
"resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz",
"integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw=="
},
"ts-node": {
"version": "10.7.0",
"resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.7.0.tgz",
"integrity": "sha512-TbIGS4xgJoX2i3do417KSaep1uRAW/Lu+WAL2doDHC0D6ummjirVOXU5/7aiZotbQ5p1Zp9tP7U6cYhA0O7M8A==",
"requires": {
"@cspotcode/source-map-support": "0.7.0",
"@tsconfig/node10": "^1.0.7",
"@tsconfig/node12": "^1.0.7",
"@tsconfig/node14": "^1.0.0",
"@tsconfig/node16": "^1.0.2",
"acorn": "^8.4.1",
"acorn-walk": "^8.1.1",
"arg": "^4.1.0",
"create-require": "^1.1.0",
"diff": "^4.0.1",
"make-error": "^1.1.1",
"v8-compile-cache-lib": "^3.0.0",
"yn": "3.1.1"
}
},
"typescript": {
"version": "4.6.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.6.3.tgz",
"integrity": "sha512-yNIatDa5iaofVozS/uQJEl3JRWLKKGJKh6Yaiv0GLGSuhpFJe7P3SbHZ8/yjAHRQwKRoA6YZqlfjXWmVzoVSMw==",
"peer": true
},
"v8-compile-cache-lib": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.0.tgz",
"integrity": "sha512-mpSYqfsFvASnSn5qMiwrr4VKfumbPyONLCOPmsR3A6pTY/r0+tSaVbgPWSAIuzbk3lCTa+FForeTiO+wBQGkjA=="
},
"yn": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz",
"integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q=="
}
}
}
+17 -17
View File
@@ -1,19 +1,19 @@
{
"name": "styles",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"build": "npm run build-themes && npm run build-tokens",
"build-themes": "ts-node ./src/buildThemes.ts"
},
"author": "",
"license": "ISC",
"dependencies": {
"@types/chroma-js": "^2.1.3",
"@types/node": "^17.0.23",
"case-anything": "^2.1.10",
"chroma-js": "^2.4.2",
"ts-node": "^10.7.0"
}
"name": "styles",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"build": "npm run build-themes && npm run build-tokens",
"build-themes": "ts-node ./src/buildThemes.ts"
},
"author": "",
"license": "ISC",
"dependencies": {
"@types/chroma-js": "^2.1.3",
"@types/node": "^17.0.23",
"case-anything": "^2.1.10",
"chroma-js": "^2.4.2",
"ts-node": "^10.7.0"
}
}
+5 -5
View File
@@ -1,18 +1,18 @@
import * as fs from "fs";
import * as path from "path";
import { tmpdir } from 'os';
import { tmpdir } from "os";
import app from "./styleTree/app";
import themes from "./themes";
import snakeCase from "./utils/snakeCase";
const themeDirectory = `${__dirname}/../../assets/themes/`;
const tempDirectory = fs.mkdtempSync(path.join(tmpdir(), 'build-themes'));
const tempDirectory = fs.mkdtempSync(path.join(tmpdir(), "build-themes"));
// Clear existing themes
for (const file of fs.readdirSync(themeDirectory)) {
if (file.endsWith('.json')) {
const name = file.replace(/\.json$/, '');
if (!themes.find(theme => theme.name === name)) {
if (file.endsWith(".json")) {
const name = file.replace(/\.json$/, "");
if (!themes.find((theme) => theme.name === name)) {
fs.unlinkSync(path.join(themeDirectory, file));
}
}
+5 -4
View File
@@ -1,7 +1,7 @@
export const fontFamilies = {
sans: "Zed Sans",
mono: "Zed Mono",
}
};
export const fontSizes = {
"3xs": 8,
@@ -13,7 +13,8 @@ export const fontSizes = {
xl: 20,
};
export type FontWeight = "thin"
export type FontWeight =
| "thin"
| "extra_light"
| "light"
| "normal"
@@ -31,7 +32,7 @@ export const fontWeights: { [key: string]: FontWeight } = {
semibold: "semibold",
bold: "bold",
extra_bold: "extra_bold",
black: "black"
black: "black",
};
export const sizes = {
@@ -62,4 +63,4 @@ export const sizes = {
// purple: colorRamp("#A855F7FF"),
// fuschia: colorRamp("#D946E4FF"),
// pink: colorRamp("#EC4899FF"),
// }
// }
+1 -1
View File
@@ -6,7 +6,7 @@ import {
player,
text,
TextColor,
popoverShadow
popoverShadow,
} from "./components";
export default function chatPanel(theme: Theme) {
+4 -4
View File
@@ -16,11 +16,11 @@ export default function commandPalette(theme: Theme) {
right: 8,
},
margin: {
left: 2
left: 2,
},
active: {
text: text(theme, "mono", "active", { size: "xs" }),
}
}
}
},
},
};
}
+2 -5
View File
@@ -60,10 +60,7 @@ export interface Player {
selection: string;
};
}
export function player(
theme: Theme,
playerNumber: PlayerIndex,
): Player {
export function player(theme: Theme, playerNumber: PlayerIndex): Player {
return {
selection: {
cursor: theme.player[playerNumber].cursorColor,
@@ -77,7 +74,7 @@ export type BackgroundState = keyof BackgroundColorSet;
export function backgroundColor(
theme: Theme,
name: BackgroundColor,
state?: BackgroundState,
state?: BackgroundState
): string {
return theme.backgroundColor[name][state || "base"];
}
+3 -3
View File
@@ -26,13 +26,13 @@ export default function contactFinder(theme: Theme) {
contactButton: {
...contactButton,
hover: {
background: backgroundColor(theme, 100, "hovered")
}
background: backgroundColor(theme, 100, "hovered"),
},
},
disabledContactButton: {
...contactButton,
background: backgroundColor(theme, 100),
color: iconColor(theme, "muted"),
},
}
};
}
+8 -8
View File
@@ -13,7 +13,7 @@ export default function contactNotification(theme: Theme): Object {
},
headerMessage: {
...text(theme, "sans", "primary", { size: "xs" }),
margin: { left: headerPadding, right: headerPadding }
margin: { left: headerPadding, right: headerPadding },
},
headerHeight: 18,
bodyMessage: {
@@ -27,8 +27,8 @@ export default function contactNotification(theme: Theme): Object {
cornerRadius: 6,
margin: { left: 6 },
hover: {
background: backgroundColor(theme, "on300", "hovered")
}
background: backgroundColor(theme, "on300", "hovered"),
},
},
dismissButton: {
color: iconColor(theme, "secondary"),
@@ -37,8 +37,8 @@ export default function contactNotification(theme: Theme): Object {
buttonWidth: 8,
buttonHeight: 8,
hover: {
color: iconColor(theme, "primary")
}
}
}
}
color: iconColor(theme, "primary"),
},
},
};
}
+25 -18
View File
@@ -1,6 +1,13 @@
import Theme from "../themes/common/theme";
import { panel } from "./app";
import { backgroundColor, border, borderColor, iconColor, player, text } from "./components";
import {
backgroundColor,
border,
borderColor,
iconColor,
player,
text,
} from "./components";
export default function contactsPanel(theme: Theme) {
const nameMargin = 8;
@@ -24,7 +31,7 @@ export default function contactsPanel(theme: Theme) {
margin: {
left: nameMargin,
right: nameMargin,
}
},
},
padding: {
left: sidePadding,
@@ -59,17 +66,17 @@ export default function contactsPanel(theme: Theme) {
margin: {
left: sidePadding,
right: sidePadding,
}
},
},
userQueryEditorHeight: 32,
addContactButton: {
margin: { left: 6, right: 12 },
color: iconColor(theme, "primary"),
buttonWidth: 8,
iconWidth: 8,
buttonWidth: 16,
iconWidth: 16,
},
privateButton: {
iconWidth: 8,
iconWidth: 12,
color: iconColor(theme, "primary"),
cornerRadius: 5,
buttonWidth: 12,
@@ -86,16 +93,16 @@ export default function contactsPanel(theme: Theme) {
active: {
...text(theme, "mono", "primary", { size: "sm" }),
background: backgroundColor(theme, 100, "active"),
}
},
},
contactRow: {
padding: {
left: sidePadding,
right: sidePadding
right: sidePadding,
},
active: {
background: backgroundColor(theme, 100, "active"),
}
},
},
treeBranch: {
color: borderColor(theme, "active"),
@@ -105,7 +112,7 @@ export default function contactsPanel(theme: Theme) {
},
active: {
color: borderColor(theme, "active"),
}
},
},
contactAvatar: {
cornerRadius: 10,
@@ -121,7 +128,7 @@ export default function contactsPanel(theme: Theme) {
contactButton: {
...contactButton,
hover: {
background: backgroundColor(theme, 100, "hovered"),
background: backgroundColor(theme, "on300", "hovered"),
},
},
disabledButton: {
@@ -141,18 +148,18 @@ export default function contactsPanel(theme: Theme) {
},
active: {
background: backgroundColor(theme, 300, "active"),
}
},
},
inviteRow: {
padding: {
left: sidePadding,
right: sidePadding
right: sidePadding,
},
border: { top: true, width: 1, color: borderColor(theme, "primary") },
text: text(theme, "sans", "primary", { size: "sm" }),
text: text(theme, "sans", "secondary", { size: "sm" }),
hover: {
text: text(theme, "sans", "primary", { size: "sm", underline: true })
}
}
}
text: text(theme, "sans", "active", { size: "sm" }),
},
},
};
}
+11 -5
View File
@@ -1,5 +1,11 @@
import Theme from "../themes/common/theme";
import { backgroundColor, border, borderColor, popoverShadow, text } from "./components";
import {
backgroundColor,
border,
borderColor,
popoverShadow,
text,
} from "./components";
export default function contextMenu(theme: Theme) {
return {
@@ -15,7 +21,7 @@ export default function contextMenu(theme: Theme) {
label: text(theme, "sans", "secondary", { size: "sm" }),
keystroke: {
...text(theme, "sans", "muted", { size: "sm", weight: "bold" }),
padding: { left: 3, right: 3 }
padding: { left: 3, right: 3 },
},
hover: {
background: backgroundColor(theme, 300, "hovered"),
@@ -28,11 +34,11 @@ export default function contextMenu(theme: Theme) {
activeHover: {
background: backgroundColor(theme, 300, "hovered"),
text: text(theme, "sans", "active", { size: "sm" }),
}
},
},
separator: {
background: borderColor(theme, "primary"),
margin: { top: 2, bottom: 2 }
margin: { top: 2, bottom: 2 },
},
}
};
}
+2 -2
View File
@@ -7,7 +7,7 @@ import {
player,
popoverShadow,
text,
TextColor
TextColor,
} from "./components";
import hoverPopover from "./hoverPopover";
@@ -158,7 +158,7 @@ export default function editor(theme: Theme) {
hover: {
color: iconColor(theme, "active"),
background: backgroundColor(theme, "on500", "base"),
}
},
},
compositionMark: {
underline: {
+4 -4
View File
@@ -10,7 +10,7 @@ export default function HoverPopover(theme: Theme) {
left: 8,
right: 8,
top: 4,
bottom: 4
bottom: 4,
},
shadow: popoverShadow(theme),
border: border(theme, "primary"),
@@ -21,7 +21,7 @@ export default function HoverPopover(theme: Theme) {
block_style: {
padding: { top: 4 },
},
prose: text(theme, "sans", "primary", { "size": "sm" }),
prose: text(theme, "sans", "primary", { size: "sm" }),
highlight: theme.editor.highlight.occurrence,
}
}
};
}
+8 -2
View File
@@ -1,5 +1,11 @@
import Theme from "../themes/common/theme";
import { backgroundColor, border, player, modalShadow, text } from "./components";
import {
backgroundColor,
border,
player,
modalShadow,
text,
} from "./components";
export default function picker(theme: Theme) {
return {
@@ -22,7 +28,7 @@ export default function picker(theme: Theme) {
},
hover: {
background: backgroundColor(theme, 300, "hovered"),
}
},
},
border: border(theme, "primary"),
empty: {
+2 -5
View File
@@ -1,8 +1,5 @@
import Theme from "../themes/common/theme";
import {
backgroundColor,
text,
} from "./components";
import { backgroundColor, text } from "./components";
export default function projectDiagnostics(theme: Theme) {
return {
@@ -11,5 +8,5 @@ export default function projectDiagnostics(theme: Theme) {
tabIconWidth: 13,
tabSummarySpacing: 10,
emptyMessage: text(theme, "sans", "secondary", { size: "md" }),
}
};
}
+1 -1
View File
@@ -24,7 +24,7 @@ export default function projectPanel(theme: Theme) {
activeHover: {
background: backgroundColor(theme, 300, "hovered"),
text: text(theme, "mono", "active", { size: "sm" }),
}
},
},
cutEntryFade: 0.4,
ignoredEntryFade: 0.6,
+1 -2
View File
@@ -2,7 +2,6 @@ import Theme from "../themes/common/theme";
import { backgroundColor, border, player, text } from "./components";
export default function search(theme: Theme) {
// Search input
const editor = {
background: backgroundColor(theme, 500),
@@ -51,7 +50,7 @@ export default function search(theme: Theme) {
...text(theme, "mono", "active"),
background: backgroundColor(theme, "on500", "hovered"),
border: border(theme, "muted"),
}
},
},
editor,
invalidEditor: {
+15 -15
View File
@@ -5,13 +5,13 @@ import { workspaceBackground } from "./workspace";
export default function statusBar(theme: Theme) {
const statusContainer = {
cornerRadius: 6,
padding: { top: 3, bottom: 3, left: 6, right: 6 }
}
padding: { top: 3, bottom: 3, left: 6, right: 6 },
};
const diagnosticStatusContainer = {
cornerRadius: 6,
padding: { top: 1, bottom: 1, left: 6, right: 6 }
}
padding: { top: 1, bottom: 1, left: 6, right: 6 },
};
return {
height: 30,
@@ -35,9 +35,9 @@ export default function statusBar(theme: Theme) {
iconColor: iconColor(theme, "muted"),
hover: {
message: text(theme, "sans", "primary"),
iconColor: iconColor(theme, "primary"),
iconColor: iconColor(theme, "active"),
background: backgroundColor(theme, 300, "hovered"),
}
},
},
diagnosticMessage: {
...text(theme, "sans", "muted"),
@@ -49,7 +49,7 @@ export default function statusBar(theme: Theme) {
},
diagnosticSummary: {
height: 16,
iconWidth: 14,
iconWidth: 16,
iconSpacing: 2,
summarySpacing: 6,
text: text(theme, "sans", "primary", { size: "sm" }),
@@ -71,7 +71,7 @@ export default function statusBar(theme: Theme) {
border: border(theme, "error"),
},
hover: {
iconColorOk: iconColor(theme, "primary"),
iconColorOk: iconColor(theme, "active"),
containerOk: {
cornerRadius: 6,
padding: { top: 3, bottom: 3, left: 7, right: 7 },
@@ -86,7 +86,7 @@ export default function statusBar(theme: Theme) {
...diagnosticStatusContainer,
background: backgroundColor(theme, "error", "hovered"),
border: border(theme, "error"),
}
},
},
},
sidebarButtons: {
@@ -94,16 +94,16 @@ export default function statusBar(theme: Theme) {
groupRight: {},
item: {
...statusContainer,
iconSize: 14,
iconSize: 16,
iconColor: iconColor(theme, "secondary"),
hover: {
iconColor: iconColor(theme, "primary"),
iconColor: iconColor(theme, "active"),
background: backgroundColor(theme, 300, "hovered"),
},
active: {
iconColor: iconColor(theme, "active"),
background: backgroundColor(theme, 300, "active"),
}
},
},
badge: {
cornerRadius: 3,
@@ -111,7 +111,7 @@ export default function statusBar(theme: Theme) {
margin: { bottom: -1, right: -1 },
border: { width: 1, color: workspaceBackground(theme) },
background: iconColor(theme, "feature"),
}
}
}
},
},
};
}
+2 -2
View File
@@ -60,6 +60,6 @@ export default function terminal(theme: Theme) {
margin: 25,
border: border(theme, "primary"),
shadow: modalShadow(theme),
}
},
};
}
}
+4 -4
View File
@@ -14,9 +14,9 @@ export default function tooltip(theme: Theme) {
background: backgroundColor(theme, "on500"),
cornerRadius: 4,
margin: { left: 6 },
padding: { left: 3, right: 3 },
...text(theme, "mono", "muted", { size: "xs", weight: "bold" })
padding: { left: 4, right: 4 },
...text(theme, "mono", "muted", { size: "xs", weight: "bold" }),
},
maxTextWidth: 200,
}
}
};
}
+8 -8
View File
@@ -7,14 +7,14 @@ export default function updateNotification(theme: Theme): Object {
return {
message: {
...text(theme, "sans", "primary", { size: "xs" }),
margin: { left: headerPadding, right: headerPadding }
margin: { left: headerPadding, right: headerPadding },
},
actionMessage: {
...text(theme, "sans", "secondary", { size: "xs" }),
margin: { left: headerPadding, top: 6, bottom: 6 },
hover: {
color: theme.textColor["active"]
}
color: theme.textColor["active"],
},
},
dismissButton: {
color: iconColor(theme, "secondary"),
@@ -23,8 +23,8 @@ export default function updateNotification(theme: Theme): Object {
buttonWidth: 8,
buttonHeight: 8,
hover: {
color: iconColor(theme, "primary")
}
}
}
}
color: iconColor(theme, "primary"),
},
},
};
}
+51 -25
View File
@@ -1,14 +1,20 @@
import Theme from "../themes/common/theme";
import { withOpacity } from "../utils/color";
import { backgroundColor, border, iconColor, modalShadow, text } from "./components";
import {
backgroundColor,
border,
iconColor,
modalShadow,
text,
} from "./components";
import statusBar from "./statusBar";
export function workspaceBackground(theme: Theme) {
return backgroundColor(theme, 300)
return backgroundColor(theme, 300);
}
export default function workspace(theme: Theme) {
const tab = {
const activePaneInactiveTab = {
height: 32,
background: workspaceBackground(theme),
iconClose: iconColor(theme, "muted"),
@@ -33,16 +39,27 @@ export default function workspace(theme: Theme) {
}
};
const activeTab = {
...tab,
const activePaneActiveTab = {
...activePaneInactiveTab,
background: backgroundColor(theme, 500),
text: text(theme, "sans", "active", { size: "sm" }),
border: {
...tab.border,
...activePaneInactiveTab.border,
bottom: false,
},
};
const inactivePaneInactiveTab = {
...activePaneInactiveTab,
background: backgroundColor(theme, 100),
text: text(theme, "sans", "placeholder", { size: "sm" }),
};
const inactivePaneActiveTab = {
...activePaneInactiveTab,
text: text(theme, "sans", "placeholder", { size: "sm" }),
}
const titlebarPadding = 6;
return {
@@ -53,30 +70,32 @@ export default function workspace(theme: Theme) {
},
joiningProjectMessage: {
padding: 12,
...text(theme, "sans", "primary", { size: "lg" })
...text(theme, "sans", "primary", { size: "lg" }),
},
leaderBorderOpacity: 0.7,
leaderBorderWidth: 2.0,
tab,
activeTab,
activePaneActiveTab,
activePaneInactiveTab,
inactivePaneActiveTab,
inactivePaneInactiveTab,
paneButton: {
color: iconColor(theme, "secondary"),
border: {
...tab.border
...activePaneActiveTab.border,
},
iconWidth: 14,
buttonWidth: tab.height,
iconWidth: 12,
buttonWidth: activePaneActiveTab.height,
hover: {
color: iconColor(theme, "active"),
background: backgroundColor(theme, 300),
}
},
},
modal: {
margin: {
bottom: 52,
top: 52,
},
cursor: "Arrow"
cursor: "Arrow",
},
sidebarResizeHandle: {
background: border(theme, "primary").color,
@@ -109,22 +128,29 @@ export default function workspace(theme: Theme) {
avatarRibbon: {
height: 3,
width: 12,
// TODO: The background for this ideally should be
// TODO: The background for this ideally should be
// set with a token, not hardcoded in rust
},
border: border(theme, "primary", { bottom: true, overlay: true }),
signInPrompt: {
border: border(theme, "primary"),
background: backgroundColor(theme, 100),
border: border(theme, "secondary"),
cornerRadius: 6,
margin: {
top: 1,
},
padding: {
left: 6,
right: 6,
top: 1,
bottom: 1,
left: 7,
right: 7,
},
...text(theme, "sans", "secondary", { size: "xs" }),
hover: text(theme, "sans", "active", { size: "xs" }),
hover: {
...text(theme, "sans", "active", { size: "xs" }),
background: backgroundColor(theme, "on300", "hovered"),
border: border(theme, "primary"),
},
},
offlineIcon: {
color: iconColor(theme, "secondary"),
@@ -156,9 +182,9 @@ export default function workspace(theme: Theme) {
border: border(theme, "secondary", { bottom: true }),
itemSpacing: 8,
navButton: {
color: iconColor(theme, "secondary"),
iconWidth: 8,
buttonWidth: 18,
color: iconColor(theme, "primary"),
iconWidth: 12,
buttonWidth: 24,
cornerRadius: 6,
hover: {
color: iconColor(theme, "active"),
@@ -168,7 +194,7 @@ export default function workspace(theme: Theme) {
color: withOpacity(iconColor(theme, "muted"), 0.6),
},
},
padding: { left: 16, right: 8, top: 4, bottom: 4 },
padding: { left: 8, right: 8, top: 4, bottom: 4 },
},
breadcrumbs: {
...text(theme, "mono", "secondary"),
@@ -187,8 +213,8 @@ export default function workspace(theme: Theme) {
shadow: modalShadow(theme),
},
notifications: {
width: 380,
width: 400,
margin: { right: 10, bottom: 10 },
}
},
};
}
+1 -1
View File
@@ -25,4 +25,4 @@ const ramps = {
};
export const dark = createTheme(`${name}-dark`, false, ramps);
export const light = createTheme(`${name}-light`, true, ramps);
export const light = createTheme(`${name}-light`, true, ramps);
+25 -13
View File
@@ -1,5 +1,5 @@
import chroma, { Color, Scale } from "chroma-js";
import { fontWeights, } from "../../common";
import { fontWeights } from "../../common";
import { withOpacity } from "../../utils/color";
import Theme, { buildPlayer, Syntax } from "./theme";
@@ -13,25 +13,33 @@ export function colorRamp(color: Color): Scale {
export function createTheme(
name: string,
isLight: boolean,
color_ramps: { [rampName: string]: Scale },
color_ramps: { [rampName: string]: Scale }
): Theme {
let ramps: typeof color_ramps = {};
// Chromajs mutates the underlying ramp when you call domain. This causes problems because
// we now store the ramps object in the theme so that we can pull colors out of them.
// we now store the ramps object in the theme so that we can pull colors out of them.
// So instead of calling domain and storing the result, we have to construct new ramps for each
// theme so that we don't modify the passed in ramps.
// This combined with an error in the type definitions for chroma js means we have to cast the colors
// function to any in order to get the colors back out from the original ramps.
if (isLight) {
for (var rampName in color_ramps) {
ramps[rampName] = chroma.scale((color_ramps[rampName].colors as any)()).domain([1, 0]);
ramps[rampName] = chroma
.scale((color_ramps[rampName].colors as any)())
.domain([1, 0]);
}
ramps.neutral = chroma.scale((color_ramps.neutral.colors as any)()).domain([7, 0]);
ramps.neutral = chroma
.scale((color_ramps.neutral.colors as any)())
.domain([7, 0]);
} else {
for (var rampName in color_ramps) {
ramps[rampName] = chroma.scale((color_ramps[rampName].colors as any)()).domain([0, 1]);
ramps[rampName] = chroma
.scale((color_ramps[rampName].colors as any)())
.domain([0, 1]);
}
ramps.neutral = chroma.scale((color_ramps.neutral.colors as any)()).domain([0, 7]);
ramps.neutral = chroma
.scale((color_ramps.neutral.colors as any)())
.domain([0, 7]);
}
let blend = isLight ? 0.12 : 0.24;
@@ -62,13 +70,13 @@ export function createTheme(
},
on300: {
base: sample(ramps.neutral, 0),
hovered: sample(ramps.neutral, 0.25),
active: sample(ramps.neutral, 0.5),
hovered: sample(ramps.neutral, 0.5),
active: sample(ramps.neutral, 1),
},
on500: {
base: sample(ramps.neutral, 1.25),
base: sample(ramps.neutral, 1),
hovered: sample(ramps.neutral, 1.5),
active: sample(ramps.neutral, 1.75),
active: sample(ramps.neutral, 2),
},
ok: {
base: withOpacity(sample(ramps.green, 0.5), 0.15),
@@ -242,8 +250,12 @@ export function createTheme(
};
const shadow = withOpacity(
ramps.neutral(isLight ? 7 : 0).darken().hex(),
blend);
ramps
.neutral(isLight ? 7 : 0)
.darken()
.hex(),
blend
);
return {
name,
+2 -2
View File
@@ -61,7 +61,7 @@ export interface Syntax {
export default interface Theme {
name: string;
isLight: boolean,
isLight: boolean;
backgroundColor: {
// Basically just Title Bar
// Lowest background level
@@ -155,7 +155,7 @@ export default interface Theme {
6: Player;
7: Player;
8: Player;
},
};
shadow: string;
ramps: { [rampName: string]: Scale };
}
+47
View File
@@ -0,0 +1,47 @@
import chroma from "chroma-js";
import { colorRamp, createTheme } from "./common/base16";
const name = "one";
const author = "Chris Kempson (http://chriskempson.com)";
const url =
"https://github.com/chriskempson/base16-vim/blob/master/colors/base16-onedark.vim";
const base00 = "#282c34";
const base01 = "#353b45";
const base02 = "#3e4451";
const base03 = "#545862";
const base04 = "#565c64";
const base05 = "#abb2bf";
const base06 = "#b6bdca";
const base07 = "#c8ccd4";
const base08 = "#e06c75";
const base09 = "#d19a66";
const base0A = "#e5c07b";
const base0B = "#98c379";
const base0C = "#56b6c2";
const base0D = "#61afef";
const base0E = "#c678dd";
const base0F = "#be5046";
const ramps = {
neutral: chroma.scale([
base00,
base01,
base02,
base03,
base04,
base05,
base06,
base07,
]),
red: colorRamp(chroma(base08)),
orange: colorRamp(chroma(base09)),
yellow: colorRamp(chroma(base0A)),
green: colorRamp(chroma(base0B)),
cyan: colorRamp(chroma(base0C)),
blue: colorRamp(chroma(base0D)),
violet: colorRamp(chroma(base0E)),
magenta: colorRamp(chroma(base0F)),
};
export const dark = createTheme(`${name}-dark`, false, ramps);
+47
View File
@@ -0,0 +1,47 @@
import chroma from "chroma-js";
import { colorRamp, createTheme } from "./common/base16";
const name = "one";
const author = "Daniel Pfeifer (http://github.com/purpleKarrot)";
const url =
"https://github.com/purpleKarrot/base16-one-light-scheme/blob/master/one-light.yaml";
const base00 = "#090a0b";
const base01 = "#202227";
const base02 = "#383a42";
const base03 = "#696c77";
const base04 = "#a0a1a7";
const base05 = "#e5e5e6";
const base06 = "#f0f0f1";
const base07 = "#fafafa";
const base08 = "#ca1243";
const base09 = "#d75f00";
const base0A = "#c18401";
const base0B = "#50a14f";
const base0C = "#0184bc";
const base0D = "#4078f2";
const base0E = "#a626a4";
const base0F = "#986801";
const ramps = {
neutral: chroma.scale([
base00,
base01,
base02,
base03,
base04,
base05,
base06,
base07,
]),
red: colorRamp(chroma(base08)),
orange: colorRamp(chroma(base09)),
yellow: colorRamp(chroma(base0A)),
green: colorRamp(chroma(base0B)),
cyan: colorRamp(chroma(base0C)),
blue: colorRamp(chroma(base0D)),
violet: colorRamp(chroma(base0E)),
magenta: colorRamp(chroma(base0F)),
};
export const light = createTheme(`${name}-light`, true, ramps);
+1 -1
View File
@@ -14,7 +14,7 @@ const ramps = {
"#d5c4a1",
"#fdf4c1",
]),
red: colorRamp(chroma("#83a598")),
red: colorRamp(chroma("#B4637A")),
orange: colorRamp(chroma("#a07e3b")),
yellow: colorRamp(chroma("#a07e3b")),
green: colorRamp(chroma("#528b8b")),
+9 -9
View File
@@ -3,21 +3,21 @@ import { snakeCase } from "case-anything";
// https://stackoverflow.com/questions/60269936/typescript-convert-generic-object-from-snake-to-camel-case
// Typescript magic to convert any string from camelCase to snake_case at compile time
type SnakeCase<S> =
S extends string ?
S extends `${infer T}${infer U}` ?
`${T extends Capitalize<T> ? "_" : ""}${Lowercase<T>}${SnakeCase<U>}` :
S :
S;
type SnakeCase<S> = S extends string
? S extends `${infer T}${infer U}`
? `${T extends Capitalize<T> ? "_" : ""}${Lowercase<T>}${SnakeCase<U>}`
: S
: S;
type SnakeCased<Type> = {
[Property in keyof Type as SnakeCase<Property>]: SnakeCased<Type[Property]>
}
[Property in keyof Type as SnakeCase<Property>]: SnakeCased<Type[Property]>;
};
export default function snakeCaseTree<T>(object: T): SnakeCased<T> {
const snakeObject: any = {};
for (const key in object) {
snakeObject[snakeCase(key, { keepSpecialCharacters: true })] = snakeCaseValue(object[key]);
snakeObject[snakeCase(key, { keepSpecialCharacters: true })] =
snakeCaseValue(object[key]);
}
return snakeObject;
}
+10 -12
View File
@@ -1,14 +1,12 @@
{
"compilerOptions": {
"target": "es2015",
"module": "commonjs",
"esModuleInterop": true,
"noImplicitAny": true,
"removeComments": true,
"preserveConstEnums": true,
"sourceMap": true
},
"exclude": [
"node_modules"
]
"compilerOptions": {
"target": "es2015",
"module": "commonjs",
"esModuleInterop": true,
"noImplicitAny": true,
"removeComments": true,
"preserveConstEnums": true,
"sourceMap": true
},
"exclude": ["node_modules"]
}