marksmith 0.0.5 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c7d077cbc94535347922dc9b3b6bc3bf83b97ce61eedc62bce89d2d8b0cb7923
4
- data.tar.gz: dc5380d28af977bcadc6c48bedf5e96e4e4a8d4325e2f0a263d361302bfe9463
3
+ metadata.gz: a0d374c113a5a02b45ad8ed76e2603952aca9d7b0b1ef305a7e5fb8ffaa2edfb
4
+ data.tar.gz: dbcb7436cc44066b2e6239756a3ec32805f3166fd8e55b7ae83f20edac1fc847
5
5
  SHA512:
6
- metadata.gz: 676ba5871cd619855d6e57ef201ca4a553961b6bca0792c483578f08028e784614131c13430d9495339a96e1c6298e7e1db28185a3ff30268614683ce7f210a9
7
- data.tar.gz: f8c9d26b827434f80d31328bc3a0704c63ecee7692aed3902eb3a3f96b74ee3409899804295000c2cb867fd56a94751b4b9a7976f884f9eca8fed9f0980727b4
6
+ metadata.gz: c0f0a7fcea4d7c54ef2e5b01be05277746ae1e7199f267ead53db68861a6826c3e7ef53134f00e2ffd4b08601f912d764399de3fcbd7c58dcf5fa594095aa1c5
7
+ data.tar.gz: 8f50b40715c0f416a5ed213e76834ac9e2a799ca2868bc23ad90d2306c7f3e4a32783657b66a561cdaf755822d37d08ab3b4d0fd5bc7f28753e7d077af6e7f27
@@ -1,2 +1,2 @@
1
1
  //= link_directory ../stylesheets .css
2
- //= link marksmith.esm.js
2
+ //= link_tree ../images
@@ -1,487 +1,482 @@
1
1
  /*! tailwindcss v4.0.0-beta.10 | MIT License | https://tailwindcss.com */
