💄 token-building script and output destinations

Just some organization here.
This commit is contained in:
Nathan Sobo 2022-04-06 09:26:43 -06:00
parent f29b8c795e
commit 36fede7522
9 changed files with 495 additions and 1917 deletions

View File

@ -14,13 +14,13 @@
"type": "color"
},
"muted": {
"value": "#636363",
"step": 550,
"value": "#808080",
"step": 450,
"type": "color"
},
"placeholder": {
"value": "#2b2b2b",
"step": 750,
"value": "#474747",
"step": 650,
"type": "color"
},
"active": {
@ -81,7 +81,7 @@
"type": "color"
},
"feature": {
"value": "#1096d3",
"value": "#2472f2",
"step": 500,
"type": "color"
},
@ -119,8 +119,8 @@
"type": "color"
},
"active": {
"value": "#393939",
"step": 700,
"value": "#1c1c1c",
"step": 800,
"type": "color"
},
"focused": {
@ -146,8 +146,8 @@
"type": "color"
},
"focused": {
"value": "#323232",
"step": 725,
"value": "#232323",
"step": 775,
"type": "color"
}
},
@ -158,13 +158,13 @@
"type": "color"
},
"hovered": {
"value": "#070707",
"step": 875,
"value": "#ffffff14",
"step": 0,
"type": "color"
},
"active": {
"value": "#0e0e0e",
"step": 850,
"value": "#ffffff1f",
"step": 0,
"type": "color"
},
"focused": {
@ -269,13 +269,13 @@
"type": "color"
},
"secondary": {
"value": "#151515",
"step": 825,
"value": "#232323",
"step": 775,
"type": "color"
},
"muted": {
"value": "#232323",
"step": 775,
"value": "#404040",
"step": 675,
"type": "color"
},
"focused": {
@ -316,24 +316,24 @@
"type": "color"
},
"indent_guide": {
"value": "#404040",
"step": 675,
"type": "color"
},
"indent_guide_active": {
"value": "#232323",
"step": 775,
"type": "color"
},
"indent_guide_active": {
"value": "#151515",
"step": 825,
"type": "color"
},
"line": {
"active": {
"value": "#0e0e0e",
"step": 850,
"value": "#ffffff12",
"step": 0,
"type": "color"
},
"highlighted": {
"value": "#070707",
"step": 875,
"value": "#ffffff1f",
"step": 0,
"type": "color"
},
"inserted": {
@ -354,32 +354,32 @@
},
"highlight": {
"selection": {
"value": "#103063",
"step": 800,
"value": "#2472f23d",
"step": 500,
"type": "color"
},
"occurrence": {
"value": "#2b2b2b",
"step": 750,
"value": "#ffffff1f",
"step": 0,
"type": "color"
},
"activeOccurrence": {
"value": "#393939",
"step": 700,
"value": "#ffffff29",
"step": 0,
"type": "color"
},
"matchingBracket": {
"value": "#0e0e0e",
"step": 850,
"value": "#ffffff1f",
"step": 0,
"type": "color"
},
"match": {
"value": "#0a2633",
"step": 900,
"value": "#1096d329",
"step": 500,
"type": "color"
},
"activeMatch": {
"value": "#0e4158",
"value": "#0e415852",
"step": 800,
"type": "color"
},
@ -391,8 +391,8 @@
},
"gutter": {
"primary": {
"value": "#636363",
"step": 550,
"value": "#474747",
"step": 650,
"type": "color"
},
"active": {
@ -465,13 +465,13 @@
"type": "color"
},
"selectionColor": {
"value": "#103063",
"step": 800,
"value": "#2472f23d",
"step": 500,
"type": "color"
},
"borderColor": {
"value": "#103063",
"step": 800,
"value": "#2472f2cc",
"step": 500,
"type": "color"
}
},
@ -487,34 +487,34 @@
"type": "color"
},
"selectionColor": {
"value": "#38530f",
"step": 800,
"value": "#79ba163d",
"step": 500,
"type": "color"
},
"borderColor": {
"value": "#79ba16",
"value": "#79ba16cc",
"step": 500,
"type": "color"
}
},
"3": {
"baseColor": {
"value": "#484bed",
"value": "#d430e0",
"step": 500,
"type": "color"
},
"cursorColor": {
"value": "#484bed",
"value": "#d430e0",
"step": 500,
"type": "color"
},
"selectionColor": {
"value": "#121269",
"step": 800,
"value": "#d430e03d",
"step": 500,
"type": "color"
},
"borderColor": {
"value": "#484bed",
"value": "#d430e0cc",
"step": 500,
"type": "color"
}
@ -531,12 +531,12 @@
"type": "color"
},
"selectionColor": {
"value": "#5d2f0e",
"step": 800,
"value": "#ee670a3d",
"step": 500,
"type": "color"
},
"borderColor": {
"value": "#ee670a",
"value": "#ee670acc",
"step": 500,
"type": "color"
}
@ -553,12 +553,12 @@
"type": "color"
},
"selectionColor": {
"value": "#3e1169",
"step": 800,
"value": "#993bf33d",
"step": 500,
"type": "color"
},
"borderColor": {
"value": "#993bf3",
"value": "#993bf3cc",
"step": 500,
"type": "color"
}
@ -575,12 +575,12 @@
"type": "color"
},
"selectionColor": {
"value": "#0e4f48",
"step": 800,
"value": "#16d6c13d",
"step": 400,
"type": "color"
},
"borderColor": {
"value": "#16d6c1",
"value": "#16d6c1cc",
"step": 400,
"type": "color"
}
@ -597,12 +597,12 @@
"type": "color"
},
"selectionColor": {
"value": "#fbc6e1",
"step": 100,
"value": "#ef59a33d",
"step": 400,
"type": "color"
},
"borderColor": {
"value": "#ef59a3",
"value": "#ef59a3cc",
"step": 400,
"type": "color"
}
@ -619,12 +619,12 @@
"type": "color"
},
"selectionColor": {
"value": "#fce9b7",
"step": 100,
"value": "#f7bf173d",
"step": 400,
"type": "color"
},
"borderColor": {
"value": "#f7bf17",
"value": "#f7bf17cc",
"step": 400,
"type": "color"
}

