@jrgermain/stylesheet 0.7.0 → 0.8.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 +2 -0
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/package.json +5 -9
- package/src/styles/components/accordion.css +0 -136
- package/src/styles/components/alert.css +0 -12
- package/src/styles/components/app.css +0 -376
- package/src/styles/components/banner.css +0 -57
- package/src/styles/components/button.css +0 -357
- package/src/styles/components/card.css +0 -43
- package/src/styles/components/chip.css +0 -168
- package/src/styles/components/divider.css +0 -47
- package/src/styles/components/drawer.css +0 -107
- package/src/styles/components/field.css +0 -308
- package/src/styles/components/flex.css +0 -69
- package/src/styles/components/heading.css +0 -60
- package/src/styles/components/highlight.css +0 -39
- package/src/styles/components/link.css +0 -42
- package/src/styles/components/meter.css +0 -80
- package/src/styles/components/modal.css +0 -39
- package/src/styles/components/progress.css +0 -73
- package/src/styles/components/quote.css +0 -27
- package/src/styles/components/shared/base-alert.css +0 -96
- package/src/styles/components/shared/base-dialog.css +0 -141
- package/src/styles/components/shared/base-dismiss-button.css +0 -41
- package/src/styles/components/skeleton.css +0 -70
- package/src/styles/components/skip-link.css +0 -44
- package/src/styles/components/slider.css +0 -102
- package/src/styles/components/spinner.css +0 -79
- package/src/styles/components/switch.css +0 -90
- package/src/styles/components/table.css +0 -86
- package/src/styles/components/text.css +0 -132
- package/src/styles/components/visually-hidden.css +0 -13
- package/src/styles/index.css +0 -42
- package/src/styles/utils/reset.css +0 -29
- package/src/styles/utils/variables.css +0 -212
- package/src/svg/check-thick.svg +0 -4
- package/src/svg/check.svg +0 -4
- package/src/svg/dropdown-invert-thick.svg +0 -4
- package/src/svg/dropdown-invert.svg +0 -4
- package/src/svg/dropdown-thick.svg +0 -4
- package/src/svg/dropdown.svg +0 -4
- package/src/svg/external.svg +0 -4
- package/src/svg/info-thick.svg +0 -7
- package/src/svg/info.svg +0 -7
- package/src/svg/warning-thick.svg +0 -8
- package/src/svg/warning.svg +0 -8
- package/src/svg/x-circle.svg +0 -4
- package/src/svg/x-thick.svg +0 -4
- package/src/svg/x.svg +0 -4
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
table.table,
|
|
2
|
-
.markdown-output table {
|
|
3
|
-
--table-bg-odd: var(--color-body-alt);
|
|
4
|
-
--table-bg-even: var(--color-body);
|
|
5
|
-
--table-vertical-border: var(--border-s);
|
|
6
|
-
|
|
7
|
-
background-color: var(--color-body-alt);
|
|
8
|
-
border-collapse: separate;
|
|
9
|
-
border-spacing: 0;
|
|
10
|
-
font-size: var(--font-size-m);
|
|
11
|
-
border: var(--border-s) solid var(--color-outline);
|
|
12
|
-
border-radius: var(--radius-s);
|
|
13
|
-
color: var(--color-body-text);
|
|
14
|
-
font-family: var(--font-family-body);
|
|
15
|
-
font-weight: var(--font-weight-normal);
|
|
16
|
-
|
|
17
|
-
&.subtle {
|
|
18
|
-
--table-bg-odd: transparent;
|
|
19
|
-
--table-bg-even: transparent;
|
|
20
|
-
--table-vertical-border: 0;
|
|
21
|
-
|
|
22
|
-
border: 0;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&.dense :is(th, td) {
|
|
26
|
-
padding: var(--space-3xs) var(--space-2xs);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
&.sparse :is(th, td) {
|
|
30
|
-
padding: var(--space-xs) var(--space-s);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
caption {
|
|
34
|
-
font-family: var(--font-family-heading);
|
|
35
|
-
line-height: 1.15;
|
|
36
|
-
font-size: var(--font-size-l);
|
|
37
|
-
font-weight: var(--font-weight-semibold);
|
|
38
|
-
text-align: start;
|
|
39
|
-
margin: 0 0 var(--space-2xs);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
th,
|
|
43
|
-
td {
|
|
44
|
-
padding: var(--space-2xs) var(--space-xs);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
th,
|
|
48
|
-
tfoot td {
|
|
49
|
-
font-weight: var(--font-weight-bold);
|
|
50
|
-
font-family: var(--font-family-heading);
|
|
51
|
-
text-align: center;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
th {
|
|
55
|
-
border-block-end: var(--border-m) solid var(--color-outline);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
tfoot td {
|
|
59
|
-
border-block-start: var(--border-m) solid var(--color-outline);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
td {
|
|
63
|
-
text-align: unset;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
:is(th, tfoot td):not(:last-of-type) {
|
|
67
|
-
border-inline-end: var(--table-vertical-border) dashed var(--color-outline);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
td:not(tfoot td, :last-of-type) {
|
|
71
|
-
border-inline-end: var(--table-vertical-border) solid var(--color-outline);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
tr:not(:last-of-type) td {
|
|
75
|
-
border-block-end: var(--border-s) solid var(--color-outline);
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
tbody tr:nth-child(odd),
|
|
79
|
-
tbody:has(tr:last-of-type:nth-child(even)) + tfoot tr {
|
|
80
|
-
background-color: var(--table-bg-even);
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
tbody tr:nth-child(even) {
|
|
84
|
-
background-color: var(--table-bg-odd);
|
|
85
|
-
}
|
|
86
|
-
}
|
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
/* stylelint-disable declaration-block-no-redundant-longhand-properties -- text-decoration shorthand doesn't work properly for Safari */
|
|
2
|
-
|
|
3
|
-
.paragraph,
|
|
4
|
-
.markdown-output p {
|
|
5
|
-
font-family: var(--font-family-body);
|
|
6
|
-
font-weight: var(--font-weight-normal);
|
|
7
|
-
line-height: 1.6;
|
|
8
|
-
margin: 0.75em 0;
|
|
9
|
-
text-wrap: pretty;
|
|
10
|
-
hanging-punctuation: first;
|
|
11
|
-
overflow-wrap: break-word;
|
|
12
|
-
|
|
13
|
-
&:first-child {
|
|
14
|
-
margin-block-start: 0;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
&:last-child {
|
|
18
|
-
margin-block-end: 0;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
/*
|
|
23
|
-
* Remove the top margin from paragraphs immediately after a heading, since we
|
|
24
|
-
* want to use the (slightly smaller) bottom margin of the heading instead.
|
|
25
|
-
*
|
|
26
|
-
* This ensures that headings are visibly closer to their content than the
|
|
27
|
-
* content above them, using spacing intentionally to denote hierarchy.
|
|
28
|
-
*/
|
|
29
|
-
:is(.heading-1, .heading-2, .heading-3, .heading-4, .heading-5, .heading-6)
|
|
30
|
-
+ .paragraph,
|
|
31
|
-
.markdown-output :is(h1, h2, h3, h4, h5, h6) + p {
|
|
32
|
-
margin-block-start: 0;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.abbreviation,
|
|
36
|
-
.markdown-output abbr[title] {
|
|
37
|
-
display: inline;
|
|
38
|
-
text-decoration-line: underline;
|
|
39
|
-
text-decoration-style: dotted;
|
|
40
|
-
text-decoration-thickness: var(--border-m);
|
|
41
|
-
text-decoration-color: var(--color-gray-6);
|
|
42
|
-
text-underline-offset: 0.1em;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.bold,
|
|
46
|
-
.markdown-output strong,
|
|
47
|
-
.markdown-output b {
|
|
48
|
-
font-weight: var(--font-weight-bold);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.italic,
|
|
52
|
-
.markdown-output em {
|
|
53
|
-
font-style: italic;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.underline {
|
|
57
|
-
text-decoration-line: underline;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.strikethrough,
|
|
61
|
-
.markdown-output s {
|
|
62
|
-
text-decoration-line: line-through;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.underline.strikethrough {
|
|
66
|
-
text-decoration-line: underline line-through;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.small-text,
|
|
70
|
-
.markdown-output small {
|
|
71
|
-
font-size: 0.75em;
|
|
72
|
-
vertical-align: baseline;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.subscript,
|
|
76
|
-
.superscript,
|
|
77
|
-
.markdown-output sub,
|
|
78
|
-
.markdown-output sup {
|
|
79
|
-
font-size: 0.75em;
|
|
80
|
-
line-height: 0;
|
|
81
|
-
position: relative;
|
|
82
|
-
vertical-align: baseline;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.subscript,
|
|
86
|
-
.markdown-output sub {
|
|
87
|
-
inset-block-end: -0.25em;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.superscript,
|
|
91
|
-
.markdown-output sup {
|
|
92
|
-
inset-block-start: -0.5em;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.code,
|
|
96
|
-
.markdown-output code {
|
|
97
|
-
font-family: var(--font-family-mono);
|
|
98
|
-
background-color: var(--color-gray-extra-transparent);
|
|
99
|
-
color: var(--color-gray-1);
|
|
100
|
-
border-radius: var(--radius-s);
|
|
101
|
-
display: inline;
|
|
102
|
-
padding: 0.25ch 0.5ch;
|
|
103
|
-
font-size: 0.9em;
|
|
104
|
-
|
|
105
|
-
&.invert {
|
|
106
|
-
color: var(--color-gray-9);
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.link .code,
|
|
111
|
-
.markdown-output a code {
|
|
112
|
-
text-decoration: inherit;
|
|
113
|
-
text-decoration-color: inherit;
|
|
114
|
-
text-decoration-thickness: inherit;
|
|
115
|
-
color: inherit;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
.key,
|
|
119
|
-
.skip-link kbd,
|
|
120
|
-
.markdown-output kbd {
|
|
121
|
-
display: inline;
|
|
122
|
-
padding: 0 0.5ch;
|
|
123
|
-
margin: 0 0.25ch;
|
|
124
|
-
font-size: 0.9em;
|
|
125
|
-
border: var(--border-s) solid var(--color-gray-8);
|
|
126
|
-
border-bottom-width: 3px;
|
|
127
|
-
border-radius: var(--radius-m);
|
|
128
|
-
font-weight: var(--font-weight-semibold);
|
|
129
|
-
font-family: var(--font-family-body);
|
|
130
|
-
background-color: var(--color-gray-9);
|
|
131
|
-
color: var(--color-body-text);
|
|
132
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
.visually-hidden,
|
|
2
|
-
.sr-only,
|
|
3
|
-
.app-sidebar-toggle input,
|
|
4
|
-
.skip-link:not(:focus, .static) {
|
|
5
|
-
clip: rect(1px, 1px, 1px, 1px);
|
|
6
|
-
clip-path: inset(50%);
|
|
7
|
-
height: 1px;
|
|
8
|
-
width: 1px;
|
|
9
|
-
margin: -1px;
|
|
10
|
-
overflow: hidden;
|
|
11
|
-
padding: 0;
|
|
12
|
-
position: absolute;
|
|
13
|
-
}
|
package/src/styles/index.css
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/* Misc styles */
|
|
2
|
-
@import url("./utils/reset.css");
|
|
3
|
-
@import url("./utils/variables.css");
|
|
4
|
-
|
|
5
|
-
/* Styles used in multiple components */
|
|
6
|
-
@import url("./components/shared/base-alert.css");
|
|
7
|
-
@import url("./components/shared/base-dialog.css");
|
|
8
|
-
@import url("./components/shared/base-dismiss-button.css");
|
|
9
|
-
|
|
10
|
-
/* Components */
|
|
11
|
-
@import url("./components/accordion.css");
|
|
12
|
-
@import url("./components/alert.css");
|
|
13
|
-
@import url("./components/app.css");
|
|
14
|
-
@import url("./components/banner.css");
|
|
15
|
-
@import url("./components/button.css");
|
|
16
|
-
@import url("./components/chip.css");
|
|
17
|
-
@import url("./components/divider.css");
|
|
18
|
-
@import url("./components/drawer.css");
|
|
19
|
-
@import url("./components/field.css");
|
|
20
|
-
@import url("./components/flex.css");
|
|
21
|
-
@import url("./components/heading.css");
|
|
22
|
-
@import url("./components/highlight.css");
|
|
23
|
-
@import url("./components/link.css");
|
|
24
|
-
@import url("./components/meter.css");
|
|
25
|
-
@import url("./components/modal.css");
|
|
26
|
-
@import url("./components/progress.css");
|
|
27
|
-
@import url("./components/quote.css");
|
|
28
|
-
@import url("./components/skeleton.css");
|
|
29
|
-
@import url("./components/skip-link.css");
|
|
30
|
-
@import url("./components/slider.css");
|
|
31
|
-
@import url("./components/spinner.css");
|
|
32
|
-
@import url("./components/switch.css");
|
|
33
|
-
@import url("./components/table.css");
|
|
34
|
-
@import url("./components/text.css");
|
|
35
|
-
@import url("./components/visually-hidden.css");
|
|
36
|
-
|
|
37
|
-
/*
|
|
38
|
-
* Card needs to be loaded after Link so .card-title[href] in the former
|
|
39
|
-
* overrides the same selector in the latter without needing "!important"
|
|
40
|
-
* declarations or specificity hacks.
|
|
41
|
-
*/
|
|
42
|
-
@import url("./components/card.css");
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
*,
|
|
2
|
-
*::before,
|
|
3
|
-
*::after {
|
|
4
|
-
box-sizing: border-box;
|
|
5
|
-
margin: 0;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
:where(:focus-visible) {
|
|
9
|
-
outline: var(--border-m) solid var(--color-brand-5);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
html {
|
|
13
|
-
text-size-adjust: none;
|
|
14
|
-
color-scheme: light dark;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
body {
|
|
18
|
-
margin: 0;
|
|
19
|
-
background-color: var(--color-body);
|
|
20
|
-
color: var(--color-body-text);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
img,
|
|
24
|
-
picture,
|
|
25
|
-
video,
|
|
26
|
-
iframe {
|
|
27
|
-
max-width: 100%;
|
|
28
|
-
display: block;
|
|
29
|
-
}
|
|
@@ -1,212 +0,0 @@
|
|
|
1
|
-
:root,
|
|
2
|
-
::backdrop {
|
|
3
|
-
/* Brand */
|
|
4
|
-
--color-brand-1: light-dark(#08003b, #e9f0ff);
|
|
5
|
-
--color-brand-2: light-dark(#190074, #cad6ff);
|
|
6
|
-
--color-brand-3: light-dark(#290fa3, #9fb0ff);
|
|
7
|
-
--color-brand-4: light-dark(#3c35cb, #7382ff);
|
|
8
|
-
--color-brand-5: light-dark(#545be7, #5961ee);
|
|
9
|
-
--color-brand-6: light-dark(#6f7dff, #4344cf);
|
|
10
|
-
--color-brand-7: light-dark(#93a4ff, #3124b1);
|
|
11
|
-
--color-brand-8: light-dark(#bbc9ff, #230095);
|
|
12
|
-
--color-brand-9: light-dark(#e5edff, #0b004a);
|
|
13
|
-
--color-brand-transparent: light-dark(#545be766, #5961ee80);
|
|
14
|
-
--color-brand-extra-transparent: light-dark(#545be733, #5961ee59);
|
|
15
|
-
|
|
16
|
-
/* Red */
|
|
17
|
-
--color-red-1: light-dark(#240000, #ffe3dc);
|
|
18
|
-
--color-red-2: light-dark(#4d0000, #ffc3b6);
|
|
19
|
-
--color-red-3: light-dark(#7a0000, #ff8875);
|
|
20
|
-
--color-red-4: light-dark(#a90000, #f45441);
|
|
21
|
-
--color-red-5: light-dark(#cc2a1b, #d33223);
|
|
22
|
-
--color-red-6: light-dark(#f0503d, #b30000);
|
|
23
|
-
--color-red-7: light-dark(#ff7c68, #8d0000);
|
|
24
|
-
--color-red-8: light-dark(#ffb4a5, #6c0000);
|
|
25
|
-
--color-red-9: light-dark(#ffe3dc, #340000);
|
|
26
|
-
--color-red-transparent: light-dark(#cc2a1b66, #d3322380);
|
|
27
|
-
--color-red-extra-transparent: light-dark(#cc2a1b33, #d3322359);
|
|
28
|
-
|
|
29
|
-
/* Orange */
|
|
30
|
-
--color-orange-1: light-dark(#1c0300, #ffe5d0);
|
|
31
|
-
--color-orange-2: light-dark(#3e1200, #ffc5a0);
|
|
32
|
-
--color-orange-3: light-dark(#632500, #ff9559);
|
|
33
|
-
--color-orange-4: light-dark(#8b3a00, #d97234);
|
|
34
|
-
--color-orange-5: light-dark(#b45100, #ba570d);
|
|
35
|
-
--color-orange-6: light-dark(#d76f04, #9c3b00);
|
|
36
|
-
--color-orange-7: light-dark(#f98f3a, #782700);
|
|
37
|
-
--color-orange-8: light-dark(#ffb87e, #5c1900);
|
|
38
|
-
--color-orange-9: light-dark(#ffe6cc, #2c0400);
|
|
39
|
-
--color-orange-transparent: light-dark(#b4510066, #ba570d80);
|
|
40
|
-
--color-orange-extra-transparent: light-dark(#b4510033, #ba570d59);
|
|
41
|
-
|
|
42
|
-
/* Yellow */
|
|
43
|
-
--color-yellow-1: light-dark(#140900, #fdf4d5);
|
|
44
|
-
--color-yellow-2: light-dark(#2f1e00, #fadfa6);
|
|
45
|
-
--color-yellow-3: light-dark(#4e3700, #fdd171);
|
|
46
|
-
--color-yellow-4: light-dark(#7a5700, #dfaf3f);
|
|
47
|
-
--color-yellow-5: light-dark(#a57c00, #c69720);
|
|
48
|
-
--color-yellow-6: light-dark(#c89808, #a17807);
|
|
49
|
-
--color-yellow-7: light-dark(#dfb22b, #750);
|
|
50
|
-
--color-yellow-8: light-dark(#efcb72, #4e3700);
|
|
51
|
-
--color-yellow-9: light-dark(#f8edc1, #211500);
|
|
52
|
-
--color-yellow-transparent: light-dark(#a57c0066, #a57c0080);
|
|
53
|
-
--color-yellow-extra-transparent: light-dark(#a57c0033, #a57c0059);
|
|
54
|
-
|
|
55
|
-
/* Green */
|
|
56
|
-
--color-green-1: light-dark(#011000, #dff4d3);
|
|
57
|
-
--color-green-2: light-dark(#0c2a00, #bbe7a5);
|
|
58
|
-
--color-green-3: light-dark(#1d4600, #8ecb6b);
|
|
59
|
-
--color-green-4: light-dark(#2f6500, #63a736);
|
|
60
|
-
--color-green-5: light-dark(#438500, #498b0f);
|
|
61
|
-
--color-green-6: light-dark(#5fa500, #2e7000);
|
|
62
|
-
--color-green-7: light-dark(#7dc53a, #1c5400);
|
|
63
|
-
--color-green-8: light-dark(#a4e472, #113f00);
|
|
64
|
-
--color-green-9: light-dark(#dafbc4, #011b00);
|
|
65
|
-
--color-green-transparent: light-dark(#43850066, #498b0f80);
|
|
66
|
-
--color-green-extra-transparent: light-dark(#43850033, #498b0f59);
|
|
67
|
-
|
|
68
|
-
/* Sky */
|
|
69
|
-
--color-sky-1: light-dark(#001011, #c8f6f5);
|
|
70
|
-
--color-sky-2: light-dark(#002a2b, #9ee7e7);
|
|
71
|
-
--color-sky-3: light-dark(#004747, #61c7c8);
|
|
72
|
-
--color-sky-4: light-dark(#006566, #3aa4a5);
|
|
73
|
-
--color-sky-5: light-dark(#008586, #0b8889);
|
|
74
|
-
--color-sky-6: light-dark(#00a7a8, #006d6f);
|
|
75
|
-
--color-sky-7: light-dark(#00c8c9, #005254);
|
|
76
|
-
--color-sky-8: light-dark(#76e2e2, #003e3f);
|
|
77
|
-
--color-sky-9: light-dark(#caf9f8, #001a1b);
|
|
78
|
-
--color-sky-transparent: light-dark(#00858666, #0b888980);
|
|
79
|
-
--color-sky-extra-transparent: light-dark(#00858633, #0b888959);
|
|
80
|
-
|
|
81
|
-
/* Blue */
|
|
82
|
-
--color-blue-1: light-dark(#00003e, #ddf0ff);
|
|
83
|
-
--color-blue-2: light-dark(#00007a, #b9d9ff);
|
|
84
|
-
--color-blue-3: light-dark(#002b97, #7eb4ff);
|
|
85
|
-
--color-blue-4: light-dark(#004abd, #418dff);
|
|
86
|
-
--color-blue-5: light-dark(#1c69e3, #2370ea);
|
|
87
|
-
--color-blue-6: light-dark(#3988ff, #0053cb);
|
|
88
|
-
--color-blue-7: light-dark(#74adff, #0035ac);
|
|
89
|
-
--color-blue-8: light-dark(#a9cfff, #001a95);
|
|
90
|
-
--color-blue-9: light-dark(#ddf0ff, #005);
|
|
91
|
-
--color-blue-transparent: light-dark(#1c69e366, #2370ea80);
|
|
92
|
-
--color-blue-extra-transparent: light-dark(#1c69e333, #2370ea59);
|
|
93
|
-
|
|
94
|
-
/* Purple */
|
|
95
|
-
--color-purple-1: light-dark(#170029, #fbe4ff);
|
|
96
|
-
--color-purple-2: light-dark(#370054, #edc4ff);
|
|
97
|
-
--color-purple-3: light-dark(#5a0085, #d88eff);
|
|
98
|
-
--color-purple-4: light-dark(#7819a8, #b864ef);
|
|
99
|
-
--color-purple-5: light-dark(#9640ca, #9c47d1);
|
|
100
|
-
--color-purple-6: light-dark(#b562ea, #8127b3);
|
|
101
|
-
--color-purple-7: light-dark(#ce8dfc, #660095);
|
|
102
|
-
--color-purple-8: light-dark(#e8b6ff, #4f0076);
|
|
103
|
-
--color-purple-9: light-dark(#fbe4ff, #23003a);
|
|
104
|
-
--color-purple-transparent: light-dark(#9640ca66, #9c47d180);
|
|
105
|
-
--color-purple-extra-transparent: light-dark(#9640ca33, #9c47d159);
|
|
106
|
-
|
|
107
|
-
/* Magenta */
|
|
108
|
-
--color-magenta-1: light-dark(#21000c, #ffe1ef);
|
|
109
|
-
--color-magenta-2: light-dark(#480023, #ffbdd9);
|
|
110
|
-
--color-magenta-3: light-dark(#73003d, #ff7db8);
|
|
111
|
-
--color-magenta-4: light-dark(#9b0058, #ea5096);
|
|
112
|
-
--color-magenta-5: light-dark(#c32775, #ca2f7b);
|
|
113
|
-
--color-magenta-6: light-dark(#e45193, #aa0061);
|
|
114
|
-
--color-magenta-7: light-dark(#fe7cb1, #850048);
|
|
115
|
-
--color-magenta-8: light-dark(#ffadd0, #660035);
|
|
116
|
-
--color-magenta-9: light-dark(#ffe1f0, #300015);
|
|
117
|
-
--color-magenta-transparent: light-dark(#c3277566, #ca2f7b80);
|
|
118
|
-
--color-magenta-extra-transparent: light-dark(#c3277533, #ca2f7b59);
|
|
119
|
-
|
|
120
|
-
/* Gray */
|
|
121
|
-
--color-gray-1: light-dark(#090b0f, #ebeff3);
|
|
122
|
-
--color-gray-2: light-dark(#202226, #d4d8dc);
|
|
123
|
-
--color-gray-3: light-dark(#383b3f, #b1b4b9);
|
|
124
|
-
--color-gray-4: light-dark(#53555a, #8f9297);
|
|
125
|
-
--color-gray-5: light-dark(#6f7276, #75787c);
|
|
126
|
-
--color-gray-6: light-dark(#8d8f94, #5b5e62);
|
|
127
|
-
--color-gray-7: light-dark(#abaeb3, #424549);
|
|
128
|
-
--color-gray-8: light-dark(#cbced3, #303337);
|
|
129
|
-
--color-gray-9: light-dark(#eceff4, #121417);
|
|
130
|
-
--color-gray-transparent: light-dark(#6f727666, #75787c80);
|
|
131
|
-
--color-gray-extra-transparent: light-dark(#6f727633, #75787c59);
|
|
132
|
-
|
|
133
|
-
/* Semantic colors */
|
|
134
|
-
--color-body: light-dark(#f9fafc, #14161a);
|
|
135
|
-
--color-body-alt: light-dark(#fff, #010203);
|
|
136
|
-
--color-body-text: light-dark(#030305, #fff);
|
|
137
|
-
--color-body-text-alt: light-dark(#404247, #ccced0);
|
|
138
|
-
--color-shadow: light-dark(#45484c26, #00000166);
|
|
139
|
-
--color-outline: light-dark(#d8dbe0, #434549);
|
|
140
|
-
|
|
141
|
-
/* Font sizes */
|
|
142
|
-
--font-size-xs: clamp(0.6944rem, 0.6855rem + 0.0446vw, 0.72rem);
|
|
143
|
-
--font-size-s: clamp(0.8331rem, 0.8099rem + 0.1163vw, 0.9rem);
|
|
144
|
-
--font-size-m: clamp(1rem, 0.9565rem + 0.2174vw, 1.125rem);
|
|
145
|
-
--font-size-l: clamp(1.2rem, 1.1283rem + 0.3587vw, 1.4063rem);
|
|
146
|
-
--font-size-xl: clamp(1.44rem, 1.3293rem + 0.5533vw, 1.7581rem);
|
|
147
|
-
--font-size-2xl: clamp(1.7281rem, 1.5649rem + 0.8163vw, 2.1975rem);
|
|
148
|
-
--font-size-3xl: clamp(2.0738rem, 1.8396rem + 1.1707vw, 2.7469rem);
|
|
149
|
-
--font-size-4xl: clamp(2.4881rem, 2.1594rem + 1.6435vw, 3.4331rem);
|
|
150
|
-
|
|
151
|
-
/* Font weights */
|
|
152
|
-
--font-weight-light: 300;
|
|
153
|
-
--font-weight-normal: 400;
|
|
154
|
-
--font-weight-semibold: 600;
|
|
155
|
-
--font-weight-bold: 700;
|
|
156
|
-
--font-weight-black: 900;
|
|
157
|
-
|
|
158
|
-
/* Font families */
|
|
159
|
-
--font-family-body: "Avenir Next", avenir, corbel, source-sans-pro,
|
|
160
|
-
"DejaVu Sans", ui-sans-serif, sans-serif;
|
|
161
|
-
--font-family-heading: seravek, "Gill Sans Nova", cantarell, verdana,
|
|
162
|
-
"DejaVu Sans", ui-sans-serif, sans-serif;
|
|
163
|
-
--font-family-mono: ui-monospace, "Source Code Pro", ui-monospace, monospace;
|
|
164
|
-
|
|
165
|
-
/* Spacing */
|
|
166
|
-
--space-none: 0;
|
|
167
|
-
--space-3xs: clamp(4px, 3.6528px + 0.1087vw, 5px);
|
|
168
|
-
--space-2xs: clamp(8px, 7.6528px + 0.1087vw, 9px);
|
|
169
|
-
--space-xs: clamp(12px, 11.304px + 0.2174vw, 14px);
|
|
170
|
-
--space-s: clamp(16px, 15.304px + 0.2174vw, 18px);
|
|
171
|
-
--space-m: clamp(24px, 22.9568px + 0.3261vw, 27px);
|
|
172
|
-
--space-l: clamp(32px, 30.608px + 0.4348vw, 36px);
|
|
173
|
-
--space-xl: clamp(48px, 45.9136px + 0.6522vw, 54px);
|
|
174
|
-
--space-2xl: clamp(64px, 61.2176px + 0.8696vw, 72px);
|
|
175
|
-
--space-3xl: clamp(96px, 91.8256px + 1.3043vw, 108px);
|
|
176
|
-
--space-body-x: clamp(20px, 17.5652px + 0.7609vw, 27px);
|
|
177
|
-
--space-body-y: 20px;
|
|
178
|
-
|
|
179
|
-
/* Radii */
|
|
180
|
-
--radius-none: 0;
|
|
181
|
-
--radius-s: 3px;
|
|
182
|
-
--radius-m: 6px;
|
|
183
|
-
--radius-l: 12px;
|
|
184
|
-
--radius-xl: 24px;
|
|
185
|
-
--radius-2xl: 64px;
|
|
186
|
-
--radius-full: 9999px;
|
|
187
|
-
|
|
188
|
-
/* Shadows */
|
|
189
|
-
--shadow-none: none;
|
|
190
|
-
--shadow-s: 0 1px 3px -1px var(--color-shadow);
|
|
191
|
-
--shadow-m: 0 1px 7px -1px var(--color-shadow);
|
|
192
|
-
--shadow-l: var(--shadow-s), 0 1px 11px -1px var(--color-shadow);
|
|
193
|
-
--shadow-xl: var(--shadow-m), 0 1px 15px -1px var(--color-shadow);
|
|
194
|
-
|
|
195
|
-
/* Border widths */
|
|
196
|
-
--border-none: 0;
|
|
197
|
-
--border-s: 1px;
|
|
198
|
-
--border-m: 2px;
|
|
199
|
-
--border-l: 5px;
|
|
200
|
-
--border-xl: 8px;
|
|
201
|
-
|
|
202
|
-
/* Opacity */
|
|
203
|
-
--opacity-disabled: light-dark(0.65, 0.5);
|
|
204
|
-
|
|
205
|
-
/* Easing functions */
|
|
206
|
-
--ease-default: cubic-bezier(0.8, 0.5, 0.4, 0.9);
|
|
207
|
-
|
|
208
|
-
/* Durations */
|
|
209
|
-
--duration-short: 100ms;
|
|
210
|
-
--duration-medium: 150ms;
|
|
211
|
-
--duration-long: 250ms;
|
|
212
|
-
}
|
package/src/svg/check-thick.svg
DELETED
package/src/svg/check.svg
DELETED
package/src/svg/dropdown.svg
DELETED
package/src/svg/external.svg
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24">
|
|
2
|
-
<path fill="none" stroke="#ffffff" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
|
|
3
|
-
d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6m4-3h6v6m-11 5L21 3" />
|
|
4
|
-
</svg>
|
package/src/svg/info-thick.svg
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
|
|
2
|
-
<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"
|
|
3
|
-
stroke-width="64" d="M196 220h64v172" />
|
|
4
|
-
<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10"
|
|
5
|
-
stroke-width="64" d="M187 396h138" />
|
|
6
|
-
<circle cx="253 " cy="118" r="44" />
|
|
7
|
-
</svg>
|
package/src/svg/info.svg
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
|
|
2
|
-
<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"
|
|
3
|
-
stroke-width="40" d="M196 220h64v172" />
|
|
4
|
-
<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10"
|
|
5
|
-
stroke-width="40" d="M187 396h138" />
|
|
6
|
-
<path d="M256 160a32 32 0 1132-32 32 32 0 01-32 32z" />
|
|
7
|
-
</svg>
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
|
|
2
|
-
<path
|
|
3
|
-
d="M256 80c-8.66 0-16.58 7.36-16 16l8 216a8 8 0 008 8h0a8 8 0 008-8l8-216c.58-8.64-7.34-16-16-16z"
|
|
4
|
-
fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"
|
|
5
|
-
stroke-width="64" />
|
|
6
|
-
<circle cx="256" cy="436" r="24" fill="none" stroke="currentColor" stroke-linecap="round"
|
|
7
|
-
stroke-linejoin="round" stroke-width="48" />
|
|
8
|
-
</svg>
|
package/src/svg/warning.svg
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
|
|
2
|
-
<path
|
|
3
|
-
d="M256 80c-8.66 0-16.58 7.36-16 16l8 216a8 8 0 008 8h0a8 8 0 008-8l8-216c.58-8.64-7.34-16-16-16z"
|
|
4
|
-
fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"
|
|
5
|
-
stroke-width="32" />
|
|
6
|
-
<circle cx="256" cy="416" r="16" fill="none" stroke="currentColor" stroke-linecap="round"
|
|
7
|
-
stroke-linejoin="round" stroke-width="32" />
|
|
8
|
-
</svg>
|
package/src/svg/x-circle.svg
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
|
|
2
|
-
<path
|
|
3
|
-
d="M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208 208-93.31 208-208S370.69 48 256 48zm75.31 260.69a16 16 0 11-22.62 22.62L256 278.63l-52.69 52.68a16 16 0 01-22.62-22.62L233.37 256l-52.68-52.69a16 16 0 0122.62-22.62L256 233.37l52.69-52.68a16 16 0 0122.62 22.62L278.63 256z" />
|
|
4
|
-
</svg>
|
package/src/svg/x-thick.svg
DELETED
package/src/svg/x.svg
DELETED