starlight-theme-bejamas 0.1.2 → 0.1.3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # starlight-theme-bejamas
2
2
 
3
+ ## 0.1.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#15](https://github.com/bejamas/ui/pull/15) [`067a92b`](https://github.com/bejamas/ui/commit/067a92bd34171b5403c7033cd2cccd54ad7ffe41) Thanks [@thomkrupa](https://github.com/thomkrupa)! - improve codeblock ui
8
+
3
9
  ## 0.1.2
4
10
 
5
11
  ### Patch Changes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "starlight-theme-bejamas",
3
3
  "author": "Bejamas",
4
- "version": "0.1.2",
4
+ "version": "0.1.3",
5
5
  "license": "MIT",
6
6
  "description": "A Starlight theme using bejamas/ui",
7
7
  "type": "module",
@@ -77,6 +77,9 @@
77
77
  --sl-content-inline-start: 0rem;
78
78
 
79
79
  --sl-icon-color: var(--foreground);
80
+ --ec-frm-inlBtnBgHoverOrFocusOpa: 1;
81
+ --ec-frm-trmIcon: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBMaWNlbnNlOiBNSVQuIE1hZGUgYnkgcGhvc3Bob3I6IGh0dHBzOi8vZ2l0aHViLmNvbS9waG9zcGhvci1pY29ucy9waG9zcGhvci1pY29ucyAtLT4KPHN2ZyBmaWxsPSIjMDAwMDAwIiB3aWR0aD0iMThweCIgaGVpZ2h0PSIxOHB4IiB2aWV3Qm94PSIwIDAgMjU2IDI1NiIgaWQ9IkZsYXQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGggZD0iTTExNy4zMTQ5NCwxMzMuOTc5NDlsLTcyLDY0YTguMDAwMTgsOC4wMDAxOCwwLDAsMS0xMC42Mjk4OC0xMS45NTlMOTkuOTU4NSwxMjgsMzQuNjg1MDYsNjkuOTc5NDlhOC4wMDAxOCw4LjAwMDE4LDAsMCwxLDEwLjYyOTg4LTExLjk1OWw3Miw2NGE4LjAwMDU0LDguMDAwNTQsMCwwLDEsMCwxMS45NTlaTTIxNS45OTQxNCwxODRoLTk2YTgsOCwwLDAsMCwwLDE2aDk2YTgsOCwwLDEsMCwwLTE2WiIvPgo8L3N2Zz4=);
82
+ --ecGtrBrdWd: 5px;
80
83
  }
81
84
 
82
85
  @media (min-width: 50em) {
@@ -94,6 +97,10 @@
94
97
  }
95
98
  }
96
99
 
100
+ html {
101
+ scrollbar-gutter: stable;
102
+ }
103
+
97
104
  html[data-theme="dark"],
98
105
  html.dark {
99
106
  --sl-main-frame-inner-background: color-mix(
@@ -236,6 +243,37 @@
236
243
  border: 1px solid var(--border);
237
244
  }
238
245
 
246
+ .expressive-code .frame.is-terminal .header {
247
+ padding: 0;
248
+ }
249
+
250
+ .expressive-code .copy {
251
+ top: calc(var(--spacing) * 2);
252
+ }
253
+
254
+ .expressive-code .copy button {
255
+ opacity: 1;
256
+ }
257
+
258
+ .expressive-code .frame.is-terminal .header::before {
259
+ width: 1.125rem;
260
+ height: 1.125rem;
261
+ background-color: var(--muted-foreground);
262
+ opacity: 1;
263
+ }
264
+
265
+ .expressive-code .frame.is-terminal .header .title::after {
266
+ content: "Terminal";
267
+ color: var(--muted-foreground);
268
+ font-size: 0.75rem;
269
+ margin-left: 2rem;
270
+ font-family: var(--font-sans);
271
+ }
272
+
273
+ .expressive-code .copy button div {
274
+ background: var(--secondary);
275
+ }
276
+
239
277
  ul.top-level li details ul li:last-child {
240
278
  margin-bottom: 1.25rem;
241
279
  }
@@ -252,8 +290,7 @@
252
290
  padding-top: 0;
253
291
  border-top-left-radius: var(--radius-lg);
254
292
  border-top-right-radius: var(--radius-lg);
255
- font-family: var(--sl-font-mono);
256
- font-size: 0.875rem;
293
+ font-size: 0.75rem;
257
294
  }
258
295
 
259
296
  .expressive-code pre {
@@ -295,8 +332,9 @@
295
332
  margin-top: 0;
296
333
  }
297
334
 
298
- starlight-tabs[data-sync-key="pkg"] figcaption.header {
299
- display: none;
335
+ starlight-tabs[data-sync-key="pkg"] figcaption.header .title {
336
+ border-radius: 0;
337
+ border-top: 0;
300
338
  }
301
339
 
302
340
  .tablist-wrapper > ul {
@@ -359,10 +397,9 @@
359
397
  border-color: var(--border);
360
398
  border: 1px solid var(--border);
361
399
 
362
- font-family: var(--sl-font-mono);
363
400
  width: 100%;
364
401
  border-bottom: 0;
365
- font-size: 0.875rem;
402
+ font-size: 0.75rem;
366
403
  padding-block: 0.75rem;
367
404
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
368
405
  }