@atomic-ui/theme 0.13.0 → 0.13.2
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/dist/fonts/OFL-Archivo.txt +1 -1
- package/dist/fonts/archivo-latin-wght.woff2 +0 -0
- package/dist/fonts-noire.css +4 -2
- package/dist/index.html +11 -2
- package/dist/theme.css +16 -5
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
Copyright 2020 The Archivo Project Authors (https://github.com/Omnibus-Type/Archivo)
|
|
1
|
+
Copyright 2020 The Archivo Project Authors (https://github.com/Omnibus-Type/Archivo)
|
|
2
2
|
|
|
3
3
|
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
4
|
This license is copied below, and is also available with a FAQ at:
|
|
Binary file
|
package/dist/fonts-noire.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* The typefaces of Impakt's redesign, @atomic-ui/theme version 0.13.
|
|
2
|
+
* The typefaces of Impakt's redesign, @atomic-ui/theme version 0.13.2.
|
|
3
3
|
* Archivo, IBM Plex Mono and Kalam, Latin, WOFF2, licensed under the SIL Open Font License 1.1.
|
|
4
4
|
* The licences are fonts/OFL-Archivo.txt, fonts/OFL-IBM-Plex-Mono.txt and fonts/OFL-Kalam.txt.
|
|
5
5
|
*
|
|
@@ -7,8 +7,10 @@
|
|
|
7
7
|
* heading face ready before first paint, also preload it:
|
|
8
8
|
* <link rel="preload" href="/fonts/archivo-latin-wght.woff2" as="font" type="font/woff2" crossorigin>
|
|
9
9
|
*/
|
|
10
|
-
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/archivo-latin-wght.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+
|
|
10
|
+
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/archivo-latin-wght.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2190-2193,U+2212,U+2215,U+221A,U+FEFF,U+FFFD; }
|
|
11
11
|
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-mono-latin-400.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
|
|
12
12
|
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-mono-latin-500.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
|
|
13
13
|
@font-face { font-family: "Kalam"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/kalam-latin-400.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
|
|
14
14
|
@font-face { font-family: "Kalam"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/kalam-latin-700.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
|
|
15
|
+
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/archivo-latin-wght.woff2") format("woff2"); unicode-range: U+2190,U+2192,U+221A; }
|
|
16
|
+
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/archivo-latin-wght.woff2") format("woff2"); unicode-range: U+2190,U+2192,U+221A; }
|
package/dist/index.html
CHANGED
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
.swatch { border: 1px solid var(--ik-line); border-radius: var(--ik-radius-md); overflow: hidden; background: var(--ik-surface-card); font-size: var(--ik-text-xs); }
|
|
14
14
|
.swatch i { display: block; height: 52px; }
|
|
15
15
|
.swatch span { display: block; padding: var(--ik-space-2) var(--ik-space-3); }
|
|
16
|
-
.grid2 { display: grid; grid-template-columns:
|
|
17
|
-
@media (max-width: 640px) { .grid2 { grid-template-columns: 1fr; } }
|
|
16
|
+
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--ik-space-4); }
|
|
17
|
+
@media (max-width: 640px) { .grid2 { grid-template-columns: minmax(0, 1fr); } }
|
|
18
18
|
.ramp p { margin: 0 0 var(--ik-space-2); }
|
|
19
19
|
</style>
|
|
20
20
|
</head>
|
|
@@ -189,6 +189,15 @@
|
|
|
189
189
|
</div>
|
|
190
190
|
</section>
|
|
191
191
|
|
|
192
|
+
<section aria-labelledby="h-stack">
|
|
193
|
+
<h2 id="h-stack">A column of cards</h2>
|
|
194
|
+
<p>The same class on a table is the stacking table above, which stays a table that fills its card above a phone's width.</p>
|
|
195
|
+
<div class="ik-stack">
|
|
196
|
+
<div class="card">The first card in the column.</div>
|
|
197
|
+
<div class="card">The second, 12px under it.</div>
|
|
198
|
+
</div>
|
|
199
|
+
</section>
|
|
200
|
+
|
|
192
201
|
<section aria-labelledby="h-board">
|
|
193
202
|
<h2 id="h-board">Board</h2>
|
|
194
203
|
<div class="ik-board">
|
package/dist/theme.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Impakt product theme, @atomic-ui/theme version 0.13.
|
|
2
|
+
* Impakt product theme, @atomic-ui/theme version 0.13.2.
|
|
3
3
|
* https://github.com/matthill8286/impkt-design-system/tree/main/packages/theme
|
|
4
4
|
*
|
|
5
5
|
* Generated from the Impakt brand inputs by @atomic-ui/design-tokens. Do not edit this file:
|
|
@@ -17,11 +17,13 @@
|
|
|
17
17
|
|
|
18
18
|
/* ---------------------------------------------------------------- fonts */
|
|
19
19
|
|
|
20
|
-
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/archivo-latin-wght.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+
|
|
20
|
+
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/archivo-latin-wght.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2190-2193,U+2212,U+2215,U+221A,U+FEFF,U+FFFD; }
|
|
21
21
|
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-mono-latin-400.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
|
|
22
22
|
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-mono-latin-500.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
|
|
23
23
|
@font-face { font-family: "Kalam"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/kalam-latin-400.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
|
|
24
24
|
@font-face { font-family: "Kalam"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/kalam-latin-700.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
|
|
25
|
+
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/archivo-latin-wght.woff2") format("woff2"); unicode-range: U+2190,U+2192,U+221A; }
|
|
26
|
+
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/archivo-latin-wght.woff2") format("woff2"); unicode-range: U+2190,U+2192,U+221A; }
|
|
25
27
|
|
|
26
28
|
/* ---------------------------------------------------------- house tokens */
|
|
27
29
|
|
|
@@ -361,6 +363,8 @@
|
|
|
361
363
|
--impakt-field-label-font: "IBM Plex Mono", "ui-monospace", "SFMono-Regular", "Menlo", "Consolas", "monospace", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
|
|
362
364
|
--impakt-field-label-weight: 400;
|
|
363
365
|
--impakt-field-label-space: 8px;
|
|
366
|
+
--impakt-field-resize: none;
|
|
367
|
+
--impakt-field-sizing: content;
|
|
364
368
|
--impakt-select-appearance: none;
|
|
365
369
|
--impakt-select-caret: block;
|
|
366
370
|
--impakt-select-padding-end: 36px;
|
|
@@ -388,10 +392,14 @@
|
|
|
388
392
|
--impakt-tile-lg-label-size: 0.875rem;
|
|
389
393
|
--impakt-tile-lg-label-tracking: 0em;
|
|
390
394
|
--impakt-tile-lg-label-transform: none;
|
|
395
|
+
--impakt-tile-caption-line-height: 1.45;
|
|
391
396
|
--impakt-card-edge: 100%;
|
|
397
|
+
--impakt-stage-tag-radius: 3px;
|
|
392
398
|
--impakt-filter-chip-height: 35px;
|
|
393
399
|
--impakt-filter-chip-weight: 400;
|
|
394
400
|
--impakt-filter-chip-edge: 100%;
|
|
401
|
+
--impakt-chip-outlined-tracking: 0em;
|
|
402
|
+
--impakt-chip-outlined-edge: 100%;
|
|
395
403
|
--impakt-dialog-edge-width: 1px;
|
|
396
404
|
--impakt-shadow-dialog: none;
|
|
397
405
|
--impakt-dialog-backdrop: rgb(17 17 17 / 0.5);
|
|
@@ -965,7 +973,9 @@ input:not([type="checkbox"], [type="radio"], [type="file"], [type="range"], [typ
|
|
|
965
973
|
:where(select:not([multiple], [size])):disabled { cursor: not-allowed; }
|
|
966
974
|
/* Forced colours drop a drawn gradient, so there the browser draws its own arrow, in the system's colours. */
|
|
967
975
|
@media (forced-colors: active) { :where(select:not([multiple], [size])) { appearance: auto; -webkit-appearance: auto; background-image: none; } }
|
|
968
|
-
|
|
976
|
+
/* A field can be narrower than its control's own width, such as a file input's, so its box shrinks to fit the column
|
|
977
|
+
and never widens the page at 320px (#77). */
|
|
978
|
+
.ik-field { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-bottom: var(--ik-space-4); min-width: 0; }
|
|
969
979
|
/*
|
|
970
980
|
* Fields side by side keep their boxes on one line, as G2 does (37:419), when a label wraps to two lines or has a hint:
|
|
971
981
|
* each field sinks to the foot of its row. .ik-fields is the row; a product's own .grid of label-and-field cells gets
|
|
@@ -1393,8 +1403,9 @@ button.ik-source { min-height: 0; min-width: 0; padding: 1px 5px; font-size: var
|
|
|
1393
1403
|
.ik-foot-note { flex-basis: 100%; margin: 0; }
|
|
1394
1404
|
/* A toolbar that heads a card's content keeps a gap under it. */
|
|
1395
1405
|
.ik-toolbar.ik-gap { margin-bottom: var(--ik-space-4); }
|
|
1396
|
-
/* A column of cards with the grid's gap between them.
|
|
1397
|
-
|
|
1406
|
+
/* A column of cards with the grid's gap between them. A table with the class is the stacking table (see tables), so it
|
|
1407
|
+
keeps its table layout above a phone's width and fills its card (#68). */
|
|
1408
|
+
:not(table).ik-stack { display: grid; align-content: start; gap: 12px; min-width: 0; }
|
|
1398
1409
|
.ik-stack > .ik-card { margin-bottom: 0; }
|
|
1399
1410
|
/* A toolbar with its first part at the start and the rest at the end. */
|
|
1400
1411
|
.ik-toolbar.ik-spread { justify-content: space-between; }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atomic-ui/theme",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.2",
|
|
4
4
|
"description": "The Impakt product theme: one stylesheet and the Archivo and IBM Plex Mono fonts for the plain HTML products, generated from the Impakt brand by @atomic-ui/design-tokens.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"tsx": "^4.16.0",
|
|
23
23
|
"typescript": "^5.5.0",
|
|
24
24
|
"vitest": "^2.0.0",
|
|
25
|
-
"@atomic-ui/design-tokens": "^0.13.
|
|
25
|
+
"@atomic-ui/design-tokens": "^0.13.2"
|
|
26
26
|
},
|
|
27
27
|
"files": [
|
|
28
28
|
"dist",
|