@chassis-ui/docs 0.3.10 → 0.4.0
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,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
> Shared Astro layouts, components, and utilities for Chassis documentation sites.
|
|
4
4
|
|
|
5
|
-
[](https://opensource.org/licenses/MIT) [](https://opensource.org/licenses/MIT) [](https://www.npmjs.com/package/@chassis-ui/docs) [](https://www.npmjs.com/package/@chassis-ui/docs)
|
|
6
6
|
|
|
7
7
|
## Overview
|
|
8
8
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chassis-ui/docs",
|
|
3
3
|
"description": "Shared Astro components and layouts for Chassis documentation sites.",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.4.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"@astrojs/markdown-remark": "^7.0.0",
|
|
48
|
-
"@chassis-ui/css": "
|
|
48
|
+
"@chassis-ui/css": "^0.4.0",
|
|
49
49
|
"@pagefind/component-ui": "^1.0.0",
|
|
50
50
|
"@shikijs/transformers": "^4.3.1",
|
|
51
51
|
"astro": "^7.0.0",
|
|
@@ -107,7 +107,7 @@ const isActive = (path: string) => {
|
|
|
107
107
|
|
|
108
108
|
<ul class="navbar-nav flex-row flex-wrap large:ms-auto align-items-center">
|
|
109
109
|
<NavLink
|
|
110
|
-
class="px-0 large:px-
|
|
110
|
+
class="px-0 large:px-xsmall"
|
|
111
111
|
href={`https://figma.com/@${getConfig().figma_handle}`}
|
|
112
112
|
target="_blank"
|
|
113
113
|
rel="noopener"
|
|
@@ -116,7 +116,7 @@ const isActive = (path: string) => {
|
|
|
116
116
|
<small class="large:d-none ms-xsmall">Figma Community</small>
|
|
117
117
|
</NavLink>
|
|
118
118
|
<NavLink
|
|
119
|
-
class="px-0 large:px-
|
|
119
|
+
class="px-0 large:px-xsmall"
|
|
120
120
|
href={`https://github.com/${getConfig().github_org}`}
|
|
121
121
|
target="_blank"
|
|
122
122
|
rel="noopener"
|
package/src/scss/_search.scss
CHANGED
package/src/scss/_sidebar.scss
CHANGED
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
background-color: var(--cx-cue-main);
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
li:not(.cxd-links-subgroup):first-child::before,
|
|
68
|
+
li:not(.cxd-links-subgroup, :only-child):first-child::before,
|
|
69
69
|
.cxd-links-subgroup + li::before {
|
|
70
70
|
height: 2em;
|
|
71
71
|
margin-block-start: .8em;
|
|
@@ -76,6 +76,7 @@
|
|
|
76
76
|
height: .8em;
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
+
li:first-child:has(+ .cxd-links-subgroup)::before,
|
|
79
80
|
li:only-child::before {
|
|
80
81
|
height: .8em;
|
|
81
82
|
margin-block-start: .4em;
|
|
@@ -108,12 +109,14 @@
|
|
|
108
109
|
}
|
|
109
110
|
|
|
110
111
|
.cxd-links-subgroup {
|
|
111
|
-
@include font-size(var(--cx-font-size-
|
|
112
|
+
@include font-size(var(--cx-font-size-xsmall));
|
|
112
113
|
@include line-height(var(--cx-line-height-small));
|
|
113
114
|
--cx-icon-size: var(--cx-icon-xsmall);
|
|
114
|
-
padding-inline-start: .
|
|
115
|
-
margin-block:
|
|
115
|
+
padding-inline-start: 1.5rem;
|
|
116
|
+
margin-block: 1em .25em;
|
|
116
117
|
font-weight: var(--cx-font-weight-strong);
|
|
118
|
+
color: var(--cx-primary-fg-main);
|
|
119
|
+
text-transform: uppercase;
|
|
117
120
|
}
|
|
118
121
|
|
|
119
122
|
|