View File

@ -9,18 +9,18 @@
"type": "color"
},
"secondary": {
"value": "#555555",
"step": 600,
"value": "#474747",
"step": 650,
"type": "color"
},
"muted": {
"value": "#808080",
"step": 450,
"value": "#636363",
"step": 550,
"type": "color"
},
"placeholder": {
"value": "#aaaaaa",
"step": 300,
"value": "#808080",
"step": 450,
"type": "color"
},
"active": {
@ -29,7 +29,7 @@
"type": "color"
},
"feature": {
"value": "#2472f2",
"value": "#484bed",
"step": 500,
"type": "color"
},
@ -56,8 +56,8 @@
},
"icon": {
"primary": {
"value": "#aaaaaa",
"step": 300,
"value": "#393939",
"step": 700,
"type": "color"
},
"secondary": {
@ -66,13 +66,13 @@
"type": "color"
},
"muted": {
"value": "#555555",
"step": 600,
"value": "#9c9c9c",
"step": 350,
"type": "color"
},
"placeholder": {
"value": "#393939",
"step": 700,
"value": "#aaaaaa",
"step": 300,
"type": "color"
},
"active": {
@ -81,8 +81,8 @@
"type": "color"
},
"feature": {
"value": "#1179a8",
"step": 600,
"value": "#484bed",
"step": 500,
"type": "color"
},
"ok": {
@ -109,45 +109,45 @@
"background": {
"100": {
"base": {
"value": "#eaeaea",
"step": 75,
"type": "color"
},
"hovered": {
"value": "#e3e3e3",
"step": 100,
"type": "color"
},
"hovered": {
"active": {
"value": "#d5d5d5",
"step": 150,
"type": "color"
},
"active": {
"value": "#c6c6c6",
"step": 200,
"type": "color"
},
"focused": {
"value": "#d5d5d5",
"step": 150,
"value": "#e3e3e3",
"step": 100,
"type": "color"
}
},
"300": {
"base": {
"value": "#f1f1f1",
"step": 50,
"value": "#f8f8f8",
"step": 25,
"type": "color"
},
"hovered": {
"value": "#e3e3e3",
"step": 100,
"value": "#eaeaea",
"step": 75,
"type": "color"
},
"active": {
"value": "#d5d5d5",
"step": 150,
"value": "#dcdcdc",
"step": 125,
"type": "color"
},
"focused": {
"value": "#e3e3e3",
"step": 100,
"value": "#eaeaea",
"step": 75,
"type": "color"
}
},
@ -158,18 +158,18 @@
"type": "color"
},
"hovered": {
"value": "#f8f8f8",
"step": 25,
"value": "#00000008",
"step": 900,
"type": "color"
},
"active": {
"value": "#f1f1f1",
"step": 50,
"value": "#0000000f",
"step": 900,
"type": "color"
},
"focused": {
"value": "#eaeaea",
"step": 75,
"value": "#f1f1f1",
"step": 50,
"type": "color"
}
},
@ -264,18 +264,18 @@
},
"border": {
"primary": {
"value": "#c6c6c6",
"step": 200,
"value": "#d5d5d5",
"step": 150,
"type": "color"
},
"secondary": {
"value": "#e3e3e3",
"step": 100,
"value": "#d5d5d5",
"step": 150,
"type": "color"
},
"muted": {
"value": "#f1f1f1",
"step": 50,
"value": "#e3e3e3",
"step": 100,
"type": "color"
},
"focused": {
@ -316,24 +316,24 @@
"type": "color"
},
"indent_guide": {
"value": "#f1f1f1",
"step": 50,
"type": "color"
},
"indent_guide_active": {
"value": "#e3e3e3",
"step": 100,
"type": "color"
},
"indent_guide_active": {
"value": "#d5d5d5",
"step": 150,
"type": "color"
},
"line": {
"active": {
"value": "#f1f1f1",
"step": 50,
"value": "#0000000f",
"step": 900,
"type": "color"
},
"highlighted": {
"value": "#f1f1f1",
"step": 50,
"value": "#0000001f",
"step": 900,
"type": "color"
},
"inserted": {
@ -354,18 +354,18 @@
},
"highlight": {
"selection": {
"value": "#c5dafc",
"step": 100,
"value": "#2472f23d",
"step": 500,
"type": "color"
},
"occurrence": {
"value": "#f1f1f1",
"step": 50,
"value": "#0000000f",
"step": 900,
"type": "color"
},
"activeOccurrence": {
"value": "#ffffff",
"step": 0,
"value": "#00000029",
"step": 900,
"type": "color"
},
"matchingBracket": {
@ -374,13 +374,13 @@
"type": "color"
},
"match": {
"value": "#ffffff",
"step": 0,
"value": "#eb2d2d33",
"step": 500,
"type": "color"
},
"activeMatch": {
"value": "#ffffff",
"step": 0,
"value": "#7274f35c",
"step": 400,
"type": "color"
},
"related": {
@ -404,59 +404,59 @@
},
"syntax": {
"primary": {
"value": "#2b2b2b",
"value": "#1c1c1c",
"type": "color"
},
"comment": {
"value": "#555555",
"value": "#717171",
"type": "color"
},
"keyword": {
"value": "#103063",
"value": "#1819a1",
"type": "color"
},
"function": {
"value": "#1b9447",
"value": "#f9812e",
"type": "color"
},
"type": {
"value": "#138a7d",
"value": "#de900c",
"type": "color"
},
"variant": {
"value": "#1179a8",
"value": "#1096d3",
"type": "color"
},
"property": {
"value": "#134697",
"value": "#118a62",
"type": "color"
},
"enum": {
"value": "#bb550e",
"value": "#eb2d2d",
"type": "color"
},
"operator": {
"value": "#bb550e",
"value": "#eb2d2d",
"type": "color"
},
"string": {
"value": "#bb550e",
"value": "#eb2d2d",
"type": "color"
},
"number": {
"value": "#14a898",
"value": "#484bed",
"type": "color"
},
"boolean": {
"value": "#b0740f",
"value": "#eb2d2d",
"type": "color"
}
},
"player": {
"1": {
"baseColor": {
"value": "#135acd",
"step": 600,
"value": "#2472f2",
"step": 500,
"type": "color"
},
"cursorColor": {
@ -465,101 +465,101 @@
"type": "color"
},
"selectionColor": {
"value": "#c5dafc",
"step": 100,
"value": "#2472f23d",
"step": 500,
"type": "color"
},
"borderColor": {
"value": "#2472f2",
"value": "#2472f2cc",
"step": 500,
"type": "color"
}
},
"2": {
"baseColor": {
"value": "#79ba16",
"step": 500,
"value": "#12d796",
"step": 400,
"type": "color"
},
"cursorColor": {
"value": "#79ba16",
"step": 500,
"value": "#12d796",
"step": 400,
"type": "color"
},
"selectionColor": {
"value": "#dffab5",
"step": 100,
"value": "#12d7963d",
"step": 400,
"type": "color"
},
"borderColor": {
"value": "#79ba16",
"step": 500,
"value": "#12d796cc",
"step": 400,
"type": "color"
}
},
"3": {
"baseColor": {
"value": "#484bed",
"step": 500,
"value": "#de57e8",
"step": 400,
"type": "color"
},
"cursorColor": {
"value": "#484bed",
"step": 500,
"value": "#de57e8",
"step": 400,
"type": "color"
},
"selectionColor": {
"value": "#cdcdfc",
"step": 100,
"value": "#de57e83d",
"step": 400,
"type": "color"
},
"borderColor": {
"value": "#484bed",
"step": 500,
"value": "#de57e8cc",
"step": 400,
"type": "color"
}
},
"4": {
"baseColor": {
"value": "#ee670a",
"step": 500,
"value": "#f9812e",
"step": 400,
"type": "color"
},
"cursorColor": {
"value": "#ee670a",
"step": 500,
"value": "#f9812e",
"step": 400,
"type": "color"
},
"selectionColor": {
"value": "#fcd6bd",
"step": 100,
"value": "#f9812e3d",
"step": 400,
"type": "color"
},
"borderColor": {
"value": "#ee670a",
"step": 500,
"value": "#f9812ecc",
"step": 400,
"type": "color"
}
},
"5": {
"baseColor": {
"value": "#993bf3",
"step": 500,
"value": "#b066f8",
"step": 400,
"type": "color"
},
"cursorColor": {
"value": "#993bf3",
"step": 500,
"value": "#b066f8",
"step": 400,
"type": "color"
},
"selectionColor": {
"value": "#e4cbfc",
"step": 100,
"value": "#b066f83d",
"step": 400,
"type": "color"
},
"borderColor": {
"value": "#993bf3",
"step": 500,
"value": "#b066f8cc",
"step": 400,
"type": "color"
}
},
@ -575,12 +575,12 @@
"type": "color"
},
"selectionColor": {
"value": "#b1faf2",
"step": 100,
"value": "#16d6c13d",
"step": 400,
"type": "color"
},
"borderColor": {
"value": "#16d6c1",
"value": "#16d6c1cc",
"step": 400,
"type": "color"
}
@ -597,12 +597,12 @@
"type": "color"
},
"selectionColor": {
"value": "#fbc6e1",
"step": 100,
"value": "#ef59a33d",
"step": 400,
"type": "color"
},
"borderColor": {
"value": "#ef59a3",
"value": "#ef59a3cc",
"step": 400,
"type": "color"
}
@ -619,12 +619,12 @@
"type": "color"
},
"selectionColor": {
"value": "#fce9b7",
"step": 100,
"value": "#f7bf173d",
"step": 400,
"type": "color"
},
"borderColor": {
"value": "#f7bf17",
"value": "#f7bf17cc",
"step": 400,
"type": "color"
}

View File

@ -1170,13 +1170,13 @@
"type": "color"
},
"muted": {
"value": "#636363",
"step": 550,
"value": "#808080",
"step": 450,
"type": "color"
},
"placeholder": {
"value": "#2b2b2b",
"step": 750,
"value": "#474747",
"step": 650,
"type": "color"
},
"active": {
@ -1237,7 +1237,7 @@
"type": "color"
},
"feature": {
"value": "#1096d3",
"value": "#2472f2",
"step": 500,
"type": "color"
},
@ -1275,8 +1275,8 @@
"type": "color"
},
"active": {
"value": "#393939",
"step": 700,
"value": "#1c1c1c",
"step": 800,
"type": "color"
},
"focused": {
@ -1302,8 +1302,8 @@
"type": "color"
},
"focused": {
"value": "#323232",
"step": 725,
"value": "#232323",
"step": 775,
"type": "color"
}
},
@ -1314,13 +1314,13 @@
"type": "color"
},
"hovered": {
"value": "#070707",
"step": 875,
"value": "#ffffff14",
"step": 0,
"type": "color"
},
"active": {
"value": "#0e0e0e",
"step": 850,
"value": "#ffffff1f",
"step": 0,
"type": "color"
},
"focused": {
@ -1425,13 +1425,13 @@
"type": "color"
},
"secondary": {
"value": "#151515",
"step": 825,
"value": "#232323",
"step": 775,
"type": "color"
},
"muted": {
"value": "#232323",
"step": 775,
"value": "#404040",
"step": 675,
"type": "color"
},
"focused": {
@ -1472,24 +1472,24 @@
"type": "color"
},
"indent_guide": {
"value": "#404040",
"step": 675,
"type": "color"
},
"indent_guide_active": {
"value": "#232323",
"step": 775,
"type": "color"
},
"indent_guide_active": {
"value": "#151515",
"step": 825,
"type": "color"
},
"line": {
"active": {
"value": "#0e0e0e",
"step": 850,
"value": "#ffffff12",
"step": 0,
"type": "color"
},
"highlighted": {
"value": "#070707",
"step": 875,
"value": "#ffffff1f",
"step": 0,
"type": "color"
},
"inserted": {
@ -1510,32 +1510,32 @@
},
"highlight": {
"selection": {
"value": "#103063",
"step": 800,
"value": "#2472f23d",
"step": 500,
"type": "color"
},
"occurrence": {
"value": "#2b2b2b",
"step": 750,
"value": "#ffffff1f",
"step": 0,
"type": "color"
},
"activeOccurrence": {
"value": "#393939",
"step": 700,
"value": "#ffffff29",
"step": 0,
"type": "color"
},
"matchingBracket": {
"value": "#0e0e0e",
"step": 850,
"value": "#ffffff1f",
"step": 0,
"type": "color"
},
"match": {
"value": "#0a2633",
"step": 900,
"value": "#1096d329",
"step": 500,
"type": "color"
},
"activeMatch": {
"value": "#0e4158",
"value": "#0e415852",
"step": 800,
"type": "color"
},
@ -1547,8 +1547,8 @@
},
"gutter": {
"primary": {
"value": "#636363",
"step": 550,
"value": "#474747",
"step": 650,
"type": "color"
},
"active": {
@ -1621,13 +1621,13 @@
"type": "color"
},
"selectionColor": {
"value": "#103063",
"step": 800,
"value": "#2472f23d",
"step": 500,
"type": "color"
},
"borderColor": {
"value": "#103063",
"step": 800,
"value": "#2472f2cc",
"step": 500,
"type": "color"
}
},
@ -1643,34 +1643,34 @@
"type": "color"
},
"selectionColor": {
"value": "#38530f",
"step": 800,
"value": "#79ba163d",
"step": 500,
"type": "color"
},
"borderColor": {
"value": "#79ba16",
"value": "#79ba16cc",
"step": 500,
"type": "color"
}
},
"3": {
"baseColor": {
"value": "#484bed",
"value": "#d430e0",
"step": 500,
"type": "color"
},
"cursorColor": {
"value": "#484bed",
"value": "#d430e0",
"step": 500,
"type": "color"
},
"selectionColor": {
"value": "#121269",
"step": 800,
"value": "#d430e03d",
"step": 500,
"type": "color"
},
"borderColor": {
"value": "#484bed",
"value": "#d430e0cc",
"step": 500,
"type": "color"
}
@ -1687,12 +1687,12 @@
"type": "color"
},
"selectionColor": {
"value": "#5d2f0e",
"step": 800,
"value": "#ee670a3d",
"step": 500,
"type": "color"
},
"borderColor": {
"value": "#ee670a",
"value": "#ee670acc",
"step": 500,
"type": "color"
}
@ -1709,12 +1709,12 @@
"type": "color"
},
"selectionColor": {
"value": "#3e1169",
"step": 800,
"value": "#993bf33d",
"step": 500,
"type": "color"
},
"borderColor": {
"value": "#993bf3",
"value": "#993bf3cc",
"step": 500,
"type": "color"
}
@ -1731,12 +1731,12 @@
"type": "color"
},
"selectionColor": {
"value": "#0e4f48",
"step": 800,
"value": "#16d6c13d",
"step": 400,
"type": "color"
},
"borderColor": {
"value": "#16d6c1",
"value": "#16d6c1cc",
"step": 400,
"type": "color"
}
@ -1753,12 +1753,12 @@
"type": "color"
},
"selectionColor": {
"value": "#fbc6e1",
"step": 100,
"value": "#ef59a33d",
"step": 400,
"type": "color"
},
"borderColor": {
"value": "#ef59a3",
"value": "#ef59a3cc",
"step": 400,
"type": "color"
}
@ -1775,12 +1775,12 @@
"type": "color"
},
"selectionColor": {
"value": "#fce9b7",
"step": 100,
"value": "#f7bf173d",
"step": 400,
"type": "color"
},
"borderColor": {
"value": "#f7bf17",
"value": "#f7bf17cc",
"step": 400,
"type": "color"
}
@ -1802,18 +1802,18 @@
"type": "color"
},
"secondary": {
"value": "#555555",
"step": 600,
"value": "#474747",
"step": 650,
"type": "color"
},
"muted": {
"value": "#808080",
"step": 450,
"value": "#636363",
"step": 550,
"type": "color"
},
"placeholder": {
"value": "#aaaaaa",
"step": 300,
"value": "#808080",
"step": 450,
"type": "color"
},
"active": {
@ -1822,7 +1822,7 @@
"type": "color"
},
"feature": {
"value": "#2472f2",
"value": "#484bed",
"step": 500,
"type": "color"
},
@ -1849,8 +1849,8 @@
},
"icon": {
"primary": {
"value": "#aaaaaa",
"step": 300,
"value": "#393939",
"step": 700,
"type": "color"
},
"secondary": {
@ -1859,13 +1859,13 @@
"type": "color"
},
"muted": {
"value": "#555555",
"step": 600,
"value": "#9c9c9c",
"step": 350,
"type": "color"
},
"placeholder": {
"value": "#393939",
"step": 700,
"value": "#aaaaaa",
"step": 300,
"type": "color"
},
"active": {
@ -1874,8 +1874,8 @@
"type": "color"
},
"feature": {
"value": "#1179a8",
"step": 600,
"value": "#484bed",
"step": 500,
"type": "color"
},
"ok": {
@ -1902,45 +1902,45 @@
"background": {
"100": {
"base": {
"value": "#eaeaea",
"step": 75,
"type": "color"
},
"hovered": {
"value": "#e3e3e3",
"step": 100,
"type": "color"
},
"hovered": {
"active": {
"value": "#d5d5d5",
"step": 150,
"type": "color"
},
"active": {
"value": "#c6c6c6",
"step": 200,
"type": "color"
},
"focused": {
"value": "#d5d5d5",
"step": 150,
"value": "#e3e3e3",
"step": 100,
"type": "color"
}
},
"300": {
"base": {
"value": "#f1f1f1",
"step": 50,
"value": "#f8f8f8",
"step": 25,
"type": "color"
},
"hovered": {
"value": "#e3e3e3",
"step": 100,
"value": "#eaeaea",
"step": 75,
"type": "color"
},
"active": {
"value": "#d5d5d5",
"step": 150,
"value": "#dcdcdc",
"step": 125,
"type": "color"
},
"focused": {
"value": "#e3e3e3",
"step": 100,
"value": "#eaeaea",
"step": 75,
"type": "color"
}
},
@ -1951,18 +1951,18 @@
"type": "color"
},
"hovered": {
"value": "#f8f8f8",
"step": 25,
"value": "#00000008",
"step": 900,
"type": "color"
},
"active": {
"value": "#f1f1f1",
"step": 50,
"value": "#0000000f",
"step": 900,
"type": "color"
},
"focused": {
"value": "#eaeaea",
"step": 75,
"value": "#f1f1f1",
"step": 50,
"type": "color"
}
},
@ -2057,18 +2057,18 @@
},
"border": {
"primary": {
"value": "#c6c6c6",
"step": 200,
"value": "#d5d5d5",
"step": 150,
"type": "color"
},
"secondary": {
"value": "#e3e3e3",
"step": 100,
"value": "#d5d5d5",
"step": 150,
"type": "color"
},
"muted": {
"value": "#f1f1f1",
"step": 50,
"value": "#e3e3e3",
"step": 100,
"type": "color"
},
"focused": {
@ -2109,24 +2109,24 @@
"type": "color"
},
"indent_guide": {
"value": "#f1f1f1",
"step": 50,
"type": "color"
},
"indent_guide_active": {
"value": "#e3e3e3",
"step": 100,
"type": "color"
},
"indent_guide_active": {
"value": "#d5d5d5",
"step": 150,
"type": "color"
},
"line": {
"active": {
"value": "#f1f1f1",
"step": 50,
"value": "#0000000f",
"step": 900,
"type": "color"
},
"highlighted": {
"value": "#f1f1f1",
"step": 50,
"value": "#0000001f",
"step": 900,
"type": "color"
},
"inserted": {
@ -2147,18 +2147,18 @@
},
"highlight": {
"selection": {
"value": "#c5dafc",
"step": 100,
"value": "#2472f23d",
"step": 500,
"type": "color"
},
"occurrence": {
"value": "#f1f1f1",
"step": 50,
"value": "#0000000f",
"step": 900,
"type": "color"
},
"activeOccurrence": {
"value": "#ffffff",
"step": 0,
"value": "#00000029",
"step": 900,
"type": "color"
},
"matchingBracket": {
@ -2167,13 +2167,13 @@
"type": "color"
},
"match": {
"value": "#ffffff",
"step": 0,
"value": "#eb2d2d33",
"step": 500,
"type": "color"
},
"activeMatch": {
"value": "#ffffff",
"step": 0,
"value": "#7274f35c",
"step": 400,
"type": "color"
},
"related": {
@ -2197,59 +2197,59 @@
},
"syntax": {
"primary": {
"value": "#2b2b2b",
"value": "#1c1c1c",
"type": "color"
},
"comment": {
"value": "#555555",
"value": "#717171",
"type": "color"
},
"keyword": {
"value": "#103063",
"value": "#1819a1",
"type": "color"
},
"function": {
"value": "#1b9447",
"value": "#f9812e",
"type": "color"
},
"type": {
"value": "#138a7d",
"value": "#de900c",
"type": "color"
},
"variant": {
"value": "#1179a8",
"value": "#1096d3",
"type": "color"
},
"property": {
"value": "#134697",
"value": "#118a62",
"type": "color"
},
"enum": {
"value": "#bb550e",
"value": "#eb2d2d",
"type": "color"
},
"operator": {
"value": "#bb550e",
"value": "#eb2d2d",
"type": "color"
},
"string": {
"value": "#bb550e",
"value": "#eb2d2d",
"type": "color"
},
"number": {
"value": "#14a898",
"value": "#484bed",
"type": "color"
},
"boolean": {
"value": "#b0740f",
"value": "#eb2d2d",
"type": "color"
}
},
"player": {
"1": {
"baseColor": {
"value": "#135acd",
"step": 600,
"value": "#2472f2",
"step": 500,
"type": "color"
},
"cursorColor": {
@ -2258,101 +2258,101 @@
"type": "color"
},
"selectionColor": {
"value": "#c5dafc",
"step": 100,
"value": "#2472f23d",
"step": 500,
"type": "color"
},
"borderColor": {
"value": "#2472f2",
"value": "#2472f2cc",
"step": 500,
"type": "color"
}
},
"2": {
"baseColor": {
"value": "#79ba16",
"step": 500,
"value": "#12d796",
"step": 400,
"type": "color"
},
"cursorColor": {
"value": "#79ba16",
"step": 500,
"value": "#12d796",
"step": 400,
"type": "color"
},
"selectionColor": {
"value": "#dffab5",
"step": 100,
"value": "#12d7963d",
"step": 400,
"type": "color"
},
"borderColor": {
"value": "#79ba16",
"step": 500,
"value": "#12d796cc",
"step": 400,
"type": "color"
}
},
"3": {
"baseColor": {
"value": "#484bed",
"step": 500,
"value": "#de57e8",
"step": 400,
"type": "color"
},
"cursorColor": {
"value": "#484bed",
"step": 500,
"value": "#de57e8",
"step": 400,
"type": "color"
},
"selectionColor": {
"value": "#cdcdfc",
"step": 100,
"value": "#de57e83d",
"step": 400,
"type": "color"
},
"borderColor": {
"value": "#484bed",
"step": 500,
"value": "#de57e8cc",
"step": 400,
"type": "color"
}
},
"4": {
"baseColor": {
"value": "#ee670a",
"step": 500,
"value": "#f9812e",
"step": 400,
"type": "color"
},
"cursorColor": {
"value": "#ee670a",
"step": 500,
"value": "#f9812e",
"step": 400,
"type": "color"
},
"selectionColor": {
"value": "#fcd6bd",
"step": 100,
"value": "#f9812e3d",
"step": 400,
"type": "color"
},
"borderColor": {
"value": "#ee670a",
"step": 500,
"value": "#f9812ecc",
"step": 400,
"type": "color"
}
},
"5": {
"baseColor": {
"value": "#993bf3",
"step": 500,
"value": "#b066f8",
"step": 400,
"type": "color"
},
"cursorColor": {
"value": "#993bf3",
"step": 500,
"value": "#b066f8",
"step": 400,
"type": "color"
},
"selectionColor": {
"value": "#e4cbfc",
"step": 100,
"value": "#b066f83d",
"step": 400,
"type": "color"
},
"borderColor": {
"value": "#993bf3",
"step": 500,
"value": "#b066f8cc",
"step": 400,
"type": "color"
}
},
@ -2368,12 +2368,12 @@
"type": "color"
},
"selectionColor": {
"value": "#b1faf2",
"step": 100,
"value": "#16d6c13d",
"step": 400,
"type": "color"
},
"borderColor": {
"value": "#16d6c1",
"value": "#16d6c1cc",
"step": 400,
"type": "color"
}
@ -2390,12 +2390,12 @@
"type": "color"
},
"selectionColor": {
"value": "#fbc6e1",
"step": 100,
"value": "#ef59a33d",
"step": 400,
"type": "color"
},
"borderColor": {
"value": "#ef59a3",
"value": "#ef59a3cc",
"step": 400,
"type": "color"
}
@ -2412,12 +2412,12 @@
"type": "color"
},
"selectionColor": {
"value": "#fce9b7",
"step": 100,
"value": "#f7bf173d",
"step": 400,
"type": "color"
},
"borderColor": {
"value": "#f7bf17",
"value": "#f7bf17cc",
"step": 400,
"type": "color"
}

472
styles/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -4,8 +4,9 @@
"description": "",
"main": "index.js",
"scripts": {
"build": "npm run build-themes && npm run build-tokens",
"build-themes": "ts-node ./src/buildThemes.ts",
"build-figma": "ts-node ./src/buildFigmaTokens.ts",
"build-tokens": "ts-node ./src/buildTokens.ts",
"watch": "nodemon"
},
"author": "",

View File

@ -13,5 +13,5 @@ for (let theme of themes) {
`${__dirname}/../../crates/zed/assets/themes/${theme.name}.json`
);
fs.writeFileSync(outPath, styleTreeJSON);
console.log(`Generated ${outPath}`);
console.log(`- ${outPath} created`);
}

View File

@ -83,28 +83,28 @@ const coreTokens = {
size: fontSizes,
};
const combinedTokens: any = {
core: coreTokens,
}
const combinedTokens: any = {};
// Create core.json
const corePath = path.resolve(`${__dirname}/../dist/figma/core.json`);
const coreJSON = JSON.stringify(coreTokens, null, 2);
fs.writeFileSync(corePath, coreJSON);
console.log(`- Core: core.json created`);
const distPath = path.resolve(`${__dirname}/../dist`);
// Create {theme}.json
// Add core tokens to the combined tokens and write `core.json`.
// We write `core.json` as a separate file for the design team's convenience, but it isn't consumed by Figma Tokens directly.
const corePath = path.join(distPath, "core.json");
fs.writeFileSync(corePath, JSON.stringify(coreTokens, null, 2));
console.log(`- ${corePath} created`);
combinedTokens.core = coreTokens;
// Add each theme to the combined tokens and write ${theme}.json.
// We write `${theme}.json` as a separate file for the design team's convenience, but it isn't consumed by Figma Tokens directly.
let themes = [dark, light];
const themePath = path.resolve(`${__dirname}/figma`);
themes.forEach((theme) => {
const tokenJSON = JSON.stringify(themeTokens(theme), null, 2);
fs.writeFileSync(`${themePath}/${theme.name}.json`, tokenJSON);
console.log(`- Theme: ${theme.name}.json created`);
const themePath = `${distPath}/${theme.name}.json`
fs.writeFileSync(themePath, JSON.stringify(themeTokens(theme), null, 2));
console.log(`- ${themePath} created`);
combinedTokens[theme.name] = themeTokens(theme);
});
// Create combined tokens.json
const combinedPath = path.resolve(`${__dirname}/figma/tokens.json`);
const combinedJSON = JSON.stringify(combinedTokens, null, 2);
fs.writeFileSync(combinedPath, combinedJSON);
console.log(`- Combined: tokens.json created`);
// Write combined tokens to `tokens.json`. This file is consumed by the Figma Tokens plugin to keep our designs consistent with the app.
const combinedPath = path.resolve(`${distPath}/tokens.json`);
fs.writeFileSync(combinedPath, JSON.stringify(combinedTokens, null, 2));
console.log(`- ${combinedPath} created`);

File diff suppressed because it is too large Load Diff