vrembem 4.0.0-next.47 → 4.0.0-next.48

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 CHANGED
@@ -2,4 +2,4 @@
2
2
 
3
3
  A complete collection of all Vrembem components into a single comprehensive package for convenience.
4
4
 
5
- [Documentation](https://vrembem.com/packages/vrembem)
5
+ [Documentation](https://vrembem.com)
package/dev/base.css ADDED
@@ -0,0 +1,259 @@
1
+ @layer base {
2
+ *,
3
+ *::before,
4
+ *::after {
5
+ box-sizing: border-box;
6
+ margin: 0;
7
+ padding: 0;
8
+ }
9
+ html,
10
+ :host {
11
+ font-family: var(--vb-font-family, system-ui, sans-serif);
12
+ line-height: var(--vb-line-height, 1.5);
13
+ text-size-adjust: none;
14
+ }
15
+ html {
16
+ height: 100%;
17
+ }
18
+ body {
19
+ min-height: 100vh;
20
+ color: var(--vb-base-foreground);
21
+ background: var(--vb-base-background);
22
+ }
23
+ img,
24
+ svg,
25
+ video,
26
+ canvas,
27
+ audio,
28
+ iframe,
29
+ embed,
30
+ object {
31
+ display: block;
32
+ }
33
+ img,
34
+ video,
35
+ picture {
36
+ max-width: 100%;
37
+ height: auto;
38
+ vertical-align: middle;
39
+ }
40
+ button,
41
+ input,
42
+ textarea,
43
+ select {
44
+ font: inherit;
45
+ color: inherit;
46
+ }
47
+ button {
48
+ cursor: pointer;
49
+ border: 0;
50
+ background: none;
51
+ }
52
+ label:has(:disabled) {
53
+ pointer-events: none;
54
+ }
55
+ a {
56
+ color: inherit;
57
+ text-decoration: inherit;
58
+ }
59
+ h1,
60
+ h2,
61
+ h3,
62
+ h4,
63
+ h5,
64
+ h6 {
65
+ font-size: inherit;
66
+ color: var(--vb-foreground-strong);
67
+ }
68
+ b,
69
+ strong {
70
+ font-weight: bold;
71
+ }
72
+ small {
73
+ font-size: var(--vb-font-size-sm, 0.875rem);
74
+ }
75
+ code,
76
+ pre {
77
+ font-family: var(--vb-font-family-mono, ui-monospace, monospace);
78
+ font-size: 1em;
79
+ }
80
+ table {
81
+ border-collapse: collapse;
82
+ border-color: inherit;
83
+ }
84
+ }
85
+ @layer base {
86
+ .content {
87
+ font-family: var(--vb-content-font-family, inherit);
88
+ font-size: var(--vb-content-font-size, inherit);
89
+ line-height: var(--vb-content-line-height, inherit);
90
+ color: var(--vb-content-foreground, var(--vb-foreground));
91
+ }
92
+ .content > * + * {
93
+ margin-top: var(--vb-content-spacing);
94
+ }
95
+ .h1, .content > h1, .h2, .content > h2, .h3, .content > h3, .h4, .content > h4, .h5, .content > h5 {
96
+ font-family: var(--vb-headings-font-family, inherit);
97
+ font-size: var(--vb-headings-font-size, 1em);
98
+ font-weight: var(--vb-headings-font-weight, var(--vb-font-weight-semi-bold));
99
+ line-height: var(--vb-headings-line-height, inherit);
100
+ color: var(--vb-headings-foreground, var(--vb-foreground-strong));
101
+ }
102
+ .h1, .content > h1 {
103
+ --vb-headings-font-size: 2.75rem;
104
+ --vb-headings-line-height: 1.25;
105
+ }
106
+ .h2, .content > h2 {
107
+ --vb-headings-font-size: 2rem;
108
+ --vb-headings-line-height: 1.25;
109
+ }
110
+ .h3, .content > h3 {
111
+ --vb-headings-font-size: 1.75rem;
112
+ --vb-headings-line-height: 1.25;
113
+ }
114
+ .h4, .content > h4 {
115
+ --vb-headings-font-size: 1.5rem;
116
+ --vb-headings-line-height: 1.375;
117
+ }
118
+ .h5, .content > h5 {
119
+ --vb-headings-font-size: 1.25rem;
120
+ }
121
+ .link, .content :not(div) > a {
122
+ color: var(--vb-link-foreground, var(--vb-foreground-accent));
123
+ text-decoration: var(--vb-link-decoration, underline);
124
+ text-decoration-thickness: var(--vb-link-decoration-thickness, 1px);
125
+ text-underline-offset: var(--vb-link-underline-offset, 2px);
126
+ }
127
+ .link code, .content :not(div) > a code {
128
+ color: var(--vb-link-foreground, var(--vb-foreground-accent));
129
+ background-color: var(--vb-background-alt);
130
+ }
131
+ .link:hover, .link:focus-visible, .content :not(div) > a:hover, .content :not(div) > a:focus-visible {
132
+ color: var(--vb-link-foreground-hover, light-dark(oklch(from var(--vb-foreground-accent) calc(l - 0.1) c h), oklch(from var(--vb-foreground-accent) calc(l + 0.1) c h)));
133
+ text-decoration: var(--vb-link-decoration-hover, none);
134
+ }
135
+ .link:hover code, .link:focus-visible code, .content :not(div) > a:hover code, .content :not(div) > a:focus-visible code {
136
+ color: var(--vb-link-foreground-hover, light-dark(oklch(from var(--vb-foreground-accent) calc(l - 0.1) c h), oklch(from var(--vb-foreground-accent) calc(l + 0.1) c h)));
137
+ }
138
+ .link:focus-visible, .content :not(div) > a:focus-visible {
139
+ outline: var(--vb-link-focus-ring, currentcolor dotted 1px);
140
+ outline-offset: var(--vb-link-focus-ring-offset, 0.125rem);
141
+ }
142
+ .list, .content > ul, .content > ol {
143
+ margin-left: var(--vb-list-indent, var(--vb-spacing-lg));
144
+ }
145
+ .list ul,
146
+ .list ol, .content > ul ul,
147
+ .content > ul ol, .content > ol ul,
148
+ .content > ol ol {
149
+ margin-left: var(--vb-list-indent, var(--vb-spacing-lg));
150
+ }
151
+ .list li li,
152
+ .list li + li, .content > ul li li,
153
+ .content > ul li + li, .content > ol li li,
154
+ .content > ol li + li {
155
+ margin-top: var(--vb-list-spacing, var(--vb-spacing-sm));
156
+ }
157
+ .list-style-none {
158
+ list-style: none !important;
159
+ }
160
+ .code, .content :not(pre) > code {
161
+ padding: var(--vb-code-padding, 0.125rem 0.375rem);
162
+ border: var(--vb-code-border);
163
+ border-radius: var(--vb-code-border-radius, var(--vb-border-radius));
164
+ font-family: var(--vb-font-family-mono);
165
+ font-size: var(--vb-code-font-size, var(--vb-font-size-sm));
166
+ color: var(--vb-code-foreground, var(--vb-foreground-accent-alt));
167
+ overflow-wrap: break-word;
168
+ background: var(--vb-code-background, color-mix(in oklch, currentcolor 10%, transparent));
169
+ }
170
+ .pre, .content > pre {
171
+ overflow: auto;
172
+ padding: var(--vb-pre-padding, var(--vb-spacing-md));
173
+ border: var(--vb-pre-border, none);
174
+ border-radius: var(--vb-pre-border-radius, var(--vb-border-radius));
175
+ font-family: var(--vb-font-family-mono);
176
+ color: var(--vb-pre-foreground, var(--vb-foreground-strong));
177
+ background: var(--vb-pre-background, var(--vb-background-alt));
178
+ }
179
+ .pre code, .content > pre code {
180
+ padding: 0;
181
+ border: none;
182
+ font-size: var(--vb-pre-font-size, var(--vb-font-size-sm));
183
+ color: inherit;
184
+ background: none;
185
+ }
186
+ .blockquote, .content > blockquote {
187
+ position: relative;
188
+ padding: var(--vb-blockquote-padding, var(--vb-spacing-md));
189
+ border: var(--vb-blockquote-border, var(--vb-border));
190
+ border-radius: var(--vb-blockquote-border-radius, var(--vb-border-radius));
191
+ color: var(--vb-blockquote-foreground, currentcolor);
192
+ background: var(--vb-blockquote-background, transparent);
193
+ }
194
+ .blockquote > * + *, .content > blockquote > * + * {
195
+ margin-top: var(--vb-blockquote-spacing, var(--vb-spacing-md));
196
+ }
197
+ .sep, .content > hr {
198
+ display: block;
199
+ height: 0;
200
+ border: none;
201
+ border-top: var(--vb-separator-border-width, var(--vb-border-width)) var(--vb-separator-border-style, var(--vb-border-style)) var(--vb-separator-border-color, var(--vb-border-color));
202
+ }
203
+ .arrow,
204
+ .arrow-up,
205
+ .arrow-down,
206
+ .arrow-left,
207
+ .arrow-right {
208
+ pointer-events: none;
209
+ transform-origin: center;
210
+ display: inline-block;
211
+ flex-grow: 0;
212
+ flex-shrink: 0;
213
+ width: 0;
214
+ height: 0;
215
+ border-color: var(--vb-arrow-color, currentcolor) transparent transparent;
216
+ border-style: solid;
217
+ border-width: var(--vb-arrow-size, 6px 4px);
218
+ border-bottom-width: 0;
219
+ border-radius: var(--vb-arrow-radius, 2px);
220
+ }
221
+ .arrow-up {
222
+ transform: rotate(180deg);
223
+ }
224
+ .arrow-left {
225
+ transform: rotate(90deg);
226
+ }
227
+ .arrow-right {
228
+ transform: rotate(-90deg);
229
+ }
230
+ .loading-spinner {
231
+ width: var(--vb-loading-size, 1em);
232
+ height: var(--vb-loading-size, 1em);
233
+ position: relative;
234
+ display: inline-block;
235
+ border: var(--vb-loading-border, 2px solid);
236
+ border-color: var(--vb-loading-color, currentcolor) var(--vb-loading-color, currentcolor) transparent transparent;
237
+ border-radius: var(--vb-border-radius-circle);
238
+ animation: spin var(--vb-loading-duration, 0.6s) infinite linear;
239
+ }
240
+ @keyframes spin {
241
+ from {
242
+ transform: rotate(0deg);
243
+ }
244
+ to {
245
+ transform: rotate(360deg);
246
+ }
247
+ }
248
+ .sr-only {
249
+ position: absolute;
250
+ overflow: hidden;
251
+ width: 1px;
252
+ height: 1px;
253
+ margin: -1px;
254
+ padding: 0;
255
+ clip-path: inset(50%);
256
+ }
257
+ }
258
+
259
+ /*# sourceMappingURL=base.css.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sourceRoot":"","sources":["../../../node_modules/@vrembem/core/base.scss","../../../node_modules/@vrembem/core/src/library/_base.scss","../../../node_modules/@vrembem/content/index.scss","../../../node_modules/@vrembem/content/src/modules/_content.scss","../../../node_modules/@vrembem/content/src/modules/_headings.scss","../../../node_modules/@vrembem/core/src/modules/_tokens.scss","../../../node_modules/@vrembem/content/src/modules/_link.scss","../../../node_modules/@vrembem/content/src/modules/_list.scss","../../../node_modules/@vrembem/content/src/modules/_code.scss","../../../node_modules/@vrembem/content/src/modules/_pre.scss","../../../node_modules/@vrembem/content/src/modules/_blockquote.scss","../../../node_modules/@vrembem/content/src/modules/_separator.scss","../../../node_modules/@vrembem/content/src/modules/_arrow.scss","../../../node_modules/@vrembem/core/src/library/_arrow.scss","../../../node_modules/@vrembem/content/src/modules/_loading-spinner.scss","../../../node_modules/@vrembem/core/src/library/_size.scss","../../../node_modules/@vrembem/core/src/library/_loading-spinner.scss","../../../node_modules/@vrembem/content/src/modules/_sr-only.scss","../../../node_modules/@vrembem/core/src/library/_sr-only.scss"],"names":[],"mappings":"AAEA;ECWE;AAAA;AAAA;IAGE;IACA;IACA;;EAQF;AAAA;IAEE;IACA;IACA;;EAIF;IACE;;EAKF;IACE;IACA;IACA;;EAKF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;IAQE;;EAIF;AAAA;AAAA;IAGE;IACA;IACA;;EAIF;AAAA;AAAA;AAAA;IAIE;IACA;;EAIF;IACE;IACA;IACA;;EAIF;IACE;;EAIF;IACE;IACA;;EAIF;AAAA;AAAA;AAAA;AAAA;AAAA;IAME;IACA;;EAIF;AAAA;IAEE;;EAIF;IACE;;EAIF;AAAA;IAEE;IACA;;EAKF;IACE;IACA;;;AC5HJ;ECGE;IACE;IACA;IACA;IACA;;EAEA;IACE;;ECLJ;IACE;IACA;IACA;IACA;IACA;;EAYA;ICiSE;IAAA;;EDjSF;ICiSE;IAAA;;EDjSF;ICiSE;IAAA;;EDjSF;ICiSE;IAAA;;EDjSF;ICiSE;;ECrTJ;IACE;IACA;IACA;IACA;;EAEA;IACE;IACA;;EAIF;IAEE;IAIA;;EAEA;IACE;;EAOJ;IACE;IACA;;EC9BJ;IACE;;EAEA;AAAA;AAAA;AAAA;IAEE;;EAGF;AAAA;AAAA;AAAA;IAEE;;EAIJ;IACE;;ECfF;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;ECRF;IACE;IACA;IACA;IACA;IACA;IACA;IACA;;EAEA;IACE;IACA;IACA;IACA;IACA;;ECdJ;IACE;IACA;IACA;IACA;IACA;IACA;;EAEA;IACE;;ECTJ;IACE;IACA;IACA;IACA;;ECNF;AAAA;AAAA;AAAA;AAAA;ICYA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EDfA;IACE;;EAGF;IACE;;EAGF;IACE;;EEjBF;ICUE,OCCY;IDAZ;ICOF,UFjBgC;IEkBhC;IACA;IACA;IACA;IACA;;EAME;IACE;MACE;;IAGF;MACE;;;ECnCN;ICFA;IACA;IACA;IACA;IACA;IACA;IACA","file":"base.css"}