2
- @layer theme, base, components, utilities;
3
- @layer theme {
4
- :root {
5
- --ms-font-sans: ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
2
+ :root {
3
+ --ms-font-sans: ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
6
4
  'Segoe UI Symbol', 'Noto Color Emoji';
7
- --ms-font-serif: ui-serif, Georgia, Cambria, 'Times New Roman', Times, serif;
8
- --ms-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono',
5
+ --ms-font-serif: ui-serif, Georgia, Cambria, 'Times New Roman', Times, serif;
6
+ --ms-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono',
9
7
  'Courier New', monospace;
10
- --ms-color-red-50: oklch(0.971 0.013 17.38);
11
- --ms-color-red-100: oklch(0.936 0.032 17.717);
12
- --ms-color-red-200: oklch(0.885 0.062 18.334);
13
- --ms-color-red-300: oklch(0.808 0.114 19.571);
14
- --ms-color-red-400: oklch(0.704 0.191 22.216);
15
- --ms-color-red-500: oklch(0.637 0.237 25.331);
16
- --ms-color-red-600: oklch(0.577 0.245 27.325);
17
- --ms-color-red-700: oklch(0.505 0.213 27.518);
18
- --ms-color-red-800: oklch(0.444 0.177 26.899);
19
- --ms-color-red-900: oklch(0.396 0.141 25.723);
20
- --ms-color-red-950: oklch(0.258 0.092 26.042);
21
- --ms-color-orange-50: oklch(0.98 0.016 73.684);
22
- --ms-color-orange-100: oklch(0.954 0.038 75.164);
23
- --ms-color-orange-200: oklch(0.901 0.076 70.697);
24
- --ms-color-orange-300: oklch(0.837 0.128 66.29);
25
- --ms-color-orange-400: oklch(0.75 0.183 55.934);
26
- --ms-color-orange-500: oklch(0.705 0.213 47.604);
27
- --ms-color-orange-600: oklch(0.646 0.222 41.116);
28
- --ms-color-orange-700: oklch(0.553 0.195 38.402);
29
- --ms-color-orange-800: oklch(0.47 0.157 37.304);
30
- --ms-color-orange-900: oklch(0.408 0.123 38.172);
31
- --ms-color-orange-950: oklch(0.266 0.079 36.259);
32
- --ms-color-amber-50: oklch(0.987 0.022 95.277);
33
- --ms-color-amber-100: oklch(0.962 0.059 95.617);
34
- --ms-color-amber-200: oklch(0.924 0.12 95.746);
35
- --ms-color-amber-300: oklch(0.879 0.169 91.605);
36
- --ms-color-amber-400: oklch(0.828 0.189 84.429);
37
- --ms-color-amber-500: oklch(0.769 0.188 70.08);
38
- --ms-color-amber-600: oklch(0.666 0.179 58.318);
39
- --ms-color-amber-700: oklch(0.555 0.163 48.998);
40
- --ms-color-amber-800: oklch(0.473 0.137 46.201);
41
- --ms-color-amber-900: oklch(0.414 0.112 45.904);
42
- --ms-color-amber-950: oklch(0.279 0.077 45.635);
43
- --ms-color-yellow-50: oklch(0.987 0.026 102.212);
44
- --ms-color-yellow-100: oklch(0.973 0.071 103.193);
45
- --ms-color-yellow-200: oklch(0.945 0.129 101.54);
46
- --ms-color-yellow-300: oklch(0.905 0.182 98.111);
47
- --ms-color-yellow-400: oklch(0.852 0.199 91.936);
48
- --ms-color-yellow-500: oklch(0.795 0.184 86.047);
49
- --ms-color-yellow-600: oklch(0.681 0.162 75.834);
50
- --ms-color-yellow-700: oklch(0.554 0.135 66.442);
51
- --ms-color-yellow-800: oklch(0.476 0.114 61.907);
52
- --ms-color-yellow-900: oklch(0.421 0.095 57.708);
53
- --ms-color-yellow-950: oklch(0.286 0.066 53.813);
54
- --ms-color-lime-50: oklch(0.986 0.031 120.757);
55
- --ms-color-lime-100: oklch(0.967 0.067 122.328);
56
- --ms-color-lime-200: oklch(0.938 0.127 124.321);
57
- --ms-color-lime-300: oklch(0.897 0.196 126.665);
58
- --ms-color-lime-400: oklch(0.841 0.238 128.85);
59
- --ms-color-lime-500: oklch(0.768 0.233 130.85);
60
- --ms-color-lime-600: oklch(0.648 0.2 131.684);
61
- --ms-color-lime-700: oklch(0.532 0.157 131.589);
62
- --ms-color-lime-800: oklch(0.453 0.124 130.933);
63
- --ms-color-lime-900: oklch(0.405 0.101 131.063);
64
- --ms-color-lime-950: oklch(0.274 0.072 132.109);
65
- --ms-color-green-50: oklch(0.982 0.018 155.826);
66
- --ms-color-green-100: oklch(0.962 0.044 156.743);
67
- --ms-color-green-200: oklch(0.925 0.084 155.995);
68
- --ms-color-green-300: oklch(0.871 0.15 154.449);
69
- --ms-color-green-400: oklch(0.792 0.209 151.711);
70
- --ms-color-green-500: oklch(0.723 0.219 149.579);
71
- --ms-color-green-600: oklch(0.627 0.194 149.214);
72
- --ms-color-green-700: oklch(0.527 0.154 150.069);
73
- --ms-color-green-800: oklch(0.448 0.119 151.328);
74
- --ms-color-green-900: oklch(0.393 0.095 152.535);
75
- --ms-color-green-950: oklch(0.266 0.065 152.934);
76
- --ms-color-emerald-50: oklch(0.979 0.021 166.113);
77
- --ms-color-emerald-100: oklch(0.95 0.052 163.051);
78
- --ms-color-emerald-200: oklch(0.905 0.093 164.15);
79
- --ms-color-emerald-300: oklch(0.845 0.143 164.978);
80
- --ms-color-emerald-400: oklch(0.765 0.177 163.223);
81
- --ms-color-emerald-500: oklch(0.696 0.17 162.48);
82
- --ms-color-emerald-600: oklch(0.596 0.145 163.225);
83
- --ms-color-emerald-700: oklch(0.508 0.118 165.612);
84
- --ms-color-emerald-800: oklch(0.432 0.095 166.913);
85
- --ms-color-emerald-900: oklch(0.378 0.077 168.94);
86
- --ms-color-emerald-950: oklch(0.262 0.051 172.552);
87
- --ms-color-teal-50: oklch(0.984 0.014 180.72);
88
- --ms-color-teal-100: oklch(0.953 0.051 180.801);
89
- --ms-color-teal-200: oklch(0.91 0.096 180.426);
90
- --ms-color-teal-300: oklch(0.855 0.138 181.071);
91
- --ms-color-teal-400: oklch(0.777 0.152 181.912);
92
- --ms-color-teal-500: oklch(0.704 0.14 182.503);
93
- --ms-color-teal-600: oklch(0.6 0.118 184.704);
94
- --ms-color-teal-700: oklch(0.511 0.096 186.391);
95
- --ms-color-teal-800: oklch(0.437 0.078 188.216);
96
- --ms-color-teal-900: oklch(0.386 0.063 188.416);
97
- --ms-color-teal-950: oklch(0.277 0.046 192.524);
98
- --ms-color-cyan-50: oklch(0.984 0.019 200.873);
99
- --ms-color-cyan-100: oklch(0.956 0.045 203.388);
100
- --ms-color-cyan-200: oklch(0.917 0.08 205.041);
101
- --ms-color-cyan-300: oklch(0.865 0.127 207.078);
102
- --ms-color-cyan-400: oklch(0.789 0.154 211.53);
103
- --ms-color-cyan-500: oklch(0.715 0.143 215.221);
104
- --ms-color-cyan-600: oklch(0.609 0.126 221.723);
105
- --ms-color-cyan-700: oklch(0.52 0.105 223.128);
106
- --ms-color-cyan-800: oklch(0.45 0.085 224.283);
107
- --ms-color-cyan-900: oklch(0.398 0.07 227.392);
108
- --ms-color-cyan-950: oklch(0.302 0.056 229.695);
109
- --ms-color-sky-50: oklch(0.977 0.013 236.62);
110
- --ms-color-sky-100: oklch(0.951 0.026 236.824);
111
- --ms-color-sky-200: oklch(0.901 0.058 230.902);
112
- --ms-color-sky-300: oklch(0.828 0.111 230.318);
113
- --ms-color-sky-400: oklch(0.746 0.16 232.661);
114
- --ms-color-sky-500: oklch(0.685 0.169 237.323);
115
- --ms-color-sky-600: oklch(0.588 0.158 241.966);
116
- --ms-color-sky-700: oklch(0.5 0.134 242.749);
117
- --ms-color-sky-800: oklch(0.443 0.11 240.79);
118
- --ms-color-sky-900: oklch(0.391 0.09 240.876);
119
- --ms-color-sky-950: oklch(0.293 0.066 243.157);
120
- --ms-color-blue-50: oklch(0.97 0.014 254.604);
121
- --ms-color-blue-100: oklch(0.932 0.032 255.585);
122
- --ms-color-blue-200: oklch(0.882 0.059 254.128);
123
- --ms-color-blue-300: oklch(0.809 0.105 251.813);
124
- --ms-color-blue-400: oklch(0.707 0.165 254.624);
125
- --ms-color-blue-500: oklch(0.623 0.214 259.815);
126
- --ms-color-blue-600: oklch(0.546 0.245 262.881);
127
- --ms-color-blue-700: oklch(0.488 0.243 264.376);
128
- --ms-color-blue-800: oklch(0.424 0.199 265.638);
129
- --ms-color-blue-900: oklch(0.379 0.146 265.522);
130
- --ms-color-blue-950: oklch(0.282 0.091 267.935);
131
- --ms-color-indigo-50: oklch(0.962 0.018 272.314);
132
- --ms-color-indigo-100: oklch(0.93 0.034 272.788);
133
- --ms-color-indigo-200: oklch(0.87 0.065 274.039);
134
- --ms-color-indigo-300: oklch(0.785 0.115 274.713);
135
- --ms-color-indigo-400: oklch(0.673 0.182 276.935);
136
- --ms-color-indigo-500: oklch(0.585 0.233 277.117);
137
- --ms-color-indigo-600: oklch(0.511 0.262 276.966);
138
- --ms-color-indigo-700: oklch(0.457 0.24 277.023);
139
- --ms-color-indigo-800: oklch(0.398 0.195 277.366);
140
- --ms-color-indigo-900: oklch(0.359 0.144 278.697);
141
- --ms-color-indigo-950: oklch(0.257 0.09 281.288);
142
- --ms-color-violet-50: oklch(0.969 0.016 293.756);
143
- --ms-color-violet-100: oklch(0.943 0.029 294.588);
144
- --ms-color-violet-200: oklch(0.894 0.057 293.283);
145
- --ms-color-violet-300: oklch(0.811 0.111 293.571);
146
- --ms-color-violet-400: oklch(0.702 0.183 293.541);
147
- --ms-color-violet-500: oklch(0.606 0.25 292.717);
148
- --ms-color-violet-600: oklch(0.541 0.281 293.009);
149
- --ms-color-violet-700: oklch(0.491 0.27 292.581);
150
- --ms-color-violet-800: oklch(0.432 0.232 292.759);
151
- --ms-color-violet-900: oklch(0.38 0.189 293.745);
152
- --ms-color-violet-950: oklch(0.283 0.141 291.089);
153
- --ms-color-purple-50: oklch(0.977 0.014 308.299);
154
- --ms-color-purple-100: oklch(0.946 0.033 307.174);
155
- --ms-color-purple-200: oklch(0.902 0.063 306.703);
156
- --ms-color-purple-300: oklch(0.827 0.119 306.383);
157
- --ms-color-purple-400: oklch(0.714 0.203 305.504);
158
- --ms-color-purple-500: oklch(0.627 0.265 303.9);
159
- --ms-color-purple-600: oklch(0.558 0.288 302.321);
160
- --ms-color-purple-700: oklch(0.496 0.265 301.924);
161
- --ms-color-purple-800: oklch(0.438 0.218 303.724);
162
- --ms-color-purple-900: oklch(0.381 0.176 304.987);
163
- --ms-color-purple-950: oklch(0.291 0.149 302.717);
164
- --ms-color-fuchsia-50: oklch(0.977 0.017 320.058);
165
- --ms-color-fuchsia-100: oklch(0.952 0.037 318.852);
166
- --ms-color-fuchsia-200: oklch(0.903 0.076 319.62);
167
- --ms-color-fuchsia-300: oklch(0.833 0.145 321.434);
168
- --ms-color-fuchsia-400: oklch(0.74 0.238 322.16);
169
- --ms-color-fuchsia-500: oklch(0.667 0.295 322.15);
170
- --ms-color-fuchsia-600: oklch(0.591 0.293 322.896);
171
- --ms-color-fuchsia-700: oklch(0.518 0.253 323.949);
172
- --ms-color-fuchsia-800: oklch(0.452 0.211 324.591);
173
- --ms-color-fuchsia-900: oklch(0.401 0.17 325.612);
174
- --ms-color-fuchsia-950: oklch(0.293 0.136 325.661);
175
- --ms-color-pink-50: oklch(0.971 0.014 343.198);
176
- --ms-color-pink-100: oklch(0.948 0.028 342.258);
177
- --ms-color-pink-200: oklch(0.899 0.061 343.231);
178
- --ms-color-pink-300: oklch(0.823 0.12 346.018);
179
- --ms-color-pink-400: oklch(0.718 0.202 349.761);
180
- --ms-color-pink-500: oklch(0.656 0.241 354.308);
181
- --ms-color-pink-600: oklch(0.592 0.249 0.584);
182
- --ms-color-pink-700: oklch(0.525 0.223 3.958);
183
- --ms-color-pink-800: oklch(0.459 0.187 3.815);
184
- --ms-color-pink-900: oklch(0.408 0.153 2.432);
185
- --ms-color-pink-950: oklch(0.284 0.109 3.907);
186
- --ms-color-rose-50: oklch(0.969 0.015 12.422);
187
- --ms-color-rose-100: oklch(0.941 0.03 12.58);
188
- --ms-color-rose-200: oklch(0.892 0.058 10.001);
189
- --ms-color-rose-300: oklch(0.81 0.117 11.638);
190
- --ms-color-rose-400: oklch(0.712 0.194 13.428);
191
- --ms-color-rose-500: oklch(0.645 0.246 16.439);
192
- --ms-color-rose-600: oklch(0.586 0.253 17.585);
193
- --ms-color-rose-700: oklch(0.514 0.222 16.935);
194
- --ms-color-rose-800: oklch(0.455 0.188 13.697);
195
- --ms-color-rose-900: oklch(0.41 0.159 10.272);
196
- --ms-color-rose-950: oklch(0.271 0.105 12.094);
197
- --ms-color-slate-50: oklch(0.984 0.003 247.858);
198
- --ms-color-slate-100: oklch(0.968 0.007 247.896);
199
- --ms-color-slate-200: oklch(0.929 0.013 255.508);
200
- --ms-color-slate-300: oklch(0.869 0.022 252.894);
201
- --ms-color-slate-400: oklch(0.704 0.04 256.788);
202
- --ms-color-slate-500: oklch(0.554 0.046 257.417);
203
- --ms-color-slate-600: oklch(0.446 0.043 257.281);
204
- --ms-color-slate-700: oklch(0.372 0.044 257.287);
205
- --ms-color-slate-800: oklch(0.279 0.041 260.031);
206
- --ms-color-slate-900: oklch(0.208 0.042 265.755);
207
- --ms-color-slate-950: oklch(0.129 0.042 264.695);
208
- --ms-color-gray-50: oklch(0.985 0.002 247.839);
209
- --ms-color-gray-100: oklch(0.967 0.003 264.542);
210
- --ms-color-gray-200: oklch(0.928 0.006 264.531);
211
- --ms-color-gray-300: oklch(0.872 0.01 258.338);
212
- --ms-color-gray-400: oklch(0.707 0.022 261.325);
213
- --ms-color-gray-500: oklch(0.551 0.027 264.364);
214
- --ms-color-gray-600: oklch(0.446 0.03 256.802);
215
- --ms-color-gray-700: oklch(0.373 0.034 259.733);
216
- --ms-color-gray-800: oklch(0.278 0.033 256.848);
217
- --ms-color-gray-900: oklch(0.21 0.034 264.665);
218
- --ms-color-gray-950: oklch(0.13 0.028 261.692);
219
- --ms-color-zinc-50: oklch(0.985 0 0);
220
- --ms-color-zinc-100: oklch(0.967 0.001 286.375);
221
- --ms-color-zinc-200: oklch(0.92 0.004 286.32);
222
- --ms-color-zinc-300: oklch(0.871 0.006 286.286);
223
- --ms-color-zinc-400: oklch(0.705 0.015 286.067);
224
- --ms-color-zinc-500: oklch(0.552 0.016 285.938);
225
- --ms-color-zinc-600: oklch(0.442 0.017 285.786);
226
- --ms-color-zinc-700: oklch(0.37 0.013 285.805);
227
- --ms-color-zinc-800: oklch(0.274 0.006 286.033);
228
- --ms-color-zinc-900: oklch(0.21 0.006 285.885);
229
- --ms-color-zinc-950: oklch(0.141 0.005 285.823);
230
- --ms-color-neutral-50: oklch(0.985 0 0);
231
- --ms-color-neutral-100: oklch(0.97 0 0);
232
- --ms-color-neutral-200: oklch(0.922 0 0);
233
- --ms-color-neutral-300: oklch(0.87 0 0);
234
- --ms-color-neutral-400: oklch(0.708 0 0);
235
- --ms-color-neutral-500: oklch(0.556 0 0);
236
- --ms-color-neutral-600: oklch(0.439 0 0);
237
- --ms-color-neutral-700: oklch(0.371 0 0);
238
- --ms-color-neutral-800: oklch(0.269 0 0);
239
- --ms-color-neutral-900: oklch(0.205 0 0);
240
- --ms-color-neutral-950: oklch(0.145 0 0);
241
- --ms-color-stone-50: oklch(0.985 0.001 106.423);
242
- --ms-color-stone-100: oklch(0.97 0.001 106.424);
243
- --ms-color-stone-200: oklch(0.923 0.003 48.717);
244
- --ms-color-stone-300: oklch(0.869 0.005 56.366);
245
- --ms-color-stone-400: oklch(0.709 0.01 56.259);
246
- --ms-color-stone-500: oklch(0.553 0.013 58.071);
247
- --ms-color-stone-600: oklch(0.444 0.011 73.639);
248
- --ms-color-stone-700: oklch(0.374 0.01 67.558);
249
- --ms-color-stone-800: oklch(0.268 0.007 34.298);
250
- --ms-color-stone-900: oklch(0.216 0.006 56.043);
251
- --ms-color-stone-950: oklch(0.147 0.004 49.25);
252
- --ms-color-black: #000;
253
- --ms-color-white: #fff;
254
- --ms-spacing: 0.25rem;
255
- --ms-breakpoint-sm: 40rem;
256
- --ms-breakpoint-md: 48rem;
257
- --ms-breakpoint-lg: 64rem;
258
- --ms-breakpoint-xl: 80rem;
259
- --ms-breakpoint-2xl: 96rem;
260
- --ms-container-3xs: 16rem;
261
- --ms-container-2xs: 18rem;
262
- --ms-container-xs: 20rem;
263
- --ms-container-sm: 24rem;
264
- --ms-container-md: 28rem;
265
- --ms-container-lg: 32rem;
266
- --ms-container-xl: 36rem;
267
- --ms-container-2xl: 42rem;
268
- --ms-container-3xl: 48rem;
269
- --ms-container-4xl: 56rem;
270
- --ms-container-5xl: 64rem;
271
- --ms-container-6xl: 72rem;
272
- --ms-container-7xl: 80rem;
273
- --ms-text-xs: 0.75rem;
274
- --ms-text-xs--line-height: calc(1 / 0.75);
275
- --ms-text-sm: 0.875rem;
276
- --ms-text-sm--line-height: calc(1.25 / 0.875);
277
- --ms-text-base: 1rem;
278
- --ms-text-base--line-height: calc(1.5 / 1);
279
- --ms-text-lg: 1.125rem;
280
- --ms-text-lg--line-height: calc(1.75 / 1.125);
281
- --ms-text-xl: 1.25rem;
282
- --ms-text-xl--line-height: calc(1.75 / 1.25);
283
- --ms-text-2xl: 1.5rem;
284
- --ms-text-2xl--line-height: calc(2 / 1.5);
285
- --ms-text-3xl: 1.875rem;
286
- --ms-text-3xl--line-height: calc(2.25 / 1.875);
287
- --ms-text-4xl: 2.25rem;
288
- --ms-text-4xl--line-height: calc(2.5 / 2.25);
289
- --ms-text-5xl: 3rem;
290
- --ms-text-5xl--line-height: 1;
291
- --ms-text-6xl: 3.75rem;
292
- --ms-text-6xl--line-height: 1;
293
- --ms-text-7xl: 4.5rem;
294
- --ms-text-7xl--line-height: 1;
295
- --ms-text-8xl: 6rem;
296
- --ms-text-8xl--line-height: 1;
297
- --ms-text-9xl: 8rem;
298
- --ms-text-9xl--line-height: 1;
299
- --ms-font-weight-thin: 100;
300
- --ms-font-weight-extralight: 200;
301
- --ms-font-weight-light: 300;
302
- --ms-font-weight-normal: 400;
303
- --ms-font-weight-medium: 500;
304
- --ms-font-weight-semibold: 600;
305
- --ms-font-weight-bold: 700;
306
- --ms-font-weight-extrabold: 800;
307
- --ms-font-weight-black: 900;
308
- --ms-tracking-tighter: -0.05em;
309
- --ms-tracking-tight: -0.025em;
310
- --ms-tracking-normal: 0em;
311
- --ms-tracking-wide: 0.025em;
312
- --ms-tracking-wider: 0.05em;
313
- --ms-tracking-widest: 0.1em;
314
- --ms-leading-tight: 1.25;
315
- --ms-leading-snug: 1.375;
316
- --ms-leading-normal: 1.5;
317
- --ms-leading-relaxed: 1.625;
318
- --ms-leading-loose: 2;
319
- --ms-radius-xs: 0.125rem;
320
- --ms-radius-sm: 0.25rem;
321
- --ms-radius-md: 0.375rem;
322
- --ms-radius-lg: 0.5rem;
323
- --ms-radius-xl: 0.75rem;
324
- --ms-radius-2xl: 1rem;
325
- --ms-radius-3xl: 1.5rem;
326
- --ms-radius-4xl: 2rem;
327
- --ms-shadow-2xs: 0 1px rgb(0 0 0 / 0.05);
328
- --ms-shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
329
- --ms-shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
330
- --ms-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
331
- --ms-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
332
- --ms-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
333
- --ms-shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
334
- --ms-inset-shadow-2xs: inset 0 1px rgb(0 0 0 / 0.05);
335
- --ms-inset-shadow-xs: inset 0 1px 1px rgb(0 0 0 / 0.05);
336
- --ms-inset-shadow-sm: inset 0 2px 4px rgb(0 0 0 / 0.05);
337
- --ms-drop-shadow-xs: 0 1px 1px rgb(0 0 0 / 0.05);
338
- --ms-drop-shadow-sm: 0 1px 2px rgb(0 0 0 / 0.15);
339
- --ms-drop-shadow-md: 0 3px 3px rgb(0 0 0 / 0.12);
340
- --ms-drop-shadow-lg: 0 4px 4px rgb(0 0 0 / 0.15);
341
- --ms-drop-shadow-xl: 0 9px 7px rgb(0 0 0 / 0.1);
342
- --ms-drop-shadow-2xl: 0 25px 25px rgb(0 0 0 / 0.15);
343
- --ms-ease-in: cubic-bezier(0.4, 0, 1, 1);
344
- --ms-ease-out: cubic-bezier(0, 0, 0.2, 1);
345
- --ms-ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
346
- --ms-animate-spin: spin 1s linear infinite;
347
- --ms-animate-ping: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
348
- --ms-animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
349
- --ms-animate-bounce: bounce 1s infinite;
350
- --ms-blur-xs: 4px;
351
- --ms-blur-sm: 8px;
352
- --ms-blur-md: 12px;
353
- --ms-blur-lg: 16px;
354
- --ms-blur-xl: 24px;
355
- --ms-blur-2xl: 40px;
356
- --ms-blur-3xl: 64px;
357
- --ms-perspective-dramatic: 100px;
358
- --ms-perspective-near: 300px;
359
- --ms-perspective-normal: 500px;
360
- --ms-perspective-midrange: 800px;
361
- --ms-perspective-distant: 1200px;
362
- --ms-aspect-video: 16 / 9;
363
- --ms-default-transition-duration: 150ms;
364
- --ms-default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
365
- --ms-default-font-family: var(--font-sans);
366
- --ms-default-font-feature-settings: var(--font-sans--font-feature-settings);
367
- --ms-default-font-variation-settings: var(--font-sans--font-variation-settings);
368
- --ms-default-mono-font-family: var(--font-mono);
369
- --ms-default-mono-font-feature-settings: var(--font-mono--font-feature-settings);
370
- --ms-default-mono-font-variation-settings: var(--font-mono--font-variation-settings);
371
- }
8
+ --ms-color-red-50: oklch(0.971 0.013 17.38);
9
+ --ms-color-red-100: oklch(0.936 0.032 17.717);
10
+ --ms-color-red-200: oklch(0.885 0.062 18.334);
11
+ --ms-color-red-300: oklch(0.808 0.114 19.571);
12
+ --ms-color-red-400: oklch(0.704 0.191 22.216);
13
+ --ms-color-red-500: oklch(0.637 0.237 25.331);
14
+ --ms-color-red-600: oklch(0.577 0.245 27.325);
15
+ --ms-color-red-700: oklch(0.505 0.213 27.518);
16
+ --ms-color-red-800: oklch(0.444 0.177 26.899);
17
+ --ms-color-red-900: oklch(0.396 0.141 25.723);
18
+ --ms-color-red-950: oklch(0.258 0.092 26.042);
19
+ --ms-color-orange-50: oklch(0.98 0.016 73.684);
20
+ --ms-color-orange-100: oklch(0.954 0.038 75.164);
21
+ --ms-color-orange-200: oklch(0.901 0.076 70.697);
22
+ --ms-color-orange-300: oklch(0.837 0.128 66.29);
23
+ --ms-color-orange-400: oklch(0.75 0.183 55.934);
24
+ --ms-color-orange-500: oklch(0.705 0.213 47.604);
25
+ --ms-color-orange-600: oklch(0.646 0.222 41.116);
26
+ --ms-color-orange-700: oklch(0.553 0.195 38.402);
27
+ --ms-color-orange-800: oklch(0.47 0.157 37.304);
28
+ --ms-color-orange-900: oklch(0.408 0.123 38.172);
29
+ --ms-color-orange-950: oklch(0.266 0.079 36.259);
30
+ --ms-color-amber-50: oklch(0.987 0.022 95.277);
31
+ --ms-color-amber-100: oklch(0.962 0.059 95.617);
32
+ --ms-color-amber-200: oklch(0.924 0.12 95.746);
33
+ --ms-color-amber-300: oklch(0.879 0.169 91.605);
34
+ --ms-color-amber-400: oklch(0.828 0.189 84.429);
35
+ --ms-color-amber-500: oklch(0.769 0.188 70.08);
36
+ --ms-color-amber-600: oklch(0.666 0.179 58.318);
37
+ --ms-color-amber-700: oklch(0.555 0.163 48.998);
38
+ --ms-color-amber-800: oklch(0.473 0.137 46.201);
39
+ --ms-color-amber-900: oklch(0.414 0.112 45.904);
40
+ --ms-color-amber-950: oklch(0.279 0.077 45.635);
41
+ --ms-color-yellow-50: oklch(0.987 0.026 102.212);
42
+ --ms-color-yellow-100: oklch(0.973 0.071 103.193);
43
+ --ms-color-yellow-200: oklch(0.945 0.129 101.54);
44
+ --ms-color-yellow-300: oklch(0.905 0.182 98.111);
45
+ --ms-color-yellow-400: oklch(0.852 0.199 91.936);
46
+ --ms-color-yellow-500: oklch(0.795 0.184 86.047);
47
+ --ms-color-yellow-600: oklch(0.681 0.162 75.834);
48
+ --ms-color-yellow-700: oklch(0.554 0.135 66.442);
49
+ --ms-color-yellow-800: oklch(0.476 0.114 61.907);
50
+ --ms-color-yellow-900: oklch(0.421 0.095 57.708);
51
+ --ms-color-yellow-950: oklch(0.286 0.066 53.813);
52
+ --ms-color-lime-50: oklch(0.986 0.031 120.757);
53
+ --ms-color-lime-100: oklch(0.967 0.067 122.328);
54
+ --ms-color-lime-200: oklch(0.938 0.127 124.321);
55
+ --ms-color-lime-300: oklch(0.897 0.196 126.665);
56
+ --ms-color-lime-400: oklch(0.841 0.238 128.85);
57
+ --ms-color-lime-500: oklch(0.768 0.233 130.85);
58
+ --ms-color-lime-600: oklch(0.648 0.2 131.684);
59
+ --ms-color-lime-700: oklch(0.532 0.157 131.589);
60
+ --ms-color-lime-800: oklch(0.453 0.124 130.933);
61
+ --ms-color-lime-900: oklch(0.405 0.101 131.063);
62
+ --ms-color-lime-950: oklch(0.274 0.072 132.109);
63
+ --ms-color-green-50: oklch(0.982 0.018 155.826);
64
+ --ms-color-green-100: oklch(0.962 0.044 156.743);
65
+ --ms-color-green-200: oklch(0.925 0.084 155.995);
66
+ --ms-color-green-300: oklch(0.871 0.15 154.449);
67
+ --ms-color-green-400: oklch(0.792 0.209 151.711);
68
+ --ms-color-green-500: oklch(0.723 0.219 149.579);
69
+ --ms-color-green-600: oklch(0.627 0.194 149.214);
70
+ --ms-color-green-700: oklch(0.527 0.154 150.069);
71
+ --ms-color-green-800: oklch(0.448 0.119 151.328);
72
+ --ms-color-green-900: oklch(0.393 0.095 152.535);
73
+ --ms-color-green-950: oklch(0.266 0.065 152.934);
74
+ --ms-color-emerald-50: oklch(0.979 0.021 166.113);
75
+ --ms-color-emerald-100: oklch(0.95 0.052 163.051);
76
+ --ms-color-emerald-200: oklch(0.905 0.093 164.15);
77
+ --ms-color-emerald-300: oklch(0.845 0.143 164.978);
78
+ --ms-color-emerald-400: oklch(0.765 0.177 163.223);
79
+ --ms-color-emerald-500: oklch(0.696 0.17 162.48);
80
+ --ms-color-emerald-600: oklch(0.596 0.145 163.225);
81
+ --ms-color-emerald-700: oklch(0.508 0.118 165.612);
82
+ --ms-color-emerald-800: oklch(0.432 0.095 166.913);
83
+ --ms-color-emerald-900: oklch(0.378 0.077 168.94);
84
+ --ms-color-emerald-950: oklch(0.262 0.051 172.552);
85
+ --ms-color-teal-50: oklch(0.984 0.014 180.72);
86
+ --ms-color-teal-100: oklch(0.953 0.051 180.801);
87
+ --ms-color-teal-200: oklch(0.91 0.096 180.426);
88
+ --ms-color-teal-300: oklch(0.855 0.138 181.071);
89
+ --ms-color-teal-400: oklch(0.777 0.152 181.912);
90
+ --ms-color-teal-500: oklch(0.704 0.14 182.503);
91
+ --ms-color-teal-600: oklch(0.6 0.118 184.704);
92
+ --ms-color-teal-700: oklch(0.511 0.096 186.391);
93
+ --ms-color-teal-800: oklch(0.437 0.078 188.216);
94
+ --ms-color-teal-900: oklch(0.386 0.063 188.416);
95
+ --ms-color-teal-950: oklch(0.277 0.046 192.524);
96
+ --ms-color-cyan-50: oklch(0.984 0.019 200.873);
97
+ --ms-color-cyan-100: oklch(0.956 0.045 203.388);
98
+ --ms-color-cyan-200: oklch(0.917 0.08 205.041);
99
+ --ms-color-cyan-300: oklch(0.865 0.127 207.078);
100
+ --ms-color-cyan-400: oklch(0.789 0.154 211.53);
101
+ --ms-color-cyan-500: oklch(0.715 0.143 215.221);
102
+ --ms-color-cyan-600: oklch(0.609 0.126 221.723);
103
+ --ms-color-cyan-700: oklch(0.52 0.105 223.128);
104
+ --ms-color-cyan-800: oklch(0.45 0.085 224.283);
105
+ --ms-color-cyan-900: oklch(0.398 0.07 227.392);
106
+ --ms-color-cyan-950: oklch(0.302 0.056 229.695);
107
+ --ms-color-sky-50: oklch(0.977 0.013 236.62);
108
+ --ms-color-sky-100: oklch(0.951 0.026 236.824);
109
+ --ms-color-sky-200: oklch(0.901 0.058 230.902);
110
+ --ms-color-sky-300: oklch(0.828 0.111 230.318);
111
+ --ms-color-sky-400: oklch(0.746 0.16 232.661);
112
+ --ms-color-sky-500: oklch(0.685 0.169 237.323);
113
+ --ms-color-sky-600: oklch(0.588 0.158 241.966);
114
+ --ms-color-sky-700: oklch(0.5 0.134 242.749);
115
+ --ms-color-sky-800: oklch(0.443 0.11 240.79);
116
+ --ms-color-sky-900: oklch(0.391 0.09 240.876);
117
+ --ms-color-sky-950: oklch(0.293 0.066 243.157);
118
+ --ms-color-blue-50: oklch(0.97 0.014 254.604);
119
+ --ms-color-blue-100: oklch(0.932 0.032 255.585);
120
+ --ms-color-blue-200: oklch(0.882 0.059 254.128);
121
+ --ms-color-blue-300: oklch(0.809 0.105 251.813);
122
+ --ms-color-blue-400: oklch(0.707 0.165 254.624);
123
+ --ms-color-blue-500: oklch(0.623 0.214 259.815);
124
+ --ms-color-blue-600: oklch(0.546 0.245 262.881);
125
+ --ms-color-blue-700: oklch(0.488 0.243 264.376);
126
+ --ms-color-blue-800: oklch(0.424 0.199 265.638);
127
+ --ms-color-blue-900: oklch(0.379 0.146 265.522);
128
+ --ms-color-blue-950: oklch(0.282 0.091 267.935);
129
+ --ms-color-indigo-50: oklch(0.962 0.018 272.314);
130
+ --ms-color-indigo-100: oklch(0.93 0.034 272.788);
131
+ --ms-color-indigo-200: oklch(0.87 0.065 274.039);
132
+ --ms-color-indigo-300: oklch(0.785 0.115 274.713);
133
+ --ms-color-indigo-400: oklch(0.673 0.182 276.935);
134
+ --ms-color-indigo-500: oklch(0.585 0.233 277.117);
135
+ --ms-color-indigo-600: oklch(0.511 0.262 276.966);
136
+ --ms-color-indigo-700: oklch(0.457 0.24 277.023);
137
+ --ms-color-indigo-800: oklch(0.398 0.195 277.366);
138
+ --ms-color-indigo-900: oklch(0.359 0.144 278.697);
139
+ --ms-color-indigo-950: oklch(0.257 0.09 281.288);
140
+ --ms-color-violet-50: oklch(0.969 0.016 293.756);
141
+ --ms-color-violet-100: oklch(0.943 0.029 294.588);
142
+ --ms-color-violet-200: oklch(0.894 0.057 293.283);
143
+ --ms-color-violet-300: oklch(0.811 0.111 293.571);
144
+ --ms-color-violet-400: oklch(0.702 0.183 293.541);
145
+ --ms-color-violet-500: oklch(0.606 0.25 292.717);
146
+ --ms-color-violet-600: oklch(0.541 0.281 293.009);
147
+ --ms-color-violet-700: oklch(0.491 0.27 292.581);
148
+ --ms-color-violet-800: oklch(0.432 0.232 292.759);
149
+ --ms-color-violet-900: oklch(0.38 0.189 293.745);
150
+ --ms-color-violet-950: oklch(0.283 0.141 291.089);
151
+ --ms-color-purple-50: oklch(0.977 0.014 308.299);
152
+ --ms-color-purple-100: oklch(0.946 0.033 307.174);
153
+ --ms-color-purple-200: oklch(0.902 0.063 306.703);
154
+ --ms-color-purple-300: oklch(0.827 0.119 306.383);
155
+ --ms-color-purple-400: oklch(0.714 0.203 305.504);
156
+ --ms-color-purple-500: oklch(0.627 0.265 303.9);
157
+ --ms-color-purple-600: oklch(0.558 0.288 302.321);
158
+ --ms-color-purple-700: oklch(0.496 0.265 301.924);
159
+ --ms-color-purple-800: oklch(0.438 0.218 303.724);
160
+ --ms-color-purple-900: oklch(0.381 0.176 304.987);
161
+ --ms-color-purple-950: oklch(0.291 0.149 302.717);
162
+ --ms-color-fuchsia-50: oklch(0.977 0.017 320.058);
163
+ --ms-color-fuchsia-100: oklch(0.952 0.037 318.852);
164
+ --ms-color-fuchsia-200: oklch(0.903 0.076 319.62);
165
+ --ms-color-fuchsia-300: oklch(0.833 0.145 321.434);
166
+ --ms-color-fuchsia-400: oklch(0.74 0.238 322.16);
167
+ --ms-color-fuchsia-500: oklch(0.667 0.295 322.15);
168
+ --ms-color-fuchsia-600: oklch(0.591 0.293 322.896);
169
+ --ms-color-fuchsia-700: oklch(0.518 0.253 323.949);
170
+ --ms-color-fuchsia-800: oklch(0.452 0.211 324.591);
171
+ --ms-color-fuchsia-900: oklch(0.401 0.17 325.612);
172
+ --ms-color-fuchsia-950: oklch(0.293 0.136 325.661);
173
+ --ms-color-pink-50: oklch(0.971 0.014 343.198);
174
+ --ms-color-pink-100: oklch(0.948 0.028 342.258);
175
+ --ms-color-pink-200: oklch(0.899 0.061 343.231);
176
+ --ms-color-pink-300: oklch(0.823 0.12 346.018);
177
+ --ms-color-pink-400: oklch(0.718 0.202 349.761);
178
+ --ms-color-pink-500: oklch(0.656 0.241 354.308);
179
+ --ms-color-pink-600: oklch(0.592 0.249 0.584);
180
+ --ms-color-pink-700: oklch(0.525 0.223 3.958);
181
+ --ms-color-pink-800: oklch(0.459 0.187 3.815);
182
+ --ms-color-pink-900: oklch(0.408 0.153 2.432);
183
+ --ms-color-pink-950: oklch(0.284 0.109 3.907);
184
+ --ms-color-rose-50: oklch(0.969 0.015 12.422);
185
+ --ms-color-rose-100: oklch(0.941 0.03 12.58);
186
+ --ms-color-rose-200: oklch(0.892 0.058 10.001);
187
+ --ms-color-rose-300: oklch(0.81 0.117 11.638);
188
+ --ms-color-rose-400: oklch(0.712 0.194 13.428);
189
+ --ms-color-rose-500: oklch(0.645 0.246 16.439);
190
+ --ms-color-rose-600: oklch(0.586 0.253 17.585);
191
+ --ms-color-rose-700: oklch(0.514 0.222 16.935);
192
+ --ms-color-rose-800: oklch(0.455 0.188 13.697);
193
+ --ms-color-rose-900: oklch(0.41 0.159 10.272);
194
+ --ms-color-rose-950: oklch(0.271 0.105 12.094);
195
+ --ms-color-slate-50: oklch(0.984 0.003 247.858);
196
+ --ms-color-slate-100: oklch(0.968 0.007 247.896);
197
+ --ms-color-slate-200: oklch(0.929 0.013 255.508);
198
+ --ms-color-slate-300: oklch(0.869 0.022 252.894);
199
+ --ms-color-slate-400: oklch(0.704 0.04 256.788);
200
+ --ms-color-slate-500: oklch(0.554 0.046 257.417);
201
+ --ms-color-slate-600: oklch(0.446 0.043 257.281);
202
+ --ms-color-slate-700: oklch(0.372 0.044 257.287);
203
+ --ms-color-slate-800: oklch(0.279 0.041 260.031);
204
+ --ms-color-slate-900: oklch(0.208 0.042 265.755);
205
+ --ms-color-slate-950: oklch(0.129 0.042 264.695);
206
+ --ms-color-gray-50: oklch(0.985 0.002 247.839);
207
+ --ms-color-gray-100: oklch(0.967 0.003 264.542);
208
+ --ms-color-gray-200: oklch(0.928 0.006 264.531);
209
+ --ms-color-gray-300: oklch(0.872 0.01 258.338);
210
+ --ms-color-gray-400: oklch(0.707 0.022 261.325);
211
+ --ms-color-gray-500: oklch(0.551 0.027 264.364);
212
+ --ms-color-gray-600: oklch(0.446 0.03 256.802);
213
+ --ms-color-gray-700: oklch(0.373 0.034 259.733);
214
+ --ms-color-gray-800: oklch(0.278 0.033 256.848);
215
+ --ms-color-gray-900: oklch(0.21 0.034 264.665);
216
+ --ms-color-gray-950: oklch(0.13 0.028 261.692);
217
+ --ms-color-zinc-50: oklch(0.985 0 0);
218
+ --ms-color-zinc-100: oklch(0.967 0.001 286.375);
219
+ --ms-color-zinc-200: oklch(0.92 0.004 286.32);
220
+ --ms-color-zinc-300: oklch(0.871 0.006 286.286);
221
+ --ms-color-zinc-400: oklch(0.705 0.015 286.067);
222
+ --ms-color-zinc-500: oklch(0.552 0.016 285.938);
223
+ --ms-color-zinc-600: oklch(0.442 0.017 285.786);
224
+ --ms-color-zinc-700: oklch(0.37 0.013 285.805);
225
+ --ms-color-zinc-800: oklch(0.274 0.006 286.033);
226
+ --ms-color-zinc-900: oklch(0.21 0.006 285.885);
227
+ --ms-color-zinc-950: oklch(0.141 0.005 285.823);
228
+ --ms-color-neutral-50: oklch(0.985 0 0);
229
+ --ms-color-neutral-100: oklch(0.97 0 0);
230
+ --ms-color-neutral-200: oklch(0.922 0 0);
231
+ --ms-color-neutral-300: oklch(0.87 0 0);
232
+ --ms-color-neutral-400: oklch(0.708 0 0);
233
+ --ms-color-neutral-500: oklch(0.556 0 0);
234
+ --ms-color-neutral-600: oklch(0.439 0 0);
235
+ --ms-color-neutral-700: oklch(0.371 0 0);
236
+ --ms-color-neutral-800: oklch(0.269 0 0);
237
+ --ms-color-neutral-900: oklch(0.205 0 0);
238
+ --ms-color-neutral-950: oklch(0.145 0 0);
239
+ --ms-color-stone-50: oklch(0.985 0.001 106.423);
240
+ --ms-color-stone-100: oklch(0.97 0.001 106.424);
241
+ --ms-color-stone-200: oklch(0.923 0.003 48.717);
242
+ --ms-color-stone-300: oklch(0.869 0.005 56.366);
243
+ --ms-color-stone-400: oklch(0.709 0.01 56.259);
244
+ --ms-color-stone-500: oklch(0.553 0.013 58.071);
245
+ --ms-color-stone-600: oklch(0.444 0.011 73.639);
246
+ --ms-color-stone-700: oklch(0.374 0.01 67.558);
247
+ --ms-color-stone-800: oklch(0.268 0.007 34.298);
248
+ --ms-color-stone-900: oklch(0.216 0.006 56.043);
249
+ --ms-color-stone-950: oklch(0.147 0.004 49.25);
250
+ --ms-color-black: #000;
251
+ --ms-color-white: #fff;
252
+ --ms-spacing: 0.25rem;
253
+ --ms-breakpoint-sm: 40rem;
254
+ --ms-breakpoint-md: 48rem;
255
+ --ms-breakpoint-lg: 64rem;
256
+ --ms-breakpoint-xl: 80rem;
257
+ --ms-breakpoint-2xl: 96rem;
258
+ --ms-container-3xs: 16rem;
259
+ --ms-container-2xs: 18rem;
260
+ --ms-container-xs: 20rem;
261
+ --ms-container-sm: 24rem;
262
+ --ms-container-md: 28rem;
263
+ --ms-container-lg: 32rem;
264
+ --ms-container-xl: 36rem;
265
+ --ms-container-2xl: 42rem;
266
+ --ms-container-3xl: 48rem;
267
+ --ms-container-4xl: 56rem;
268
+ --ms-container-5xl: 64rem;
269
+ --ms-container-6xl: 72rem;
270
+ --ms-container-7xl: 80rem;
271
+ --ms-text-xs: 0.75rem;
272
+ --ms-text-xs--line-height: calc(1 / 0.75);
273
+ --ms-text-sm: 0.875rem;
274
+ --ms-text-sm--line-height: calc(1.25 / 0.875);
275
+ --ms-text-base: 1rem;
276
+ --ms-text-base--line-height: calc(1.5 / 1);
277
+ --ms-text-lg: 1.125rem;
278
+ --ms-text-lg--line-height: calc(1.75 / 1.125);
279
+ --ms-text-xl: 1.25rem;
280
+ --ms-text-xl--line-height: calc(1.75 / 1.25);
281
+ --ms-text-2xl: 1.5rem;
282
+ --ms-text-2xl--line-height: calc(2 / 1.5);
283
+ --ms-text-3xl: 1.875rem;
284
+ --ms-text-3xl--line-height: calc(2.25 / 1.875);
285
+ --ms-text-4xl: 2.25rem;
286
+ --ms-text-4xl--line-height: calc(2.5 / 2.25);
287
+ --ms-text-5xl: 3rem;
288
+ --ms-text-5xl--line-height: 1;
289
+ --ms-text-6xl: 3.75rem;
290
+ --ms-text-6xl--line-height: 1;
291
+ --ms-text-7xl: 4.5rem;
292
+ --ms-text-7xl--line-height: 1;
293
+ --ms-text-8xl: 6rem;
294
+ --ms-text-8xl--line-height: 1;
295
+ --ms-text-9xl: 8rem;
296
+ --ms-text-9xl--line-height: 1;
297
+ --ms-font-weight-thin: 100;
298
+ --ms-font-weight-extralight: 200;
299
+ --ms-font-weight-light: 300;
300
+ --ms-font-weight-normal: 400;
301
+ --ms-font-weight-medium: 500;
302
+ --ms-font-weight-semibold: 600;
303
+ --ms-font-weight-bold: 700;
304
+ --ms-font-weight-extrabold: 800;
305
+ --ms-font-weight-black: 900;
306
+ --ms-tracking-tighter: -0.05em;
307
+ --ms-tracking-tight: -0.025em;
308
+ --ms-tracking-normal: 0em;
309
+ --ms-tracking-wide: 0.025em;
310
+ --ms-tracking-wider: 0.05em;
311
+ --ms-tracking-widest: 0.1em;
312
+ --ms-leading-tight: 1.25;
313
+ --ms-leading-snug: 1.375;
314
+ --ms-leading-normal: 1.5;
315
+ --ms-leading-relaxed: 1.625;
316
+ --ms-leading-loose: 2;
317
+ --ms-radius-xs: 0.125rem;
318
+ --ms-radius-sm: 0.25rem;
319
+ --ms-radius-md: 0.375rem;
320
+ --ms-radius-lg: 0.5rem;
321
+ --ms-radius-xl: 0.75rem;
322
+ --ms-radius-2xl: 1rem;
323
+ --ms-radius-3xl: 1.5rem;
324
+ --ms-radius-4xl: 2rem;
325
+ --ms-shadow-2xs: 0 1px rgb(0 0 0 / 0.05);
326
+ --ms-shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
327
+ --ms-shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
328
+ --ms-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
329
+ --ms-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
330
+ --ms-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
331
+ --ms-shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
332
+ --ms-inset-shadow-2xs: inset 0 1px rgb(0 0 0 / 0.05);
333
+ --ms-inset-shadow-xs: inset 0 1px 1px rgb(0 0 0 / 0.05);
334
+ --ms-inset-shadow-sm: inset 0 2px 4px rgb(0 0 0 / 0.05);
335
+ --ms-drop-shadow-xs: 0 1px 1px rgb(0 0 0 / 0.05);
336
+ --ms-drop-shadow-sm: 0 1px 2px rgb(0 0 0 / 0.15);
337
+ --ms-drop-shadow-md: 0 3px 3px rgb(0 0 0 / 0.12);
338
+ --ms-drop-shadow-lg: 0 4px 4px rgb(0 0 0 / 0.15);
339
+ --ms-drop-shadow-xl: 0 9px 7px rgb(0 0 0 / 0.1);
340
+ --ms-drop-shadow-2xl: 0 25px 25px rgb(0 0 0 / 0.15);
341
+ --ms-ease-in: cubic-bezier(0.4, 0, 1, 1);
342
+ --ms-ease-out: cubic-bezier(0, 0, 0.2, 1);
343
+ --ms-ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
344
+ --ms-animate-spin: spin 1s linear infinite;
345
+ --ms-animate-ping: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
346
+ --ms-animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
347
+ --ms-animate-bounce: bounce 1s infinite;
348
+ --ms-blur-xs: 4px;
349
+ --ms-blur-sm: 8px;
350
+ --ms-blur-md: 12px;
351
+ --ms-blur-lg: 16px;
352
+ --ms-blur-xl: 24px;
353
+ --ms-blur-2xl: 40px;
354
+ --ms-blur-3xl: 64px;
355
+ --ms-perspective-dramatic: 100px;
356
+ --ms-perspective-near: 300px;
357
+ --ms-perspective-normal: 500px;
358
+ --ms-perspective-midrange: 800px;
359
+ --ms-perspective-distant: 1200px;
360
+ --ms-aspect-video: 16 / 9;
361
+ --ms-default-transition-duration: 150ms;
362
+ --ms-default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
363
+ --ms-default-font-family: var(--font-sans);
364
+ --ms-default-font-feature-settings: var(--font-sans--font-feature-settings);
365
+ --ms-default-font-variation-settings: var(--font-sans--font-variation-settings);
366
+ --ms-default-mono-font-family: var(--font-mono);
367
+ --ms-default-mono-font-feature-settings: var(--font-mono--font-feature-settings);
368
+ --ms-default-mono-font-variation-settings: var(--font-mono--font-variation-settings);
372
369
  }
373
- @layer utilities {
374
- .ms\:\@container {
375
- container-type: inline-size;
376
- }
377
- .ms\:pointer-events-none {
378
- pointer-events: none;
379
- }
380
- .ms\:flex {
381
- display: flex;
382
- }
383
- .ms\:hidden {
384
- display: none;
385
- }
386
- .ms\:inline {
387
- display: inline;
388
- }
389
- .ms\:size-4 {
390
- width: calc(var(--ms-spacing) * 4);
391
- height: calc(var(--ms-spacing) * 4);
392
- }
393
- .ms\:w-full {
394
- width: 100%;
395
- }
396
- .ms\:flex-1 {
397
- flex: 1;
398
- }
399
- .ms\:grow {
400
- flex-grow: 1;
401
- }
402
- .ms\:cursor-pointer {
403
- cursor: pointer;
404
- }
405
- .ms\:flex-col {
406
- flex-direction: column;
407
- }
408
- .ms\:flex-col-reverse {
409
- flex-direction: column-reverse;
410
- }
411
- .ms\:flex-wrap {
412
- flex-wrap: wrap;
413
- }
414
- .ms\:gap-y-1 {
415
- row-gap: calc(var(--ms-spacing) * 1);
416
- }
417
- .ms\:rounded {
418
- border-radius: 0.25rem;
419
- }
420
- .ms\:border {
421
- border-style: var(--tw-border-style);
422
- border-width: 1px;
423
- }
424
- .ms\:border-0 {
425
- border-style: var(--tw-border-style);
426
- border-width: 0px;
427
- }
428
- .ms\:border-t {
429
- border-top-style: var(--tw-border-style);
430
- border-top-width: 1px;
431
- }
432
- .ms\:border-none {
433
- --tw-border-style: none;
434
- border-style: none;
435
- }
436
- .ms\:border-zinc-300 {
437
- border-color: var(--ms-color-zinc-300);
438
- }
439
- .ms\:bg-zinc-50 {
440
- background-color: var(--ms-color-zinc-50);
441
- }
442
- .ms\:bg-zinc-200 {
443
- background-color: var(--ms-color-zinc-200);
444
- }
445
- .ms\:bg-none {
446
- background-image: none;
447
- }
448
- .ms\:px-1\.5 {
449
- padding-inline: calc(var(--ms-spacing) * 1.5);
450
- }
451
- .ms\:px-2 {
452
- padding-inline: calc(var(--ms-spacing) * 2);
453
- }
454
- .ms\:px-3 {
455
- padding-inline: calc(var(--ms-spacing) * 3);
456
- }
457
- .ms\:py-1 {
458
- padding-block: calc(var(--ms-spacing) * 1);
459
- }
460
- .ms\:py-2 {
461
- padding-block: calc(var(--ms-spacing) * 2);
462
- }
463
- .ms\:focus-within\:border-zinc-500 {
464
- &:focus-within {
465
- border-color: var(--ms-color-zinc-500);
466
- }
370
+ .ms\:\@container {
371
+ container-type: inline-size;
372
+ }
373
+ .ms\:pointer-events-none {
374
+ pointer-events: none;
375
+ }
376
+ .ms\:flex {
377
+ display: flex;
378
+ }
379
+ .ms\:hidden {
380
+ display: none;
381
+ }
382
+ .ms\:inline {
383
+ display: inline;
384
+ }
385
+ .ms\:size-4 {
386
+ width: calc(var(--ms-spacing) * 4);
387
+ height: calc(var(--ms-spacing) * 4);
388
+ }
389
+ .ms\:w-full {
390
+ width: 100%;
391
+ }
392
+ .ms\:flex-1 {
393
+ flex: 1;
394
+ }
395
+ .ms\:grow {
396
+ flex-grow: 1;
397
+ }
398
+ .ms\:cursor-pointer {
399
+ cursor: pointer;
400
+ }
401
+ .ms\:flex-col {
402
+ flex-direction: column;
403
+ }
404
+ .ms\:flex-col-reverse {
405
+ flex-direction: column-reverse;
406
+ }
407
+ .ms\:flex-wrap {
408
+ flex-wrap: wrap;
409
+ }
410
+ .ms\:gap-y-1 {
411
+ row-gap: calc(var(--ms-spacing) * 1);
412
+ }
413
+ .ms\:rounded {
414
+ border-radius: 0.25rem;
415
+ }
416
+ .ms\:border {
417
+ border-style: var(--tw-border-style);
418
+ border-width: 1px;
419
+ }
420
+ .ms\:border-0 {
421
+ border-style: var(--tw-border-style);
422
+ border-width: 0px;
423
+ }
424
+ .ms\:border-t {
425
+ border-top-style: var(--tw-border-style);
426
+ border-top-width: 1px;
427
+ }
428
+ .ms\:border-none {
429
+ --tw-border-style: none;
430
+ border-style: none;
431
+ }
432
+ .ms\:border-zinc-300 {
433
+ border-color: var(--ms-color-zinc-300);
434
+ }
435
+ .ms\:bg-zinc-50 {
436
+ background-color: var(--ms-color-zinc-50);
437
+ }
438
+ .ms\:bg-zinc-200 {
439
+ background-color: var(--ms-color-zinc-200);
440
+ }
441
+ .ms\:bg-none {
442
+ background-image: none;
443
+ }
444
+ .ms\:px-1\.5 {
445
+ padding-inline: calc(var(--ms-spacing) * 1.5);
446
+ }
447
+ .ms\:px-2 {
448
+ padding-inline: calc(var(--ms-spacing) * 2);
449
+ }
450
+ .ms\:px-3 {
451
+ padding-inline: calc(var(--ms-spacing) * 3);
452
+ }
453
+ .ms\:py-1 {
454
+ padding-block: calc(var(--ms-spacing) * 1);
455
+ }
456
+ .ms\:py-2 {
457
+ padding-block: calc(var(--ms-spacing) * 2);
458
+ }
459
+ .ms\:focus-within\:border-zinc-500 {
460
+ &:focus-within {
461
+ border-color: var(--ms-color-zinc-500);
467
462
  }
468
- .ms\:hover\:bg-zinc-200 {
469
- &:hover {
470
- @media (hover: hover) {
471
- background-color: var(--ms-color-zinc-200);
472
- }
463
+ }
464
+ .ms\:hover\:bg-zinc-200 {
465
+ &:hover {
466
+ @media (hover: hover) {
467
+ background-color: var(--ms-color-zinc-200);
473
468
  }
474
469
  }
475
- .ms\:focus\:outline-none {
476
- &:focus {
477
- --tw-outline-style: none;
478
- outline-style: none;
479
- }
470
+ }
471
+ .ms\:focus\:outline-none {
472
+ &:focus {
473
+ --tw-outline-style: none;
474
+ outline-style: none;
480
475
  }
481
- .ms\:\@md\:flex-row {
482
- @container (width >= 28rem) {
483
- flex-direction: row;
484
- }
476
+ }
477
+ .ms\:\@md\:flex-row {
478
+ @container (width >= 28rem) {
479
+ flex-direction: row;
485
480
  }
486
481
  }
487
482
  @keyframes spin {
@@ -1,6 +1,9 @@
1
- @layer theme, base, components, utilities;
1
+ /* @layer theme, base, components, utilities;
2
2
 
3
3
  @import "tailwindcss/theme" layer(theme) prefix(ms);
4
- @import "tailwindcss/utilities" layer(utilities) prefix(ms);
4
+ @import "tailwindcss/utilities" layer(utilities) prefix(ms); */
5
+
6
+ @import "tailwindcss/theme" prefix(ms);
7
+ @import "tailwindcss/utilities" prefix(ms);
5
8
 
6
9
  @source "./../../views/";
@@ -13,7 +13,7 @@ export default class extends Controller {
13
13
  static values = {
14
14
  attachUrl: String,
15
15
  previewUrl: String,
16
- resourceClass: String,
16
+ extraPreviewParams: { type: Object, default: {} },
17
17
  fieldId: String,
18
18
  }
19
19
 
@@ -44,9 +44,8 @@ export default class extends Controller {
44
44
  post(this.previewUrlValue, {
45
45
  body: {
46
46
  body: this.fieldElementTarget.value,
47
- resource_class: this.resourceClassValue,
48
- field_id: this.fieldIdValue,
49
47
  element_id: this.previewElementTarget.id,
48
+ extra_params: this.extraPreviewParamsValue,
50
49
  },
51
50
  responseKind: 'turbo-stream',
52
51
  })
@@ -13,12 +13,10 @@
13
13
  controller: "marksmith",
14
14
  marksmith_preview_url_value: marksmith.markdown_previews_path,
15
15
  marksmith_active_tab_class: "bg-white",
16
- marksmith_attach_url_value: rails_direct_uploads_url,
17
- marksmith_resource_class_value: @resource.class.name,
18
- marksmith_field_id_value: name,
16
+ marksmith_attach_url_value: main_app.rails_direct_uploads_url,
17
+ marksmith_extra_preview_params_value: extra_preview_params.as_json,
19
18
  } do %>
20
- <% button_classes = class_names("ms:flex ms:items:center ms:cursor-pointer ms:py-1 ms:px-1.5 ms:hover:bg-zinc-200 ms:rounded") %>
21
- <% toggle_button_classes = class_names(button_classes, "ms:border-0 ms:bg-none") %>
19
+ <% toggle_button_classes = class_names(marksmith_button_classes, "ms:border-0 ms:bg-none") %>
22
20
  <div class="ms:flex-1 ms:flex-col-reverse ms:@md:flex-row ms:grow ms:flex ms:justify-bewteen ms:bg-zinc-50 ms:rounded ms:px-2 ms:py-1 ms:gap-y-1">
23
21
  <div class="ms:flex-1 ms:flex ms:items:center">
24
22
  <button class="<%= toggle_button_classes %>" data-action="click->marksmith#switchToPreview" data-marksmith-target="previewTabButton">
@@ -30,73 +28,22 @@
30
28
  </div>
31
29
 
32
30
  <markdown-toolbar for="<%= name %>" class="<%= class_names("ms:flex ms:flex-wrap", "ms:pointer-events-none": disabled) %>" data-marksmith-target="toolbar">
33
- <md-bold
34
- title="<%= t('marksmith.bold').humanize %>"
35
- class="<%= button_classes %>"
36
- >
37
- <%= svg "bold", class: "ms:inline ms:size-4" %>
38
- </md-bold>
39
- <md-header
40
- title="<%= t('marksmith.heading').humanize %>"
41
- class="<%= button_classes %>"
42
- >
43
- <%= svg "heading", class: "ms:inline ms:size-4" %>
44
- </md-header>
45
- <md-italic
46
- title="<%= t('marksmith.italic').humanize %>"
47
- class="<%= button_classes %>"
48
- >
49
- <%= svg "italic", class: "ms:inline ms:size-4" %>
50
- </md-italic>
51
- <md-quote
52
- title="<%= t('marksmith.quote').humanize %>"
53
- class="<%= button_classes %>"
54
- >
55
- <%= svg "quote", class: "ms:inline ms:size-4" %>
56
- </md-quote>
57
- <md-code
58
- title="<%= t('marksmith.code').humanize %>"
59
- class="<%= button_classes %>"
60
- >
61
- <%= svg "code", class: "ms:inline ms:size-4" %>
62
- </md-code>
63
- <md-link
64
- title="<%= t('marksmith.link').humanize %>"
65
- class="<%= button_classes %>"
66
- >
67
- <%= svg "link", class: "ms:inline ms:size-4" %>
68
- </md-link>
69
- <md-image
70
- title="<%= t('marksmith.image').humanize %>"
71
- class="<%= button_classes %>"
72
- >
73
- <%= svg "photo", class: "ms:inline ms:size-4" %>
74
- </md-image>
75
- <md-unordered-list
76
- title="<%= t('marksmith.unordered_list').humanize %>"
77
- class="<%= button_classes %>"
78
- >
79
- <%= svg "list-bullet", class: "ms:inline ms:size-4" %>
80
- </md-unordered-list>
81
- <md-ordered-list
82
- title="<%= t('marksmith.ordered_list').humanize %>"
83
- class="<%= button_classes %>"
84
- >
85
- <%= svg "numbered-list", class: "ms:inline ms:size-4" %>
86
- </md-ordered-list>
87
- <md-task-list
88
- title="<%= t('marksmith.task_list').humanize %>"
89
- class="<%= button_classes %>"
90
- >
91
- <%= svg "list-todo", class: "ms:inline ms:size-4" %>
92
- </md-task-list>
31
+ <%= marksmith_toolbar_button "bold" %>
32
+ <%= marksmith_toolbar_button "header" %>
33
+ <%= marksmith_toolbar_button "italic" %>
34
+ <%= marksmith_toolbar_button "quote" %>
35
+ <%= marksmith_toolbar_button "code" %>
36
+ <%= marksmith_toolbar_button "link" %>
37
+ <%= marksmith_toolbar_button "image" %>
38
+ <%= marksmith_toolbar_button "unordered-list" %>
39
+ <%= marksmith_toolbar_button "ordered-list" %>
40
+ <%= marksmith_toolbar_button "task-list" %>
93
41
  </markdown-toolbar>
94
42
  </div>
95
43
 
96
44
  <div class="ms:border-t ms:border-zinc-300 ms:flex">
97
45
  <%= form.text_area name,
98
46
  id: name,
99
- # value: @field.value,
100
47
  class: class_names("ms:flex ms:flex-1 ms:rounded ms:border-none ms:py-2 ms:px-3 ms:focus:outline-none", classes),
101
48
  rows: rows,
102
49
  data: {
@@ -109,7 +56,12 @@
109
56
  autofocus:,
110
57
  style:
111
58
  %>
112
- <%= content_tag :div, class: "ms:hidden ms:markdown-preview", id: "markdown-preview-#{name}", data: { marksmith_target: "previewElement" } do %>
59
+ <%= content_tag :div,
60
+ class: "ms:hidden ms:markdown-preview",
61
+ id: "markdown-preview-#{name}",
62
+ data: {
63
+ marksmith_target: "previewElement",
64
+ } do %>
113
65
  <div class="button-spinner">
114
66
  <div class="double-bounce1"></div>
115
67
  <div class="double-bounce2"></div>
@@ -30,4 +30,15 @@
30
30
 
31
31
  en:
32
32
  marksmith:
33
- hello: "Hello world"
33
+ bold: bold
34
+ code: code
35
+ header: header
36
+ image: image
37
+ italic: italic
38
+ link: link
39
+ ordered_list: ordered list
40
+ preview: preview
41
+ quote: quote
42
+ task_list: task_list
43
+ unordered_list: unordered list
44
+ write: write
@@ -4,6 +4,7 @@ module Marksmith
4
4
 
5
5
  initializer "marksmith.view_helpers" do
6
6
  ActiveSupport.on_load :action_view do
7
+ require "marksmith/helper"
7
8
  ActionView::Base.include Marksmith::Helper
8
9
 
9
10
  module FormBuilderExtensions
@@ -0,0 +1,31 @@
1
+ require "marksmith/component"
2
+
3
+ module Marksmith
4
+ module Helper
5
+ def marksmithed(body)
6
+ Marksmith::Renderer.new.renderer.render(body)
7
+ end
8
+
9
+ def marksmith_tag(name, **kwargs, &block)
10
+ render partial: "marksmith/shared/editor", locals: { name: name, **kwargs }
11
+ end
12
+
13
+ def marksmith_asset_tags(*args, **kwargs)
14
+ stylesheet_link_tag("marksmith", *args, **kwargs) +
15
+ javascript_include_tag("marksmith.esm.js", *args, **kwargs)
16
+ end
17
+
18
+ def marksmith_button_classes
19
+ class_names("ms:flex ms:items:center ms:cursor-pointer ms:py-1 ms:px-1.5 ms:hover:bg-zinc-200 ms:rounded")
20
+ end
21
+
22
+ def marksmith_toolbar_button(name, **kwargs)
23
+ content_tag "md-#{name}", marksmith_toolbar_svg(name), title: t("marksmith.#{name.to_s.gsub("-", "_")}").humanize, class: marksmith_button_classes
24
+ end
25
+
26
+ # TODO: maybe inline svgs in the future
27
+ def marksmith_toolbar_svg(name)
28
+ image_tag asset_path("marksmith/svgs/#{name}.svg"), class: "ms:inline ms:size-4"
29
+ end
30
+ end
31
+ end
@@ -1,3 +1,3 @@
1
1
  module Marksmith
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: marksmith
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adrian Marin
@@ -67,15 +67,15 @@ files:
67
67
  - app/assets/images/marksmith/svgs/code.svg
68
68
  - app/assets/images/marksmith/svgs/color-swatch copy.svg
69
69
  - app/assets/images/marksmith/svgs/color-swatch.svg
70
- - app/assets/images/marksmith/svgs/heading.svg
70
+ - app/assets/images/marksmith/svgs/header.svg
71
+ - app/assets/images/marksmith/svgs/image.svg
71
72
  - app/assets/images/marksmith/svgs/italic.svg
72
73
  - app/assets/images/marksmith/svgs/link copy.svg
73
74
  - app/assets/images/marksmith/svgs/link.svg
74
- - app/assets/images/marksmith/svgs/list-bullet.svg
75
- - app/assets/images/marksmith/svgs/list-todo.svg
76
- - app/assets/images/marksmith/svgs/numbered-list.svg
77
- - app/assets/images/marksmith/svgs/photo.svg
75
+ - app/assets/images/marksmith/svgs/ordered-list.svg
78
76
  - app/assets/images/marksmith/svgs/quote.svg
77
+ - app/assets/images/marksmith/svgs/task-list.svg
78
+ - app/assets/images/marksmith/svgs/unordered-list.svg
79
79
  - app/assets/stylesheets/marksmith.css
80
80
  - app/assets/stylesheets/marksmith/application.css
81
81
  - app/controllers/marksmith/application_controller.rb
@@ -86,7 +86,6 @@ files:
86
86
  - app/frontend/entrypoints/javascript/controllers/index.js
87
87
  - app/frontend/entrypoints/javascript/controllers/marksmith_controller.js
88
88
  - app/helpers/marksmith/application_helper.rb
89
- - app/helpers/marksmith/helper.rb
90
89
  - app/jobs/marksmith/application_job.rb
91
90
  - app/mailers/marksmith/application_mailer.rb
92
91
  - app/models/marksmith/application_record.rb
@@ -100,6 +99,7 @@ files:
100
99
  - config/vite.json
101
100
  - lib/marksmith.rb
102
101
  - lib/marksmith/engine.rb
102
+ - lib/marksmith/helper.rb
103
103
  - lib/marksmith/version.rb
104
104
  - lib/tasks/marksmith_tasks.rake
105
105
  homepage: https://github.com/avo-hq/marksmith
@@ -1,21 +0,0 @@
1
- module Marksmith
2
- module Helper
3
- def marksmithed(body)
4
- Marksmith::Renderer.new.renderer.render(body)
5
- end
6
-
7
- def marksmith_tag(name, **kwargs, &block)
8
- render partial: "marksmith/shared/editor", locals: { name: name, **kwargs }
9
- end
10
-
11
- def marksmith_asset_tags(*args, **kwargs)
12
- stylesheet_link_tag("marksmith", *args, **kwargs) +
13
- javascript_include_tag("marksmith.esm.js", *args, **kwargs)
14
- end
15
-
16
- # TODO: maybe inline svgs in the future
17
- def svg(name, options = {})
18
- image_tag asset_path("marksmith/svgs/#{name}.svg"), options
19
- end
20
- end
21
- end