@alis-build/design-system 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +202 -0
- package/NOTICE +7 -0
- package/README.md +33 -2
- package/alisx.css +586 -0
- package/assets/Brand/README.md +9 -0
- package/assets/Brand/alis-exchange-icon.png +0 -0
- package/assets/Brand/alis.svg +13 -0
- package/assets/Brand/alis_build.svg +31 -0
- package/assets/Brand/alis_exchange.svg +19 -0
- package/assets/Brand/alis_ideate.png +0 -0
- package/assets/Brand/alis_ideate.svg +31 -0
- package/assets/Brand/alis_primary_logo.png +0 -0
- package/assets/Brand/favicon.svg +17 -0
- package/components/AlisMark.md +34 -0
- package/components/AppAlert.md +56 -0
- package/components/AppButton.md +63 -0
- package/components/AppCard.md +54 -0
- package/components/AppChip.md +75 -0
- package/components/AppDialog.md +42 -0
- package/components/AppEmptyState.md +51 -0
- package/components/AppIcon.md +51 -0
- package/components/AppIconButton.md +44 -0
- package/components/AppLattice.md +53 -0
- package/components/AppListRow.md +69 -0
- package/components/AppLoader.md +44 -0
- package/components/AppProgress.md +50 -0
- package/components/AppSegmented.md +36 -0
- package/components/AppSelect.md +59 -0
- package/components/AppSelectTile.md +45 -0
- package/components/AppShell.md +66 -0
- package/components/AppSkeleton.md +51 -0
- package/components/AppSwitch.md +39 -0
- package/components/AppTable.md +63 -0
- package/components/AppTextField.md +83 -0
- package/components/AppTitleBar.md +85 -0
- package/components/CapabilityMark.md +63 -0
- package/components/README.md +121 -0
- package/fonts.css +4 -0
- package/marks.json +57 -0
- package/package.json +31 -4
- package/rules/README.md +68 -0
- package/rules/anti-patterns.md +68 -0
- package/rules/buttons.md +121 -0
- package/rules/chips-alerts.md +77 -0
- package/rules/colour.md +99 -0
- package/rules/icons.md +65 -0
- package/rules/known-gaps.md +34 -0
- package/rules/loading.md +71 -0
- package/rules/page.md +155 -0
- package/rules/quick-start.md +125 -0
- package/rules/register.md +119 -0
- package/rules/selection.md +111 -0
- package/rules/spacing.md +88 -0
- package/rules/styling.md +83 -0
- package/rules/surfaces.md +75 -0
- package/rules/type.md +186 -0
- package/tokens.json +922 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
<svg width="1888" height="505" viewBox="0 0 1888 505" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M481.49 110.857H522.277L636.406 375.786H582.522L557.826 315.166H442.948L418.999 375.786H366.238L481.49 110.857ZM541.36 274.754L500.574 166.986L459.038 274.754H541.36Z" fill="black"/>
|
|
3
|
+
<path d="M676.404 92.895H721.307V375.786H676.404V92.895Z" fill="black"/>
|
|
4
|
+
<path d="M767.76 135.179C767.76 127.947 770.437 121.65 775.805 116.282C781.166 110.921 787.966 108.237 796.198 108.237C804.431 108.237 811.353 110.798 816.966 115.909C822.58 121.025 825.386 127.45 825.386 135.179C825.386 142.915 822.58 149.341 816.966 154.45C811.353 159.566 804.431 162.122 796.198 162.122C787.966 162.122 781.166 159.443 775.805 154.076C770.437 148.715 767.76 142.418 767.76 135.179ZM774.121 196.173H819.024V375.786H774.121V196.173Z" fill="black"/>
|
|
5
|
+
<path d="M975.978 245.941C967.243 233.721 955.52 227.606 940.804 227.606C934.816 227.606 928.953 229.102 923.217 232.096C917.475 235.089 914.61 239.954 914.61 246.689C914.61 252.18 916.978 256.173 921.72 258.663C926.455 261.16 932.443 263.282 939.681 265.025C946.914 266.773 954.708 268.58 963.068 270.451C971.422 272.321 979.217 275.192 986.455 279.057C993.688 282.927 999.675 288.225 1004.42 294.96C1009.15 301.696 1011.53 310.928 1011.53 322.65C1011.53 333.379 1009.22 342.424 1004.6 349.78C999.985 357.141 993.998 363.064 986.642 367.554C979.282 372.044 970.984 375.289 961.759 377.283C952.526 379.276 943.294 380.276 934.069 380.276C920.094 380.276 907.249 378.277 895.526 374.289C883.798 370.301 873.32 363.064 864.094 352.586L894.029 324.521C899.765 331.011 905.938 336.308 912.551 340.425C919.159 344.541 927.204 346.599 936.687 346.599C939.927 346.599 943.294 346.225 946.79 345.476C950.281 344.728 953.525 343.483 956.519 341.734C959.513 339.992 961.945 337.805 963.817 335.186C965.688 332.567 966.623 329.515 966.623 326.019C966.623 319.786 964.249 315.167 959.513 312.173C954.772 309.179 948.784 306.748 941.552 304.876C934.313 303.006 926.519 301.263 918.165 299.638C909.804 298.018 902.009 295.399 894.778 291.78C887.539 288.166 881.552 283.115 876.817 276.625C872.075 270.141 869.706 261.16 869.706 249.683C869.706 239.708 871.765 231.037 875.88 223.677C879.997 216.321 885.423 210.269 892.158 205.528C898.893 200.792 906.623 197.296 915.359 195.051C924.087 192.805 932.946 191.683 941.926 191.683C953.9 191.683 965.746 193.741 977.474 197.857C989.197 201.973 998.675 209.025 1005.91 218.999L975.978 245.941Z" fill="black"/>
|
|
6
|
+
<g opacity="0.2">
|
|
7
|
+
<path d="M111.499 121.944C128.605 121.944 142.472 108.078 142.472 90.9721C142.472 73.8667 128.605 60 111.499 60C94.394 60 80.5273 73.8667 80.5273 90.9721C80.5273 108.078 94.394 121.944 111.499 121.944Z" fill="#F02222"/>
|
|
8
|
+
<path d="M111.499 202.472C128.605 202.472 142.472 188.605 142.472 171.499C142.472 154.394 128.605 140.527 111.499 140.527C94.394 140.527 80.5273 154.394 80.5273 171.499C80.5273 188.605 94.394 202.472 111.499 202.472Z" fill="#F02222"/>
|
|
9
|
+
<path d="M111.499 282.999C128.605 282.999 142.472 269.132 142.472 252.027C142.472 234.921 128.605 221.055 111.499 221.055C94.394 221.055 80.5273 234.921 80.5273 252.027C80.5273 269.132 94.394 282.999 111.499 282.999Z" fill="#F02222"/>
|
|
10
|
+
<path d="M192.029 121.944C209.134 121.944 223.001 108.078 223.001 90.9721C223.001 73.8667 209.134 60 192.029 60C174.923 60 161.057 73.8667 161.057 90.9721C161.057 108.078 174.923 121.944 192.029 121.944Z" fill="#F02222"/>
|
|
11
|
+
<path d="M192.029 202.472C209.134 202.472 223.001 188.605 223.001 171.499C223.001 154.394 209.134 140.527 192.029 140.527C174.923 140.527 161.057 154.394 161.057 171.499C161.057 188.605 174.923 202.472 192.029 202.472Z" fill="#F02222"/>
|
|
12
|
+
<path d="M192.029 282.999C209.134 282.999 223.001 269.132 223.001 252.027C223.001 234.921 209.134 221.055 192.029 221.055C174.923 221.055 161.057 234.921 161.057 252.027C161.057 269.132 174.923 282.999 192.029 282.999Z" fill="#F02222"/>
|
|
13
|
+
<path d="M30.9721 282.999C48.0776 282.999 61.9442 269.132 61.9442 252.027C61.9442 234.921 48.0776 221.055 30.9721 221.055C13.8667 221.055 0 234.921 0 252.027C0 269.132 13.8667 282.999 30.9721 282.999Z" fill="#F02222"/>
|
|
14
|
+
<path d="M30.9721 363.527C48.0776 363.527 61.9442 349.66 61.9442 332.555C61.9442 315.449 48.0776 301.583 30.9721 301.583C13.8667 301.583 0 315.449 0 332.555C0 349.66 13.8667 363.527 30.9721 363.527Z" fill="#F02222"/>
|
|
15
|
+
<path d="M30.9721 444.055C48.0776 444.055 61.9442 430.188 61.9442 413.082C61.9442 395.977 48.0776 382.11 30.9721 382.11C13.8667 382.11 0 395.977 0 413.082C0 430.188 13.8667 444.055 30.9721 444.055Z" fill="#F02222"/>
|
|
16
|
+
<path d="M111.499 363.527C128.605 363.527 142.472 349.66 142.472 332.555C142.472 315.449 128.605 301.583 111.499 301.583C94.394 301.583 80.5273 315.449 80.5273 332.555C80.5273 349.66 94.394 363.527 111.499 363.527Z" fill="#F02222"/>
|
|
17
|
+
<path d="M111.499 444.055C128.605 444.055 142.472 430.188 142.472 413.082C142.472 395.977 128.605 382.11 111.499 382.11C94.394 382.11 80.5273 395.977 80.5273 413.082C80.5273 430.188 94.394 444.055 111.499 444.055Z" fill="#F02222"/>
|
|
18
|
+
</g>
|
|
19
|
+
<path d="M111.5 122.046C128.605 122.046 142.472 108.182 142.472 91.0786C142.472 73.9756 128.605 60.1108 111.5 60.1108C94.3941 60.1108 80.5273 73.9756 80.5273 91.0786C80.5273 108.182 94.3941 122.046 111.5 122.046Z" fill="#F02222"/>
|
|
20
|
+
<path d="M111.5 202.562C128.605 202.562 142.472 188.698 142.472 171.595C142.472 154.492 128.605 140.627 111.5 140.627C94.3941 140.627 80.5273 154.492 80.5273 171.595C80.5273 188.698 94.3941 202.562 111.5 202.562Z" fill="#F02222"/>
|
|
21
|
+
<path d="M111.5 283.079C128.605 283.079 142.472 269.214 142.472 252.111C142.472 235.008 128.605 221.143 111.5 221.143C94.3941 221.143 80.5273 235.008 80.5273 252.111C80.5273 269.214 94.3941 283.079 111.5 283.079Z" fill="#F02222"/>
|
|
22
|
+
<path d="M192.027 122.046C209.132 122.046 222.999 108.182 222.999 91.0786C222.999 73.9756 209.132 60.1108 192.027 60.1108C174.921 60.1108 161.055 73.9756 161.055 91.0786C161.055 108.182 174.921 122.046 192.027 122.046Z" fill="#F02222"/>
|
|
23
|
+
<path d="M192.027 202.562C209.132 202.562 222.999 188.698 222.999 171.595C222.999 154.492 209.132 140.627 192.027 140.627C174.921 140.627 161.055 154.492 161.055 171.595C161.055 188.698 174.921 202.562 192.027 202.562Z" fill="#F02222"/>
|
|
24
|
+
<path d="M192.027 283.079C209.132 283.079 222.999 269.214 222.999 252.111C222.999 235.008 209.132 221.143 192.027 221.143C174.921 221.143 161.055 235.008 161.055 252.111C161.055 269.214 174.921 283.079 192.027 283.079Z" fill="#F02222"/>
|
|
25
|
+
<path d="M30.9722 283.079C48.0777 283.079 61.9444 269.214 61.9444 252.111C61.9444 235.008 48.0777 221.143 30.9722 221.143C13.8667 221.143 0 235.008 0 252.111C0 269.214 13.8667 283.079 30.9722 283.079Z" fill="#F02222"/>
|
|
26
|
+
<path d="M30.9722 363.595C48.0777 363.595 61.9444 349.73 61.9444 332.627C61.9444 315.524 48.0777 301.659 30.9722 301.659C13.8667 301.659 0 315.524 0 332.627C0 349.73 13.8667 363.595 30.9722 363.595Z" fill="#F02222"/>
|
|
27
|
+
<path d="M30.9722 444.111C48.0777 444.111 61.9444 430.246 61.9444 413.143C61.9444 396.04 48.0777 382.175 30.9722 382.175C13.8667 382.175 0 396.04 0 413.143C0 430.246 13.8667 444.111 30.9722 444.111Z" fill="#F02222"/>
|
|
28
|
+
<path d="M111.5 363.595C128.605 363.595 142.472 349.73 142.472 332.627C142.472 315.524 128.605 301.659 111.5 301.659C94.3941 301.659 80.5273 315.524 80.5273 332.627C80.5273 349.73 94.3941 363.595 111.5 363.595Z" fill="#F02222"/>
|
|
29
|
+
<path d="M111.5 444.111C128.605 444.111 142.472 430.246 142.472 413.143C142.472 396.04 128.605 382.175 111.5 382.175C94.3941 382.175 80.5273 396.04 80.5273 413.143C80.5273 430.246 94.3941 444.111 111.5 444.111Z" fill="#F02222"/>
|
|
30
|
+
<path d="M1109.89 108.04H1185.37C1195.24 108.04 1205.23 108.903 1215.34 110.63C1225.45 112.11 1234.46 115.44 1242.35 120.62C1250.49 125.553 1257.03 132.583 1261.96 141.71C1267.14 150.59 1269.73 162.43 1269.73 177.23C1269.73 190.55 1265.78 202.143 1257.89 212.01C1250 221.877 1238.28 228.413 1222.74 231.62V232.36C1231.37 233.1 1239.27 235.197 1246.42 238.65C1253.57 241.857 1259.74 246.297 1264.92 251.97C1270.1 257.397 1274.05 263.933 1276.76 271.58C1279.72 279.227 1281.2 287.613 1281.2 296.74C1281.2 311.787 1278.24 324.12 1272.32 333.74C1266.65 343.113 1259.37 350.513 1250.49 355.94C1241.86 361.367 1232.36 365.067 1222 367.04C1211.89 369.013 1202.39 370 1193.51 370H1109.89V108.04ZM1134.31 221.26H1185C1197.58 221.26 1207.82 219.78 1215.71 216.82C1223.6 213.613 1229.77 209.79 1234.21 205.35C1238.65 200.91 1241.61 196.223 1243.09 191.29C1244.57 186.11 1245.31 181.423 1245.31 177.23C1245.31 168.103 1243.71 160.58 1240.5 154.66C1237.54 148.493 1233.47 143.683 1228.29 140.23C1223.11 136.53 1217.07 133.94 1210.16 132.46C1203.25 130.98 1195.98 130.24 1188.33 130.24H1134.31V221.26ZM1134.31 347.8H1190.18C1204.49 347.8 1215.96 346.073 1224.59 342.62C1233.47 339.167 1240.25 334.85 1244.94 329.67C1249.63 324.49 1252.71 319.063 1254.19 313.39C1255.92 307.47 1256.78 302.167 1256.78 297.48C1256.78 287.86 1254.93 279.597 1251.23 272.69C1247.53 265.783 1242.72 260.233 1236.8 256.04C1230.88 251.6 1224.1 248.393 1216.45 246.42C1209.05 244.447 1201.53 243.46 1193.88 243.46H1134.31V347.8ZM1473.93 321.9C1473.93 325.107 1474.05 329.053 1474.3 333.74C1474.54 338.18 1474.67 342.743 1474.67 347.43C1474.91 352.117 1475.16 356.557 1475.41 360.75C1475.65 364.697 1475.78 367.78 1475.78 370H1453.58C1453.33 363.587 1453.08 357.42 1452.84 351.5C1452.84 345.58 1452.59 341.757 1452.1 340.03H1450.99C1446.55 349.403 1439.15 357.543 1428.79 364.45C1418.43 371.11 1406.34 374.44 1392.53 374.44C1379.21 374.44 1368.23 372.343 1359.6 368.15C1351.21 363.957 1344.55 358.53 1339.62 351.87C1334.93 344.963 1331.72 337.07 1330 328.19C1328.27 319.31 1327.41 310.183 1327.41 300.81V199.06H1349.61V299.7C1349.61 306.607 1350.22 313.39 1351.46 320.05C1352.69 326.463 1354.79 332.26 1357.75 337.44C1360.95 342.62 1365.27 346.813 1370.7 350.02C1376.37 352.98 1383.65 354.46 1392.53 354.46C1400.67 354.46 1408.31 353.103 1415.47 350.39C1422.87 347.43 1429.16 343.113 1434.34 337.44C1439.76 331.52 1443.96 324.243 1446.92 315.61C1450.12 306.73 1451.73 296.37 1451.73 284.53V199.06H1473.93V321.9ZM1531.15 199.06H1553.35V370H1531.15V199.06ZM1525.6 131.35C1525.6 126.663 1527.21 122.717 1530.41 119.51C1533.62 116.303 1537.57 114.7 1542.25 114.7C1546.94 114.7 1550.89 116.303 1554.09 119.51C1557.3 122.717 1558.9 126.663 1558.9 131.35C1558.9 136.037 1557.3 139.983 1554.09 143.19C1550.89 146.397 1546.94 148 1542.25 148C1537.57 148 1533.62 146.397 1530.41 143.19C1527.21 139.983 1525.6 136.037 1525.6 131.35ZM1612.64 90.28H1634.84V370H1612.64V90.28ZM1839.91 340.03H1839.17C1835.71 345.95 1831.4 351.13 1826.22 355.57C1821.04 359.763 1815.36 363.34 1809.2 366.3C1803.28 369.013 1796.99 370.987 1790.33 372.22C1783.67 373.7 1777.13 374.44 1770.72 374.44C1757.64 374.44 1745.56 372.22 1734.46 367.78C1723.36 363.34 1713.86 357.173 1705.97 349.28C1698.07 341.14 1691.91 331.643 1687.47 320.79C1683.03 309.69 1680.81 297.603 1680.81 284.53C1680.81 271.457 1683.03 259.493 1687.47 248.64C1691.91 237.54 1698.07 228.043 1705.97 220.15C1713.86 212.01 1723.36 205.72 1734.46 201.28C1745.56 196.84 1757.64 194.62 1770.72 194.62C1777.13 194.62 1783.67 195.36 1790.33 196.84C1796.99 198.073 1803.28 200.17 1809.2 203.13C1815.36 205.843 1821.04 209.42 1826.22 213.86C1831.4 218.053 1835.71 223.11 1839.17 229.03H1839.91V90.28H1862.11V370H1839.91V340.03ZM1842.13 284.53C1842.13 274.91 1840.28 265.907 1836.58 257.52C1832.88 248.887 1827.82 241.487 1821.41 235.32C1814.99 228.907 1807.47 223.85 1798.84 220.15C1790.2 216.45 1780.83 214.6 1770.72 214.6C1760.36 214.6 1750.98 216.45 1742.6 220.15C1734.21 223.85 1727.06 228.907 1721.14 235.32C1715.22 241.487 1710.65 248.887 1707.45 257.52C1704.49 265.907 1703.01 274.91 1703.01 284.53C1703.01 294.15 1704.49 303.277 1707.45 311.91C1710.65 320.297 1715.22 327.697 1721.14 334.11C1727.06 340.277 1734.21 345.21 1742.6 348.91C1750.98 352.61 1760.36 354.46 1770.72 354.46C1780.83 354.46 1790.2 352.61 1798.84 348.91C1807.47 345.21 1814.99 340.277 1821.41 334.11C1827.82 327.697 1832.88 320.297 1836.58 311.91C1840.28 303.277 1842.13 294.15 1842.13 284.53Z" fill="black"/>
|
|
31
|
+
</svg>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<svg width="1301" height="505" viewBox="0 0 1301 505" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M481.49 110.857H522.277L636.406 375.786H582.522L557.826 315.166H442.948L418.999 375.786H366.238L481.49 110.857ZM541.36 274.754L500.574 166.986L459.038 274.754H541.36Z" fill="black"/>
|
|
3
|
+
<path d="M676.404 92.895H721.307V375.786H676.404V92.895Z" fill="black"/>
|
|
4
|
+
<path d="M767.76 135.179C767.76 127.947 770.437 121.65 775.805 116.282C781.166 110.921 787.966 108.237 796.198 108.237C804.431 108.237 811.353 110.798 816.966 115.909C822.58 121.025 825.386 127.45 825.386 135.179C825.386 142.915 822.58 149.341 816.966 154.45C811.353 159.566 804.431 162.122 796.198 162.122C787.966 162.122 781.166 159.443 775.805 154.076C770.437 148.715 767.76 142.418 767.76 135.179ZM774.121 196.173H819.024V375.786H774.121V196.173Z" fill="black"/>
|
|
5
|
+
<path d="M975.978 245.941C967.243 233.721 955.52 227.606 940.804 227.606C934.816 227.606 928.953 229.102 923.217 232.096C917.475 235.089 914.61 239.954 914.61 246.689C914.61 252.18 916.978 256.173 921.72 258.663C926.455 261.16 932.443 263.282 939.681 265.025C946.914 266.773 954.708 268.58 963.068 270.451C971.422 272.321 979.217 275.192 986.455 279.057C993.688 282.927 999.675 288.225 1004.42 294.96C1009.15 301.696 1011.53 310.928 1011.53 322.65C1011.53 333.379 1009.22 342.424 1004.6 349.78C999.985 357.141 993.998 363.064 986.642 367.554C979.282 372.044 970.984 375.289 961.759 377.283C952.526 379.276 943.294 380.276 934.069 380.276C920.094 380.276 907.249 378.277 895.526 374.289C883.798 370.301 873.32 363.064 864.094 352.586L894.029 324.521C899.765 331.011 905.938 336.308 912.551 340.425C919.159 344.541 927.204 346.599 936.687 346.599C939.927 346.599 943.294 346.225 946.79 345.476C950.281 344.728 953.525 343.483 956.519 341.734C959.513 339.992 961.945 337.805 963.817 335.186C965.688 332.567 966.623 329.515 966.623 326.019C966.623 319.786 964.249 315.167 959.513 312.173C954.772 309.179 948.784 306.748 941.552 304.876C934.313 303.006 926.519 301.263 918.165 299.638C909.804 298.018 902.009 295.399 894.778 291.78C887.539 288.166 881.552 283.115 876.817 276.625C872.075 270.141 869.706 261.16 869.706 249.683C869.706 239.708 871.765 231.037 875.88 223.677C879.997 216.321 885.423 210.269 892.158 205.528C898.893 200.792 906.623 197.296 915.359 195.051C924.087 192.805 932.946 191.683 941.926 191.683C953.9 191.683 965.746 193.741 977.474 197.857C989.197 201.973 998.675 209.025 1005.91 218.999L975.978 245.941Z" fill="black"/>
|
|
6
|
+
|
|
7
|
+
<path d="M111.5 122.046C128.605 122.046 142.472 108.182 142.472 91.0786C142.472 73.9756 128.605 60.1108 111.5 60.1108C94.3941 60.1108 80.5273 73.9756 80.5273 91.0786C80.5273 108.182 94.3941 122.046 111.5 122.046Z" fill="#F02222"/>
|
|
8
|
+
<path d="M111.5 202.562C128.605 202.562 142.472 188.698 142.472 171.595C142.472 154.492 128.605 140.627 111.5 140.627C94.3941 140.627 80.5273 154.492 80.5273 171.595C80.5273 188.698 94.3941 202.562 111.5 202.562Z" fill="#F02222"/>
|
|
9
|
+
<path d="M111.5 283.079C128.605 283.079 142.472 269.214 142.472 252.111C142.472 235.008 128.605 221.143 111.5 221.143C94.3941 221.143 80.5273 235.008 80.5273 252.111C80.5273 269.214 94.3941 283.079 111.5 283.079Z" fill="#F02222"/>
|
|
10
|
+
<path d="M192.027 122.046C209.132 122.046 222.999 108.182 222.999 91.0786C222.999 73.9756 209.132 60.1108 192.027 60.1108C174.921 60.1108 161.055 73.9756 161.055 91.0786C161.055 108.182 174.921 122.046 192.027 122.046Z" fill="#F02222"/>
|
|
11
|
+
<path d="M192.027 202.562C209.132 202.562 222.999 188.698 222.999 171.595C222.999 154.492 209.132 140.627 192.027 140.627C174.921 140.627 161.055 154.492 161.055 171.595C161.055 188.698 174.921 202.562 192.027 202.562Z" fill="#F02222"/>
|
|
12
|
+
<path d="M192.027 283.079C209.132 283.079 222.999 269.214 222.999 252.111C222.999 235.008 209.132 221.143 192.027 221.143C174.921 221.143 161.055 235.008 161.055 252.111C161.055 269.214 174.921 283.079 192.027 283.079Z" fill="#F02222"/>
|
|
13
|
+
<path d="M30.9722 283.079C48.0777 283.079 61.9444 269.214 61.9444 252.111C61.9444 235.008 48.0777 221.143 30.9722 221.143C13.8667 221.143 0 235.008 0 252.111C0 269.214 13.8667 283.079 30.9722 283.079Z" fill="#F02222"/>
|
|
14
|
+
<path d="M30.9722 363.595C48.0777 363.595 61.9444 349.73 61.9444 332.627C61.9444 315.524 48.0777 301.659 30.9722 301.659C13.8667 301.659 0 315.524 0 332.627C0 349.73 13.8667 363.595 30.9722 363.595Z" fill="#F02222"/>
|
|
15
|
+
<path d="M30.9722 444.111C48.0777 444.111 61.9444 430.246 61.9444 413.143C61.9444 396.04 48.0777 382.175 30.9722 382.175C13.8667 382.175 0 396.04 0 413.143C0 430.246 13.8667 444.111 30.9722 444.111Z" fill="#F02222"/>
|
|
16
|
+
<path d="M111.5 363.595C128.605 363.595 142.472 349.73 142.472 332.627C142.472 315.524 128.605 301.659 111.5 301.659C94.3941 301.659 80.5273 315.524 80.5273 332.627C80.5273 349.73 94.3941 363.595 111.5 363.595Z" fill="#F02222"/>
|
|
17
|
+
<path d="M111.5 444.111C128.605 444.111 142.472 430.246 142.472 413.143C142.472 396.04 128.605 382.175 111.5 382.175C94.3941 382.175 80.5273 396.04 80.5273 413.143C80.5273 430.246 94.3941 444.111 111.5 444.111Z" fill="#F02222"/>
|
|
18
|
+
<path d="M1172.79 232.36L1083.25 108.04H1112.11L1187.59 214.6L1261.96 108.04H1291.19L1202.39 232.36L1299.7 370H1269.36L1186.48 251.6L1103.6 370H1074.37L1172.79 232.36Z" fill="black"/>
|
|
19
|
+
</svg>
|
|
Binary file
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
<svg width="2086" height="505" viewBox="0 0 2086 505" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M481.489 110.857H522.276L636.405 375.786H582.521L557.825 315.166H442.947L418.998 375.786H366.237L481.489 110.857ZM541.359 274.754L500.573 166.986L459.037 274.754H541.359Z" fill="black"/>
|
|
3
|
+
<path d="M676.404 92.895H721.307V375.786H676.404V92.895Z" fill="black"/>
|
|
4
|
+
<path d="M767.76 135.179C767.76 127.947 770.437 121.65 775.805 116.282C781.166 110.921 787.966 108.237 796.198 108.237C804.431 108.237 811.353 110.798 816.966 115.909C822.58 121.025 825.386 127.45 825.386 135.179C825.386 142.915 822.58 149.341 816.966 154.45C811.353 159.566 804.431 162.122 796.198 162.122C787.966 162.122 781.166 159.443 775.805 154.076C770.437 148.715 767.76 142.418 767.76 135.179ZM774.121 196.173H819.024V375.786H774.121V196.173Z" fill="black"/>
|
|
5
|
+
<path d="M975.979 245.941C967.244 233.721 955.521 227.606 940.805 227.606C934.817 227.606 928.954 229.102 923.218 232.096C917.476 235.089 914.611 239.954 914.611 246.689C914.611 252.18 916.979 256.173 921.721 258.663C926.456 261.16 932.444 263.282 939.682 265.025C946.915 266.773 954.708 268.58 963.069 270.451C971.423 272.321 979.218 275.192 986.456 279.057C993.689 282.927 999.676 288.225 1004.42 294.96C1009.15 301.696 1011.53 310.928 1011.53 322.65C1011.53 333.379 1009.22 342.424 1004.6 349.78C999.986 357.141 993.999 363.064 986.643 367.554C979.283 372.044 970.985 375.289 961.76 377.283C952.527 379.276 943.295 380.276 934.07 380.276C920.095 380.276 907.25 378.277 895.527 374.289C883.799 370.301 873.321 363.064 864.095 352.586L894.03 324.521C899.766 331.011 905.939 336.308 912.552 340.425C919.16 344.541 927.205 346.599 936.688 346.599C939.928 346.599 943.295 346.225 946.791 345.476C950.282 344.728 953.526 343.483 956.52 341.734C959.514 339.992 961.946 337.805 963.818 335.186C965.689 332.567 966.624 329.515 966.624 326.019C966.624 319.786 964.25 315.167 959.514 312.173C954.773 309.179 948.785 306.748 941.553 304.876C934.314 303.006 926.52 301.263 918.166 299.638C909.805 298.018 902.01 295.399 894.779 291.78C887.54 288.166 881.553 283.115 876.818 276.625C872.076 270.141 869.707 261.16 869.707 249.683C869.707 239.708 871.766 231.037 875.881 223.677C879.998 216.321 885.424 210.269 892.159 205.528C898.894 200.792 906.624 197.296 915.36 195.051C924.088 192.805 932.947 191.683 941.927 191.683C953.901 191.683 965.747 193.741 977.475 197.857C989.198 201.973 998.676 209.025 1005.91 218.999L975.979 245.941Z" fill="black"/>
|
|
6
|
+
<g opacity="0.2">
|
|
7
|
+
<path d="M111.499 121.944C128.605 121.944 142.472 108.078 142.472 90.9721C142.472 73.8667 128.605 60 111.499 60C94.394 60 80.5273 73.8667 80.5273 90.9721C80.5273 108.078 94.394 121.944 111.499 121.944Z" fill="#F02222"/>
|
|
8
|
+
<path d="M111.499 202.472C128.605 202.472 142.472 188.605 142.472 171.499C142.472 154.394 128.605 140.527 111.499 140.527C94.394 140.527 80.5273 154.394 80.5273 171.499C80.5273 188.605 94.394 202.472 111.499 202.472Z" fill="#F02222"/>
|
|
9
|
+
<path d="M111.499 282.999C128.605 282.999 142.472 269.132 142.472 252.027C142.472 234.921 128.605 221.055 111.499 221.055C94.394 221.055 80.5273 234.921 80.5273 252.027C80.5273 269.132 94.394 282.999 111.499 282.999Z" fill="#F02222"/>
|
|
10
|
+
<path d="M192.028 121.944C209.133 121.944 223 108.078 223 90.9721C223 73.8667 209.133 60 192.028 60C174.922 60 161.056 73.8667 161.056 90.9721C161.056 108.078 174.922 121.944 192.028 121.944Z" fill="#F02222"/>
|
|
11
|
+
<path d="M192.028 202.472C209.133 202.472 223 188.605 223 171.499C223 154.394 209.133 140.527 192.028 140.527C174.922 140.527 161.056 154.394 161.056 171.499C161.056 188.605 174.922 202.472 192.028 202.472Z" fill="#F02222"/>
|
|
12
|
+
<path d="M192.028 282.999C209.133 282.999 223 269.132 223 252.027C223 234.921 209.133 221.055 192.028 221.055C174.922 221.055 161.056 234.921 161.056 252.027C161.056 269.132 174.922 282.999 192.028 282.999Z" fill="#F02222"/>
|
|
13
|
+
<path d="M30.9721 282.999C48.0776 282.999 61.9442 269.132 61.9442 252.027C61.9442 234.921 48.0776 221.055 30.9721 221.055C13.8667 221.055 0 234.921 0 252.027C0 269.132 13.8667 282.999 30.9721 282.999Z" fill="#F02222"/>
|
|
14
|
+
<path d="M30.9721 363.527C48.0776 363.527 61.9442 349.66 61.9442 332.555C61.9442 315.449 48.0776 301.583 30.9721 301.583C13.8667 301.583 0 315.449 0 332.555C0 349.66 13.8667 363.527 30.9721 363.527Z" fill="#F02222"/>
|
|
15
|
+
<path d="M30.9721 444.055C48.0776 444.055 61.9442 430.188 61.9442 413.082C61.9442 395.977 48.0776 382.11 30.9721 382.11C13.8667 382.11 0 395.977 0 413.082C0 430.188 13.8667 444.055 30.9721 444.055Z" fill="#F02222"/>
|
|
16
|
+
<path d="M111.499 363.527C128.605 363.527 142.472 349.66 142.472 332.555C142.472 315.449 128.605 301.583 111.499 301.583C94.394 301.583 80.5273 315.449 80.5273 332.555C80.5273 349.66 94.394 363.527 111.499 363.527Z" fill="#F02222"/>
|
|
17
|
+
<path d="M111.499 444.055C128.605 444.055 142.472 430.188 142.472 413.082C142.472 395.977 128.605 382.11 111.499 382.11C94.394 382.11 80.5273 395.977 80.5273 413.082C80.5273 430.188 94.394 444.055 111.499 444.055Z" fill="#F02222"/>
|
|
18
|
+
</g>
|
|
19
|
+
<path d="M111.5 122.046C128.605 122.046 142.472 108.182 142.472 91.0786C142.472 73.9756 128.605 60.1108 111.5 60.1108C94.3941 60.1108 80.5273 73.9756 80.5273 91.0786C80.5273 108.182 94.3941 122.046 111.5 122.046Z" fill="#F02222"/>
|
|
20
|
+
<path d="M111.5 202.562C128.605 202.562 142.472 188.698 142.472 171.595C142.472 154.492 128.605 140.627 111.5 140.627C94.3941 140.627 80.5273 154.492 80.5273 171.595C80.5273 188.698 94.3941 202.562 111.5 202.562Z" fill="#F02222"/>
|
|
21
|
+
<path d="M111.5 283.079C128.605 283.079 142.472 269.214 142.472 252.111C142.472 235.008 128.605 221.143 111.5 221.143C94.3941 221.143 80.5273 235.008 80.5273 252.111C80.5273 269.214 94.3941 283.079 111.5 283.079Z" fill="#F02222"/>
|
|
22
|
+
<path d="M192.028 122.046C209.133 122.046 223 108.182 223 91.0786C223 73.9756 209.133 60.1108 192.028 60.1108C174.922 60.1108 161.056 73.9756 161.056 91.0786C161.056 108.182 174.922 122.046 192.028 122.046Z" fill="#F02222"/>
|
|
23
|
+
<path d="M192.028 202.562C209.133 202.562 223 188.698 223 171.595C223 154.492 209.133 140.627 192.028 140.627C174.922 140.627 161.056 154.492 161.056 171.595C161.056 188.698 174.922 202.562 192.028 202.562Z" fill="#F02222"/>
|
|
24
|
+
<path d="M192.028 283.079C209.133 283.079 223 269.214 223 252.111C223 235.008 209.133 221.143 192.028 221.143C174.922 221.143 161.056 235.008 161.056 252.111C161.056 269.214 174.922 283.079 192.028 283.079Z" fill="#F02222"/>
|
|
25
|
+
<path d="M30.9722 283.079C48.0777 283.079 61.9444 269.214 61.9444 252.111C61.9444 235.008 48.0777 221.143 30.9722 221.143C13.8667 221.143 0 235.008 0 252.111C0 269.214 13.8667 283.079 30.9722 283.079Z" fill="#F02222"/>
|
|
26
|
+
<path d="M30.9722 363.595C48.0777 363.595 61.9444 349.73 61.9444 332.627C61.9444 315.524 48.0777 301.659 30.9722 301.659C13.8667 301.659 0 315.524 0 332.627C0 349.73 13.8667 363.595 30.9722 363.595Z" fill="#F02222"/>
|
|
27
|
+
<path d="M30.9722 444.111C48.0777 444.111 61.9444 430.246 61.9444 413.143C61.9444 396.04 48.0777 382.175 30.9722 382.175C13.8667 382.175 0 396.04 0 413.143C0 430.246 13.8667 444.111 30.9722 444.111Z" fill="#F02222"/>
|
|
28
|
+
<path d="M111.5 363.595C128.605 363.595 142.472 349.73 142.472 332.627C142.472 315.524 128.605 301.659 111.5 301.659C94.3941 301.659 80.5273 315.524 80.5273 332.627C80.5273 349.73 94.3941 363.595 111.5 363.595Z" fill="#F02222"/>
|
|
29
|
+
<path d="M111.5 444.111C128.605 444.111 142.472 430.246 142.472 413.143C142.472 396.04 128.605 382.175 111.5 382.175C94.3941 382.175 80.5273 396.04 80.5273 413.143C80.5273 430.246 94.3941 444.111 111.5 444.111Z" fill="#F02222"/>
|
|
30
|
+
<path d="M1109.89 108.04H1134.31V370H1109.89V108.04ZM1341.79 340.03H1341.05C1337.6 345.95 1333.28 351.13 1328.1 355.57C1322.92 359.763 1317.25 363.34 1311.08 366.3C1305.16 369.013 1298.87 370.987 1292.21 372.22C1285.55 373.7 1279.02 374.44 1272.6 374.44C1259.53 374.44 1247.44 372.22 1236.34 367.78C1225.24 363.34 1215.75 357.173 1207.85 349.28C1199.96 341.14 1193.79 331.643 1189.35 320.79C1184.91 309.69 1182.69 297.603 1182.69 284.53C1182.69 271.457 1184.91 259.493 1189.35 248.64C1193.79 237.54 1199.96 228.043 1207.85 220.15C1215.75 212.01 1225.24 205.72 1236.34 201.28C1247.44 196.84 1259.53 194.62 1272.6 194.62C1279.02 194.62 1285.55 195.36 1292.21 196.84C1298.87 198.073 1305.16 200.17 1311.08 203.13C1317.25 205.843 1322.92 209.42 1328.1 213.86C1333.28 218.053 1337.6 223.11 1341.05 229.03H1341.79V90.28H1363.99V370H1341.79V340.03ZM1344.01 284.53C1344.01 274.91 1342.16 265.907 1338.46 257.52C1334.76 248.887 1329.71 241.487 1323.29 235.32C1316.88 228.907 1309.36 223.85 1300.72 220.15C1292.09 216.45 1282.72 214.6 1272.6 214.6C1262.24 214.6 1252.87 216.45 1244.48 220.15C1236.1 223.85 1228.94 228.907 1223.02 235.32C1217.1 241.487 1212.54 248.887 1209.33 257.52C1206.37 265.907 1204.89 274.91 1204.89 284.53C1204.89 294.15 1206.37 303.277 1209.33 311.91C1212.54 320.297 1217.1 327.697 1223.02 334.11C1228.94 340.277 1236.1 345.21 1244.48 348.91C1252.87 352.61 1262.24 354.46 1272.6 354.46C1282.72 354.46 1292.09 352.61 1300.72 348.91C1309.36 345.21 1316.88 340.277 1323.29 334.11C1329.71 327.697 1334.76 320.297 1338.46 311.91C1342.16 303.277 1344.01 294.15 1344.01 284.53ZM1562.06 337.81C1553.43 350.883 1542.7 360.257 1529.87 365.93C1517.29 371.603 1503.36 374.44 1488.06 374.44C1474.99 374.44 1463.15 372.22 1452.54 367.78C1441.94 363.34 1432.81 357.173 1425.16 349.28C1417.52 341.14 1411.6 331.643 1407.4 320.79C1403.46 309.69 1401.48 297.48 1401.48 284.16C1401.48 271.333 1403.58 259.493 1407.77 248.64C1411.97 237.787 1417.89 228.413 1425.53 220.52C1433.18 212.38 1442.18 206.09 1452.54 201.65C1462.9 196.963 1474.37 194.62 1486.95 194.62C1500.03 194.62 1511.5 196.963 1521.36 201.65C1531.48 206.09 1539.86 212.133 1546.52 219.78C1553.43 227.18 1558.61 235.69 1562.06 245.31C1565.52 254.93 1567.24 264.673 1567.24 274.54V290.08H1423.68C1423.68 294.767 1424.55 300.81 1426.27 308.21C1428.25 315.363 1431.7 322.393 1436.63 329.3C1441.57 336.207 1448.1 342.127 1456.24 347.06C1464.63 351.993 1475.36 354.46 1488.43 354.46C1499.78 354.46 1510.76 351.747 1521.36 346.32C1531.97 340.893 1540.11 333.493 1545.78 324.12L1562.06 337.81ZM1545.04 270.1C1545.04 262.453 1543.44 255.3 1540.23 248.64C1537.27 241.98 1533.08 236.183 1527.65 231.25C1522.47 226.07 1516.18 222 1508.78 219.04C1501.63 216.08 1493.98 214.6 1485.84 214.6C1473.76 214.6 1463.64 217.067 1455.5 222C1447.61 226.933 1441.32 232.607 1436.63 239.02C1431.95 245.433 1428.62 251.723 1426.64 257.89C1424.67 263.81 1423.68 267.88 1423.68 270.1H1545.04ZM1742.13 298.22C1742.13 306.607 1742.13 314.13 1742.13 320.79C1742.38 327.45 1742.62 333.617 1742.87 339.29C1743.12 344.963 1743.36 350.267 1743.61 355.2C1744.1 360.133 1744.72 365.067 1745.46 370H1724.74C1723.26 361.613 1722.52 352.363 1722.52 342.25H1721.78C1715.37 353.35 1707.35 361.49 1697.73 366.67C1688.36 371.85 1676.39 374.44 1661.84 374.44C1654.44 374.44 1647.16 373.453 1640.01 371.48C1632.86 369.753 1626.44 366.917 1620.77 362.97C1615.1 358.777 1610.41 353.473 1606.71 347.06C1603.26 340.647 1601.53 332.877 1601.53 323.75C1601.53 310.677 1604.86 300.317 1611.52 292.67C1618.18 285.023 1626.32 279.35 1635.94 275.65C1645.81 271.703 1656.17 269.237 1667.02 268.25C1678.12 267.017 1687.86 266.4 1696.25 266.4H1722.15V256.04C1722.15 241.24 1717.59 230.633 1708.46 224.22C1699.33 217.807 1687.86 214.6 1674.05 214.6C1654.32 214.6 1636.93 221.013 1621.88 233.84L1608.93 218.67C1617.07 210.777 1627.18 204.857 1639.27 200.91C1651.36 196.717 1662.95 194.62 1674.05 194.62C1694.77 194.62 1711.3 199.553 1723.63 209.42C1735.96 219.04 1742.13 234.703 1742.13 256.41V298.22ZM1697.73 284.16C1688.36 284.16 1679.23 284.777 1670.35 286.01C1661.72 287.243 1653.82 289.34 1646.67 292.3C1639.76 295.26 1634.21 299.207 1630.02 304.14C1625.83 309.073 1623.73 315.24 1623.73 322.64C1623.73 327.82 1624.84 332.507 1627.06 336.7C1629.53 340.647 1632.61 343.977 1636.31 346.69C1640.01 349.157 1644.08 351.13 1648.52 352.61C1653.21 353.843 1657.89 354.46 1662.58 354.46C1674.42 354.46 1684.16 352.733 1691.81 349.28C1699.46 345.827 1705.5 341.387 1709.94 335.96C1714.63 330.287 1717.83 323.997 1719.56 317.09C1721.29 309.937 1722.15 302.783 1722.15 295.63V284.16H1697.73ZM1877.39 219.04H1828.55V330.41C1828.55 338.057 1830.64 343.977 1834.84 348.17C1839.03 352.363 1844.83 354.46 1852.23 354.46C1856.42 354.46 1860.61 353.967 1864.81 352.98C1869.25 351.747 1873.44 350.267 1877.39 348.54L1879.24 368.52C1875.04 370 1870.23 371.357 1864.81 372.59C1859.38 373.823 1854.57 374.44 1850.38 374.44C1842.48 374.44 1835.7 373.207 1830.03 370.74C1824.35 368.52 1819.79 365.437 1816.34 361.49C1812.88 357.543 1810.29 352.98 1808.57 347.8C1807.09 342.373 1806.35 336.577 1806.35 330.41V219.04H1769.35V199.06H1806.35V149.85H1828.55V199.06H1877.39V219.04ZM2060.54 337.81C2051.91 350.883 2041.18 360.257 2028.35 365.93C2015.77 371.603 2001.83 374.44 1986.54 374.44C1973.47 374.44 1961.63 372.22 1951.02 367.78C1940.41 363.34 1931.29 357.173 1923.64 349.28C1915.99 341.14 1910.07 331.643 1905.88 320.79C1901.93 309.69 1899.96 297.48 1899.96 284.16C1899.96 271.333 1902.06 259.493 1906.25 248.64C1910.44 237.787 1916.36 228.413 1924.01 220.52C1931.66 212.38 1940.66 206.09 1951.02 201.65C1961.38 196.963 1972.85 194.62 1985.43 194.62C1998.5 194.62 2009.97 196.963 2019.84 201.65C2029.95 206.09 2038.34 212.133 2045 219.78C2051.91 227.18 2057.09 235.69 2060.54 245.31C2063.99 254.93 2065.72 264.673 2065.72 274.54V290.08H1922.16C1922.16 294.767 1923.02 300.81 1924.75 308.21C1926.72 315.363 1930.18 322.393 1935.11 329.3C1940.04 336.207 1946.58 342.127 1954.72 347.06C1963.11 351.993 1973.84 354.46 1986.91 354.46C1998.26 354.46 2009.23 351.747 2019.84 346.32C2030.45 340.893 2038.59 333.493 2044.26 324.12L2060.54 337.81ZM2043.52 270.1C2043.52 262.453 2041.92 255.3 2038.71 248.64C2035.75 241.98 2031.56 236.183 2026.13 231.25C2020.95 226.07 2014.66 222 2007.26 219.04C2000.11 216.08 1992.46 214.6 1984.32 214.6C1972.23 214.6 1962.12 217.067 1953.98 222C1946.09 226.933 1939.8 232.607 1935.11 239.02C1930.42 245.433 1927.09 251.723 1925.12 257.89C1923.15 263.81 1922.16 267.88 1922.16 270.1H2043.52Z" fill="black"/>
|
|
31
|
+
</svg>
|
|
Binary file
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" role="img" aria-label="Alis Exchange">
|
|
2
|
+
<rect width="64" height="64" rx="14" fill="#101824"/>
|
|
3
|
+
<g fill="#ff3b30">
|
|
4
|
+
<circle cx="22" cy="14" r="4"/>
|
|
5
|
+
<circle cx="34" cy="14" r="4"/>
|
|
6
|
+
<circle cx="46" cy="14" r="4"/>
|
|
7
|
+
<circle cx="22" cy="26" r="4"/>
|
|
8
|
+
<circle cx="34" cy="26" r="4"/>
|
|
9
|
+
<circle cx="46" cy="26" r="4"/>
|
|
10
|
+
<circle cx="22" cy="38" r="4"/>
|
|
11
|
+
<circle cx="34" cy="38" r="4"/>
|
|
12
|
+
<circle cx="46" cy="38" r="4"/>
|
|
13
|
+
<circle cx="22" cy="50" r="4"/>
|
|
14
|
+
<circle cx="34" cy="50" r="4"/>
|
|
15
|
+
<circle cx="46" cy="50" r="4"/>
|
|
16
|
+
</g>
|
|
17
|
+
</svg>
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# AlisMark
|
|
2
|
+
|
|
3
|
+
The brand mark: eleven circles on a 30 × 50 grid.
|
|
4
|
+
|
|
5
|
+
## Use / don't use
|
|
6
|
+
|
|
7
|
+
- Both registers. Always red (`--alis-red`) on light grounds, white on petrol.
|
|
8
|
+
- Never recoloured to a product tone, never rotated, never boxed.
|
|
9
|
+
- Pair it with the word "Alis" or "AlisX" set in Nunito Sans 800 at -0.03em when a lockup is needed. In the product, the lockup is the [AppShell](AppShell.md)'s `.app-lockup`.
|
|
10
|
+
- The one product use in another colour is [AppLoader](AppLoader.md), where the mark is drawn in `--signal` and its dots animate.
|
|
11
|
+
|
|
12
|
+
## Markup
|
|
13
|
+
|
|
14
|
+
```html
|
|
15
|
+
<!-- Height is the size; width is 0.6 × the size (here 32 → 19.2) -->
|
|
16
|
+
<svg viewBox="0 0 30 50" width="19.2" height="32" role="img" aria-label="Alis"
|
|
17
|
+
style="fill:var(--alis-red);display:block">
|
|
18
|
+
<circle cx="5" cy="25" r="3.7"/><circle cx="5" cy="35" r="3.7"/><circle cx="5" cy="45" r="3.7"/>
|
|
19
|
+
<circle cx="15" cy="5" r="3.7"/><circle cx="15" cy="15" r="3.7"/><circle cx="15" cy="25" r="3.7"/>
|
|
20
|
+
<circle cx="15" cy="35" r="3.7"/><circle cx="15" cy="45" r="3.7"/>
|
|
21
|
+
<circle cx="25" cy="5" r="3.7"/><circle cx="25" cy="15" r="3.7"/><circle cx="25" cy="25" r="3.7"/>
|
|
22
|
+
</svg>
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Keep the circles in this order: the loader animates them by position (`nth-child`).
|
|
26
|
+
|
|
27
|
+
## Behaviour you must supply
|
|
28
|
+
|
|
29
|
+
- Name it (`role="img"`, `aria-label="Alis"`), or hide it with `aria-hidden="true"` when the word "Alis" sits beside it.
|
|
30
|
+
- Set the colour with the `style` fill (a CSS variable can't go in the `fill` attribute).
|
|
31
|
+
|
|
32
|
+
## Classes
|
|
33
|
+
|
|
34
|
+
None of its own. It sits inside `.app-lockup` and `.app-loader`.
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# AppAlert
|
|
2
|
+
|
|
3
|
+
A statement carrying one status: tonal, an icon, sentence-case copy. And the snackbar, a notice that passes.
|
|
4
|
+
|
|
5
|
+
## Use / don't use
|
|
6
|
+
|
|
7
|
+
See [chips-alerts.md](../rules/chips-alerts.md).
|
|
8
|
+
|
|
9
|
+
- Never filled, never `primary`, never more than one on a surface. A button in it is a text [AppButton](AppButton.md). Radius `radius-xs`.
|
|
10
|
+
- **A panel that *is* the status is an alert; a panel that *has* one carries a chip.** A row or card with a status keeps its neutral fill and shows an [AppChip](AppChip.md).
|
|
11
|
+
- **Where**: a page-level notice goes directly after the title bar, in the flow, so it moves the content down. In a detail pane, at the top of the pane under its bar.
|
|
12
|
+
- **An error says what happened and what to do next**, and offers the next step as its one action ("View logs").
|
|
13
|
+
- **Narrow**: in the detail pane and below 600px the action stacks under the message automatically; `app-alert--stacked` does it anywhere.
|
|
14
|
+
- **It stays** until the user acts again or leaves. It never times out.
|
|
15
|
+
|
|
16
|
+
**Snackbar** confirms a result whose evidence is off-screen or easy to miss (a removed row, a closed pane, a save that changes nothing in view, a deploy finishing in a list); not when the change is plainly in view. Level 3 on `surface-variant`, light, bottom centre, one text action at most (Undo). A failure is never a snackbar: it is an alert that stays.
|
|
17
|
+
|
|
18
|
+
## Markup
|
|
19
|
+
|
|
20
|
+
```html
|
|
21
|
+
<!-- Alert: info, success, warning use role="status"; error uses role="alert" -->
|
|
22
|
+
<div role="alert" class="app-alert app-alert--error">
|
|
23
|
+
<span class="app-icon" aria-hidden="true">error</span>
|
|
24
|
+
<div class="app-alert__body">
|
|
25
|
+
<strong class="app-alert__title">v1.44.0 didn't pass its health checks</strong>
|
|
26
|
+
staging is still serving v1.42.3. Open the logs, fix it on main, then deploy again.
|
|
27
|
+
</div>
|
|
28
|
+
<div class="app-alert__actions">
|
|
29
|
+
<a class="app-btn app-state app-target" href="#logs">View logs</a>
|
|
30
|
+
</div>
|
|
31
|
+
</div>
|
|
32
|
+
|
|
33
|
+
<div role="status" class="app-alert app-alert--warning app-alert--stacked">
|
|
34
|
+
<span class="app-icon" aria-hidden="true">warning</span>
|
|
35
|
+
<div class="app-alert__body">You've used 11 of 12 seats.</div>
|
|
36
|
+
<div class="app-alert__actions"><button type="button" class="app-btn app-state app-target">Add seats</button></div>
|
|
37
|
+
</div>
|
|
38
|
+
<!-- Icons: info → info, success → check_circle, warning → warning, error → error. Title and actions are optional. -->
|
|
39
|
+
|
|
40
|
+
<!-- Snackbar -->
|
|
41
|
+
<div role="status" class="app-snackbar">
|
|
42
|
+
<span class="app-snackbar__text">Deleted preview-pr-218</span>
|
|
43
|
+
<button type="button" class="app-btn app-state app-target">Undo</button>
|
|
44
|
+
</div>
|
|
45
|
+
<!-- app-snackbar--inline: in the flow instead of fixed, for docs -->
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## Behaviour you must supply
|
|
49
|
+
|
|
50
|
+
- **Alert**: `role="alert"` for `error`, `role="status"` for the rest. No timeout, no dismiss on its own; remove it when the user acts again or leaves.
|
|
51
|
+
- **Snackbar**: it closes itself. Remove it after 5 seconds, or 10 with an action. A new message replaces the current one and restarts the timer. Undo cancels the action and removes the snackbar.
|
|
52
|
+
- Screen readers announce a live region's *changes*: keep an empty `<div role="status">` on the page from the start and render the `.app-snackbar` inside it (dropping the snackbar's own `role`), rather than inserting the region and its text together.
|
|
53
|
+
|
|
54
|
+
## Classes
|
|
55
|
+
|
|
56
|
+
`.app-alert`, `.app-alert--error`, `.app-alert--warning`, `.app-alert--success`, `.app-alert--info` (the base colour already; harmless), `.app-alert--stacked`, `.app-alert__body`, `.app-alert__title`, `.app-alert__actions`; `.app-snackbar`, `.app-snackbar--inline`, `.app-snackbar__text`.
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# AppButton
|
|
2
|
+
|
|
3
|
+
The product button: text by default, filled for the one action that moves the user forward.
|
|
4
|
+
|
|
5
|
+
## Use / don't use
|
|
6
|
+
|
|
7
|
+
Emphasis is allocated, not chosen ([buttons.md](../rules/buttons.md)).
|
|
8
|
+
|
|
9
|
+
- **Text** is the default. **Filled** is for the one action of consequence on a surface (it writes, sends, commits), or none: one filled per surface. Its label names the outcome: "Send the invites", not "Continue".
|
|
10
|
+
- **Error** (`app-btn--error`) for destructive actions, at the same level. **Quiet** (`app-btn--quiet`, `on-surface-variant`) for a quiet action beside content.
|
|
11
|
+
- No outlined, tonal or elevated buttons. A filled button scales to 97% and rounds to 12px when pressed (the CSS does it).
|
|
12
|
+
- An icon only when the button sits in a set people scan, and never on the filled button or a dialog action.
|
|
13
|
+
- 48px target, always; the visible box is 40px, padded 24. `app-btn--small` (32px, padded 12) belongs only in a table row. Inside a toggle group or table row, add `app-target--none`.
|
|
14
|
+
- **Loading** shows the work on the control the user pressed: a 16px spinner replaces the icon and the label stays (or becomes the present participle, "Deploying"). The button is busy, not disabled: full colour, presses ignored until it settles.
|
|
15
|
+
- Work with steps you can count (a deploy, an upload) moves its indicator into the content once it starts: an [AppProgress](AppProgress.md), and the button goes back to rest. One wait, one indicator ([loading.md](../rules/loading.md)).
|
|
16
|
+
- If it shows only a glyph, it is an [AppIconButton](AppIconButton.md).
|
|
17
|
+
|
|
18
|
+
## Markup
|
|
19
|
+
|
|
20
|
+
```html
|
|
21
|
+
<!-- Text (default) -->
|
|
22
|
+
<button type="button" class="app-btn app-state app-target">New environment</button>
|
|
23
|
+
|
|
24
|
+
<!-- With an icon (a set people scan; never on filled) -->
|
|
25
|
+
<button type="button" class="app-btn app-state app-target">
|
|
26
|
+
<span class="app-icon" aria-hidden="true">download</span>Export
|
|
27
|
+
</button>
|
|
28
|
+
|
|
29
|
+
<!-- Filled: the one action of consequence on the surface -->
|
|
30
|
+
<button type="submit" class="app-btn app-state app-target app-btn--filled">Save changes</button>
|
|
31
|
+
|
|
32
|
+
<!-- Destructive, quiet, small -->
|
|
33
|
+
<button type="button" class="app-btn app-state app-target app-btn--error">Delete</button>
|
|
34
|
+
<button type="button" class="app-btn app-state app-target app-btn--quiet">Show all</button>
|
|
35
|
+
<button type="button" class="app-btn app-state app-target app-btn--small">Retry</button>
|
|
36
|
+
|
|
37
|
+
<!-- Loading: spinner in place of the icon, busy not disabled -->
|
|
38
|
+
<button type="button" class="app-btn app-state app-target is-loading" aria-disabled="true" aria-busy="true">
|
|
39
|
+
<span class="app-btn__spinner" aria-hidden="true"></span>Deploying
|
|
40
|
+
</button>
|
|
41
|
+
|
|
42
|
+
<!-- Disabled -->
|
|
43
|
+
<button type="button" class="app-btn app-state app-target" disabled>Deploy</button>
|
|
44
|
+
|
|
45
|
+
<!-- As a link: same classes on an <a> -->
|
|
46
|
+
<a class="app-btn app-state app-target" href="#logs">View logs</a>
|
|
47
|
+
|
|
48
|
+
<!-- A row of buttons; --end puts them on the trailing edge -->
|
|
49
|
+
<div class="app-btn-row app-btn-row--end">
|
|
50
|
+
<button type="button" class="app-btn app-state app-target">Cancel</button>
|
|
51
|
+
<button type="button" class="app-btn app-state app-target">Delete environment</button>
|
|
52
|
+
</div>
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
## Behaviour you must supply
|
|
56
|
+
|
|
57
|
+
- Always `type="button"` unless it submits a form (`type="submit"`).
|
|
58
|
+
- **Loading**: add `is-loading`, `aria-disabled="true"` and `aria-busy="true"`, swap the leading icon for `<span class="app-btn__spinner">`, and ignore the click in your handler. `is-loading` sets `pointer-events: none`, but keyboard activation still fires, so guard the handler. Remove all three when it settles.
|
|
59
|
+
- Don't use `disabled` for loading: a disabled button drops to 38% and loses focus.
|
|
60
|
+
|
|
61
|
+
## Classes
|
|
62
|
+
|
|
63
|
+
`.app-btn`, `.app-btn--filled`, `.app-btn--error`, `.app-btn--quiet`, `.app-btn--small`, `.app-btn__spinner`, `.app-state`, `.app-target`, `.app-target--none`, `.is-loading`, `.app-btn-row`, `.app-btn-row--end`.
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# AppCard
|
|
2
|
+
|
|
3
|
+
The two surfaces a product screen contains things in: statement and instrument.
|
|
4
|
+
|
|
5
|
+
## Use / don't use
|
|
6
|
+
|
|
7
|
+
See [surfaces.md](../rules/surfaces.md). Default when unsure: no card at all.
|
|
8
|
+
|
|
9
|
+
- **Statement** (`app-card--statement`): `surface-container-low`, flat. Grouped context you don't act on. At most one text link.
|
|
10
|
+
- **Instrument** (`app-card--instrument`, the default): `surface`, white, at `elevation-2`. An object you act on, with its actions in one row (text buttons, at most one filled). A card you open is an instrument made into one link or button; its hover is a state layer, never a lift.
|
|
11
|
+
- Padding is 24, and 28 from 600px wide. The title sits 8 above its body; the action row 16 below it. Radius `radius-lg` with a `radius-md` inset (`.app-card__inset`). No borders.
|
|
12
|
+
- A statement over a gradient takes `.app-statement-over-gradient`: the role at the statement opacity.
|
|
13
|
+
- A card chosen among others is an [AppSelectTile](AppSelectTile.md), never a card with a ring.
|
|
14
|
+
|
|
15
|
+
## Markup
|
|
16
|
+
|
|
17
|
+
```html
|
|
18
|
+
<!-- Instrument with actions -->
|
|
19
|
+
<div class="app-card app-card--instrument">
|
|
20
|
+
<h3 class="app-card__title text-object-title">staging</h3>
|
|
21
|
+
<div class="text-body">Serving v1.42.3 from release/1.43.</div>
|
|
22
|
+
<div class="app-card__inset"><!-- grouped detail inside the instrument --></div>
|
|
23
|
+
<div class="app-btn-row">
|
|
24
|
+
<button type="button" class="app-btn app-state app-target">Open logs</button>
|
|
25
|
+
<button type="button" class="app-btn app-state app-target app-btn--filled">Deploy</button>
|
|
26
|
+
</div>
|
|
27
|
+
</div>
|
|
28
|
+
|
|
29
|
+
<!-- Statement -->
|
|
30
|
+
<div class="app-card app-card--statement">
|
|
31
|
+
<h3 class="app-card__title text-object-title">About environments</h3>
|
|
32
|
+
<div class="text-body">Each branch can deploy to its own environment.</div>
|
|
33
|
+
</div>
|
|
34
|
+
|
|
35
|
+
<!-- A card you open: the whole card is one link -->
|
|
36
|
+
<a class="app-card app-card--instrument app-state" href="/environments/staging">
|
|
37
|
+
<h3 class="app-card__title text-object-title">staging</h3>
|
|
38
|
+
<div class="text-supporting">europe-west1 · v1.42.3</div>
|
|
39
|
+
</a>
|
|
40
|
+
|
|
41
|
+
<!-- Opened in-page: a button, which may hold only phrasing content (spans) -->
|
|
42
|
+
<button type="button" class="app-card app-card--instrument app-state">
|
|
43
|
+
<span class="app-card__title text-object-title">staging</span>
|
|
44
|
+
<span class="text-supporting">europe-west1 · v1.42.3</span>
|
|
45
|
+
</button>
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## Behaviour you must supply
|
|
49
|
+
|
|
50
|
+
- A card you open is an `<a href>` (navigation) or a `<button type="button">` (in-page) with `app-state`, and holds nothing else interactive. Inside a `<button>`, use spans, not `<h3>`, `<p>` or `<div>`.
|
|
51
|
+
|
|
52
|
+
## Classes
|
|
53
|
+
|
|
54
|
+
`.app-card`, `.app-card--statement`, `.app-card--instrument`, `.app-card__title`, `.app-card__inset`, `.app-statement-over-gradient`, with `.app-state` on a card you open and `.app-btn-row` for its actions.
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
# AppChip
|
|
2
|
+
|
|
3
|
+
A container for a small fact. It is not a button.
|
|
4
|
+
|
|
5
|
+
## Use / don't use
|
|
6
|
+
|
|
7
|
+
See [chips-alerts.md](../rules/chips-alerts.md).
|
|
8
|
+
|
|
9
|
+
- **Status**: a status tone plus its icon, always, so colour is never the only signal. Default icons: `error` → `error`, `warning` → `warning`, `success` → `check_circle`, `info` → `info`. Warning keeps its ink neutral and carries the colour in the icon.
|
|
10
|
+
- **Label** (default): a neutral fact (a version, "3 days"). Content Alis wrote is labelled "AI-generated" with `auto_awesome`, once, at the top of what it wrote.
|
|
11
|
+
- **Category**: `app-chip--cat1` … `--cat6`, tonal: the role at 12% behind the same role as ink. `app-chip--opaque` only where the chip overlaps or straddles other content: a category takes its `catN-container`, a label `surface-container-highest`.
|
|
12
|
+
- **Filter**: outlined and pressable; selected takes the selection fill, a check and weight 800.
|
|
13
|
+
- **Input**: an outlined chip you can remove.
|
|
14
|
+
- Never `primary`. If pressing it acts or navigates, it is an [AppButton](AppButton.md). In a row or table, `app-chip--small`.
|
|
15
|
+
- Text is 14px at 400 (12px small, 26px tall); padding 16 at every size; an icon is 16px.
|
|
16
|
+
|
|
17
|
+
**Lifecycle states** map onto four status tones and the neutral label:
|
|
18
|
+
|
|
19
|
+
| State | Chip |
|
|
20
|
+
|---|---|
|
|
21
|
+
| Ready, healthy, deployed, sent, active | status `success` |
|
|
22
|
+
| In progress, deploying, running, syncing | status `info`, icon `pending` |
|
|
23
|
+
| Failed, rejected | status `error` |
|
|
24
|
+
| Needs attention, expiring, degraded | status `warning` |
|
|
25
|
+
| Stopped, paused, cancelled, archived, closed, draft | label, icon `stop_circle`, `pause_circle`, `cancel`, `archive`, `stop_circle`, none |
|
|
26
|
+
| Suspended | label, icon `pause_circle` |
|
|
27
|
+
| Declined, didn't finish | label, icon `cancel` (nothing needs the user, so not `error`) |
|
|
28
|
+
| Not started, invited | label, no icon |
|
|
29
|
+
| Queued, scheduled | label, icon `schedule` |
|
|
30
|
+
|
|
31
|
+
Never `signal` for "in progress". A failed deploy that left the previous version serving is still `error`: the chip reports what needs the user.
|
|
32
|
+
|
|
33
|
+
## Markup
|
|
34
|
+
|
|
35
|
+
```html
|
|
36
|
+
<!-- Status (small, as in a list row) -->
|
|
37
|
+
<span class="app-chip app-chip--success app-chip--small"><span class="app-icon" aria-hidden="true">check_circle</span>Healthy</span>
|
|
38
|
+
<span class="app-chip app-chip--info app-chip--small"><span class="app-icon" aria-hidden="true">pending</span>Deploying</span>
|
|
39
|
+
<span class="app-chip app-chip--warning"><span class="app-icon" aria-hidden="true">warning</span>Expiring</span>
|
|
40
|
+
|
|
41
|
+
<!-- Label, with and without an icon -->
|
|
42
|
+
<span class="app-chip">v1.42.3</span>
|
|
43
|
+
<span class="app-chip app-chip--small"><span class="app-icon" aria-hidden="true">stop_circle</span>Stopped</span>
|
|
44
|
+
<span class="app-chip"><span class="app-icon" aria-hidden="true">auto_awesome</span>AI-generated</span>
|
|
45
|
+
|
|
46
|
+
<!-- Category, tonal and opaque -->
|
|
47
|
+
<span class="app-chip app-chip--cat3">Research</span>
|
|
48
|
+
<span class="app-chip app-chip--opaque app-chip--cat3">Research</span>
|
|
49
|
+
|
|
50
|
+
<!-- Filter: a button -->
|
|
51
|
+
<button type="button" class="app-chip app-chip--outlined app-state" aria-pressed="false">Mine</button>
|
|
52
|
+
<button type="button" class="app-chip app-chip--outlined app-state is-selected" aria-pressed="true">
|
|
53
|
+
<span class="app-icon" aria-hidden="true">check</span>Failed
|
|
54
|
+
</button>
|
|
55
|
+
|
|
56
|
+
<!-- Input: removable -->
|
|
57
|
+
<span class="app-chip app-chip--outlined">LOG_LEVEL=debug
|
|
58
|
+
<button type="button" class="app-chip__close app-state" aria-label="Remove LOG_LEVEL=debug">
|
|
59
|
+
<span class="app-icon" aria-hidden="true">close</span>
|
|
60
|
+
</button>
|
|
61
|
+
</span>
|
|
62
|
+
|
|
63
|
+
<!-- A set of chips -->
|
|
64
|
+
<div class="app-chip-group"><!-- chips --></div>
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
## Behaviour you must supply
|
|
68
|
+
|
|
69
|
+
- **Filter**: on press flip `aria-pressed` and `is-selected`, and swap the leading icon for `check` while selected (a selected filter chip shows only the check).
|
|
70
|
+
- **Input**: the close button removes the value; its `aria-label` is "Remove " plus the chip text. Move focus somewhere sensible (the field or the next chip) after removal.
|
|
71
|
+
- Tone modifiers (`--error|success|warning|info|catN`) apply to status, label and category chips only, never to outlined ones.
|
|
72
|
+
|
|
73
|
+
## Classes
|
|
74
|
+
|
|
75
|
+
`.app-chip`, `.app-chip--small`, `.app-chip--error`, `.app-chip--success`, `.app-chip--warning`, `.app-chip--info`, `.app-chip--cat1` … `.app-chip--cat6`, `.app-chip--opaque`, `.app-chip--outlined`, `.is-selected`, `.app-chip__close`, `.app-chip-group`, with `.app-state` on filter chips and the close button.
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# AppDialog
|
|
2
|
+
|
|
3
|
+
A dialog: white at `elevation-3`, an object-title, a body message, text actions.
|
|
4
|
+
|
|
5
|
+
## Use / don't use
|
|
6
|
+
|
|
7
|
+
- Actions are all text [AppButton](AppButton.md)s, on the trailing edge, affirmative last; destructive changes only the colour (`app-btn--error`), and the affirmative names the outcome ("Delete environment", not "OK"). A dialog is never heavier than what it interrupts, and never dark.
|
|
8
|
+
- **Confirm** what is hard to undo or reaches past the user: deleting, sending to people, deploying to production. Restate it in the title as a question ("Delete staging?") and say what goes with it in the body.
|
|
9
|
+
- **A form in a dialog** (Invite people) follows the form rules: fields 24 apart, validated on submit, and persistent (Escape and the scrim don't close it). The dialog is the confirmation, so its affirmative ("Send 3 invites") needs no second one, and like every dialog action it stays a text button.
|
|
10
|
+
|
|
11
|
+
## Markup
|
|
12
|
+
|
|
13
|
+
```html
|
|
14
|
+
<div class="app-scrim">
|
|
15
|
+
<div role="dialog" aria-modal="true" aria-labelledby="d-del-t" tabindex="-1" class="app-dialog">
|
|
16
|
+
<h2 id="d-del-t" class="app-dialog__title text-object-title">Delete staging?</h2>
|
|
17
|
+
<div class="app-dialog__body text-body">
|
|
18
|
+
This shuts down staging in europe-west1 and removes its 4 variables and deploy history. You can't undo this.
|
|
19
|
+
</div>
|
|
20
|
+
<div class="app-btn-row app-btn-row--end">
|
|
21
|
+
<button type="button" class="app-btn app-state app-target">Cancel</button>
|
|
22
|
+
<button type="button" class="app-btn app-state app-target app-btn--error">Delete environment</button>
|
|
23
|
+
</div>
|
|
24
|
+
</div>
|
|
25
|
+
</div>
|
|
26
|
+
|
|
27
|
+
<!-- In the flow, for docs: no scrim, no aria-modal, no focus handling -->
|
|
28
|
+
<div class="app-scrim app-scrim--inline">…</div>
|
|
29
|
+
<!-- or the .app-dialog alone -->
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Behaviour you must supply
|
|
33
|
+
|
|
34
|
+
- **Open**: remember `document.activeElement`, then focus the first focusable element inside the dialog (the first field, else the first action, which is Cancel), or a chosen element; fall back to the dialog itself (`tabindex="-1"`).
|
|
35
|
+
- **Trap focus**: on Tab from the last focusable element go to the first, and on Shift+Tab from the first go to the last.
|
|
36
|
+
- **Close** on Escape, on a press of the scrim itself (`mousedown` whose target is the `.app-scrim`, not the dialog), and on Cancel. A persistent dialog (a form) ignores Escape and the scrim.
|
|
37
|
+
- **On close**: remove the scrim and return focus to the remembered element if it is still in the document.
|
|
38
|
+
- Mount one dialog at a time.
|
|
39
|
+
|
|
40
|
+
## Classes
|
|
41
|
+
|
|
42
|
+
`.app-scrim`, `.app-scrim--inline`, `.app-dialog`, `.app-dialog__title`, `.app-dialog__body`, `.app-btn-row`, `.app-btn-row--end`.
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# AppEmptyState
|
|
2
|
+
|
|
3
|
+
An empty state that fills its pane and invites a first step.
|
|
4
|
+
|
|
5
|
+
## Use / don't use
|
|
6
|
+
|
|
7
|
+
See [page.md](../rules/page.md).
|
|
8
|
+
|
|
9
|
+
- It speaks to the user: a headline that says why you would act (never the screen's name), one supporting line that says how, and a text [AppButton](AppButton.md) that repeats the title bar's action under the same label.
|
|
10
|
+
- It takes the drafting field, one per screen. In `.app-shell__content` or the detail pane the field bleeds to the pane's edges (the CSS cancels the pane padding). Where the list pane and the detail pane are both empty, the detail pane takes the field and the list pane's empty state goes without it.
|
|
11
|
+
- Keep the title bar's name and verb; hide search and the filter row.
|
|
12
|
+
- An empty line inside working content ("No files yet" in a tab) is not this: use one supporting line, `.app-empty-line`.
|
|
13
|
+
|
|
14
|
+
## Markup
|
|
15
|
+
|
|
16
|
+
```html
|
|
17
|
+
<!-- With the drafting field (default), as the only child of .app-shell__content -->
|
|
18
|
+
<div class="app-empty-field">
|
|
19
|
+
<div class="ax-field" aria-hidden="true">
|
|
20
|
+
<div class="ax-field__glow"></div>
|
|
21
|
+
<div class="ax-field__grid"></div>
|
|
22
|
+
<div class="ax-field__noise"></div>
|
|
23
|
+
</div>
|
|
24
|
+
<div>
|
|
25
|
+
<div class="app-empty">
|
|
26
|
+
<h2 class="app-empty__headline text-page-title">Give every branch a safe place to run</h2>
|
|
27
|
+
<p class="app-empty__line text-supporting">Create an environment, then deploy a branch to it from here.</p>
|
|
28
|
+
<button type="button" class="app-btn app-state app-target">New environment</button>
|
|
29
|
+
</div>
|
|
30
|
+
</div>
|
|
31
|
+
</div>
|
|
32
|
+
|
|
33
|
+
<!-- Without the field: just the .app-empty block -->
|
|
34
|
+
<div class="app-empty">
|
|
35
|
+
<h2 class="app-empty__headline text-page-title">…</h2>
|
|
36
|
+
<p class="app-empty__line text-supporting">…</p>
|
|
37
|
+
<!-- action -->
|
|
38
|
+
</div>
|
|
39
|
+
|
|
40
|
+
<!-- An empty line inside working content -->
|
|
41
|
+
<p class="app-empty-line text-supporting">No environments match. Try All, or clear the search.</p>
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## Behaviour you must supply
|
|
45
|
+
|
|
46
|
+
- The two inline styles on the field wrapper and its content layer are required: the CSS doesn't set them.
|
|
47
|
+
- The button does exactly what the title bar's verb does.
|
|
48
|
+
|
|
49
|
+
## Classes
|
|
50
|
+
|
|
51
|
+
`.app-empty`, `.app-empty__headline`, `.app-empty__line`, `.app-empty-line`, `.app-empty-field`; the drafting field: `.ax-field`, `.ax-field__glow`, `.ax-field__grid`, `.ax-field__noise`.
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# AppIcon
|
|
2
|
+
|
|
3
|
+
An icon by name: a Material Symbol, or a capability mark when the name starts with `alis_`.
|
|
4
|
+
|
|
5
|
+
## Use / don't use
|
|
6
|
+
|
|
7
|
+
- Both product and marketing UI ([icons.md](../rules/icons.md)).
|
|
8
|
+
- 20px by default; 24px in the navigation pane and app bar.
|
|
9
|
+
- `FILL 0` at weight 400. Filled, weight 500, only when selected.
|
|
10
|
+
- Icons inherit `currentColor`. Never set a fill or a colour on the glyph itself.
|
|
11
|
+
- Always beside a label, or with an accessible name of its own.
|
|
12
|
+
- A name starting `alis_` is one of the six tools: draw a [CapabilityMark](CapabilityMark.md) in the icon box instead of the font glyph.
|
|
13
|
+
- An icon that performs an action is an [AppIconButton](AppIconButton.md).
|
|
14
|
+
|
|
15
|
+
## Markup
|
|
16
|
+
|
|
17
|
+
```html
|
|
18
|
+
<!-- Decorative (the usual case): text beside it names the thing -->
|
|
19
|
+
<span class="app-icon" aria-hidden="true">settings</span>
|
|
20
|
+
|
|
21
|
+
<!-- 24px (navigation pane, app bar) -->
|
|
22
|
+
<span class="app-icon app-icon--24" aria-hidden="true">settings</span>
|
|
23
|
+
|
|
24
|
+
<!-- Selected form: FILL 1, weight 500 -->
|
|
25
|
+
<span class="app-icon app-icon--filled" aria-hidden="true">star</span>
|
|
26
|
+
|
|
27
|
+
<!-- Standing alone with meaning: give it a name -->
|
|
28
|
+
<span class="app-icon" role="img" aria-label="Shared">group</span>
|
|
29
|
+
|
|
30
|
+
<!-- Capability mark in the icon box (see CapabilityMark for the SVG) -->
|
|
31
|
+
<span class="app-icon app-icon--mark" aria-hidden="true">
|
|
32
|
+
<svg viewBox="0 0 24 24" width="20" height="20" fill="none" stroke="currentColor"
|
|
33
|
+
stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"
|
|
34
|
+
role="presentation" aria-hidden="true" style="display:block;flex:none">
|
|
35
|
+
<!-- paths and the one dot for the mark, from marks.json -->
|
|
36
|
+
</svg>
|
|
37
|
+
</span>
|
|
38
|
+
<!-- 24px mark: add app-icon--24 to the span and draw the SVG at 24 -->
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
The text content is the Material Symbols ligature name (`search`, `close`, `check_circle`). `alisx.css` loads the Material Symbols Outlined font; self-host the subset you use.
|
|
42
|
+
|
|
43
|
+
## Behaviour you must supply
|
|
44
|
+
|
|
45
|
+
- Pick `aria-hidden="true"` or a name. A span with only `aria-label` is not reliably announced, so add `role="img"` when the icon carries meaning alone.
|
|
46
|
+
- Inside a `.is-selected` ancestor (a selected row, tile, segment or icon-button toggle) the CSS fills the glyph for you; elsewhere add `app-icon--filled` yourself when it marks a selection.
|
|
47
|
+
- Capability marks: emit the SVG yourself at the box size (20 or 24) with the graded stroke from [CapabilityMark](CapabilityMark.md). When the mark stands alone with meaning, drop `aria-hidden` from the span and name the SVG instead (`role="img"`, `aria-label`, `<title>`).
|
|
48
|
+
|
|
49
|
+
## Classes
|
|
50
|
+
|
|
51
|
+
`.app-icon`, `.app-icon--24`, `.app-icon--filled`, `.app-icon--mark`.
|