Created
February 2, 2018 20:45
-
-
Save coltpini/2f9fdade3bce076de314cce1ce72262c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Color Example */ | |
{ | |
"id": "black", | |
"value": [ | |
{ "id":"200", "value":"240,240,240,1" }, | |
{ "id":"300", "value":"230,230,230,1" }, | |
{ "id":"300-t", "value":"0,0,0,0.3" }, | |
{ "id":"400", "value":"210,210,210,1" }, | |
{ "id":"500", "value":"170,170,170,1" }, | |
{ "id":"600", "value":"140,140,140,1" }, | |
{ "id":"700", "value":"90,90,90,1" }, | |
{ "id":"700-t", "value":"0,0,0,0.7" }, | |
{ "id":"800", "value":"50,50,50,1" }, | |
{ "id":"800-t", "value":"40,40,40,0.95" } | |
], | |
"default": "800", | |
"category":"color", | |
"unit": "rgba", | |
"tags":["css"] | |
} | |
/* font example */ | |
{ | |
"id": "Test LDS Serif", | |
"type": "rule", | |
"value": { | |
"fontFamily": "Example Font", | |
"baseUrl":"//example.domain/cdn/", | |
"weights": [{"id": "Regular","val": "400"}, {"id": "light", "val":"300"}], | |
"styles": ["Normal", "Italic"], | |
"encodings": [ | |
{ "id":"cyr-ext", "value": "U+0472-0473, U+0492-0493, U+049A-049B, U+04A2-04A3, U+04AE-04AF, U+04B2-04B3, U+04B6-04B7, U+04BA-0FBB, U+04C1-04C2, U+04D8-04D9, U+04DC-04DD, U+04E2-04E3, U+04E8-04E9, U+04EE-04EF, U+20B4"}, | |
{ "id":"cyr", "value": "U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116"}, | |
{ "id":"gr", "value": "U+0374-0375, U+0384-03CE, U+03D7"}, | |
{ "id":"viet", "value": "U+01A0-01A1, U+01AF-01B0, U+1EA2-1EB7, U+1EBA-1EBB, U+1EBE-1EC9, U+1ECE-1EE3, U+1EE6-1EF1, U+1EF4-1EF7"}, | |
{ "id":"mah", "value": "U+0041-005A, U+0061-007A, U+0304, U+0327"}, | |
{ "id":"lat-ex-ext", "value": "U+0250-0252, U+0260, U+0266, U+0268-0269, U+026B, U+0271-0272, U+0275, U+027D-027E, U+0283, U+0288-028C, U+0292, U+0294-0295, U+02B9, U+02BD-02BE, U+02C0, U+02C7, U+02C9-02CB, U+02D8-02D9, U+02DB-02DD, U+0307, U+0309-030B, U+030E-030F, U+031B, U+0324-0326, U+0328-0329, U+032D-032E, U+0330-0331, U+0338, U+0355, U+0462-0463, U+0474-0477, U+0494-0499, U+049C-04A1, U+04A4-04AD, U+04B4-04B5, U+04B8-04B9, U+04BC-04C0, U+04C4-04D7, U+04DA-04DB, U+04DE-04E1, U+04E4-04E7, U+04EA-04ED, U+04F0-051F, U+0524-0525, U+1D7D, U+1DC4-1DC7, U+1E00-1E3D, U+1E40-1E43, U+1E46-1E61, U+1E64-1E8B, U+1E8E-1E8F, U+1E92-1E9B, U+2002-2012, U+2015, U+2017, U+201B, U+201F, U+2020-2021, U+2023-2027, U+202F-2033, U+203C, U+203E, U+2042, U+2070, U+2075-2079, U+207F-2089, U+20A1, U+20A3-20A4, U+20A6-20A8, U+20AB, U+20AE, U+20B1-20B2, U+20B5, U+20B8, U+2100, U+2103, U+2105, U+2109, U+2113, U+2117, U+211E, U+2120, U+2126, U+212E, U+2139, U+250-215F, U+2202, U+2206, U+220F, U+2211-2212, U+2219-221A, U+22AE, U+221B, U+2248, U+2260, U+2264-2265, U+25B3, U+25B6-25B7, U+2BD1, U+2C60-2C70, U+2C72-2C73, U+2C7F, U+A78B-A78C"}, | |
{ "id":"lat-ext", "value": "U+0108-0109, U+011C-01, U+0124-01, U+0132-01, U+0149, U+015C-01, U+0162-01, U+0166-01, U+01C0-01, U+01D5-01, U+01E8-01, U+01EC-01, U+01FA-02, U+021E-02, U+0228-02, U+0237, U+023A-024F"}, | |
{ "id":"lat", "value": "U+00FF-007E, U+010A-011B, U+011E-0123, U+0126-0131, U+0136-0137, U+0139-0148, U+014A-0151, U+0154-015B, U+015E-0161, U+0164-0165, U+0168-017E, U+0181-0186, U+0189-018A, U+018F-0194, U+0198-0199, U+01CD-01D4, U+01E6-01E7, U+01EA-01EB, U+01F4-01F5, U+01F8-0149, U+0218-021B, U+0226-0227, U+0253-0254, U+0256-0257, U+0259-025B, U+0263, U+02BB-02BC, U+0300-0304, U+0306, U+0308, U+030C-030D, U+0311, U+0323, U+0327, U+0361, U+1E3E-1E3F, U+1E44-1E45, U+1E62-1E63, U+1E8C-1E8D, U+1E90-1E91, U+1EE0-1EE1, U+1EB8-1EB9, U+1EF8-1EF9, U+1EF2-1EF3, U+1EE4-1EE5, U+1EBC-1EBD, U+1ECA-1ECD"} | |
], | |
"template": "@font-face {font-family: \"${fontFamily}\";font-weight: $[weights.val];font-style: $[styles];src: url(${baseUrl}/${fontFamily}-$[encodings.id]-$[weights.id]-$[styles].woff2) format(\"woff2\");unicode-range: $[encodings.value];}" | |
}, | |
"catergory": "font-face", | |
"tags": ["css"] | |
} | |
/* SVG example */ | |
{ | |
"id": "some-icon", | |
"value": "M[some example svg numbers like] 0 1.5 0.834-0.672 1.5-1.5 1.5-0.834 0-1.5-0.672-1.5-1.5 0-0.834 0.672-1.5 0.672-1.5 1.5-1.5 0.834 0 1.5 0.672 1.5 1.5v12.999z", | |
"type": "svg", | |
"category": "icon", | |
"height": "32", | |
"width": "32", | |
"tags": ["svg"] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment