@atomic-ui/theme 0.10.1 → 0.12.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/README.md +1 -1
- package/dist/fonts/OFL-Kalam.txt +93 -0
- package/dist/fonts/kalam-latin-400.woff2 +0 -0
- package/dist/fonts/kalam-latin-700.woff2 +0 -0
- package/dist/fonts-noire.css +5 -3
- package/dist/index.html +0 -3
- package/dist/theme.css +469 -165
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@ This is the shared look for Impakt's AI tools: Accessibility, Subject Access, Te
|
|
|
4
4
|
|
|
5
5
|
This package replaces the hand-written `impkt-product-theme` repository. Version 0.2.0 is a drop-in replacement for its version 1.0.0: it defines the same `--ik-*` names and styles the same class names.
|
|
6
6
|
|
|
7
|
-
The design is "Noire", the Impakt brand from 0.9.0: ink, paper and one yellow accent, square corners, Archivo for words and IBM Plex Mono for labels. Dark is the same design turned over: an ink page, paper-coloured words and a paper-coloured action. Inside a product, yellow means "this needs your attention" and nothing else, so the action colour is ink and the mark for what code has checked,
|
|
7
|
+
The design is "Noire", the Impakt brand from 0.9.0: ink, paper and one yellow accent, square corners, Archivo for words and IBM Plex Mono for labels. Dark is the same design turned over: an ink page, paper-coloured words and a paper-coloured action. Inside a product, yellow means "this needs your attention" and nothing else, so the action colour is ink and the mark for what code has checked, `impakt-checked` in `@atomic-ui/ui`, is ink with a green tick.
|
|
8
8
|
|
|
9
9
|
## How it is built
|
|
10
10
|
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright (c) 2014, Indian Type Foundry (info@indiantypefoundry.com).
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
http://scripts.sil.org/OFL
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
Binary file
|
|
Binary file
|
package/dist/fonts-noire.css
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* The typefaces of Impakt's redesign, @atomic-ui/theme version 0.
|
|
3
|
-
* Archivo
|
|
4
|
-
* The licences are fonts/OFL-Archivo.txt
|
|
2
|
+
* The typefaces of Impakt's redesign, @atomic-ui/theme version 0.12.0.
|
|
3
|
+
* Archivo, IBM Plex Mono and Kalam, Latin, WOFF2, licensed under the SIL Open Font License 1.1.
|
|
4
|
+
* The licences are fonts/OFL-Archivo.txt, fonts/OFL-IBM-Plex-Mono.txt and fonts/OFL-Kalam.txt.
|
|
5
5
|
*
|
|
6
6
|
* Copy this file and the fonts folder to the same place and link this file. To have the
|
|
7
7
|
* heading face ready before first paint, also preload it:
|
|
@@ -10,3 +10,5 @@
|
|
|
10
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+2191,U+2193,U+2212,U+2215,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
|
+
@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
|
+
@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; }
|
package/dist/index.html
CHANGED
|
@@ -133,9 +133,6 @@
|
|
|
133
133
|
<span class="pill">Draft</span><span class="pill ok">Brief ready</span><span class="pill warn">Needs attention</span
|
|
134
134
|
><span class="pill bad">Failed</span><span class="pill info">Reading</span><span class="pill brand">New</span>
|
|
135
135
|
</p>
|
|
136
|
-
<p class="row">
|
|
137
|
-
<span class="ik-checked">Fix verified · checked by code</span><span class="ik-checked unverified">Not verified · a person must check</span>
|
|
138
|
-
</p>
|
|
139
136
|
<div class="alert ok"><b>Saved.</b> The letter is stored and will not change.</div>
|
|
140
137
|
<div class="alert warn"><b>Check this.</b> The insurance policy does not show public liability cover.</div>
|
|
141
138
|
<div class="alert bad"><b>That did not work.</b> The file is larger than 50 MB.</div>
|
package/dist/theme.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Impakt product theme, @atomic-ui/theme version 0.
|
|
2
|
+
* Impakt product theme, @atomic-ui/theme version 0.12.0.
|
|
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:
|
|
@@ -20,6 +20,8 @@
|
|
|
20
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+2191,U+2193,U+2212,U+2215,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
|
+
@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
|
+
@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; }
|
|
23
25
|
|
|
24
26
|
/* ---------------------------------------------------------- house tokens */
|
|
25
27
|
|
|
@@ -37,7 +39,7 @@
|
|
|
37
39
|
--impakt-color-surface-card: #FFFFFF;
|
|
38
40
|
--impakt-color-surface-header: #FFFFFF;
|
|
39
41
|
--impakt-color-surface-footer: #EFEFED;
|
|
40
|
-
--impakt-color-surface-subtle: #
|
|
42
|
+
--impakt-color-surface-subtle: #F7F6F3;
|
|
41
43
|
--impakt-color-surface-inset: #f4f4f4;
|
|
42
44
|
--impakt-color-brand-default: #111111;
|
|
43
45
|
--impakt-color-brand-hover: #0f0f0f;
|
|
@@ -48,8 +50,8 @@
|
|
|
48
50
|
--impakt-color-accent-hover: #e0bb34;
|
|
49
51
|
--impakt-color-accent-on: #1a1a1a;
|
|
50
52
|
--impakt-color-text-default: #111111;
|
|
51
|
-
--impakt-color-text-muted: #
|
|
52
|
-
--impakt-color-text-placeholder: #
|
|
53
|
+
--impakt-color-text-muted: #5C5C5C;
|
|
54
|
+
--impakt-color-text-placeholder: #5C5C5C;
|
|
53
55
|
--impakt-color-text-on-brand: #ffffff;
|
|
54
56
|
--impakt-color-text-on-header: #111111;
|
|
55
57
|
--impakt-color-text-on-footer: #111111;
|
|
@@ -61,6 +63,13 @@
|
|
|
61
63
|
--impakt-color-chart-5: #b23a2e;
|
|
62
64
|
--impakt-color-text-link: #111111;
|
|
63
65
|
--impakt-color-text-link-hover: #0e0e0e;
|
|
66
|
+
--impakt-color-text-subtle: #616161;
|
|
67
|
+
--impakt-color-line-grid: #DCDCD8;
|
|
68
|
+
--impakt-color-line-soft: #CFCCC5;
|
|
69
|
+
--impakt-color-surface-ink-raised: #1C1C1C;
|
|
70
|
+
--impakt-color-line-inverse: #2E2E2E;
|
|
71
|
+
--impakt-color-text-inverse-muted: #A8A8A6;
|
|
72
|
+
--impakt-color-surface-board: #E3E2DD;
|
|
64
73
|
--impakt-color-border-default: #919191;
|
|
65
74
|
--impakt-color-border-strong: #7c7c7c;
|
|
66
75
|
--impakt-color-status-danger-default: #b23a2e;
|
|
@@ -79,11 +88,12 @@
|
|
|
79
88
|
--impakt-color-status-info-text: #2f6fa3;
|
|
80
89
|
--impakt-color-status-info-subtle: #e6eef4;
|
|
81
90
|
--impakt-color-status-info-on: #ffffff;
|
|
91
|
+
--impakt-color-status-ok-mark: #137A52;
|
|
82
92
|
--impakt-font-family-body: Archivo, "Helvetica Neue", Arial, sans-serif;
|
|
83
93
|
--impakt-font-family-heading: Archivo, "Helvetica Neue", Arial, sans-serif;
|
|
84
94
|
--impakt-font-family-mono: "IBM Plex Mono", "ui-monospace", "SFMono-Regular", "Menlo", "Consolas", "monospace", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
|
|
85
95
|
--impakt-font-family-eyebrow: "IBM Plex Mono", "ui-monospace", "SFMono-Regular", "Menlo", "Consolas", "monospace", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
|
|
86
|
-
--impakt-color-text-eyebrow: #
|
|
96
|
+
--impakt-color-text-eyebrow: #5C5C5C;
|
|
87
97
|
--impakt-font-weight-eyebrow: 500;
|
|
88
98
|
--impakt-font-size-eyebrow: 0.6875rem;
|
|
89
99
|
--impakt-font-size-root: 16px;
|
|
@@ -119,6 +129,104 @@
|
|
|
119
129
|
--impakt-font-line-height-tight: 1.25;
|
|
120
130
|
--impakt-font-line-height-normal: 1.5;
|
|
121
131
|
--impakt-font-line-height-relaxed: 1.75;
|
|
132
|
+
--impakt-font-line-height-body: 1.45;
|
|
133
|
+
--impakt-font-family-hand: Kalam, Archivo, "Helvetica Neue", Arial, sans-serif;
|
|
134
|
+
--impakt-type-display-xl-size: clamp(3.5rem, 1.5741rem + 7.901vw, 7.5rem);
|
|
135
|
+
--impakt-type-display-xl-line-height: 1;
|
|
136
|
+
--impakt-type-display-xl-tracking: -0.05em;
|
|
137
|
+
--impakt-type-display-xl-weight: 600;
|
|
138
|
+
--impakt-type-display-xl-family: Archivo, "Helvetica Neue", Arial, sans-serif;
|
|
139
|
+
--impakt-type-display-row-size: clamp(2.75rem, 1.9074rem + 3.457vw, 4.5rem);
|
|
140
|
+
--impakt-type-display-row-line-height: 1;
|
|
141
|
+
--impakt-type-display-row-tracking: -0.05em;
|
|
142
|
+
--impakt-type-display-row-weight: 600;
|
|
143
|
+
--impakt-type-display-row-family: Archivo, "Helvetica Neue", Arial, sans-serif;
|
|
144
|
+
--impakt-type-display-l-size: clamp(2.75rem, 2.1481rem + 2.469vw, 4rem);
|
|
145
|
+
--impakt-type-display-l-line-height: 1;
|
|
146
|
+
--impakt-type-display-l-tracking: -0.04em;
|
|
147
|
+
--impakt-type-display-l-weight: 600;
|
|
148
|
+
--impakt-type-display-l-family: Archivo, "Helvetica Neue", Arial, sans-serif;
|
|
149
|
+
--impakt-type-display-m-size: clamp(2.5rem, 2.1389rem + 1.481vw, 3.25rem);
|
|
150
|
+
--impakt-type-display-m-line-height: 1.04;
|
|
151
|
+
--impakt-type-display-m-tracking: -0.04em;
|
|
152
|
+
--impakt-type-display-m-weight: 600;
|
|
153
|
+
--impakt-type-display-m-family: Archivo, "Helvetica Neue", Arial, sans-serif;
|
|
154
|
+
--impakt-type-stat-size: clamp(2.5rem, 2.1389rem + 1.481vw, 3.25rem);
|
|
155
|
+
--impakt-type-stat-line-height: 1.04;
|
|
156
|
+
--impakt-type-stat-tracking: -0.04em;
|
|
157
|
+
--impakt-type-stat-weight: 600;
|
|
158
|
+
--impakt-type-stat-family: Archivo, "Helvetica Neue", Arial, sans-serif;
|
|
159
|
+
--impakt-type-heading-m-size: clamp(1.75rem, 1.6296rem + 0.494vw, 2rem);
|
|
160
|
+
--impakt-type-heading-m-line-height: 1.1;
|
|
161
|
+
--impakt-type-heading-m-tracking: -0.03em;
|
|
162
|
+
--impakt-type-heading-m-weight: 600;
|
|
163
|
+
--impakt-type-heading-m-family: Archivo, "Helvetica Neue", Arial, sans-serif;
|
|
164
|
+
--impakt-type-heading-s-size: 1.5rem;
|
|
165
|
+
--impakt-type-heading-s-line-height: 1.15;
|
|
166
|
+
--impakt-type-heading-s-tracking: -0.025em;
|
|
167
|
+
--impakt-type-heading-s-weight: 600;
|
|
168
|
+
--impakt-type-heading-s-family: Archivo, "Helvetica Neue", Arial, sans-serif;
|
|
169
|
+
--impakt-type-body-l-size: 1.25rem;
|
|
170
|
+
--impakt-type-body-l-line-height: 1.45;
|
|
171
|
+
--impakt-type-body-l-tracking: -0.01em;
|
|
172
|
+
--impakt-type-body-l-weight: 400;
|
|
173
|
+
--impakt-type-body-l-family: Archivo, "Helvetica Neue", Arial, sans-serif;
|
|
174
|
+
--impakt-type-body-m-size: 1rem;
|
|
175
|
+
--impakt-type-body-m-line-height: 1.45;
|
|
176
|
+
--impakt-type-body-m-tracking: 0em;
|
|
177
|
+
--impakt-type-body-m-weight: 400;
|
|
178
|
+
--impakt-type-body-m-family: Archivo, "Helvetica Neue", Arial, sans-serif;
|
|
179
|
+
--impakt-type-body-s-size: 0.875rem;
|
|
180
|
+
--impakt-type-body-s-line-height: 1.4;
|
|
181
|
+
--impakt-type-body-s-tracking: 0em;
|
|
182
|
+
--impakt-type-body-s-weight: 400;
|
|
183
|
+
--impakt-type-body-s-family: Archivo, "Helvetica Neue", Arial, sans-serif;
|
|
184
|
+
--impakt-type-label-l-size: 1.25rem;
|
|
185
|
+
--impakt-type-label-l-line-height: 1.2;
|
|
186
|
+
--impakt-type-label-l-tracking: -0.01em;
|
|
187
|
+
--impakt-type-label-l-weight: 500;
|
|
188
|
+
--impakt-type-label-l-family: Archivo, "Helvetica Neue", Arial, sans-serif;
|
|
189
|
+
--impakt-type-label-m-size: 1rem;
|
|
190
|
+
--impakt-type-label-m-line-height: 1.2;
|
|
191
|
+
--impakt-type-label-m-tracking: 0em;
|
|
192
|
+
--impakt-type-label-m-weight: 500;
|
|
193
|
+
--impakt-type-label-m-family: Archivo, "Helvetica Neue", Arial, sans-serif;
|
|
194
|
+
--impakt-type-label-s-size: 0.875rem;
|
|
195
|
+
--impakt-type-label-s-line-height: 1.2;
|
|
196
|
+
--impakt-type-label-s-tracking: 0em;
|
|
197
|
+
--impakt-type-label-s-weight: 500;
|
|
198
|
+
--impakt-type-label-s-family: Archivo, "Helvetica Neue", Arial, sans-serif;
|
|
199
|
+
--impakt-type-mono-s-size: 0.6875rem;
|
|
200
|
+
--impakt-type-mono-s-line-height: 1.4;
|
|
201
|
+
--impakt-type-mono-s-tracking: 0.06em;
|
|
202
|
+
--impakt-type-mono-s-weight: 500;
|
|
203
|
+
--impakt-type-mono-s-family: "IBM Plex Mono", "ui-monospace", "SFMono-Regular", "Menlo", "Consolas", "monospace", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
|
|
204
|
+
--impakt-type-mono-s-transform: uppercase;
|
|
205
|
+
--impakt-type-mono-m-size: 0.8125rem;
|
|
206
|
+
--impakt-type-mono-m-line-height: 1.5;
|
|
207
|
+
--impakt-type-mono-m-tracking: 0em;
|
|
208
|
+
--impakt-type-mono-m-weight: 400;
|
|
209
|
+
--impakt-type-mono-m-family: "IBM Plex Mono", "ui-monospace", "SFMono-Regular", "Menlo", "Consolas", "monospace", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
|
|
210
|
+
--impakt-type-tool-label-size: 0.875rem;
|
|
211
|
+
--impakt-type-tool-label-line-height: 1.4;
|
|
212
|
+
--impakt-type-tool-label-tracking: 0em;
|
|
213
|
+
--impakt-type-tool-label-weight: 500;
|
|
214
|
+
--impakt-type-tool-label-family: "IBM Plex Mono", "ui-monospace", "SFMono-Regular", "Menlo", "Consolas", "monospace", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
|
|
215
|
+
--impakt-type-tool-meta-size: 0.875rem;
|
|
216
|
+
--impakt-type-tool-meta-line-height: 1.4;
|
|
217
|
+
--impakt-type-tool-meta-tracking: 0em;
|
|
218
|
+
--impakt-type-tool-meta-weight: 400;
|
|
219
|
+
--impakt-type-tool-meta-family: "IBM Plex Mono", "ui-monospace", "SFMono-Regular", "Menlo", "Consolas", "monospace", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
|
|
220
|
+
--impakt-type-hand-l-size: 2.125rem;
|
|
221
|
+
--impakt-type-hand-l-line-height: 1.1;
|
|
222
|
+
--impakt-type-hand-l-tracking: 0em;
|
|
223
|
+
--impakt-type-hand-l-weight: 700;
|
|
224
|
+
--impakt-type-hand-l-family: Kalam, Archivo, "Helvetica Neue", Arial, sans-serif;
|
|
225
|
+
--impakt-type-hand-s-size: 1.25rem;
|
|
226
|
+
--impakt-type-hand-s-line-height: 1.2;
|
|
227
|
+
--impakt-type-hand-s-tracking: 0em;
|
|
228
|
+
--impakt-type-hand-s-weight: 400;
|
|
229
|
+
--impakt-type-hand-s-family: Kalam, Archivo, "Helvetica Neue", Arial, sans-serif;
|
|
122
230
|
--impakt-space-0: 0px;
|
|
123
231
|
--impakt-space-0-5: 2px;
|
|
124
232
|
--impakt-space-1: 4px;
|
|
@@ -159,11 +267,12 @@
|
|
|
159
267
|
--impakt-radius-2xl: 0px;
|
|
160
268
|
--impakt-radius-3xl: 0px;
|
|
161
269
|
--impakt-radius-full: 9999px;
|
|
162
|
-
--impakt-shadow-xs: 0
|
|
163
|
-
--impakt-shadow-sm: 0
|
|
164
|
-
--impakt-shadow-md: 0
|
|
165
|
-
--impakt-shadow-lg: 0
|
|
166
|
-
--impakt-shadow-xl: 0
|
|
270
|
+
--impakt-shadow-xs: 0 0 0 0 transparent;
|
|
271
|
+
--impakt-shadow-sm: 0 0 0 0 transparent;
|
|
272
|
+
--impakt-shadow-md: 0 0 0 0 transparent;
|
|
273
|
+
--impakt-shadow-lg: 0 16px 32px rgba(0, 0, 0, 0.2);
|
|
274
|
+
--impakt-shadow-xl: 0 16px 32px rgba(0, 0, 0, 0.2);
|
|
275
|
+
--impakt-shadow-overlay: 0 16px 32px rgba(0, 0, 0, 0.2);
|
|
167
276
|
--impakt-border-width-thin: 1px;
|
|
168
277
|
--impakt-border-width-thick: 2px;
|
|
169
278
|
--impakt-layout-page-width: 1200px;
|
|
@@ -202,6 +311,18 @@
|
|
|
202
311
|
--impakt-motion-stagger-loose: 100ms;
|
|
203
312
|
--impakt-motion-distance-near: 16px;
|
|
204
313
|
--impakt-motion-distance-far: 48px;
|
|
314
|
+
--impakt-motion-journey-flatten-duration: 640ms;
|
|
315
|
+
--impakt-motion-journey-flatten-easing: cubic-bezier(0.65, 0, 0.35, 1);
|
|
316
|
+
--impakt-motion-journey-ink-in-duration: 560ms;
|
|
317
|
+
--impakt-motion-journey-ink-in-easing: cubic-bezier(0.22, 1, 0.36, 1);
|
|
318
|
+
--impakt-motion-journey-compile-duration: 720ms;
|
|
319
|
+
--impakt-motion-journey-compile-easing: cubic-bezier(0.83, 0, 0.17, 1);
|
|
320
|
+
--impakt-motion-journey-ship-duration: 600ms;
|
|
321
|
+
--impakt-motion-journey-ship-easing: cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
322
|
+
--impakt-motion-journey-lift-duration: 180ms;
|
|
323
|
+
--impakt-motion-journey-lift-easing: cubic-bezier(0.2, 0, 0, 1);
|
|
324
|
+
--impakt-motion-journey-press-duration: 140ms;
|
|
325
|
+
--impakt-motion-journey-press-easing: cubic-bezier(0.4, 0, 0.2, 1);
|
|
205
326
|
}
|
|
206
327
|
|
|
207
328
|
.impakt-page {
|
|
@@ -231,18 +352,23 @@
|
|
|
231
352
|
--ik-surface-page: var(--impakt-color-surface-page);
|
|
232
353
|
--ik-surface-card: var(--impakt-color-surface-card);
|
|
233
354
|
--ik-surface-inset: #F4F3F0;
|
|
234
|
-
--ik-surface-subtle:
|
|
235
|
-
--ik-surface-board:
|
|
355
|
+
--ik-surface-subtle: var(--impakt-color-surface-subtle);
|
|
356
|
+
--ik-surface-board: var(--impakt-color-surface-board);
|
|
236
357
|
--ik-surface-header: color-mix(in srgb, var(--impakt-color-surface-header) 88%, transparent);
|
|
237
358
|
--ik-surface-inverse: var(--impakt-color-text-default);
|
|
359
|
+
--ik-surface-ink-raised: var(--impakt-color-surface-ink-raised);
|
|
238
360
|
|
|
239
361
|
/* Ink. Muted text is measured at 4.5:1 on the card, the page and the inset surface. */
|
|
240
362
|
--ik-ink: var(--impakt-color-text-default);
|
|
241
|
-
--ik-ink-muted:
|
|
363
|
+
--ik-ink-muted: var(--impakt-color-text-muted);
|
|
364
|
+
--ik-ink-subtle: var(--impakt-color-text-subtle);
|
|
242
365
|
--ik-ink-inverse: var(--impakt-color-surface-page);
|
|
366
|
+
--ik-ink-inverse-muted: var(--impakt-color-text-inverse-muted);
|
|
243
367
|
|
|
244
368
|
/* Lines. A hairline is decoration. A border marks a control and is measured at 3:1. */
|
|
245
|
-
--ik-line:
|
|
369
|
+
--ik-line: var(--impakt-color-line-grid);
|
|
370
|
+
--ik-line-soft: var(--impakt-color-line-soft);
|
|
371
|
+
--ik-line-inverse: var(--impakt-color-line-inverse);
|
|
246
372
|
--ik-border: #767676;
|
|
247
373
|
--ik-border-strong: #5C5C5C;
|
|
248
374
|
|
|
@@ -261,7 +387,7 @@
|
|
|
261
387
|
--ik-on-gold: #111111;
|
|
262
388
|
|
|
263
389
|
/* The tick on a "checked by code" mark. The same green in both themes: it sits on ink in light and on paper in dark. */
|
|
264
|
-
--ik-verified:
|
|
390
|
+
--ik-verified: var(--impakt-color-status-ok-mark);
|
|
265
391
|
--ik-on-verified: #FFFFFF;
|
|
266
392
|
--ik-link: var(--impakt-color-text-link);
|
|
267
393
|
--ik-link-hover: #3D3D3D;
|
|
@@ -287,6 +413,7 @@
|
|
|
287
413
|
/* Type. Archivo, with IBM Plex Mono for labels, and a ramp whose smallest step is 14px. */
|
|
288
414
|
--ik-font: var(--impakt-font-family-body);
|
|
289
415
|
--ik-font-mono: var(--impakt-font-family-mono);
|
|
416
|
+
--ik-font-hand: var(--impakt-font-family-hand);
|
|
290
417
|
--ik-text-xs: var(--impakt-font-size-sm); /* 14px: pills, captions, table headings */
|
|
291
418
|
--ik-text-sm: 0.9375rem; /* 15px: buttons, labels, dense rows */
|
|
292
419
|
--ik-text-md: var(--impakt-font-size-md); /* 16px: body and fields */
|
|
@@ -317,10 +444,11 @@
|
|
|
317
444
|
--ik-radius-xl: 0px;
|
|
318
445
|
--ik-radius-full: 0px;
|
|
319
446
|
|
|
320
|
-
/* Elevation,
|
|
321
|
-
--ik-shadow-xs:
|
|
322
|
-
--ik-shadow-sm:
|
|
323
|
-
--ik-shadow-md:
|
|
447
|
+
/* Elevation. Noire is flat: controls, cards, tabs and steps have none. Only what floats over the page has one. */
|
|
448
|
+
--ik-shadow-xs: var(--impakt-shadow-xs);
|
|
449
|
+
--ik-shadow-sm: var(--impakt-shadow-sm);
|
|
450
|
+
--ik-shadow-md: var(--impakt-shadow-md);
|
|
451
|
+
--ik-shadow-overlay: var(--impakt-shadow-overlay);
|
|
324
452
|
|
|
325
453
|
/* Motion. Calm: short, no overshoot. */
|
|
326
454
|
--ik-duration-fast: var(--impakt-motion-duration-fast);
|
|
@@ -344,14 +472,19 @@
|
|
|
344
472
|
--ik-surface-page: #0E0E0E;
|
|
345
473
|
--ik-surface-card: #1A1A1A;
|
|
346
474
|
--ik-surface-inset: #141414;
|
|
347
|
-
--ik-surface-subtle: #
|
|
475
|
+
--ik-surface-subtle: #141414;
|
|
348
476
|
--ik-surface-board: #242424;
|
|
349
477
|
--ik-surface-header: rgb(14 14 14 / 0.88);
|
|
350
478
|
--ik-surface-inverse: #F2F2F0;
|
|
479
|
+
--ik-surface-ink-raised: #E3E2DD;
|
|
351
480
|
--ik-ink: #F2F2F0;
|
|
352
481
|
--ik-ink-muted: #A8A8A6;
|
|
482
|
+
--ik-ink-subtle: #9A9A98;
|
|
353
483
|
--ik-ink-inverse: #0E0E0E;
|
|
354
|
-
--ik-
|
|
484
|
+
--ik-ink-inverse-muted: #5C5C5C;
|
|
485
|
+
--ik-line: #1F1F1F;
|
|
486
|
+
--ik-line-soft: #2E2E2E;
|
|
487
|
+
--ik-line-inverse: #CFCCC5;
|
|
355
488
|
--ik-border: #7A7A7A;
|
|
356
489
|
--ik-border-strong: #A8A8A6;
|
|
357
490
|
--ik-brand: #F2F2F0;
|
|
@@ -376,9 +509,9 @@
|
|
|
376
509
|
--ik-info-subtle: #1A2B3A;
|
|
377
510
|
--ik-focus-ring: 0 0 0 2px #0E0E0E, 0 0 0 4px #F2F2F0;
|
|
378
511
|
--ik-focus-ring-inset: inset 0 0 0 2px #F2F2F0, inset 0 0 0 4px #0E0E0E;
|
|
379
|
-
--ik-shadow-xs: 0
|
|
380
|
-
--ik-shadow-sm: 0
|
|
381
|
-
--ik-shadow-md: 0
|
|
512
|
+
--ik-shadow-xs: 0 0 0 0 transparent;
|
|
513
|
+
--ik-shadow-sm: 0 0 0 0 transparent;
|
|
514
|
+
--ik-shadow-md: 0 0 0 0 transparent;
|
|
382
515
|
color-scheme: dark;
|
|
383
516
|
}
|
|
384
517
|
}
|
|
@@ -387,14 +520,19 @@
|
|
|
387
520
|
--ik-surface-page: #0E0E0E;
|
|
388
521
|
--ik-surface-card: #1A1A1A;
|
|
389
522
|
--ik-surface-inset: #141414;
|
|
390
|
-
--ik-surface-subtle: #
|
|
523
|
+
--ik-surface-subtle: #141414;
|
|
391
524
|
--ik-surface-board: #242424;
|
|
392
525
|
--ik-surface-header: rgb(14 14 14 / 0.88);
|
|
393
526
|
--ik-surface-inverse: #F2F2F0;
|
|
527
|
+
--ik-surface-ink-raised: #E3E2DD;
|
|
394
528
|
--ik-ink: #F2F2F0;
|
|
395
529
|
--ik-ink-muted: #A8A8A6;
|
|
530
|
+
--ik-ink-subtle: #9A9A98;
|
|
396
531
|
--ik-ink-inverse: #0E0E0E;
|
|
397
|
-
--ik-
|
|
532
|
+
--ik-ink-inverse-muted: #5C5C5C;
|
|
533
|
+
--ik-line: #1F1F1F;
|
|
534
|
+
--ik-line-soft: #2E2E2E;
|
|
535
|
+
--ik-line-inverse: #CFCCC5;
|
|
398
536
|
--ik-border: #7A7A7A;
|
|
399
537
|
--ik-border-strong: #A8A8A6;
|
|
400
538
|
--ik-brand: #F2F2F0;
|
|
@@ -419,9 +557,9 @@
|
|
|
419
557
|
--ik-info-subtle: #1A2B3A;
|
|
420
558
|
--ik-focus-ring: 0 0 0 2px #0E0E0E, 0 0 0 4px #F2F2F0;
|
|
421
559
|
--ik-focus-ring-inset: inset 0 0 0 2px #F2F2F0, inset 0 0 0 4px #0E0E0E;
|
|
422
|
-
--ik-shadow-xs: 0
|
|
423
|
-
--ik-shadow-sm: 0
|
|
424
|
-
--ik-shadow-md: 0
|
|
560
|
+
--ik-shadow-xs: 0 0 0 0 transparent;
|
|
561
|
+
--ik-shadow-sm: 0 0 0 0 transparent;
|
|
562
|
+
--ik-shadow-md: 0 0 0 0 transparent;
|
|
425
563
|
color-scheme: dark;
|
|
426
564
|
}
|
|
427
565
|
|
|
@@ -431,10 +569,6 @@
|
|
|
431
569
|
|
|
432
570
|
:root {
|
|
433
571
|
--impakt-color-surface-inset: #F4F3F0;
|
|
434
|
-
--impakt-color-surface-subtle: #F7F6F3;
|
|
435
|
-
--impakt-color-text-muted: #5C5C5C;
|
|
436
|
-
--impakt-color-text-placeholder: #5C5C5C;
|
|
437
|
-
--impakt-color-text-eyebrow: #5C5C5C;
|
|
438
572
|
--impakt-color-text-link-hover: #3D3D3D;
|
|
439
573
|
--impakt-color-border-default: #767676;
|
|
440
574
|
--impakt-color-border-strong: #5C5C5C;
|
|
@@ -453,6 +587,7 @@
|
|
|
453
587
|
--impakt-font-size-eyebrow: 0.875rem;
|
|
454
588
|
--impakt-site-menu-current: #FFD43B;
|
|
455
589
|
--impakt-journey-code-words: #FFD43B;
|
|
590
|
+
--impakt-color-accent-on-ink: #FFD43B;
|
|
456
591
|
}
|
|
457
592
|
|
|
458
593
|
@media (prefers-color-scheme: dark) {
|
|
@@ -460,7 +595,14 @@
|
|
|
460
595
|
--impakt-color-surface-page: #0E0E0E;
|
|
461
596
|
--impakt-color-surface-card: #1A1A1A;
|
|
462
597
|
--impakt-color-surface-inset: #141414;
|
|
463
|
-
--impakt-color-surface-subtle: #
|
|
598
|
+
--impakt-color-surface-subtle: #141414;
|
|
599
|
+
--impakt-color-surface-board: #242424;
|
|
600
|
+
--impakt-color-surface-ink-raised: #E3E2DD;
|
|
601
|
+
--impakt-color-line-grid: #1F1F1F;
|
|
602
|
+
--impakt-color-line-soft: #2E2E2E;
|
|
603
|
+
--impakt-color-line-inverse: #CFCCC5;
|
|
604
|
+
--impakt-color-text-subtle: #9A9A98;
|
|
605
|
+
--impakt-color-text-inverse-muted: #5C5C5C;
|
|
464
606
|
--impakt-color-text-default: #F2F2F0;
|
|
465
607
|
--impakt-color-text-heading: #F2F2F0;
|
|
466
608
|
--impakt-color-text-muted: #A8A8A6;
|
|
@@ -491,6 +633,7 @@
|
|
|
491
633
|
--impakt-focus-ring-shadow: 0 0 0 2px #0E0E0E, 0 0 0 4px #F2F2F0;
|
|
492
634
|
--impakt-site-menu-current: initial;
|
|
493
635
|
--impakt-journey-code-words: initial;
|
|
636
|
+
--impakt-color-accent-on-ink: initial;
|
|
494
637
|
--impakt-color-status-danger-on: #111111;
|
|
495
638
|
--impakt-color-status-warning-on: #111111;
|
|
496
639
|
--impakt-color-status-success-on: #111111;
|
|
@@ -506,7 +649,14 @@
|
|
|
506
649
|
--impakt-color-surface-page: #0E0E0E;
|
|
507
650
|
--impakt-color-surface-card: #1A1A1A;
|
|
508
651
|
--impakt-color-surface-inset: #141414;
|
|
509
|
-
--impakt-color-surface-subtle: #
|
|
652
|
+
--impakt-color-surface-subtle: #141414;
|
|
653
|
+
--impakt-color-surface-board: #242424;
|
|
654
|
+
--impakt-color-surface-ink-raised: #E3E2DD;
|
|
655
|
+
--impakt-color-line-grid: #1F1F1F;
|
|
656
|
+
--impakt-color-line-soft: #2E2E2E;
|
|
657
|
+
--impakt-color-line-inverse: #CFCCC5;
|
|
658
|
+
--impakt-color-text-subtle: #9A9A98;
|
|
659
|
+
--impakt-color-text-inverse-muted: #5C5C5C;
|
|
510
660
|
--impakt-color-text-default: #F2F2F0;
|
|
511
661
|
--impakt-color-text-heading: #F2F2F0;
|
|
512
662
|
--impakt-color-text-muted: #A8A8A6;
|
|
@@ -537,6 +687,7 @@
|
|
|
537
687
|
--impakt-focus-ring-shadow: 0 0 0 2px #0E0E0E, 0 0 0 4px #F2F2F0;
|
|
538
688
|
--impakt-site-menu-current: initial;
|
|
539
689
|
--impakt-journey-code-words: initial;
|
|
690
|
+
--impakt-color-accent-on-ink: initial;
|
|
540
691
|
--impakt-color-status-danger-on: #111111;
|
|
541
692
|
--impakt-color-status-warning-on: #111111;
|
|
542
693
|
--impakt-color-status-success-on: #111111;
|
|
@@ -600,69 +751,72 @@ body {
|
|
|
600
751
|
|
|
601
752
|
/* --------------------------------------------------------------- header */
|
|
602
753
|
/* One row at every width: the mark and the product name on the left, the product's own
|
|
603
|
-
navigation and session controls on the right.
|
|
754
|
+
navigation and session controls on the right. A solid 56px bar on the card colour with the
|
|
755
|
+
grid rule under it. */
|
|
604
756
|
.ik-header {
|
|
605
757
|
position: relative; z-index: 20;
|
|
606
758
|
display: flex; align-items: center; justify-content: space-between; gap: var(--ik-space-3);
|
|
607
|
-
min-height:
|
|
608
|
-
background: var(--ik-surface-
|
|
609
|
-
-webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
|
|
759
|
+
min-height: 56px; padding: var(--ik-space-2) var(--ik-gutter);
|
|
760
|
+
background: var(--ik-surface-card);
|
|
610
761
|
border-bottom: 1px solid var(--ik-line);
|
|
611
762
|
}
|
|
612
|
-
.ik-brand { display: inline-flex; align-items: center; gap: 10px; border-radius: var(--ik-radius-sm); min-width: 0; color: var(--ik-ink); text-decoration: none; font-size: var(--ik-text-
|
|
763
|
+
.ik-brand { display: inline-flex; align-items: center; gap: 10px; border-radius: var(--ik-radius-sm); min-width: 0; color: var(--ik-ink); text-decoration: none; font-size: var(--ik-text-xs); font-weight: 500; line-height: 1.2; letter-spacing: 0; white-space: nowrap; }
|
|
613
764
|
.ik-brand:hover { color: var(--ik-ink); }
|
|
614
|
-
.ik-brand b, .ik-brand strong { font-weight:
|
|
765
|
+
.ik-brand b, .ik-brand strong { font-weight: 500; }
|
|
615
766
|
.ik-brand .ik-product { font-weight: 500; }
|
|
767
|
+
/* The mark: a 28px square in the action colour with an "i" on it. Ink with a white "i" in light, paper with an ink "i" in dark. */
|
|
616
768
|
/* A product whose own controls do not stick to the top can keep the header in view. */
|
|
617
769
|
.ik-header.ik-sticky { position: sticky; top: 0; }
|
|
618
770
|
@media (max-width: 640px) {
|
|
619
|
-
.ik-header {
|
|
620
|
-
.ik-brand {
|
|
771
|
+
.ik-header { gap: var(--ik-space-2); }
|
|
772
|
+
.ik-brand { gap: 8px; }
|
|
621
773
|
}
|
|
622
774
|
|
|
623
775
|
/* -------------------------------------------------------------- buttons */
|
|
624
|
-
/* The action colour, solid, for the one main action, an outline on the card for the rest, and words only for
|
|
625
|
-
a quiet action. Pressed is a
|
|
626
|
-
never the position, so the control does not move while it is used. */
|
|
776
|
+
/* The action colour, solid, for the one main action, an ink outline on the card for the rest, and words only for
|
|
777
|
+
a quiet action. Square and flat: no shadow and no highlight. Pressed is a different tone. Busy or disabled
|
|
778
|
+
changes the cursor and the opacity, never the position, so the control does not move while it is used. */
|
|
627
779
|
:where(button, .ik-btn) {
|
|
628
780
|
display: inline-flex; align-items: center; justify-content: center; gap: var(--ik-space-2);
|
|
629
781
|
min-height: var(--ik-control-height); min-width: var(--ik-target-min);
|
|
630
|
-
padding:
|
|
631
|
-
font: inherit; font-size: var(--ik-text-
|
|
782
|
+
padding: 14px 20px;
|
|
783
|
+
font: inherit; font-size: var(--ik-text-md); font-weight: 500; line-height: 1.2; letter-spacing: 0;
|
|
632
784
|
color: var(--ik-ink); background: var(--ik-surface-card);
|
|
633
|
-
border: 1px solid var(--ik-
|
|
634
|
-
box-shadow:
|
|
785
|
+
border: 1px solid var(--ik-ink); border-radius: var(--ik-radius-md);
|
|
786
|
+
box-shadow: none;
|
|
635
787
|
cursor: pointer; text-decoration: none; text-align: center;
|
|
636
788
|
transition: background-color var(--ik-duration-fast) var(--ik-ease-standard), border-color var(--ik-duration-fast) var(--ik-ease-standard), color var(--ik-duration-fast) var(--ik-ease-standard);
|
|
637
789
|
}
|
|
638
|
-
:where(button, .ik-btn):hover:not(:disabled) { background: var(--ik-surface-subtle); border-color: var(--ik-
|
|
790
|
+
:where(button, .ik-btn):hover:not(:disabled) { background: var(--ik-surface-subtle); border-color: var(--ik-ink); }
|
|
639
791
|
:where(button, .ik-btn):focus-visible { box-shadow: var(--ik-focus-ring); }
|
|
640
792
|
:where(button, .ik-btn):disabled, :where(button, .ik-btn)[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
|
|
641
793
|
:where(button, .ik-btn)[aria-busy="true"] { cursor: progress; }
|
|
642
|
-
:where(button.primary, .ik-btn.primary) { background: var(--ik-brand); border-color: var(--ik-brand); color: var(--ik-on-brand); box-shadow:
|
|
794
|
+
:where(button.primary, .ik-btn.primary) { background: var(--ik-brand); border-color: var(--ik-brand); color: var(--ik-on-brand); box-shadow: none; }
|
|
643
795
|
:where(button.primary, .ik-btn.primary):hover:not(:disabled) { background: var(--ik-brand-hover); border-color: var(--ik-brand-hover); color: var(--ik-on-brand); }
|
|
644
796
|
:where(button.primary, .ik-btn.primary):active:not(:disabled) { background: var(--ik-brand-active); border-color: var(--ik-brand-active); }
|
|
645
|
-
:where(button.ghost, .ik-btn.ghost) { background: transparent; border-color: transparent; box-shadow: none; color: var(--ik-
|
|
797
|
+
:where(button.ghost, .ik-btn.ghost) { background: transparent; border-color: transparent; box-shadow: none; color: var(--ik-ink); }
|
|
646
798
|
:where(button.ghost, .ik-btn.ghost):hover:not(:disabled) { background: var(--ik-brand-subtle); border-color: transparent; }
|
|
647
799
|
:where(button.danger, .ik-btn.danger) { color: var(--ik-danger-text); }
|
|
648
|
-
:where(button.small, .ik-btn.small) { min-height: 32px; padding:
|
|
800
|
+
:where(button.small, .ik-btn.small) { min-height: 32px; padding: 6px 12px; font-size: var(--ik-text-xs); }
|
|
801
|
+
/* A full-width button: the words at the start and a trailing arrow, if there is one, at the far edge. */
|
|
802
|
+
:where(button.block, .ik-btn.block) { display: flex; width: 100%; justify-content: space-between; text-align: start; }
|
|
649
803
|
@media (pointer: coarse) { :where(button.small, .ik-btn.small) { min-height: 40px; } }
|
|
650
804
|
@media (forced-colors: active) { :where(button, .ik-btn) { border-color: ButtonBorder; } }
|
|
651
805
|
|
|
652
806
|
/* --------------------------------------------------------------- fields */
|
|
653
|
-
:where(label) { font-size: var(--ik-text-
|
|
807
|
+
:where(label) { font-family: var(--ik-font-mono); font-size: var(--ik-text-xs); font-weight: 400; line-height: 1.4; color: var(--ik-ink); }
|
|
654
808
|
:where(input:not([type="checkbox"], [type="radio"], [type="file"], [type="range"], [type="color"]), select, textarea) {
|
|
655
809
|
min-height: 44px; max-width: 100%;
|
|
656
|
-
padding:
|
|
657
|
-
font: inherit; font-size: var(--ik-text-md); line-height:
|
|
810
|
+
padding: 13px 14px;
|
|
811
|
+
font: inherit; font-size: var(--ik-text-md); line-height: 1.2;
|
|
658
812
|
color: var(--ik-ink); background: var(--ik-surface-card);
|
|
659
|
-
border: 1px solid var(--ik-
|
|
660
|
-
box-shadow:
|
|
813
|
+
border: 1px solid var(--ik-ink); border-radius: var(--ik-radius-md);
|
|
814
|
+
box-shadow: none;
|
|
661
815
|
transition: border-color var(--ik-duration-fast) var(--ik-ease-standard), box-shadow var(--ik-duration-fast) var(--ik-ease-standard);
|
|
662
816
|
}
|
|
663
|
-
:where(input:not([type="checkbox"], [type="radio"], [type="file"], [type="range"], [type="color"]), select, textarea):hover:not(:disabled) { border-color: var(--ik-
|
|
664
|
-
/*
|
|
665
|
-
input:not([type="checkbox"], [type="radio"], [type="file"], [type="range"], [type="color"]):focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--ik-
|
|
817
|
+
:where(input:not([type="checkbox"], [type="radio"], [type="file"], [type="range"], [type="color"]), select, textarea):hover:not(:disabled) { border-color: var(--ik-ink); }
|
|
818
|
+
/* The two-band ring, outside the ink border, so the field being typed in is plain at a glance. */
|
|
819
|
+
input:not([type="checkbox"], [type="radio"], [type="file"], [type="range"], [type="color"]):focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--ik-ink); box-shadow: var(--ik-focus-ring); }
|
|
666
820
|
:where(input, select, textarea)::placeholder { color: var(--ik-ink-muted); opacity: 1; }
|
|
667
821
|
:where(input, select, textarea):disabled { background: var(--ik-surface-inset); cursor: not-allowed; }
|
|
668
822
|
/* An error thickens the border as well as turning it red, and the message says it in words. */
|
|
@@ -672,34 +826,39 @@ input:not([type="checkbox"], [type="radio"], [type="file"], [type="range"], [typ
|
|
|
672
826
|
:where(input[type="file"]) { max-width: 100%; font: inherit; font-size: var(--ik-text-sm); color: var(--ik-ink-muted); }
|
|
673
827
|
:where(input[type="file"])::file-selector-button {
|
|
674
828
|
margin-right: var(--ik-space-3); min-height: 36px; padding: var(--ik-space-1) var(--ik-space-4);
|
|
675
|
-
font: inherit; font-weight:
|
|
676
|
-
border: 1px solid var(--ik-
|
|
829
|
+
font: inherit; font-weight: 500; color: var(--ik-ink); background: var(--ik-surface-card);
|
|
830
|
+
border: 1px solid var(--ik-ink); border-radius: var(--ik-radius-md); cursor: pointer;
|
|
677
831
|
}
|
|
678
|
-
.ik-field { display: grid; gap:
|
|
832
|
+
.ik-field { display: grid; gap: 8px; margin-bottom: var(--ik-space-4); }
|
|
679
833
|
.ik-hint { font-size: var(--ik-text-xs); color: var(--ik-ink-muted); font-weight: 400; }
|
|
680
834
|
/* A phone zooms into any field under 16px, so fields stay at 16px there. */
|
|
681
835
|
@media (max-width: 640px) { :where(input, select, textarea) { font-size: 16px; } }
|
|
682
836
|
|
|
683
837
|
/* ----------------------------------------------------------------- tabs */
|
|
684
|
-
/* A
|
|
838
|
+
/* A soft track with a soft line round it, and the chosen tab raised onto the card colour with an ink dot.
|
|
839
|
+
It is one row at every width and scrolls sideways when it must. */
|
|
685
840
|
.tabs, .ik-tabs {
|
|
686
|
-
display: flex; flex-wrap: nowrap; gap:
|
|
687
|
-
margin: var(--ik-space-3) 0 var(--ik-space-4); padding:
|
|
841
|
+
display: flex; flex-wrap: nowrap; gap: 0; width: max-content; max-width: 100%;
|
|
842
|
+
margin: var(--ik-space-3) 0 var(--ik-space-4); padding: 3px;
|
|
688
843
|
overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
|
|
689
|
-
background: var(--ik-surface-
|
|
690
|
-
box-shadow:
|
|
844
|
+
background: var(--ik-surface-subtle); border: 1px solid var(--ik-line-soft); border-radius: var(--ik-radius-md);
|
|
845
|
+
box-shadow: none;
|
|
691
846
|
}
|
|
692
847
|
.tabs::-webkit-scrollbar, .ik-tabs::-webkit-scrollbar { display: none; }
|
|
693
848
|
.tabs > button, .ik-tabs > button, .tabs > a, .ik-tabs > a {
|
|
694
|
-
flex: none; min-height: 36px; padding: 6px
|
|
695
|
-
color: var(--ik-ink-muted); background: transparent; border:
|
|
696
|
-
font-size: var(--ik-text-
|
|
849
|
+
flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 12px; white-space: nowrap;
|
|
850
|
+
color: var(--ik-ink-muted); background: transparent; border: 1px solid transparent; border-radius: var(--ik-radius-md); box-shadow: none;
|
|
851
|
+
font-size: var(--ik-text-xs); font-weight: 400; line-height: 1.2; text-decoration: none;
|
|
697
852
|
}
|
|
698
|
-
.tabs > button:hover:not(:disabled), .ik-tabs > button:hover:not(:disabled), .tabs > a:hover, .ik-tabs > a:hover { background:
|
|
853
|
+
.tabs > button:hover:not(:disabled), .ik-tabs > button:hover:not(:disabled), .tabs > a:hover, .ik-tabs > a:hover { background: transparent; border-color: transparent; color: var(--ik-ink); }
|
|
699
854
|
.tabs > .on, .ik-tabs > .on, .tabs > [aria-selected="true"], .ik-tabs > [aria-selected="true"], .tabs > [aria-current="page"], .ik-tabs > [aria-current="page"] {
|
|
700
|
-
background: var(--ik-
|
|
855
|
+
background: var(--ik-surface-card); border-color: var(--ik-line-soft); color: var(--ik-ink);
|
|
856
|
+
}
|
|
857
|
+
.tabs > .on::before, .ik-tabs > .on::before, .tabs > [aria-selected="true"]::before, .ik-tabs > [aria-selected="true"]::before, .tabs > [aria-current="page"]::before, .ik-tabs > [aria-current="page"]::before {
|
|
858
|
+
content: ""; flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--ik-ink);
|
|
701
859
|
}
|
|
702
|
-
.tabs > .on:hover:not(:disabled), .ik-tabs > .on:hover:not(:disabled), .tabs > [aria-selected="true"]:hover, .ik-tabs > [aria-selected="true"]:hover { background: var(--ik-
|
|
860
|
+
.tabs > .on:hover:not(:disabled), .ik-tabs > .on:hover:not(:disabled), .tabs > [aria-selected="true"]:hover, .ik-tabs > [aria-selected="true"]:hover { background: var(--ik-surface-card); border-color: var(--ik-line-soft); }
|
|
861
|
+
@media (forced-colors: active) { .tabs > .on, .ik-tabs > .on, .tabs > [aria-selected="true"], .ik-tabs > [aria-selected="true"], .tabs > [aria-current="page"], .ik-tabs > [aria-current="page"] { border-color: CanvasText; } .tabs > .on::before, .ik-tabs > .on::before, .tabs > [aria-selected="true"]::before, .ik-tabs > [aria-selected="true"]::before, .tabs > [aria-current="page"]::before, .ik-tabs > [aria-current="page"]::before { background: CanvasText; } }
|
|
703
862
|
/* The ring is drawn inside, because the bar clips anything outside its scroll box. */
|
|
704
863
|
.tabs > :focus-visible, .ik-tabs > :focus-visible { box-shadow: var(--ik-focus-ring-inset); }
|
|
705
864
|
@media (pointer: coarse) { .tabs > button, .ik-tabs > button, .tabs > a, .ik-tabs > a { min-height: 40px; } }
|
|
@@ -707,29 +866,48 @@ input:not([type="checkbox"], [type="radio"], [type="file"], [type="range"], [typ
|
|
|
707
866
|
/* ---------------------------------------------------------------- cards */
|
|
708
867
|
.card, .panel, .ik-card {
|
|
709
868
|
background: var(--ik-surface-card); color: var(--ik-ink);
|
|
710
|
-
border: 1px solid var(--ik-
|
|
711
|
-
padding: var(--ik-space-
|
|
712
|
-
box-shadow:
|
|
869
|
+
border: 1px solid var(--ik-ink); border-radius: var(--ik-radius-xl);
|
|
870
|
+
padding: var(--ik-space-6); margin-bottom: var(--ik-space-4);
|
|
871
|
+
box-shadow: none;
|
|
713
872
|
}
|
|
873
|
+
.ik-card > :where(h2, h3):first-child:not(.ik-eyebrow), .card > :where(h2, h3):first-child:not(.ik-eyebrow), .panel > :where(h2, h3):first-child:not(.ik-eyebrow) {
|
|
874
|
+
margin-top: 0;
|
|
875
|
+
font-size: var(--impakt-type-heading-s-size, 1.5rem); font-weight: 600;
|
|
876
|
+
line-height: var(--impakt-type-heading-s-line-height, 1.15); letter-spacing: var(--impakt-type-heading-s-tracking, -0.025em);
|
|
877
|
+
}
|
|
878
|
+
/* An ink band, a dashed outline for something not there yet, a soft inset with an ink edge, and a quiet soft card for what is coming soon. */
|
|
879
|
+
.ik-card.ink { background: var(--ik-surface-inverse); color: var(--ik-ink-inverse); border-color: var(--ik-surface-inverse); }
|
|
880
|
+
.ik-card.ink :where(h2, h3, h4) { color: var(--ik-ink-inverse); }
|
|
881
|
+
.ik-card.dashed { border-style: dashed; }
|
|
882
|
+
.ik-card.inset { background: var(--ik-surface-subtle); border-color: var(--ik-ink); }
|
|
883
|
+
.ik-card.muted { background: var(--ik-surface-subtle); border-color: var(--ik-line-soft); color: var(--ik-ink-muted); }
|
|
714
884
|
.ik-board { background: var(--ik-surface-board); border-radius: var(--ik-radius-xl); padding: var(--ik-space-6); }
|
|
715
885
|
@media (max-width: 640px) {
|
|
716
886
|
.card, .panel, .ik-card { padding: var(--ik-space-4); border-radius: var(--ik-radius-lg); }
|
|
717
887
|
}
|
|
718
888
|
|
|
719
889
|
/* ---------------------------------------------------------------- pills */
|
|
720
|
-
/* Sentence case, never shouted. The word carries the meaning
|
|
890
|
+
/* Sentence case in the code face, never shouted. The word carries the meaning and a 7px dot supports it:
|
|
891
|
+
green is done, red has failed, yellow (with an ink ring, so it shows on white) needs your attention, ink is
|
|
892
|
+
neutral work in hand. A plain pill has no dot, and a solid one is filled with the action colour. */
|
|
721
893
|
.pill, .ik-pill {
|
|
722
894
|
display: inline-flex; align-items: center; gap: 6px; vertical-align: baseline;
|
|
723
|
-
padding:
|
|
724
|
-
font-size: var(--ik-text-xs); font-weight:
|
|
725
|
-
color: var(--ik-ink); background: var(--ik-surface-
|
|
895
|
+
padding: 3px 8px; border-radius: var(--ik-radius-md);
|
|
896
|
+
font-family: var(--ik-font-mono); font-size: var(--ik-text-xs); font-weight: 500; line-height: 1.4; white-space: nowrap;
|
|
897
|
+
color: var(--ik-ink); background: var(--ik-surface-card); border: 1px solid var(--ik-ink);
|
|
898
|
+
}
|
|
899
|
+
.pill:is(.ok, .warn, .bad, .info, .brand)::before, .ik-pill:is(.ok, .warn, .bad, .info, .brand)::before {
|
|
900
|
+
content: ""; flex: none; box-sizing: border-box; width: 7px; height: 7px; border-radius: 50%; background: var(--ik-ink);
|
|
726
901
|
}
|
|
727
|
-
.pill.ok, .ik-pill.ok {
|
|
728
|
-
.pill.warn, .ik-pill.warn {
|
|
729
|
-
.pill.bad, .ik-pill.bad {
|
|
730
|
-
.pill.info, .ik-pill.info
|
|
731
|
-
.pill.
|
|
732
|
-
|
|
902
|
+
.pill.ok::before, .ik-pill.ok::before { background: var(--ik-verified); }
|
|
903
|
+
.pill.warn::before, .ik-pill.warn::before { background: var(--ik-accent); border: 1px solid var(--ik-on-accent); }
|
|
904
|
+
.pill.bad::before, .ik-pill.bad::before { background: var(--ik-danger); }
|
|
905
|
+
.pill.info::before, .ik-pill.info::before, .pill.brand::before, .ik-pill.brand::before { background: var(--ik-ink); }
|
|
906
|
+
.pill.neutral, .ik-pill.neutral { color: var(--ik-ink); }
|
|
907
|
+
.pill.solid, .ik-pill.solid { color: var(--ik-on-brand); background: var(--ik-brand); border-color: var(--ik-brand); }
|
|
908
|
+
/* A pill inside a heading or a big figure keeps its own size. */
|
|
909
|
+
:where(h1, h2, h3, .ik-stat-value) :is(.pill, .ik-pill) { letter-spacing: 0; vertical-align: middle; }
|
|
910
|
+
@media (forced-colors: active) { .pill, .ik-pill { border-color: CanvasText; } .pill::before, .ik-pill::before { forced-color-adjust: none; background: CanvasText !important; } }
|
|
733
911
|
|
|
734
912
|
/* --------------------------------------------------------------- alerts */
|
|
735
913
|
/* A tint with a strong edge on the leading side. The text stays in ink, which reads on every
|
|
@@ -738,7 +916,7 @@ input:not([type="checkbox"], [type="radio"], [type="file"], [type="range"], [typ
|
|
|
738
916
|
padding: var(--ik-space-3) var(--ik-space-4); margin: var(--ik-space-2) 0;
|
|
739
917
|
border-radius: var(--ik-radius-md); border-inline-start: 4px solid var(--ik-border);
|
|
740
918
|
background: var(--ik-surface-inset); color: var(--ik-ink);
|
|
741
|
-
box-shadow:
|
|
919
|
+
box-shadow: none;
|
|
742
920
|
}
|
|
743
921
|
.alert.ok, .ik-alert.ok { background: var(--ik-success-subtle); border-color: var(--ik-success); }
|
|
744
922
|
.alert.warn, .ik-alert.warn { background: var(--ik-warning-subtle); border-color: var(--ik-warning); }
|
|
@@ -784,24 +962,32 @@ input:not([type="checkbox"], [type="radio"], [type="file"], [type="range"], [typ
|
|
|
784
962
|
where they are in the job and what is left. Each is a class a product adds to plain markup. */
|
|
785
963
|
|
|
786
964
|
/* ---------------------------------------------------------------- page */
|
|
787
|
-
/* A main column at one of three widths.
|
|
788
|
-
|
|
965
|
+
/* A main column at one of three widths. The content is 1200px wide, as the design's frames are; forms read
|
|
966
|
+
best narrow, and a wide review screen gets a little more. */
|
|
967
|
+
.ik-main { max-width: calc(1200px + 2 * var(--ik-gutter)); margin: 0 auto; padding: var(--ik-space-6) var(--ik-gutter) var(--ik-space-12); }
|
|
789
968
|
.ik-main.narrow { max-width: 760px; }
|
|
790
969
|
.ik-main.wide { max-width: 1320px; }
|
|
791
970
|
@media (max-width: 640px) { .ik-main { padding-top: var(--ik-space-4); } }
|
|
792
971
|
|
|
793
|
-
/* The page header: a back link, the title
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
.ik-page-head
|
|
797
|
-
.ik-page-head
|
|
798
|
-
.ik-
|
|
972
|
+
/* The page header, in one column: an eyebrow or a back link, the title in display type with its status pill
|
|
973
|
+
beside it, one line of facts, then the actions under the facts. Wrap the title and the pill in .ik-title to
|
|
974
|
+
set them side by side. */
|
|
975
|
+
.ik-page-head { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: start; gap: var(--ik-space-5); margin-bottom: var(--ik-space-6); }
|
|
976
|
+
.ik-page-head > :first-child { min-width: 0; }
|
|
977
|
+
.ik-page-head h1 {
|
|
978
|
+
margin: 0; overflow-wrap: anywhere;
|
|
979
|
+
font-size: var(--impakt-type-display-m-size, 3.25rem); font-weight: 600;
|
|
980
|
+
line-height: var(--impakt-type-display-m-line-height, 1.04); letter-spacing: var(--impakt-type-display-m-tracking, -0.04em);
|
|
981
|
+
}
|
|
982
|
+
.ik-page-head .ik-title { display: flex; flex-wrap: wrap; align-items: center; gap: var(--ik-space-3) var(--ik-space-4); }
|
|
983
|
+
.ik-eyebrow { display: block; margin: 0 0 var(--ik-space-3); font-family: var(--ik-font-mono); font-size: var(--ik-text-xs); font-weight: 400; line-height: 1.4; color: var(--ik-ink-muted); }
|
|
984
|
+
.ik-back { display: inline-flex; align-items: center; gap: 8px; min-height: var(--ik-target-min); margin-bottom: var(--ik-space-3); font-family: var(--ik-font-mono); font-size: var(--ik-text-xs); font-weight: 400; color: var(--ik-ink); text-decoration: none; }
|
|
799
985
|
.ik-back::before { content: "\2190"; }
|
|
800
|
-
.ik-back:hover { color: var(--ik-ink); }
|
|
801
|
-
.ik-facts { display: flex; flex-wrap: wrap; gap: 4px
|
|
802
|
-
.ik-facts
|
|
986
|
+
.ik-back:hover { color: var(--ik-ink); text-decoration: underline; }
|
|
987
|
+
.ik-facts { display: flex; flex-wrap: wrap; gap: 4px 0; margin: var(--ik-space-3) 0 0; padding: 0; list-style: none; font-family: var(--ik-font-mono); font-size: var(--ik-text-xs); line-height: 1.4; color: var(--ik-ink-muted); }
|
|
988
|
+
.ik-facts > * + *::before { content: "\00B7"; padding-inline: 12px; }
|
|
989
|
+
.ik-facts strong { color: var(--ik-ink-muted); font-weight: 400; }
|
|
803
990
|
.ik-page-head .ik-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--ik-space-2); }
|
|
804
|
-
@media (max-width: 640px) { .ik-page-head h1 { font-size: var(--ik-text-2xl); } }
|
|
805
991
|
|
|
806
992
|
/* A row of actions. The one main action is .primary; the rest are outlines, and a .ik-sep
|
|
807
993
|
pushes what follows to the far end, which is where a destructive action belongs. */
|
|
@@ -812,30 +998,29 @@ input:not([type="checkbox"], [type="radio"], [type="file"], [type="range"], [typ
|
|
|
812
998
|
/* The stages of a job, in order, each numbered, with done, current and waiting told apart by
|
|
813
999
|
the mark and by words, never by colour alone. Use an <ol> whose items hold a link or button,
|
|
814
1000
|
aria-current="step" on the current one, and a .ik-step-hint saying what blocks the next. */
|
|
815
|
-
.ik-steps { display: flex; gap:
|
|
1001
|
+
.ik-steps { display: flex; gap: 0; margin: 0 0 var(--ik-space-5); padding: 0; list-style: none; counter-reset: ik-step; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--ik-line-soft); }
|
|
816
1002
|
.ik-steps::-webkit-scrollbar { display: none; }
|
|
817
|
-
.ik-steps > li { flex:
|
|
1003
|
+
.ik-steps > li { flex: none; counter-increment: ik-step; }
|
|
1004
|
+
/* G2 stage stepper: a two-digit mono number and the stage's name, the current stage underlined in ink. */
|
|
818
1005
|
.ik-steps > li > :where(a, button) {
|
|
819
|
-
display: grid; grid-template-columns: auto
|
|
820
|
-
|
|
821
|
-
font
|
|
822
|
-
background:
|
|
1006
|
+
display: grid; grid-template-columns: auto auto; align-items: baseline; gap: 2px 10px;
|
|
1007
|
+
min-height: 44px; padding: 14px 28px 14px 0; margin-bottom: -1px; text-align: left;
|
|
1008
|
+
font: 500 16px/1.2 var(--ik-font, inherit); color: var(--ik-ink-muted); text-decoration: none;
|
|
1009
|
+
background: none; border: 0; border-bottom: 3px solid transparent; border-radius: 0; box-shadow: none;
|
|
823
1010
|
}
|
|
824
1011
|
.ik-steps > li > :where(a, button)::before {
|
|
825
|
-
content: counter(ik-step);
|
|
826
|
-
font-size: var(--ik-text-xs); font-weight: 700; color: var(--ik-ink); background: var(--ik-surface-inset); border: 1px solid var(--ik-border);
|
|
1012
|
+
content: counter(ik-step, decimal-leading-zero); font: 400 14px/1.4 var(--ik-font-mono, ui-monospace, monospace); color: var(--ik-ink-muted);
|
|
827
1013
|
}
|
|
828
1014
|
.ik-steps .ik-step-hint { grid-column: 2; font-size: var(--ik-text-xs); font-weight: 400; color: var(--ik-ink-muted); }
|
|
829
|
-
|
|
830
|
-
.ik-steps > li >
|
|
831
|
-
.ik-steps > li > [aria-current="step"]
|
|
832
|
-
.ik-steps > li >
|
|
833
|
-
.ik-steps > li > :where(a, button):disabled
|
|
834
|
-
.ik-steps > li > :
|
|
1015
|
+
/* A done stage keeps a tick before its number. The tick is decoration: say "done" in the item's words for a screen reader. */
|
|
1016
|
+
.ik-steps > li.done > :where(a, button)::before { content: "\2713\00a0" counter(ik-step, decimal-leading-zero); color: var(--ik-ink); }
|
|
1017
|
+
.ik-steps > li > [aria-current="step"], .ik-steps > li > [aria-selected="true"] { color: var(--ik-ink); border-bottom-color: var(--ik-ink); }
|
|
1018
|
+
.ik-steps > li > [aria-current="step"]::before, .ik-steps > li > [aria-selected="true"]::before { color: var(--ik-ink); }
|
|
1019
|
+
.ik-steps > li > :where(a, button):hover:not(:disabled) { color: var(--ik-ink); }
|
|
1020
|
+
.ik-steps > li > :where(a, button):disabled, .ik-steps > li > [aria-disabled="true"] { opacity: 1; color: var(--ik-ink-muted); }
|
|
1021
|
+
.ik-steps > li > :focus-visible { outline: 2px solid var(--ik-ink); outline-offset: -2px; box-shadow: none; }
|
|
835
1022
|
@media (max-width: 640px) {
|
|
836
|
-
.ik-steps > li {
|
|
837
|
-
.ik-steps > li > :where(a, button) { grid-template-columns: 1fr; justify-items: center; min-height: 56px; padding: var(--ik-space-2); text-align: center; font-size: var(--ik-text-xs); }
|
|
838
|
-
.ik-steps > li > :where(a, button)::before { grid-row: auto; }
|
|
1023
|
+
.ik-steps > li > :where(a, button) { padding-right: 20px; font-size: 14px; }
|
|
839
1024
|
.ik-steps .ik-step-hint { display: none; }
|
|
840
1025
|
}
|
|
841
1026
|
|
|
@@ -852,10 +1037,11 @@ input:not([type="checkbox"], [type="radio"], [type="file"], [type="range"], [typ
|
|
|
852
1037
|
/* ----------------------------------------------------------- drop zone */
|
|
853
1038
|
/* A file input laid over a large target, so a click, a tap, the keyboard and a dropped file
|
|
854
1039
|
all reach the real input. Put the input inside the label with the words beside it. */
|
|
855
|
-
.ik-drop { position: relative; display: grid; justify-items: center; gap:
|
|
856
|
-
.ik-drop strong { font-size: var(--ik-text-md); font-weight:
|
|
857
|
-
.ik-drop .ik-hint { color: var(--ik-ink-muted); }
|
|
858
|
-
|
|
1040
|
+
.ik-drop { position: relative; display: grid; justify-items: center; gap: 8px; padding: 28px 24px; text-align: center; font-family: var(--ik-font); font-weight: 400; color: var(--ik-ink); background: var(--ik-surface-subtle); border: 1px dashed var(--ik-ink); border-radius: var(--ik-radius-lg); cursor: pointer; transition: background-color var(--ik-duration-fast) var(--ik-ease-standard), border-color var(--ik-duration-fast) var(--ik-ease-standard); }
|
|
1041
|
+
.ik-drop strong { font-size: var(--ik-text-md); font-weight: 500; line-height: 1.2; }
|
|
1042
|
+
.ik-drop .ik-hint { font-family: var(--ik-font-mono); font-size: var(--ik-text-xs); color: var(--ik-ink-muted); }
|
|
1043
|
+
/* A file held over it turns the edge solid and the fill a step darker. */
|
|
1044
|
+
.ik-drop:hover, .ik-drop.over { background: var(--ik-brand-subtle); border-style: solid; border-color: var(--ik-ink); }
|
|
859
1045
|
.ik-drop:has(input:focus-visible) { box-shadow: var(--ik-focus-ring); }
|
|
860
1046
|
.ik-drop input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
|
|
861
1047
|
.ik-drop.compact { grid-template-columns: auto 1fr; justify-items: start; text-align: left; padding: var(--ik-space-3) var(--ik-space-4); }
|
|
@@ -872,11 +1058,11 @@ input:not([type="checkbox"], [type="radio"], [type="file"], [type="range"], [typ
|
|
|
872
1058
|
.ik-progress { display: grid; gap: 6px; padding: var(--ik-space-3) var(--ik-space-4); background: var(--ik-surface-inset); border-radius: var(--ik-radius-md); }
|
|
873
1059
|
.ik-progress-label { display: flex; justify-content: space-between; gap: var(--ik-space-3); font-size: var(--ik-text-sm); font-weight: 600; }
|
|
874
1060
|
.ik-progress-label span:last-child { font-weight: 400; color: var(--ik-ink-muted); font-variant-numeric: tabular-nums; }
|
|
875
|
-
.ik-progress progress
|
|
876
|
-
.ik-progress progress::-webkit-progress-bar
|
|
877
|
-
.ik-progress progress::-webkit-progress-value
|
|
878
|
-
.ik-progress progress::-moz-progress-bar
|
|
879
|
-
.ik-progress progress:indeterminate
|
|
1061
|
+
.ik-progress progress { appearance: none; width: 100%; height: 8px; border: 0; border-radius: var(--ik-radius-full); background: var(--ik-surface-card); overflow: hidden; color: var(--ik-brand); }
|
|
1062
|
+
.ik-progress progress::-webkit-progress-bar { background: var(--ik-surface-card); border-radius: var(--ik-radius-full); }
|
|
1063
|
+
.ik-progress progress::-webkit-progress-value { background: var(--ik-brand); border-radius: var(--ik-radius-full); }
|
|
1064
|
+
.ik-progress progress::-moz-progress-bar { background: var(--ik-brand); border-radius: var(--ik-radius-full); }
|
|
1065
|
+
.ik-progress progress:indeterminate { background: linear-gradient(90deg, var(--ik-surface-card) 0 30%, var(--ik-brand) 30% 55%, var(--ik-surface-card) 55%) 0 0 / 200% 100%; animation: ik-sweep 1.4s linear infinite; }
|
|
880
1066
|
.ik-progress progress:indeterminate::-webkit-progress-bar { background: transparent; }
|
|
881
1067
|
@keyframes ik-sweep { from { background-position: 100% 0; } to { background-position: -100% 0; } }
|
|
882
1068
|
/* A small turning ring for a button or a status word that is busy. */
|
|
@@ -892,58 +1078,176 @@ input:not([type="checkbox"], [type="radio"], [type="file"], [type="range"], [typ
|
|
|
892
1078
|
.ik-prose :where(h2, h3, h4) { margin-top: 1.4em; }
|
|
893
1079
|
.ik-prose :where(ul, ol) { padding-inline-start: 1.25em; }
|
|
894
1080
|
.ik-prose li + li { margin-top: 0.35em; }
|
|
895
|
-
.ik-prose blockquote, .ik-quote { margin-inline: 0; padding: var(--ik-space-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
1081
|
+
.ik-prose blockquote, .ik-quote { margin-inline: 0; padding: 2px 0 2px var(--ik-space-4); font-family: var(--ik-font); font-size: var(--ik-text-md); font-style: normal; line-height: 1.45; color: var(--ik-ink-muted); background: none; border-inline-start: 3px solid var(--ik-ink); border-radius: 0; quotes: "\201C" "\201D" "\2018" "\2019"; }
|
|
1082
|
+
/* Curly quotes round what was quoted, whether it is one run of words or a few paragraphs. */
|
|
1083
|
+
.ik-quote:not(:has(> p))::before, .ik-prose blockquote:not(:has(> p))::before, .ik-quote > p:first-child::before, .ik-prose blockquote > p:first-child::before { content: open-quote; }
|
|
1084
|
+
.ik-quote:not(:has(> p))::after, .ik-prose blockquote:not(:has(> p))::after, .ik-quote > p:last-child::after, .ik-prose blockquote > p:last-child::after { content: close-quote; }
|
|
1085
|
+
/* A quote with its source under it: the last paragraph still closes the quote, and the source sits on its own line. */
|
|
1086
|
+
.ik-quote > p:last-of-type::after { content: close-quote; }
|
|
1087
|
+
.ik-quote > p { margin: 0; }
|
|
1088
|
+
.ik-quote > :where(impakt-source, .ik-source) { display: inline-flex; margin-top: 8px; }
|
|
1089
|
+
.ik-list > li .ik-quote { margin-top: 12px; }
|
|
1090
|
+
/* Where an answer came from: a page, an evidence file, a moment in a call or a rule. A small square chip in the code face. */
|
|
1091
|
+
.ik-source { display: inline-flex; align-items: center; gap: 4px; padding: 1px 5px; font-family: var(--ik-font-mono); font-size: var(--ik-text-xs); font-style: normal; font-weight: 500; line-height: 1.4; color: var(--ik-ink); background: var(--ik-surface-subtle); border: 1px solid var(--ik-ink); border-radius: var(--ik-radius-sm); text-decoration: none; white-space: nowrap; }
|
|
1092
|
+
a.ik-source:hover, button.ik-source:hover { color: var(--ik-ink); text-decoration: underline; }
|
|
1093
|
+
button.ik-source { min-height: 0; min-width: 0; padding: 1px 5px; font-size: var(--ik-text-xs); border: 1px solid var(--ik-ink); box-shadow: none; }
|
|
899
1094
|
|
|
900
1095
|
/* ------------------------------------------------------------- summary */
|
|
901
|
-
/* The few numbers a screen is about, such as a score, a total and a deadline, in a row of
|
|
902
|
-
|
|
903
|
-
.
|
|
904
|
-
.ik-
|
|
905
|
-
.ik-stat
|
|
906
|
-
.ik-stat-
|
|
907
|
-
.ik-stat-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
.ik-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
.ik-
|
|
1096
|
+
/* The few numbers a screen is about, such as a score, a total and a deadline, in a row of up to four tiles
|
|
1097
|
+
at the top. Each tile is a label, a big figure and a note, with a status pill under the note when the
|
|
1098
|
+
figure has a state. The pill carries the tone in words, so the tile's edge stays ink. */
|
|
1099
|
+
.ik-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; margin-bottom: var(--ik-space-6); }
|
|
1100
|
+
.ik-stat { display: grid; align-content: start; justify-items: start; gap: 10px; padding: 20px; background: var(--ik-surface-card); border: 1px solid var(--ik-ink); border-radius: var(--ik-radius-lg); box-shadow: none; }
|
|
1101
|
+
.ik-stat-label { font-family: var(--ik-font-mono); font-size: var(--ik-text-xs); font-weight: 400; line-height: 1.4; color: var(--ik-ink-muted); }
|
|
1102
|
+
.ik-stat-value {
|
|
1103
|
+
font-size: var(--impakt-type-stat-size, 3.25rem); font-weight: 600;
|
|
1104
|
+
line-height: var(--impakt-type-stat-line-height, 1.04); letter-spacing: var(--impakt-type-stat-tracking, -0.04em);
|
|
1105
|
+
font-variant-numeric: tabular-nums; overflow-wrap: anywhere;
|
|
1106
|
+
}
|
|
1107
|
+
.ik-stat-note { font-size: var(--ik-text-xs); line-height: 1.4; color: var(--ik-ink-muted); }
|
|
1108
|
+
.ik-stat.ok, .ik-stat.warn, .ik-stat.bad { border-inline-start-width: 1px; }
|
|
1109
|
+
|
|
1110
|
+
/* Smaller tiles, two across beside a verdict: a smaller figure, and smaller still for a word such as "Conversion". */
|
|
1111
|
+
.ik-summary.compact { --impakt-type-stat-size: 2.75rem; }
|
|
1112
|
+
.ik-summary.compact > .word { --impakt-type-stat-size: 2rem; }
|
|
1113
|
+
/* A meter, such as usage against a plan or words against a limit: a square ink fill on a soft track. */
|
|
1114
|
+
.ik-meter { display: block; width: 100%; height: 8px; border-radius: var(--ik-radius-sm); background: var(--ik-line-soft); overflow: hidden; }
|
|
1115
|
+
.ik-meter > span { display: block; height: 100%; width: var(--ik-meter, 0%); background: var(--ik-ink); border-radius: inherit; }
|
|
1116
|
+
.ik-meter.warn > span, .ik-meter.bad > span { background: var(--ik-ink); }
|
|
1117
|
+
@media (forced-colors: active) { .ik-meter { border: 1px solid CanvasText; } .ik-meter > span { forced-color-adjust: none; background: CanvasText; } }
|
|
917
1118
|
|
|
918
1119
|
/* --------------------------------------------------------------- split */
|
|
919
1120
|
/* A list beside the item being worked on, as in a review queue. The side stays in view while
|
|
920
1121
|
the main column scrolls, and the two stack on a narrow screen. */
|
|
921
|
-
.ik-split { display: grid; grid-template-columns: minmax(260px,
|
|
1122
|
+
.ik-split { display: grid; grid-template-columns: minmax(260px, 372px) minmax(0, 1fr); gap: var(--ik-space-5); align-items: start; }
|
|
922
1123
|
.ik-split > .ik-side { position: sticky; top: 76px; max-height: calc(100vh - 92px); overflow: auto; }
|
|
923
1124
|
@media (max-width: 900px) { .ik-split { grid-template-columns: 1fr; } .ik-split > .ik-side { position: static; max-height: none; } }
|
|
1125
|
+
/* The work on the left and what goes with it on the right, about two to one, as on an audit, a claim or a brief. The
|
|
1126
|
+
side is a column of cards that scrolls with the page. */
|
|
1127
|
+
.ik-split.end { grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 12px; align-items: stretch; margin-bottom: var(--ik-space-6); }
|
|
1128
|
+
.ik-split.end > .ik-side { position: static; max-height: none; overflow: visible; }
|
|
1129
|
+
.ik-split > * { min-width: 0; }
|
|
1130
|
+
.ik-side { display: grid; align-content: start; gap: 12px; }
|
|
1131
|
+
.ik-side > .ik-card, .ik-split > .ik-card { margin-bottom: 0; }
|
|
1132
|
+
@media (max-width: 900px) { .ik-split.end { grid-template-columns: 1fr; } }
|
|
1133
|
+
/* Two columns inside a card, such as an issue and its fix, that stack when there is no room. */
|
|
1134
|
+
.ik-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: var(--ik-space-6) var(--ik-space-8); align-items: start; }
|
|
1135
|
+
.ik-cols > * { min-width: 0; }
|
|
1136
|
+
.ik-cols > div:not([class]) > * { margin-block: 0 var(--ik-space-4); }
|
|
1137
|
+
.ik-cols > div:not([class]) > :last-child { margin-bottom: 0; }
|
|
1138
|
+
/* Columns set close, as cards are: the teardown's verdict beside its figures. */
|
|
1139
|
+
.ik-cols.ik-gap-s { gap: 12px; margin-bottom: 12px; }
|
|
1140
|
+
.ik-cols > .ik-card, .ik-cols > .ik-summary { margin: 0; }
|
|
1141
|
+
/* Rows divided by soft rules under a card's heading: the fixes to make first, the people in an organisation. */
|
|
1142
|
+
.ik-list { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ik-line-soft); }
|
|
1143
|
+
/* A sentence the model wrote with where it came from beside it: the source chips, or a pill when nothing backs it. */
|
|
1144
|
+
.ik-claim { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--ik-space-2) var(--ik-space-4); align-items: start; }
|
|
1145
|
+
.ik-claim > :last-child { display: flex; flex-wrap: wrap; justify-content: end; gap: 6px; }
|
|
1146
|
+
/* A list of sources: a chip and what it points at. */
|
|
1147
|
+
.ik-sources { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: var(--ik-text-xs); }
|
|
1148
|
+
.ik-sources > li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
|
|
1149
|
+
/* The blueprint grid behind a page with one job, such as signing in (36:381): soft rules every 112px on the paper. */
|
|
1150
|
+
.ik-blueprint { background-color: var(--ik-surface-page); background-image: linear-gradient(var(--ik-line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--ik-line-soft) 1px, transparent 1px); background-size: 112px 112px; background-position: -1px -1px; }
|
|
1151
|
+
@media (forced-colors: active) { .ik-blueprint { background-image: none; } }
|
|
1152
|
+
/* A page with one job: the panels in the middle of the blueprint, well clear of the bar. */
|
|
1153
|
+
.ik-stage { min-height: calc(100vh - 56px); padding: 96px var(--ik-gutter); }
|
|
1154
|
+
@media (max-width: 640px) { .ik-stage { padding-block: var(--ik-space-6); } }
|
|
1155
|
+
/* A card with more room inside, for a form or a list that is the whole page. */
|
|
1156
|
+
.ik-card.ik-roomy { padding: 40px; }
|
|
1157
|
+
@media (max-width: 640px) { .ik-card.ik-roomy { padding: var(--ik-space-6); } }
|
|
1158
|
+
/* A heading in display type inside a card, such as "Sign in with your Impakt account". */
|
|
1159
|
+
/* A display heading kept to a readable width. */
|
|
1160
|
+
.ik-measure { max-width: 48rem; }
|
|
1161
|
+
.ik-display { margin: 0 0 var(--ik-space-6); font-size: var(--impakt-type-display-m-size, 3.25rem); font-weight: 600; line-height: var(--impakt-type-display-m-line-height, 1.04); letter-spacing: var(--impakt-type-display-m-tracking, -0.04em); overflow-wrap: anywhere; }
|
|
1162
|
+
/* The sentence under a heading, a size up from body text and muted. */
|
|
1163
|
+
.ik-lead { margin: 0 0 var(--ik-space-6); font-size: var(--ik-text-lg); line-height: 1.4; color: var(--ik-ink-muted); }
|
|
1164
|
+
.ik-lead.small { font-size: var(--ik-text-md); line-height: 1.5; }
|
|
1165
|
+
.ik-lead.ink { color: var(--ik-ink); }
|
|
1166
|
+
/* A form's fields and its button in one column. */
|
|
1167
|
+
/* Each field keeps 16px under it, so the column adds 4px to make the 20px between fields. */
|
|
1168
|
+
.ik-form { display: grid; gap: 4px; margin: 0 0 var(--ik-space-5); }
|
|
1169
|
+
.ik-form > :last-child { margin-bottom: 0; }
|
|
1170
|
+
/* The tools an account opens: each name large with its status at the end, divided by rules. */
|
|
1171
|
+
.ik-tool-list { margin: var(--ik-space-6) 0 0; padding: 0; list-style: none; }
|
|
1172
|
+
.ik-tool-list > li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--ik-space-2) var(--ik-space-4); padding-block: 14px; border-bottom: 1px solid var(--ik-line-soft); font-size: var(--impakt-type-heading-m-size, 2rem); font-weight: 600; line-height: 1.2; letter-spacing: -0.03em; }
|
|
1173
|
+
.ik-card.ink .ik-tool-list > li { border-bottom-color: color-mix(in srgb, var(--ik-ink-inverse) 18%, transparent); }
|
|
1174
|
+
.ik-card.ink :where(.ik-eyebrow, .muted, .ik-lead, .ik-mono) { color: color-mix(in srgb, var(--ik-ink-inverse) 72%, var(--ik-surface-inverse)); }
|
|
1175
|
+
.ik-card.ink :where(.ik-list, .ik-list > li) { border-color: color-mix(in srgb, var(--ik-ink-inverse) 18%, transparent); }
|
|
1176
|
+
/* Two panels side by side on the blueprint, a form and what it opens, that stack on a narrow screen. */
|
|
1177
|
+
.ik-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 10px; max-width: 1080px; margin: 0 auto; }
|
|
1178
|
+
.ik-pair > * { min-width: 0; margin: 0; }
|
|
1179
|
+
/* A smaller figure, such as a fair share inside a claim. */
|
|
1180
|
+
.ik-figure.small { font-size: var(--impakt-type-heading-s-size, 1.5rem); letter-spacing: -0.025em; }
|
|
1181
|
+
/* The product elements keep the page's rhythm when they sit straight in the main column or a card. */
|
|
1182
|
+
:where(.ik-main, .ik-card) > :where(impakt-alert, impakt-progress, impakt-accordion, impakt-score-bars, impakt-code-diff) { display: block; margin-bottom: var(--ik-space-6); }
|
|
1183
|
+
:where(.ik-card) > :where(impakt-alert, impakt-accordion, impakt-score-bars):last-child { margin-bottom: 0; }
|
|
1184
|
+
.ik-card > p:last-child, .ik-card > .ik-toolbar:last-child { margin-bottom: 0; }
|
|
1185
|
+
/* A label in a row of controls sits on the row's centre line, not above it. */
|
|
1186
|
+
.ik-toolbar > .ik-eyebrow { margin: 0; }
|
|
1187
|
+
/* A soft strip inside a card, such as a fair share: one line, its parts in a row. */
|
|
1188
|
+
.ik-card.inset.ik-toolbar { gap: 8px 12px; padding: 14px 16px; }
|
|
1189
|
+
/* A note under a dialog's actions, on its own line. */
|
|
1190
|
+
.ik-foot-note { flex-basis: 100%; margin: 0; }
|
|
1191
|
+
/* A toolbar that heads a card's content keeps a gap under it. */
|
|
1192
|
+
.ik-toolbar.ik-gap { margin-bottom: var(--ik-space-4); }
|
|
1193
|
+
/* A column of cards with the grid's gap between them. */
|
|
1194
|
+
.ik-stack { display: grid; align-content: start; gap: 12px; min-width: 0; }
|
|
1195
|
+
.ik-stack > .ik-card { margin-bottom: 0; }
|
|
1196
|
+
/* A toolbar with its first part at the start and the rest at the end. */
|
|
1197
|
+
.ik-toolbar.ik-spread { justify-content: space-between; }
|
|
1198
|
+
/* Rows stacked in a card under a toolbar, such as the documents in a review queue. */
|
|
1199
|
+
.ik-rows { display: grid; margin-block: var(--ik-space-4); border-bottom: 1px solid var(--ik-line-soft); }
|
|
1200
|
+
/* Rows in a card that are more than a title, such as a document with its status and action, or a redaction:
|
|
1201
|
+
the words on the left, the status and actions on the right, divided by soft rules. */
|
|
1202
|
+
.ik-list > li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--ik-space-3) var(--ik-space-6); padding-block: 20px; border-bottom: 1px solid var(--ik-line-soft); }
|
|
1203
|
+
.ik-list > li > * { min-width: 0; }
|
|
1204
|
+
.ik-list > li > :first-child { flex: 1 1 10rem; }
|
|
1205
|
+
.ik-list > li > :first-child > * { margin: 0; }
|
|
1206
|
+
.ik-list > li > :first-child > * + * { margin-top: 6px; }
|
|
1207
|
+
.ik-list > li :where(h3, h4):not(.ik-eyebrow) { margin: 0; font-size: var(--ik-text-xl); font-weight: 500; letter-spacing: -0.01em; }
|
|
1208
|
+
.ik-list > li > .ik-toolbar { flex: 0 1 auto; }
|
|
1209
|
+
.ik-list.plain { border-top: 0; }
|
|
1210
|
+
.ik-list.compact > li { padding-block: 12px; }
|
|
1211
|
+
.ik-list.compact > li > :first-child > * + * { margin-top: 2px; }
|
|
1212
|
+
.ik-list + :where(.ik-toolbar, p) { margin-top: var(--ik-space-6); }
|
|
1213
|
+
/* A card's own head: its kind and title on the left, its status and figure on the right. */
|
|
1214
|
+
.ik-card-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: var(--ik-space-3) var(--ik-space-4); margin-bottom: var(--ik-space-4); }
|
|
1215
|
+
.ik-card-head > * { min-width: 0; }
|
|
1216
|
+
.ik-card-head :where(h2, h3) { margin: 0; font-size: var(--impakt-type-heading-s-size, 1.5rem); font-weight: 600; line-height: 1.15; letter-spacing: -0.025em; }
|
|
1217
|
+
.ik-card-head .ik-eyebrow { margin-bottom: 6px; }
|
|
1218
|
+
/* Cards in a grid, three across on a wide screen, such as the tools on the account home. */
|
|
1219
|
+
.ik-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); gap: 12px; margin-bottom: var(--ik-space-6); }
|
|
1220
|
+
/* A heading for a part of a page, between the page title and a card's. */
|
|
1221
|
+
.ik-heading.flush { margin: 0 0 var(--ik-space-4); }
|
|
1222
|
+
.ik-heading { margin: var(--ik-space-8) 0 var(--ik-space-6); font-size: var(--impakt-type-heading-m-size, 2rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.035em; }
|
|
1223
|
+
/* Words in the code face, quiet: a price on a plan row, a key hint. */
|
|
1224
|
+
.ik-mono { font-family: var(--ik-font-mono); font-size: var(--ik-text-xs); font-weight: 400; line-height: 1.4; color: var(--ik-ink-muted); }
|
|
1225
|
+
/* A list whose items start with a mark in the code face: a dash for a left-out point, a "?" for an open question. */
|
|
1226
|
+
.ik-marks { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
|
|
1227
|
+
.ik-marks > li { display: grid; grid-template-columns: 1em minmax(0, 1fr); gap: 6px; }
|
|
1228
|
+
.ik-marks > li::before { content: "\2013"; font-family: var(--ik-font-mono); color: var(--ik-ink-muted); }
|
|
1229
|
+
.ik-marks.questions > li::before { content: "?"; }
|
|
1230
|
+
/* A field and its button on one line, such as the address a teardown runs on. */
|
|
1231
|
+
.ik-inline-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; max-width: 42rem; margin: 0 0 var(--ik-space-6); }
|
|
1232
|
+
.ik-inline-form > :first-child { flex: 1 1 20rem; min-width: 0; }
|
|
1233
|
+
.ik-inline-form > * { margin-bottom: 0; }
|
|
1234
|
+
/* A figure inside a card, smaller than a summary tile's, such as a self-score or an amount. */
|
|
1235
|
+
.ik-figure { font-size: var(--impakt-type-heading-m-size, 2rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
|
|
924
1236
|
|
|
925
1237
|
/* ------------------------------------------------------------- account */
|
|
926
1238
|
/* The account menu in the header: who is signed in, their plan, this month's usage and the
|
|
927
1239
|
links to billing and sign-out. Built on <details> so it opens without a script. */
|
|
928
1240
|
.ik-account { position: relative; }
|
|
929
|
-
.ik-account > summary { display: inline-flex; align-items: center; gap: var(--ik-space-2); min-height: 40px; padding:
|
|
1241
|
+
.ik-account > summary { display: inline-flex; align-items: center; gap: var(--ik-space-2); min-height: 40px; padding: 9px 14px; list-style: none; border: 1px solid var(--ik-ink); border-radius: var(--ik-radius-md); background: var(--ik-surface-card); color: var(--ik-ink); cursor: pointer; font-size: var(--ik-text-xs); font-weight: 500; line-height: 1.2; }
|
|
930
1242
|
.ik-account > summary::-webkit-details-marker { display: none; }
|
|
931
|
-
.ik-account > summary::after { content: "\25BE";
|
|
1243
|
+
.ik-account > summary::after { content: "\25BE"; font-size: 0.75em; color: var(--ik-ink); }
|
|
1244
|
+
/* The button names the organisation in words, so the avatar is not drawn in it. */
|
|
1245
|
+
.ik-account > summary .ik-avatar { display: none; }
|
|
932
1246
|
.ik-avatar { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: var(--ik-text-xs); font-weight: 700; color: var(--ik-ink); background: var(--ik-brand-subtle); }
|
|
933
|
-
.ik-account-panel { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); z-index: 30; width: min(300px, calc(100vw - 2 * var(--ik-gutter))); display: grid; gap: var(--ik-space-3); padding: var(--ik-space-4); background: var(--ik-surface-card); border: 1px solid var(--ik-
|
|
934
|
-
.ik-account-panel a { font-size: var(--ik-text-sm); font-weight:
|
|
1247
|
+
.ik-account-panel { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); z-index: 30; width: min(300px, calc(100vw - 2 * var(--ik-gutter))); display: grid; gap: var(--ik-space-3); padding: var(--ik-space-4); background: var(--ik-surface-card); border: 1px solid var(--ik-ink); border-radius: var(--ik-radius-lg); box-shadow: var(--ik-shadow-overlay); }
|
|
1248
|
+
.ik-account-panel a { font-size: var(--ik-text-sm); font-weight: 500; }
|
|
935
1249
|
@media (max-width: 640px) { .ik-account > summary .ik-account-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } }
|
|
936
1250
|
|
|
937
1251
|
/* ------------------------------------------------------------ 0.9.0 patterns */
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
* inside a product yellow means "this needs your attention" and nothing else. The unverified form is
|
|
941
|
-
* outlined and dashed, and says a person must check. The words carry the meaning; the tick supports it.
|
|
942
|
-
*/
|
|
943
|
-
.ik-checked { position: relative; display: inline-flex; align-items: center; padding: 3px 10px 3px 32px; font-family: var(--ik-font-mono); font-size: var(--ik-text-xs); font-weight: 500; line-height: 1.4; color: var(--ik-ink-inverse); background: var(--ik-surface-inverse); border: 1px solid var(--ik-surface-inverse); }
|
|
944
|
-
.ik-checked::before { content: ""; position: absolute; left: 9px; top: 50%; width: 14px; height: 14px; margin-top: -7px; box-sizing: border-box; background: var(--ik-verified); }
|
|
945
|
-
.ik-checked::after { content: ""; position: absolute; left: 12px; top: 50%; width: 8px; height: 4px; margin-top: -4px; border-left: 2px solid var(--ik-on-verified); border-bottom: 2px solid var(--ik-on-verified); transform: rotate(-45deg); }
|
|
946
|
-
.ik-checked.unverified { color: var(--ik-ink); background: var(--ik-surface-card); border: 1px dashed var(--ik-border-strong); }
|
|
947
|
-
.ik-checked.unverified::before { background: transparent; border: 1px solid var(--ik-ink); }
|
|
948
|
-
.ik-checked.unverified::after { left: 11px; width: 10px; height: 0; margin-top: -1px; border-left: 0; border-bottom-color: var(--ik-ink); }
|
|
949
|
-
@media (forced-colors: active) { .ik-checked, .ik-checked.unverified { border-color: CanvasText; } .ik-checked::before { forced-color-adjust: none; background: CanvasText; } .ik-checked::after { border-color: Canvas; } .ik-checked.unverified::before { background: Canvas; border-color: CanvasText; } .ik-checked.unverified::after { border-color: CanvasText; } }
|
|
1252
|
+
|
|
1253
|
+
/* ------------------------------------------------------------ G2 patterns (0.12.0) */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atomic-ui/theme",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.0",
|
|
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.
|
|
25
|
+
"@atomic-ui/design-tokens": "^0.12.0"
|
|
26
26
|
},
|
|
27
27
|
"files": [
|
|
28
28
|
"dist",
|