@sveltia/ui 0.1.5 → 0.2.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/package.json +22 -11
- package/package/components/composite/calendar.svelte +0 -240
- package/package/components/composite/calendar.svelte.d.ts +0 -20
- package/package/components/composite/checkbox-group.svelte +0 -43
- package/package/components/composite/checkbox-group.svelte.d.ts +0 -24
- package/package/components/composite/combobox.svelte +0 -206
- package/package/components/composite/combobox.svelte.d.ts +0 -32
- package/package/components/composite/disclosure.svelte +0 -60
- package/package/components/composite/disclosure.svelte.d.ts +0 -26
- package/package/components/composite/grid.svelte +0 -24
- package/package/components/composite/grid.svelte.d.ts +0 -22
- package/package/components/composite/listbox.svelte +0 -63
- package/package/components/composite/listbox.svelte.d.ts +0 -39
- package/package/components/composite/menu-item-group.svelte +0 -31
- package/package/components/composite/menu-item-group.svelte.d.ts +0 -23
- package/package/components/composite/menu.svelte +0 -44
- package/package/components/composite/menu.svelte.d.ts +0 -32
- package/package/components/composite/radio-button-group.svelte +0 -45
- package/package/components/composite/radio-button-group.svelte.d.ts +0 -27
- package/package/components/composite/select-button-group.svelte +0 -71
- package/package/components/composite/select-button-group.svelte.d.ts +0 -31
- package/package/components/composite/select.svelte +0 -34
- package/package/components/composite/select.svelte.d.ts +0 -26
- package/package/components/composite/tab-list.svelte +0 -76
- package/package/components/composite/tab-list.svelte.d.ts +0 -42
- package/package/components/core/button.svelte +0 -205
- package/package/components/core/button.svelte.d.ts +0 -78
- package/package/components/core/checkbox.svelte +0 -104
- package/package/components/core/checkbox.svelte.d.ts +0 -30
- package/package/components/core/dialog.svelte +0 -274
- package/package/components/core/dialog.svelte.d.ts +0 -45
- package/package/components/core/grid-cell.svelte +0 -14
- package/package/components/core/grid-cell.svelte.d.ts +0 -21
- package/package/components/core/group.svelte +0 -31
- package/package/components/core/group.svelte.d.ts +0 -23
- package/package/components/core/icon.svelte +0 -21
- package/package/components/core/icon.svelte.d.ts +0 -20
- package/package/components/core/menu-button.svelte +0 -57
- package/package/components/core/menu-button.svelte.d.ts +0 -30
- package/package/components/core/menu-item-checkbox.svelte +0 -24
- package/package/components/core/menu-item-checkbox.svelte.d.ts +0 -24
- package/package/components/core/menu-item-radio.svelte +0 -19
- package/package/components/core/menu-item-radio.svelte.d.ts +0 -24
- package/package/components/core/menu-item.svelte +0 -113
- package/package/components/core/menu-item.svelte.d.ts +0 -29
- package/package/components/core/number-input.svelte +0 -112
- package/package/components/core/number-input.svelte.d.ts +0 -28
- package/package/components/core/option.svelte +0 -59
- package/package/components/core/option.svelte.d.ts +0 -35
- package/package/components/core/password-input.svelte +0 -81
- package/package/components/core/password-input.svelte.d.ts +0 -25
- package/package/components/core/radio-button.svelte +0 -93
- package/package/components/core/radio-button.svelte.d.ts +0 -27
- package/package/components/core/row-group.svelte +0 -14
- package/package/components/core/row-group.svelte.d.ts +0 -21
- package/package/components/core/row.svelte +0 -14
- package/package/components/core/row.svelte.d.ts +0 -23
- package/package/components/core/search-bar.svelte +0 -90
- package/package/components/core/search-bar.svelte.d.ts +0 -35
- package/package/components/core/select-button.svelte +0 -31
- package/package/components/core/select-button.svelte.d.ts +0 -35
- package/package/components/core/separator.svelte +0 -28
- package/package/components/core/separator.svelte.d.ts +0 -20
- package/package/components/core/slider.svelte +0 -270
- package/package/components/core/slider.svelte.d.ts +0 -35
- package/package/components/core/spacer.svelte +0 -22
- package/package/components/core/spacer.svelte.d.ts +0 -19
- package/package/components/core/switch.svelte +0 -80
- package/package/components/core/switch.svelte.d.ts +0 -27
- package/package/components/core/tab-panel.svelte +0 -23
- package/package/components/core/tab-panel.svelte.d.ts +0 -25
- package/package/components/core/tab.svelte +0 -22
- package/package/components/core/tab.svelte.d.ts +0 -31
- package/package/components/core/text-area.svelte +0 -90
- package/package/components/core/text-area.svelte.d.ts +0 -43
- package/package/components/core/text-input.svelte +0 -145
- package/package/components/core/text-input.svelte.d.ts +0 -53
- package/package/components/core/toolbar.svelte +0 -74
- package/package/components/core/toolbar.svelte.d.ts +0 -26
- package/package/components/editor/markdown.svelte +0 -78
- package/package/components/editor/markdown.svelte.d.ts +0 -19
- package/package/components/helpers/group.d.ts +0 -37
- package/package/components/helpers/group.js +0 -246
- package/package/components/helpers/popup.d.ts +0 -26
- package/package/components/helpers/popup.js +0 -154
- package/package/components/helpers/util.d.ts +0 -1
- package/package/components/helpers/util.js +0 -8
- package/package/components/util/app-shell.svelte +0 -284
- package/package/components/util/app-shell.svelte.d.ts +0 -28
- package/package/components/util/misc.d.ts +0 -2
- package/package/components/util/misc.js +0 -22
- package/package/components/util/popup.svelte +0 -145
- package/package/components/util/popup.svelte.d.ts +0 -37
- package/package/components/util/portal.svelte +0 -34
- package/package/components/util/portal.svelte.d.ts +0 -21
- package/package/index.d.ts +0 -41
- package/package/index.js +0 -66
- package/package/locales/en.d.ts +0 -42
- package/package/locales/en.js +0 -41
- package/package/locales/ja.d.ts +0 -42
- package/package/locales/ja.js +0 -41
- package/package/styles/core.scss +0 -134
- package/package/styles/variables.scss +0 -114
- package/package/typedef.d.ts +0 -0
- package/package/typedef.js +0 -0
package/package/locales/en.d.ts
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
export namespace strings {
|
|
2
|
-
namespace _ {
|
|
3
|
-
const ok: string;
|
|
4
|
-
const cancel: string;
|
|
5
|
-
const close: string;
|
|
6
|
-
const clear: string;
|
|
7
|
-
const remove: string;
|
|
8
|
-
const collapse: string;
|
|
9
|
-
const expand: string;
|
|
10
|
-
}
|
|
11
|
-
namespace calendar {
|
|
12
|
-
const year: string;
|
|
13
|
-
const previous_decade: string;
|
|
14
|
-
const next_decade: string;
|
|
15
|
-
const month: string;
|
|
16
|
-
const previous_month: string;
|
|
17
|
-
const next_month: string;
|
|
18
|
-
const today: string;
|
|
19
|
-
}
|
|
20
|
-
namespace combobox {
|
|
21
|
-
const select_an_option: string;
|
|
22
|
-
}
|
|
23
|
-
namespace number_input {
|
|
24
|
-
const decrease: string;
|
|
25
|
-
const increase: string;
|
|
26
|
-
}
|
|
27
|
-
namespace password_input {
|
|
28
|
-
const show_password: string;
|
|
29
|
-
}
|
|
30
|
-
namespace markdown_editor {
|
|
31
|
-
const markdown_editor_1: string;
|
|
32
|
-
export { markdown_editor_1 as markdown_editor };
|
|
33
|
-
export const bold: string;
|
|
34
|
-
export const italic: string;
|
|
35
|
-
export const code: string;
|
|
36
|
-
export const link: string;
|
|
37
|
-
export const heading_x: string;
|
|
38
|
-
export const quote: string;
|
|
39
|
-
export const bulleted_list: string;
|
|
40
|
-
export const numbered_list: string;
|
|
41
|
-
}
|
|
42
|
-
}
|
package/package/locales/en.js
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
export const strings = {
|
|
2
|
-
_: {
|
|
3
|
-
ok: 'OK',
|
|
4
|
-
cancel: 'Cancel',
|
|
5
|
-
close: 'Close',
|
|
6
|
-
clear: 'Clear',
|
|
7
|
-
remove: 'Remove',
|
|
8
|
-
collapse: 'Collapse',
|
|
9
|
-
expand: 'Expand',
|
|
10
|
-
},
|
|
11
|
-
calendar: {
|
|
12
|
-
year: 'Year',
|
|
13
|
-
previous_decade: 'Previous Decade',
|
|
14
|
-
next_decade: 'Next Decade',
|
|
15
|
-
month: 'Month',
|
|
16
|
-
previous_month: 'Previous Month',
|
|
17
|
-
next_month: 'Next Month',
|
|
18
|
-
today: 'Today',
|
|
19
|
-
},
|
|
20
|
-
combobox: {
|
|
21
|
-
select_an_option: 'Select an option…',
|
|
22
|
-
},
|
|
23
|
-
number_input: {
|
|
24
|
-
decrease: 'Decrease',
|
|
25
|
-
increase: 'Increase',
|
|
26
|
-
},
|
|
27
|
-
password_input: {
|
|
28
|
-
show_password: 'Show Password',
|
|
29
|
-
},
|
|
30
|
-
markdown_editor: {
|
|
31
|
-
markdown_editor: 'Markdown Editor',
|
|
32
|
-
bold: 'Bold',
|
|
33
|
-
italic: 'Italic',
|
|
34
|
-
code: 'Code',
|
|
35
|
-
link: 'Link',
|
|
36
|
-
heading_x: 'Heading {level}',
|
|
37
|
-
quote: 'Quote',
|
|
38
|
-
bulleted_list: 'Bulleted List',
|
|
39
|
-
numbered_list: 'Numbered List',
|
|
40
|
-
},
|
|
41
|
-
};
|
package/package/locales/ja.d.ts
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
export namespace strings {
|
|
2
|
-
namespace _ {
|
|
3
|
-
const ok: string;
|
|
4
|
-
const cancel: string;
|
|
5
|
-
const close: string;
|
|
6
|
-
const clear: string;
|
|
7
|
-
const remove: string;
|
|
8
|
-
const collapse: string;
|
|
9
|
-
const expand: string;
|
|
10
|
-
}
|
|
11
|
-
namespace calendar {
|
|
12
|
-
const year: string;
|
|
13
|
-
const previous_decade: string;
|
|
14
|
-
const next_decade: string;
|
|
15
|
-
const month: string;
|
|
16
|
-
const previous_month: string;
|
|
17
|
-
const next_month: string;
|
|
18
|
-
const today: string;
|
|
19
|
-
}
|
|
20
|
-
namespace combobox {
|
|
21
|
-
const select_an_option: string;
|
|
22
|
-
}
|
|
23
|
-
namespace number_input {
|
|
24
|
-
const decrease: string;
|
|
25
|
-
const increase: string;
|
|
26
|
-
}
|
|
27
|
-
namespace password_input {
|
|
28
|
-
const show_password: string;
|
|
29
|
-
}
|
|
30
|
-
namespace markdown_editor {
|
|
31
|
-
const markdown_editor_1: string;
|
|
32
|
-
export { markdown_editor_1 as markdown_editor };
|
|
33
|
-
export const bold: string;
|
|
34
|
-
export const italic: string;
|
|
35
|
-
export const code: string;
|
|
36
|
-
export const link: string;
|
|
37
|
-
export const heading_x: string;
|
|
38
|
-
export const quote: string;
|
|
39
|
-
export const bulleted_list: string;
|
|
40
|
-
export const numbered_list: string;
|
|
41
|
-
}
|
|
42
|
-
}
|
package/package/locales/ja.js
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
export const strings = {
|
|
2
|
-
_: {
|
|
3
|
-
ok: 'OK',
|
|
4
|
-
cancel: 'キャンセル',
|
|
5
|
-
close: '閉じる',
|
|
6
|
-
clear: 'クリア',
|
|
7
|
-
remove: '削除',
|
|
8
|
-
collapse: '折り畳む',
|
|
9
|
-
expand: '広げる',
|
|
10
|
-
},
|
|
11
|
-
calendar: {
|
|
12
|
-
year: '年',
|
|
13
|
-
previous_decade: '前の 10 年',
|
|
14
|
-
next_decade: '次の 10 年',
|
|
15
|
-
month: '月',
|
|
16
|
-
previous_month: '前月',
|
|
17
|
-
next_month: '翌月',
|
|
18
|
-
today: '今日',
|
|
19
|
-
},
|
|
20
|
-
combobox: {
|
|
21
|
-
select_an_option: 'オプションを選択…',
|
|
22
|
-
},
|
|
23
|
-
number_input: {
|
|
24
|
-
decrease: '減らす',
|
|
25
|
-
increase: '増やす',
|
|
26
|
-
},
|
|
27
|
-
password_input: {
|
|
28
|
-
show_password: 'パスワードを表示',
|
|
29
|
-
},
|
|
30
|
-
markdown_editor: {
|
|
31
|
-
markdown_editor: 'Markdown エディター',
|
|
32
|
-
bold: '太字',
|
|
33
|
-
italic: '斜体',
|
|
34
|
-
code: 'コード',
|
|
35
|
-
link: 'リンク',
|
|
36
|
-
heading_x: '見出し {level}',
|
|
37
|
-
quote: '引用',
|
|
38
|
-
bulleted_list: '番号なしリスト',
|
|
39
|
-
numbered_list: '番号付きリスト',
|
|
40
|
-
},
|
|
41
|
-
};
|
package/package/styles/core.scss
DELETED
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
@use "variables.scss";
|
|
2
|
-
|
|
3
|
-
// https://fonts.google.com/share?selection.family=Merriweather%20Sans:ital,wght@0,300;0,600;1,300%7CNoto%20Sans%20Mono
|
|
4
|
-
@import url("https://fonts.googleapis.com/css2?family=Merriweather+Sans:ital,wght@0,300;0,600;1,300&family=Noto+Sans+Mono&display=swap");
|
|
5
|
-
// https://fonts.google.com/icons?icon.set=Material+Symbols
|
|
6
|
-
// Use `font-display: block;` @see https://stackoverflow.com/q/41710834
|
|
7
|
-
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=block");
|
|
8
|
-
|
|
9
|
-
.material-symbols-outlined {
|
|
10
|
-
font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 24;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
* {
|
|
14
|
-
scroll-behavior: smooth;
|
|
15
|
-
box-sizing: border-box;
|
|
16
|
-
border-width: 0;
|
|
17
|
-
border-style: solid;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
:focus {
|
|
21
|
-
z-index: 1;
|
|
22
|
-
outline-width: 0;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
:focus-visible {
|
|
26
|
-
outline-offset: -2px;
|
|
27
|
-
outline-width: 2px !important;
|
|
28
|
-
outline-style: solid;
|
|
29
|
-
outline-color: hsl(var(--hue) 100% 50% / 25%);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
h1,
|
|
33
|
-
h2,
|
|
34
|
-
h3,
|
|
35
|
-
h4,
|
|
36
|
-
h5,
|
|
37
|
-
h6 {
|
|
38
|
-
margin: 0;
|
|
39
|
-
font-weight: var(--default-font-weight-bold);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
strong {
|
|
43
|
-
font-weight: var(--default-font-weight-bold);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
a {
|
|
47
|
-
color: var(--primary-accent-color-lighter);
|
|
48
|
-
text-decoration: none;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
img,
|
|
52
|
-
svg,
|
|
53
|
-
iframe {
|
|
54
|
-
vertical-align: top;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
button,
|
|
58
|
-
input,
|
|
59
|
-
textarea,
|
|
60
|
-
select,
|
|
61
|
-
option {
|
|
62
|
-
font-family: inherit;
|
|
63
|
-
font-size: inherit;
|
|
64
|
-
color: inherit;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
p,
|
|
68
|
-
li {
|
|
69
|
-
line-height: 1.75;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
[role="grid"] {
|
|
73
|
-
display: table;
|
|
74
|
-
width: 100%;
|
|
75
|
-
|
|
76
|
-
.colgroup {
|
|
77
|
-
display: table-column-group;
|
|
78
|
-
|
|
79
|
-
.col {
|
|
80
|
-
display: table-column;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
code,
|
|
86
|
-
pre {
|
|
87
|
-
font-family: var(--monospace-font-family);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
pre {
|
|
91
|
-
line-height: 1.5;
|
|
92
|
-
-webkit-user-select: text;
|
|
93
|
-
user-select: text;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
dialog {
|
|
97
|
-
position: fixed;
|
|
98
|
-
inset: 0;
|
|
99
|
-
outline: 0;
|
|
100
|
-
margin: 0;
|
|
101
|
-
border: 0;
|
|
102
|
-
padding: 0;
|
|
103
|
-
width: 100%;
|
|
104
|
-
max-width: 100%;
|
|
105
|
-
height: 100%;
|
|
106
|
-
max-height: 100%;
|
|
107
|
-
color: inherit;
|
|
108
|
-
background: transparent;
|
|
109
|
-
-webkit-user-select: none;
|
|
110
|
-
user-select: none;
|
|
111
|
-
touch-action: none;
|
|
112
|
-
cursor: default;
|
|
113
|
-
|
|
114
|
-
&::backdrop {
|
|
115
|
-
background: transparent;
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.thead[role="rowgroup"] {
|
|
120
|
-
display: table-header-group;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.tbody[role="rowgroup"] {
|
|
124
|
-
display: table-row-group;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
[role="row"] {
|
|
128
|
-
display: table-row;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
[role="columnheader"],
|
|
132
|
-
[role="gridcell"] {
|
|
133
|
-
display: table-cell;
|
|
134
|
-
}
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
// Base HSL
|
|
3
|
-
--hue: 210;
|
|
4
|
-
// Foreground
|
|
5
|
-
--highlight-foreground-color: hsl(var(--foreground-color-1-hsl));
|
|
6
|
-
--primary-foreground-color: hsl(var(--foreground-color-2-hsl));
|
|
7
|
-
--secondary-foreground-color: hsl(var(--foreground-color-3-hsl));
|
|
8
|
-
--ternary-foreground-color: hsl(var(--foreground-color-3-hsl));
|
|
9
|
-
--disabled-foreground-color: hsl(var(--foreground-color-4-hsl));
|
|
10
|
-
--danger-foreground-color: hsl(var(--danger-color));
|
|
11
|
-
// Background
|
|
12
|
-
--highlight-background-color: hsl(var(--background-color-5-hsl));
|
|
13
|
-
--content-background-color: hsl(var(--background-color-1-hsl));
|
|
14
|
-
--primary-background-color: hsl(var(--background-color-2-hsl));
|
|
15
|
-
--secondary-background-color: hsl(var(--background-color-3-hsl));
|
|
16
|
-
--secondary-background-color-translucent: hsl(var(--background-color-3-hsl) / 88%);
|
|
17
|
-
--ternary-background-color: hsl(var(--background-color-4-hsl));
|
|
18
|
-
--control-background-color: hsl(var(--background-color-1-hsl));
|
|
19
|
-
--disabled-background-color: hsl(var(--background-color-4-hsl));
|
|
20
|
-
--danger-background-color: hsl(var(--danger-color));
|
|
21
|
-
// Borders
|
|
22
|
-
--primary-border-color: hsl(var(--border-color-1-hsl));
|
|
23
|
-
--secondary-border-color: hsl(var(--border-color-2-hsl));
|
|
24
|
-
--control-border-color: hsl(var(--border-color-2-hsl));
|
|
25
|
-
// Shadows
|
|
26
|
-
--popup-shadow-color: hsl(var(--shadow-color) / 40%);
|
|
27
|
-
--popup-backdrop-color: hsl(var(--shadow-color) / 40%);
|
|
28
|
-
// Fonts
|
|
29
|
-
--default-font-family: "Merriweather Sans", sans-serif;
|
|
30
|
-
--default-font-size: 13px;
|
|
31
|
-
--default-font-weight-regular: 300;
|
|
32
|
-
--default-font-weight-bold: 600;
|
|
33
|
-
--monospace-font-family: "Noto Sans Mono", monospace;
|
|
34
|
-
--monospace-font-size: 13px;
|
|
35
|
-
// Controls
|
|
36
|
-
--control--small--border-width: 1px;
|
|
37
|
-
--control--small--border-radius: 2px;
|
|
38
|
-
--control--small--height: 24px;
|
|
39
|
-
--control--medium--border-width: 1px;
|
|
40
|
-
--control--medium--border-radius: 4px;
|
|
41
|
-
--control--medium--height: 32px;
|
|
42
|
-
--control--large--border-width: 1px;
|
|
43
|
-
--control--large--border-radius: 8px;
|
|
44
|
-
--control--large--height: 40px;
|
|
45
|
-
// Buttons
|
|
46
|
-
--button--small--border-radius: var(--control--small--border-radius);
|
|
47
|
-
--button--small--height: var(--control--small--height);
|
|
48
|
-
--button--medium--border-radius: var(--control--medium--border-radius);
|
|
49
|
-
--button--medium--height: var(--control--medium--height);
|
|
50
|
-
--button--large--border-radius: var(--control--large--border-radius);
|
|
51
|
-
--button--large--height: var(--control--large--height);
|
|
52
|
-
// Options & menu items
|
|
53
|
-
--option--small--border-radius: var(--control--small--border-radius);
|
|
54
|
-
--option--small--height: var(--control--small--height);
|
|
55
|
-
--option--medium--border-radius: var(--control--medium--border-radius);
|
|
56
|
-
--option--medium--height: var(--control--medium--height);
|
|
57
|
-
--option--large--border-radius: var(--control--large--border-radius);
|
|
58
|
-
--option--large--height: var(--control--large--height);
|
|
59
|
-
// Input
|
|
60
|
-
--input--small--border-radius: var(--control--small--border-radius);
|
|
61
|
-
--input--small--height: var(--control--small--height);
|
|
62
|
-
--input--medium--border-radius: var(--control--medium--border-radius);
|
|
63
|
-
--input--medium--height: var(--control--medium--height);
|
|
64
|
-
--input--large--border-radius: var(--control--large--border-radius);
|
|
65
|
-
--input--large--height: var(--control--large--height);
|
|
66
|
-
// Tab
|
|
67
|
-
--tab--small--height: var(--control--small--height);
|
|
68
|
-
--tab--medium--height: var(--control--medium--height);
|
|
69
|
-
--tab--large--height: var(--control--large--height);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
:root[data-theme="light"] {
|
|
73
|
-
--foreground-color-1-hsl: var(--hue) 5% 0%; // highlight
|
|
74
|
-
--foreground-color-2-hsl: var(--hue) 5% 20%; // primary
|
|
75
|
-
--foreground-color-3-hsl: var(--hue) 5% 40%; // secondary
|
|
76
|
-
--foreground-color-4-hsl: var(--hue) 5% 60%; // ternary
|
|
77
|
-
--border-color-1-hsl: var(--hue) 5% 75%; // primary
|
|
78
|
-
--border-color-2-hsl: var(--hue) 5% 80%; // secondary/input
|
|
79
|
-
--background-color-1-hsl: var(--hue) 5% 100%; // content
|
|
80
|
-
--background-color-2-hsl: var(--hue) 5% 98%; // primary
|
|
81
|
-
--background-color-3-hsl: var(--hue) 5% 96%; // secondary/ternary
|
|
82
|
-
--background-color-4-hsl: var(--hue) 5% 94%; // disabled
|
|
83
|
-
--background-color-5-hsl: var(--hue) 5% 80%; // highlight
|
|
84
|
-
--shadow-color: var(--hue) 10% 0%;
|
|
85
|
-
// Accents
|
|
86
|
-
--primary-accent-color: hsl(var(--hue) 80% 45%);
|
|
87
|
-
--primary-accent-color-lighter: hsl(var(--hue) 80% 40%);
|
|
88
|
-
--primary-accent-color-darker: hsl(var(--hue) 80% 50%);
|
|
89
|
-
--primary-accent-color-foreground: hsl(var(--hue) 10% 100%); // white/inverted
|
|
90
|
-
// States
|
|
91
|
-
--danger-color: 0 68% 42%; // firebrick
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
:root[data-theme="dark"] {
|
|
95
|
-
--foreground-color-1-hsl: var(--hue) 10% 100%; // highlight
|
|
96
|
-
--foreground-color-2-hsl: var(--hue) 10% 80%; // primary
|
|
97
|
-
--foreground-color-3-hsl: var(--hue) 10% 60%; // secondary
|
|
98
|
-
--foreground-color-4-hsl: var(--hue) 10% 40%; // ternary
|
|
99
|
-
--border-color-1-hsl: var(--hue) 10% 25%; // primary
|
|
100
|
-
--border-color-2-hsl: var(--hue) 10% 20%; // secondary/input
|
|
101
|
-
--background-color-1-hsl: var(--hue) 10% 8%; // content
|
|
102
|
-
--background-color-2-hsl: var(--hue) 10% 10%; // primary
|
|
103
|
-
--background-color-3-hsl: var(--hue) 10% 12%; // secondary/ternary
|
|
104
|
-
--background-color-4-hsl: var(--hue) 10% 14%; // disabled
|
|
105
|
-
--background-color-5-hsl: var(--hue) 10% 18%; // highlight
|
|
106
|
-
--shadow-color: var(--hue) 10% 0%;
|
|
107
|
-
// Accents
|
|
108
|
-
--primary-accent-color: hsl(var(--hue) 100% 45%); // 4.57 AA w/ #FFF foreground color
|
|
109
|
-
--primary-accent-color-lighter: hsl(var(--hue) 100% 50%);
|
|
110
|
-
--primary-accent-color-darker: hsl(var(--hue) 100% 40%);
|
|
111
|
-
--primary-accent-color-foreground: hsl(var(--hue) 10% 100%); // white
|
|
112
|
-
// States
|
|
113
|
-
--danger-color: 0 68% 42%; // firebrick
|
|
114
|
-
}
|
package/package/typedef.d.ts
DELETED
|
File without changes
|
package/package/typedef.js
DELETED
|
File without changes
|