@docmd/ui 0.4.0 → 0.4.2

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.
@@ -289,6 +289,7 @@ body.sidebar-collapsed .main-content-wrapper {
289
289
  }
290
290
 
291
291
  .header-left,
292
+ .header-right,
292
293
  .page-header {
293
294
  align-items: center;
294
295
  display: flex
@@ -307,8 +308,7 @@ body.sidebar-collapsed .main-content-wrapper {
307
308
  }
308
309
 
309
310
  .header-right {
310
- display: flex;
311
- align-items: center
311
+ gap: 5px
312
312
  }
313
313
 
314
314
  .page-header h1 {
@@ -329,9 +329,8 @@ body.sidebar-collapsed .main-content-wrapper {
329
329
  display: flex;
330
330
  align-items: center;
331
331
  justify-content: center;
332
- height: 2.5em;
333
- width: 100%;
334
- margin: 0 .25em
332
+ height: 3em;
333
+ width: 3em;
335
334
  }
336
335
 
337
336
  .docmd-search-trigger:hover,
@@ -361,7 +360,32 @@ body.sidebar-collapsed .main-content-wrapper {
361
360
  fill: var(--white);
362
361
  }
363
362
 
364
- .card .card-title{
363
+ .docmd-search-trigger {
364
+ gap: .5rem;
365
+ color: var(--image-caption-text);
366
+ width: 15em;
367
+ }
368
+
369
+ html[data-theme=dark] .theme-toggle-button .icon-moon {
370
+ color: var(--text-color)
371
+ }
372
+
373
+ .docmd-search-trigger .icon-search {
374
+ width: 1.25em;
375
+ height: 1.25em
376
+ }
377
+
378
+ .docmd-search-trigger .search-label {
379
+ margin-right: 1rem;
380
+ font-size: 1.25em
381
+ }
382
+
383
+ .docmd-search-trigger .search-keys {
384
+ display: flex;
385
+ gap: 2px
386
+ }
387
+
388
+ .card .card-title {
365
389
  border-bottom: 1px solid var(--border-color)
366
390
  }
367
391
 
@@ -443,7 +467,6 @@ tr:last-child td {
443
467
  padding-bottom: 10px;
444
468
  text-align: center;
445
469
  height: 2.5em;
446
- box-shadow: 0 20px 15px -18px var(--border-color)
447
470
  }
448
471
 
449
472
  .sidebar-header h1 {
@@ -1181,7 +1204,7 @@ img.with-shadow {
1181
1204
  flex-direction: column
1182
1205
  }
1183
1206
 
1184
- .copy-code-button svg{
1207
+ .copy-code-button svg {
1185
1208
  width: 1rem;
1186
1209
  height: 1rem
1187
1210
  }
@@ -1222,7 +1245,7 @@ img.with-shadow {
1222
1245
  color: #ddd
1223
1246
  }
1224
1247
 
1225
- a.docmd-button{
1248
+ a.docmd-button {
1226
1249
  color: #fff;
1227
1250
  text-decoration: none
1228
1251
  }
@@ -1307,26 +1330,6 @@ hr {
1307
1330
  height: 1em
1308
1331
  }
1309
1332
 
1310
- .docmd-search-trigger {
1311
- gap: .5rem;
1312
- padding: .4rem .6rem;
1313
- font-size: .85rem;
1314
- color: var(--image-caption-text);
1315
- }
1316
-
1317
- html[data-theme=dark] .theme-toggle-button .icon-moon {
1318
- color: var(--text-color)
1319
- }
1320
-
1321
- .search-label {
1322
- margin-right: 1rem
1323
- }
1324
-
1325
- .search-keys {
1326
- display: flex;
1327
- gap: 2px
1328
- }
1329
-
1330
1333
  .docmd-kbd {
1331
1334
  background-color: var(--bg-color);
1332
1335
  border: 1px solid var(--border-color);
@@ -1513,7 +1516,9 @@ html[data-theme=dark] .theme-toggle-button .icon-moon {
1513
1516
  }
1514
1517
 
1515
1518
  @keyframes heartbeat {
1516
- 0%, 100% {
1519
+
1520
+ 0%,
1521
+ 100% {
1517
1522
  transform: scale(1);
1518
1523
  }
1519
1524
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docmd/ui",
3
- "version": "0.4.0",
3
+ "version": "0.4.2",
4
4
  "description": "Base UI templates and assets for docmd",
5
5
  "main": "index.js",
6
6
  "files": [
@@ -8,5 +8,36 @@
8
8
  "assets",
9
9
  "index.js"
10
10
  ],
11
+ "keywords": [
12
+ "docmd",
13
+ "ui",
14
+ "templates",
15
+ "assets",
16
+ "layout",
17
+ "html",
18
+ "css",
19
+ "scss",
20
+ "kit",
21
+ "base",
22
+ "markdown",
23
+ "minimalist",
24
+ "zero-config",
25
+ "site-generator",
26
+ "static-site-generator",
27
+ "docs"
28
+ ],
29
+ "author": {
30
+ "name": "Ghazi",
31
+ "url": "https://mgks.dev"
32
+ },
33
+ "repository": {
34
+ "type": "git",
35
+ "url": "git+https://github.com/docmd-io/docmd.git"
36
+ },
37
+ "bugs": {
38
+ "url": "https://github.com/docmd-io/docmd/issues"
39
+ },
40
+ "homepage": "https://docmd.io",
41
+ "funding": "https://github.com/sponsors/mgks",
11
42
  "license": "MIT"
12
43
  }