doom-design-system 0.3.2 → 0.3.4
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 +10 -6
- package/dist/components/Badge/Badge.d.ts +2 -2
- package/dist/components/Badge/Badge.js +4 -4
- package/dist/components/Badge/Badge.module.css +6 -0
- package/dist/components/Button/Button.d.ts +3 -3
- package/dist/components/Button/Button.js +6 -6
- package/dist/components/Button/Button.module.css +31 -7
- package/dist/components/Drawer/Drawer.js +1 -1
- package/dist/components/Drawer/Drawer.module.css +0 -22
- package/dist/components/FileUpload/FileUpload.d.ts +32 -0
- package/dist/components/FileUpload/FileUpload.js +238 -0
- package/dist/components/FileUpload/FileUpload.module.css +335 -0
- package/dist/components/FileUpload/index.d.ts +2 -0
- package/dist/components/FileUpload/index.js +1 -0
- package/dist/components/Layout/Layout.d.ts +12 -8
- package/dist/components/Layout/Layout.js +13 -11
- package/dist/components/Layout/Layout.module.css +29 -0
- package/dist/components/Link/Link.module.css +17 -8
- package/dist/components/Modal/Modal.js +1 -1
- package/dist/components/Modal/Modal.module.css +0 -36
- package/dist/components/Pagination/Pagination.module.css +1 -1
- package/dist/components/Select/Select.module.css +1 -1
- package/dist/components/Sheet/Sheet.js +1 -1
- package/dist/components/Sheet/Sheet.module.css +0 -22
- package/dist/components/Slat/Slat.d.ts +14 -0
- package/dist/components/Slat/Slat.js +27 -0
- package/dist/components/Slat/Slat.module.css +101 -0
- package/dist/components/Slat/index.d.ts +2 -0
- package/dist/components/Slat/index.js +1 -0
- package/dist/components/SplitButton/SplitButton.module.css +1 -1
- package/dist/index.d.ts +40 -38
- package/dist/index.js +40 -38
- package/dist/styles/globals.css +238 -0
- package/dist/styles/themes/definitions.d.ts +3 -3
- package/dist/styles/themes/definitions.js +3 -3
- package/dist/styles/tokens.js +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
.slat {
|
|
2
|
+
background-color: var(--card-bg);
|
|
3
|
+
border: var(--border-width) solid var(--border-strong);
|
|
4
|
+
border-radius: var(--radius);
|
|
5
|
+
padding: var(--spacing-sm) var(--spacing-md);
|
|
6
|
+
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
7
|
+
user-select: none;
|
|
8
|
+
width: 100%;
|
|
9
|
+
}
|
|
10
|
+
@media (max-width: 640px) {
|
|
11
|
+
.slat {
|
|
12
|
+
padding: var(--spacing-sm);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
@media (max-width: 360px) {
|
|
16
|
+
.slat {
|
|
17
|
+
padding: var(--spacing-sm) var(--spacing-md);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
.slat.danger {
|
|
21
|
+
background-color: var(--error);
|
|
22
|
+
color: var(--error-foreground);
|
|
23
|
+
border-color: var(--border-strong);
|
|
24
|
+
}
|
|
25
|
+
.slat.danger > * {
|
|
26
|
+
--primary: var(--primary-foreground);
|
|
27
|
+
--primary-foreground: var(--primary);
|
|
28
|
+
--foreground: var(--primary-foreground);
|
|
29
|
+
--muted-foreground: var(--primary-foreground);
|
|
30
|
+
}
|
|
31
|
+
.slat.success {
|
|
32
|
+
background-color: var(--success);
|
|
33
|
+
color: var(--success-foreground);
|
|
34
|
+
border-color: var(--border-strong);
|
|
35
|
+
}
|
|
36
|
+
.slat.success > * {
|
|
37
|
+
--primary: var(--primary-foreground);
|
|
38
|
+
--primary-foreground: var(--primary);
|
|
39
|
+
--foreground: var(--primary-foreground);
|
|
40
|
+
--muted-foreground: var(--primary-foreground);
|
|
41
|
+
}
|
|
42
|
+
.slat.hoverable {
|
|
43
|
+
cursor: pointer;
|
|
44
|
+
}
|
|
45
|
+
.slat.hoverable:hover {
|
|
46
|
+
background-color: var(--surface-accent);
|
|
47
|
+
color: var(--foreground);
|
|
48
|
+
transform: translate(-2px, -2px);
|
|
49
|
+
box-shadow: 4px 4px 0px 0px var(--border-strong);
|
|
50
|
+
}
|
|
51
|
+
.slat.hoverable:active {
|
|
52
|
+
transform: translate(0, 0);
|
|
53
|
+
box-shadow: none;
|
|
54
|
+
}
|
|
55
|
+
.slat.hoverable.danger:hover {
|
|
56
|
+
background-color: var(--error);
|
|
57
|
+
filter: brightness(1.1);
|
|
58
|
+
}
|
|
59
|
+
.slat.hoverable.success:hover {
|
|
60
|
+
background-color: var(--success);
|
|
61
|
+
filter: brightness(1.1);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.label {
|
|
65
|
+
font-weight: 500;
|
|
66
|
+
font-family: var(--font-mono);
|
|
67
|
+
font-size: var(--text-sm);
|
|
68
|
+
white-space: nowrap;
|
|
69
|
+
overflow: hidden;
|
|
70
|
+
text-overflow: ellipsis;
|
|
71
|
+
color: inherit;
|
|
72
|
+
}
|
|
73
|
+
@media (max-width: 640px) {
|
|
74
|
+
.label {
|
|
75
|
+
white-space: normal;
|
|
76
|
+
word-break: break-all;
|
|
77
|
+
display: -webkit-box;
|
|
78
|
+
-webkit-line-clamp: 1;
|
|
79
|
+
-webkit-box-orient: vertical;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
@media (max-width: 360px) {
|
|
83
|
+
.label {
|
|
84
|
+
-webkit-line-clamp: 2;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.secondaryLabel {
|
|
89
|
+
color: inherit;
|
|
90
|
+
opacity: 0.8;
|
|
91
|
+
font-size: 10px;
|
|
92
|
+
font-family: var(--font-mono);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.prepend,
|
|
96
|
+
.append {
|
|
97
|
+
display: flex;
|
|
98
|
+
align-items: center;
|
|
99
|
+
justify-content: center;
|
|
100
|
+
flex-shrink: 0;
|
|
101
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Slat } from "./Slat.js";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,38 +1,40 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
9
|
-
export * from
|
|
10
|
-
export * from
|
|
11
|
-
export * from
|
|
12
|
-
export * from
|
|
13
|
-
export * from
|
|
14
|
-
export * from
|
|
15
|
-
export * from
|
|
16
|
-
export * from
|
|
17
|
-
export * from
|
|
18
|
-
export * from
|
|
19
|
-
export * from
|
|
20
|
-
export * from
|
|
21
|
-
export * from
|
|
22
|
-
export * from
|
|
23
|
-
export * from
|
|
24
|
-
export * from
|
|
25
|
-
export * from
|
|
26
|
-
export * from
|
|
27
|
-
export * from
|
|
28
|
-
export * from
|
|
29
|
-
export * from
|
|
30
|
-
export * from
|
|
31
|
-
export * from
|
|
32
|
-
export * from
|
|
33
|
-
export * from
|
|
34
|
-
export * from
|
|
35
|
-
export * from
|
|
36
|
-
export * from
|
|
37
|
-
export * from
|
|
38
|
-
export * from
|
|
1
|
+
export * from "./components/Badge";
|
|
2
|
+
export * from "./components/Button";
|
|
3
|
+
export * from "./components/Card";
|
|
4
|
+
export * from "./components/Dropdown";
|
|
5
|
+
export * from "./components/Form";
|
|
6
|
+
export * from "./components/Input";
|
|
7
|
+
export * from "./components/Layout";
|
|
8
|
+
export * from "./components/Link";
|
|
9
|
+
export * from "./components/Modal";
|
|
10
|
+
export * from "./components/Page";
|
|
11
|
+
export * from "./components/Popover";
|
|
12
|
+
export * from "./components/ProgressBar";
|
|
13
|
+
export * from "./components/Select";
|
|
14
|
+
export * from "./components/SplitButton";
|
|
15
|
+
export * from "./components/Table";
|
|
16
|
+
export * from "./components/Tabs";
|
|
17
|
+
export * from "./components/Text";
|
|
18
|
+
export * from "./components/Textarea";
|
|
19
|
+
export * from "./components/Toast";
|
|
20
|
+
export * from "./components/ActionRow";
|
|
21
|
+
export * from "./components/Skeleton";
|
|
22
|
+
export * from "./components/Switch";
|
|
23
|
+
export * from "./components/Alert";
|
|
24
|
+
export * from "./components/Tooltip";
|
|
25
|
+
export * from "./components/Avatar";
|
|
26
|
+
export * from "./components/Label";
|
|
27
|
+
export * from "./components/Accordion";
|
|
28
|
+
export * from "./components/Breadcrumbs";
|
|
29
|
+
export * from "./components/Pagination";
|
|
30
|
+
export * from "./components/RadioGroup";
|
|
31
|
+
export * from "./components/Slider";
|
|
32
|
+
export * from "./components/Drawer";
|
|
33
|
+
export * from "./components/Sheet";
|
|
34
|
+
export * from "./DesignSystemProvider";
|
|
35
|
+
export * from "./components/Icon";
|
|
36
|
+
export * from "./components/Checkbox";
|
|
37
|
+
export * from "./components/FileUpload";
|
|
38
|
+
export * from "./components/Slat";
|
|
39
|
+
export * from "./components/Spinner";
|
|
40
|
+
export * from "./styles/themes";
|
package/dist/index.js
CHANGED
|
@@ -1,38 +1,40 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
9
|
-
export * from
|
|
10
|
-
export * from
|
|
11
|
-
export * from
|
|
12
|
-
export * from
|
|
13
|
-
export * from
|
|
14
|
-
export * from
|
|
15
|
-
export * from
|
|
16
|
-
export * from
|
|
17
|
-
export * from
|
|
18
|
-
export * from
|
|
19
|
-
export * from
|
|
20
|
-
export * from
|
|
21
|
-
export * from
|
|
22
|
-
export * from
|
|
23
|
-
export * from
|
|
24
|
-
export * from
|
|
25
|
-
export * from
|
|
26
|
-
export * from
|
|
27
|
-
export * from
|
|
28
|
-
export * from
|
|
29
|
-
export * from
|
|
30
|
-
export * from
|
|
31
|
-
export * from
|
|
32
|
-
export * from
|
|
33
|
-
export * from
|
|
34
|
-
export * from
|
|
35
|
-
export * from
|
|
36
|
-
export * from
|
|
37
|
-
export * from
|
|
38
|
-
export * from
|
|
1
|
+
export * from "./components/Badge/index.js";
|
|
2
|
+
export * from "./components/Button/index.js";
|
|
3
|
+
export * from "./components/Card/index.js";
|
|
4
|
+
export * from "./components/Dropdown/index.js";
|
|
5
|
+
export * from "./components/Form/index.js";
|
|
6
|
+
export * from "./components/Input/index.js";
|
|
7
|
+
export * from "./components/Layout/index.js";
|
|
8
|
+
export * from "./components/Link/index.js";
|
|
9
|
+
export * from "./components/Modal/index.js";
|
|
10
|
+
export * from "./components/Page/index.js";
|
|
11
|
+
export * from "./components/Popover/index.js";
|
|
12
|
+
export * from "./components/ProgressBar/index.js";
|
|
13
|
+
export * from "./components/Select/index.js";
|
|
14
|
+
export * from "./components/SplitButton/index.js";
|
|
15
|
+
export * from "./components/Table/index.js";
|
|
16
|
+
export * from "./components/Tabs/index.js";
|
|
17
|
+
export * from "./components/Text/index.js";
|
|
18
|
+
export * from "./components/Textarea/index.js";
|
|
19
|
+
export * from "./components/Toast/index.js";
|
|
20
|
+
export * from "./components/ActionRow/index.js";
|
|
21
|
+
export * from "./components/Skeleton/index.js";
|
|
22
|
+
export * from "./components/Switch/index.js";
|
|
23
|
+
export * from "./components/Alert/index.js";
|
|
24
|
+
export * from "./components/Tooltip/index.js";
|
|
25
|
+
export * from "./components/Avatar/index.js";
|
|
26
|
+
export * from "./components/Label/index.js";
|
|
27
|
+
export * from "./components/Accordion/index.js";
|
|
28
|
+
export * from "./components/Breadcrumbs/index.js";
|
|
29
|
+
export * from "./components/Pagination/index.js";
|
|
30
|
+
export * from "./components/RadioGroup/index.js";
|
|
31
|
+
export * from "./components/Slider/index.js";
|
|
32
|
+
export * from "./components/Drawer/index.js";
|
|
33
|
+
export * from "./components/Sheet/index.js";
|
|
34
|
+
export * from "./DesignSystemProvider.js";
|
|
35
|
+
export * from "./components/Icon/index.js";
|
|
36
|
+
export * from "./components/Checkbox/index.js";
|
|
37
|
+
export * from "./components/FileUpload/index.js";
|
|
38
|
+
export * from "./components/Slat/index.js";
|
|
39
|
+
export * from "./components/Spinner/index.js";
|
|
40
|
+
export * from "./styles/themes/index.js";
|
package/dist/styles/globals.css
CHANGED
|
@@ -1043,6 +1043,244 @@ body .left-10 {
|
|
|
1043
1043
|
body .right-10 {
|
|
1044
1044
|
right: 2.5rem;
|
|
1045
1045
|
}
|
|
1046
|
+
@media (min-width: 360px) {
|
|
1047
|
+
body .xxs\:hidden {
|
|
1048
|
+
display: none;
|
|
1049
|
+
}
|
|
1050
|
+
body .xxs\:block {
|
|
1051
|
+
display: block;
|
|
1052
|
+
}
|
|
1053
|
+
body .xxs\:flex {
|
|
1054
|
+
display: flex;
|
|
1055
|
+
}
|
|
1056
|
+
body .xxs\:grid {
|
|
1057
|
+
display: grid;
|
|
1058
|
+
}
|
|
1059
|
+
body .xxs\:flex-row {
|
|
1060
|
+
flex-direction: row;
|
|
1061
|
+
}
|
|
1062
|
+
body .xxs\:flex-col {
|
|
1063
|
+
flex-direction: column;
|
|
1064
|
+
}
|
|
1065
|
+
body .xxs\:grid-cols-1 {
|
|
1066
|
+
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
1067
|
+
}
|
|
1068
|
+
body .xxs\:grid-cols-2 {
|
|
1069
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
1070
|
+
}
|
|
1071
|
+
body .xxs\:grid-cols-3 {
|
|
1072
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
1073
|
+
}
|
|
1074
|
+
body .xxs\:grid-cols-4 {
|
|
1075
|
+
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
1076
|
+
}
|
|
1077
|
+
body .xxs\:w-full {
|
|
1078
|
+
width: 100%;
|
|
1079
|
+
}
|
|
1080
|
+
body .xxs\:w-auto {
|
|
1081
|
+
width: auto;
|
|
1082
|
+
}
|
|
1083
|
+
body .xxs\:p-0 {
|
|
1084
|
+
padding: 0;
|
|
1085
|
+
}
|
|
1086
|
+
body .xxs\:m-0 {
|
|
1087
|
+
margin: 0;
|
|
1088
|
+
}
|
|
1089
|
+
body .xxs\:gap-0 {
|
|
1090
|
+
gap: 0;
|
|
1091
|
+
}
|
|
1092
|
+
body .xxs\:p-1 {
|
|
1093
|
+
padding: 0.25rem;
|
|
1094
|
+
}
|
|
1095
|
+
body .xxs\:m-1 {
|
|
1096
|
+
margin: 0.25rem;
|
|
1097
|
+
}
|
|
1098
|
+
body .xxs\:gap-1 {
|
|
1099
|
+
gap: 0.25rem;
|
|
1100
|
+
}
|
|
1101
|
+
body .xxs\:p-2 {
|
|
1102
|
+
padding: 0.5rem;
|
|
1103
|
+
}
|
|
1104
|
+
body .xxs\:m-2 {
|
|
1105
|
+
margin: 0.5rem;
|
|
1106
|
+
}
|
|
1107
|
+
body .xxs\:gap-2 {
|
|
1108
|
+
gap: 0.5rem;
|
|
1109
|
+
}
|
|
1110
|
+
body .xxs\:p-3 {
|
|
1111
|
+
padding: 0.75rem;
|
|
1112
|
+
}
|
|
1113
|
+
body .xxs\:m-3 {
|
|
1114
|
+
margin: 0.75rem;
|
|
1115
|
+
}
|
|
1116
|
+
body .xxs\:gap-3 {
|
|
1117
|
+
gap: 0.75rem;
|
|
1118
|
+
}
|
|
1119
|
+
body .xxs\:p-4 {
|
|
1120
|
+
padding: 1rem;
|
|
1121
|
+
}
|
|
1122
|
+
body .xxs\:m-4 {
|
|
1123
|
+
margin: 1rem;
|
|
1124
|
+
}
|
|
1125
|
+
body .xxs\:gap-4 {
|
|
1126
|
+
gap: 1rem;
|
|
1127
|
+
}
|
|
1128
|
+
body .xxs\:p-5 {
|
|
1129
|
+
padding: 1.25rem;
|
|
1130
|
+
}
|
|
1131
|
+
body .xxs\:m-5 {
|
|
1132
|
+
margin: 1.25rem;
|
|
1133
|
+
}
|
|
1134
|
+
body .xxs\:gap-5 {
|
|
1135
|
+
gap: 1.25rem;
|
|
1136
|
+
}
|
|
1137
|
+
body .xxs\:p-6 {
|
|
1138
|
+
padding: 1.5rem;
|
|
1139
|
+
}
|
|
1140
|
+
body .xxs\:m-6 {
|
|
1141
|
+
margin: 1.5rem;
|
|
1142
|
+
}
|
|
1143
|
+
body .xxs\:gap-6 {
|
|
1144
|
+
gap: 1.5rem;
|
|
1145
|
+
}
|
|
1146
|
+
body .xxs\:p-7 {
|
|
1147
|
+
padding: 1.75rem;
|
|
1148
|
+
}
|
|
1149
|
+
body .xxs\:m-7 {
|
|
1150
|
+
margin: 1.75rem;
|
|
1151
|
+
}
|
|
1152
|
+
body .xxs\:gap-7 {
|
|
1153
|
+
gap: 1.75rem;
|
|
1154
|
+
}
|
|
1155
|
+
body .xxs\:p-8 {
|
|
1156
|
+
padding: 2rem;
|
|
1157
|
+
}
|
|
1158
|
+
body .xxs\:m-8 {
|
|
1159
|
+
margin: 2rem;
|
|
1160
|
+
}
|
|
1161
|
+
body .xxs\:gap-8 {
|
|
1162
|
+
gap: 2rem;
|
|
1163
|
+
}
|
|
1164
|
+
}
|
|
1165
|
+
@media (min-width: 480px) {
|
|
1166
|
+
body .xs\:hidden {
|
|
1167
|
+
display: none;
|
|
1168
|
+
}
|
|
1169
|
+
body .xs\:block {
|
|
1170
|
+
display: block;
|
|
1171
|
+
}
|
|
1172
|
+
body .xs\:flex {
|
|
1173
|
+
display: flex;
|
|
1174
|
+
}
|
|
1175
|
+
body .xs\:grid {
|
|
1176
|
+
display: grid;
|
|
1177
|
+
}
|
|
1178
|
+
body .xs\:flex-row {
|
|
1179
|
+
flex-direction: row;
|
|
1180
|
+
}
|
|
1181
|
+
body .xs\:flex-col {
|
|
1182
|
+
flex-direction: column;
|
|
1183
|
+
}
|
|
1184
|
+
body .xs\:grid-cols-1 {
|
|
1185
|
+
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
1186
|
+
}
|
|
1187
|
+
body .xs\:grid-cols-2 {
|
|
1188
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
1189
|
+
}
|
|
1190
|
+
body .xs\:grid-cols-3 {
|
|
1191
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
1192
|
+
}
|
|
1193
|
+
body .xs\:grid-cols-4 {
|
|
1194
|
+
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
1195
|
+
}
|
|
1196
|
+
body .xs\:w-full {
|
|
1197
|
+
width: 100%;
|
|
1198
|
+
}
|
|
1199
|
+
body .xs\:w-auto {
|
|
1200
|
+
width: auto;
|
|
1201
|
+
}
|
|
1202
|
+
body .xs\:p-0 {
|
|
1203
|
+
padding: 0;
|
|
1204
|
+
}
|
|
1205
|
+
body .xs\:m-0 {
|
|
1206
|
+
margin: 0;
|
|
1207
|
+
}
|
|
1208
|
+
body .xs\:gap-0 {
|
|
1209
|
+
gap: 0;
|
|
1210
|
+
}
|
|
1211
|
+
body .xs\:p-1 {
|
|
1212
|
+
padding: 0.25rem;
|
|
1213
|
+
}
|
|
1214
|
+
body .xs\:m-1 {
|
|
1215
|
+
margin: 0.25rem;
|
|
1216
|
+
}
|
|
1217
|
+
body .xs\:gap-1 {
|
|
1218
|
+
gap: 0.25rem;
|
|
1219
|
+
}
|
|
1220
|
+
body .xs\:p-2 {
|
|
1221
|
+
padding: 0.5rem;
|
|
1222
|
+
}
|
|
1223
|
+
body .xs\:m-2 {
|
|
1224
|
+
margin: 0.5rem;
|
|
1225
|
+
}
|
|
1226
|
+
body .xs\:gap-2 {
|
|
1227
|
+
gap: 0.5rem;
|
|
1228
|
+
}
|
|
1229
|
+
body .xs\:p-3 {
|
|
1230
|
+
padding: 0.75rem;
|
|
1231
|
+
}
|
|
1232
|
+
body .xs\:m-3 {
|
|
1233
|
+
margin: 0.75rem;
|
|
1234
|
+
}
|
|
1235
|
+
body .xs\:gap-3 {
|
|
1236
|
+
gap: 0.75rem;
|
|
1237
|
+
}
|
|
1238
|
+
body .xs\:p-4 {
|
|
1239
|
+
padding: 1rem;
|
|
1240
|
+
}
|
|
1241
|
+
body .xs\:m-4 {
|
|
1242
|
+
margin: 1rem;
|
|
1243
|
+
}
|
|
1244
|
+
body .xs\:gap-4 {
|
|
1245
|
+
gap: 1rem;
|
|
1246
|
+
}
|
|
1247
|
+
body .xs\:p-5 {
|
|
1248
|
+
padding: 1.25rem;
|
|
1249
|
+
}
|
|
1250
|
+
body .xs\:m-5 {
|
|
1251
|
+
margin: 1.25rem;
|
|
1252
|
+
}
|
|
1253
|
+
body .xs\:gap-5 {
|
|
1254
|
+
gap: 1.25rem;
|
|
1255
|
+
}
|
|
1256
|
+
body .xs\:p-6 {
|
|
1257
|
+
padding: 1.5rem;
|
|
1258
|
+
}
|
|
1259
|
+
body .xs\:m-6 {
|
|
1260
|
+
margin: 1.5rem;
|
|
1261
|
+
}
|
|
1262
|
+
body .xs\:gap-6 {
|
|
1263
|
+
gap: 1.5rem;
|
|
1264
|
+
}
|
|
1265
|
+
body .xs\:p-7 {
|
|
1266
|
+
padding: 1.75rem;
|
|
1267
|
+
}
|
|
1268
|
+
body .xs\:m-7 {
|
|
1269
|
+
margin: 1.75rem;
|
|
1270
|
+
}
|
|
1271
|
+
body .xs\:gap-7 {
|
|
1272
|
+
gap: 1.75rem;
|
|
1273
|
+
}
|
|
1274
|
+
body .xs\:p-8 {
|
|
1275
|
+
padding: 2rem;
|
|
1276
|
+
}
|
|
1277
|
+
body .xs\:m-8 {
|
|
1278
|
+
margin: 2rem;
|
|
1279
|
+
}
|
|
1280
|
+
body .xs\:gap-8 {
|
|
1281
|
+
gap: 2rem;
|
|
1282
|
+
}
|
|
1283
|
+
}
|
|
1046
1284
|
@media (min-width: 640px) {
|
|
1047
1285
|
body .sm\:hidden {
|
|
1048
1286
|
display: none;
|
|
@@ -7,6 +7,7 @@ export declare const themes: {
|
|
|
7
7
|
readonly "--card-bg": "#ffffff";
|
|
8
8
|
readonly "--card-border": "#000000";
|
|
9
9
|
readonly "--surface-accent": "#f1f5f9";
|
|
10
|
+
readonly "--border-strong": "#000000";
|
|
10
11
|
readonly "--primary": "#a855f7";
|
|
11
12
|
readonly "--primary-hover": "#9333ea";
|
|
12
13
|
readonly "--primary-foreground": "#000000";
|
|
@@ -75,7 +76,6 @@ export declare const themes: {
|
|
|
75
76
|
readonly "--size-touch-target": string;
|
|
76
77
|
readonly "--common-black": "#000000";
|
|
77
78
|
readonly "--common-white": "#ffffff";
|
|
78
|
-
readonly "--border-strong": "#000000";
|
|
79
79
|
readonly "--border-width": string;
|
|
80
80
|
readonly "--radius": string;
|
|
81
81
|
readonly "--shadow-hard": string;
|
|
@@ -97,6 +97,7 @@ export declare const themes: {
|
|
|
97
97
|
readonly "--foreground": "#e2e8f0";
|
|
98
98
|
readonly "--card-bg": "#0f172a";
|
|
99
99
|
readonly "--card-border": "#1e293b";
|
|
100
|
+
readonly "--border-strong": "#334155";
|
|
100
101
|
readonly "--surface-accent": "#0f172a";
|
|
101
102
|
readonly "--primary": "#10b981";
|
|
102
103
|
readonly "--primary-hover": "#059669";
|
|
@@ -166,7 +167,6 @@ export declare const themes: {
|
|
|
166
167
|
readonly "--size-touch-target": string;
|
|
167
168
|
readonly "--common-black": "#000000";
|
|
168
169
|
readonly "--common-white": "#ffffff";
|
|
169
|
-
readonly "--border-strong": "#000000";
|
|
170
170
|
readonly "--border-width": string;
|
|
171
171
|
readonly "--radius": string;
|
|
172
172
|
readonly "--shadow-hard": string;
|
|
@@ -279,6 +279,7 @@ export declare const themes: {
|
|
|
279
279
|
readonly "--foreground": "#E8E9ED";
|
|
280
280
|
readonly "--card-bg": "#1A1F29";
|
|
281
281
|
readonly "--card-border": "#2D3748";
|
|
282
|
+
readonly "--border-strong": "#111827";
|
|
282
283
|
readonly "--surface-accent": "#111827";
|
|
283
284
|
readonly "--primary": "#F7B731";
|
|
284
285
|
readonly "--primary-hover": "#F5A623";
|
|
@@ -348,7 +349,6 @@ export declare const themes: {
|
|
|
348
349
|
readonly "--size-touch-target": string;
|
|
349
350
|
readonly "--common-black": "#000000";
|
|
350
351
|
readonly "--common-white": "#ffffff";
|
|
351
|
-
readonly "--border-strong": "#000000";
|
|
352
352
|
readonly "--border-width": string;
|
|
353
353
|
readonly "--radius": string;
|
|
354
354
|
readonly "--shadow-hard": string;
|
|
@@ -2,11 +2,11 @@ import { palette, baseVariables } from "../tokens.js";
|
|
|
2
2
|
export const themes = {
|
|
3
3
|
default: {
|
|
4
4
|
name: "Default",
|
|
5
|
-
variables: Object.assign(Object.assign({}, baseVariables), { "--background": palette.indigo[100], "--foreground": palette.common.black, "--card-bg": palette.common.white, "--card-border": palette.common.black, "--surface-accent": palette.slate[100], "--primary": palette.purple[500], "--primary-hover": palette.purple[600], "--primary-foreground": palette.common.black, "--shadow-primary": palette.purple[700], "--secondary": palette.yellow[400], "--secondary-foreground": palette.common.black, "--accent": palette.red[500], "--muted": palette.gray[400], "--muted-foreground": palette.gray[700], "--success": palette.green[500], "--success-foreground": palette.common.black, "--warning": palette.yellow[500], "--warning-foreground": palette.common.black, "--error": palette.red[500], "--error-foreground": palette.common.black, "--on-surface": palette.common.black, "--on-surface-muted": palette.gray[700], "--shadow-error": palette.red[600] }),
|
|
5
|
+
variables: Object.assign(Object.assign({}, baseVariables), { "--background": palette.indigo[100], "--foreground": palette.common.black, "--card-bg": palette.common.white, "--card-border": palette.common.black, "--surface-accent": palette.slate[100], "--border-strong": palette.common.black, "--primary": palette.purple[500], "--primary-hover": palette.purple[600], "--primary-foreground": palette.common.black, "--shadow-primary": palette.purple[700], "--secondary": palette.yellow[400], "--secondary-foreground": palette.common.black, "--accent": palette.red[500], "--muted": palette.gray[400], "--muted-foreground": palette.gray[700], "--success": palette.green[500], "--success-foreground": palette.common.black, "--warning": palette.yellow[500], "--warning-foreground": palette.common.black, "--error": palette.red[500], "--error-foreground": palette.common.black, "--on-surface": palette.common.black, "--on-surface-muted": palette.gray[700], "--shadow-error": palette.red[600] }),
|
|
6
6
|
},
|
|
7
7
|
doom: {
|
|
8
8
|
name: "DOOMSDAY",
|
|
9
|
-
variables: Object.assign(Object.assign({}, baseVariables), { "--background": palette.slate[950], "--foreground": palette.slate[200], "--card-bg": palette.slate[900], "--card-border": palette.slate[800], "--surface-accent": palette.slate[900], "--primary": palette.green[600], "--primary-hover": palette.green[700], "--primary-foreground": palette.slate[950], "--shadow-primary": palette.common.black, "--secondary": palette.slate[600], "--secondary-foreground": palette.slate[50], "--accent": palette.red[500], "--muted": palette.slate[500], "--muted-foreground": palette.slate[400], "--success": palette.green[600], "--success-foreground": palette.slate[950], "--warning": palette.yellow[500], "--warning-foreground": palette.slate[950], "--error": palette.red[500], "--error-foreground": palette.common.black, "--on-surface": palette.slate[200], "--on-surface-muted": palette.slate[400], "--shadow-error": palette.common.black }),
|
|
9
|
+
variables: Object.assign(Object.assign({}, baseVariables), { "--background": palette.slate[950], "--foreground": palette.slate[200], "--card-bg": palette.slate[900], "--card-border": palette.slate[800], "--border-strong": palette.slate[700], "--surface-accent": palette.slate[900], "--primary": palette.green[600], "--primary-hover": palette.green[700], "--primary-foreground": palette.slate[950], "--shadow-primary": palette.common.black, "--secondary": palette.slate[600], "--secondary-foreground": palette.slate[50], "--accent": palette.red[500], "--muted": palette.slate[500], "--muted-foreground": palette.slate[400], "--success": palette.green[600], "--success-foreground": palette.slate[950], "--warning": palette.yellow[500], "--warning-foreground": palette.slate[950], "--error": palette.red[500], "--error-foreground": palette.common.black, "--on-surface": palette.slate[200], "--on-surface-muted": palette.slate[400], "--shadow-error": palette.common.black }),
|
|
10
10
|
},
|
|
11
11
|
neighbor: {
|
|
12
12
|
name: "THE CAPTAIN",
|
|
@@ -14,6 +14,6 @@ export const themes = {
|
|
|
14
14
|
},
|
|
15
15
|
vigilante: {
|
|
16
16
|
name: "DARK KNIGHT",
|
|
17
|
-
variables: Object.assign(Object.assign({}, baseVariables), { "--background": palette.gray[950], "--foreground": "#E8E9ED", "--card-bg": palette.gray[975], "--card-border": palette.gray[990], "--surface-accent": palette.gray[900], "--primary": palette.yellow[600], "--primary-hover": palette.yellow[700], "--primary-foreground": palette.gray[950], "--shadow-primary": palette.common.black, "--secondary": palette.gray[600], "--secondary-foreground": "#E8E9ED", "--accent": palette.blue[500], "--muted": palette.gray[500], "--muted-foreground": palette.gray[400], "--success": palette.green[400], "--success-foreground": palette.gray[950], "--warning": palette.yellow[700], "--warning-foreground": palette.gray[950], "--error": palette.red[700], "--error-foreground": palette.common.black, "--on-surface": "#E8E9ED", "--on-surface-muted": palette.gray[400], "--shadow-error": palette.common.black }),
|
|
17
|
+
variables: Object.assign(Object.assign({}, baseVariables), { "--background": palette.gray[950], "--foreground": "#E8E9ED", "--card-bg": palette.gray[975], "--card-border": palette.gray[990], "--border-strong": palette.gray[900], "--surface-accent": palette.gray[900], "--primary": palette.yellow[600], "--primary-hover": palette.yellow[700], "--primary-foreground": palette.gray[950], "--shadow-primary": palette.common.black, "--secondary": palette.gray[600], "--secondary-foreground": "#E8E9ED", "--accent": palette.blue[500], "--muted": palette.gray[500], "--muted-foreground": palette.gray[400], "--success": palette.green[400], "--success-foreground": palette.gray[950], "--warning": palette.yellow[700], "--warning-foreground": palette.gray[950], "--error": palette.red[700], "--error-foreground": palette.common.black, "--on-surface": "#E8E9ED", "--on-surface-muted": palette.gray[400], "--shadow-error": palette.common.black }),
|
|
18
18
|
},
|
|
19
19
|
};
|
package/dist/styles/tokens.js
CHANGED
|
@@ -183,7 +183,7 @@ export const baseVariables = {
|
|
|
183
183
|
"--border-width": "2px",
|
|
184
184
|
"--radius": "4px",
|
|
185
185
|
"--shadow-hard": "4px 4px 0px 0px var(--border-strong)",
|
|
186
|
-
"--shadow-hover": "
|
|
186
|
+
"--shadow-hover": "6px 6px 0px 0px var(--border-strong)",
|
|
187
187
|
// Typography Standards (Global)
|
|
188
188
|
"--font-heading": "var(--font-montserrat)",
|
|
189
189
|
"--heading-transform": "uppercase",
|