@chassis-ui/docs 0.2.0 → 0.3.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 +16 -16
- package/index.ts +6 -1
- package/package.json +20 -8
- package/src/components/DocsSidebar.astro +63 -23
- package/src/components/FeatureCard.astro +3 -3
- package/src/components/TableOfContents.astro +8 -7
- package/src/components/ThemeToggler.astro +15 -36
- package/src/components/shortcodes/Blockquote.astro +1 -1
- package/src/components/shortcodes/CSSOnly.astro +6 -2
- package/src/components/shortcodes/Callout.astro +6 -2
- package/src/components/shortcodes/Code.astro +289 -0
- package/src/components/shortcodes/DeprecatedIn.astro +5 -2
- package/src/components/shortcodes/Example.astro +132 -0
- package/src/components/shortcodes/Icon.astro +57 -0
- package/src/components/shortcodes/InFigma.astro +7 -2
- package/src/components/shortcodes/JsDocs.astro +64 -0
- package/src/components/shortcodes/Placeholder.astro +28 -0
- package/src/components/shortcodes/ResizableExample.astro +126 -0
- package/src/components/shortcodes/ScssDocs.astro +108 -0
- package/src/components/shortcodes/ScssDocsSimple.astro +66 -0
- package/src/js/color-modes.js +3 -3
- package/src/js/example-mode.js +75 -0
- package/src/js/search.js +501 -39
- package/src/js/theme-color.js +1 -1
- package/src/layouts/DocsLayout.astro +11 -14
- package/src/layouts/RedirectLayout.astro +1 -0
- package/src/layouts/footer/Scripts.astro +14 -9
- package/src/layouts/head/Analytics.astro +12 -6
- package/src/layouts/head/Favicons.astro +0 -2
- package/src/layouts/head/Head.astro +2 -7
- package/src/layouts/head/Stylesheet.astro +18 -11
- package/src/layouts/header/Header.astro +2 -5
- package/src/layouts/header/Navigation.astro +31 -33
- package/src/layouts/header/SearchDialog.astro +74 -0
- package/src/layouts/header/SearchTrigger.astro +41 -0
- package/src/libs/highlight.ts +91 -0
- package/src/libs/icon.ts +75 -0
- package/src/libs/image.ts +12 -1
- package/src/libs/layout.ts +18 -0
- package/src/libs/markdown.ts +128 -0
- package/src/libs/placeholder.ts +250 -0
- package/src/libs/rehype.ts +0 -17
- package/src/libs/shortcodes.ts +129 -0
- package/src/libs/site.ts +95 -0
- package/src/libs/toc.ts +40 -6
- package/src/libs/utils.ts +34 -82
- package/src/libs/vite.ts +45 -0
- package/src/scss/_anchor.scss +20 -16
- package/src/scss/_callouts.scss +29 -28
- package/src/scss/_content.scss +72 -103
- package/src/scss/_footer.scss +18 -19
- package/src/scss/_layout.scss +56 -63
- package/src/scss/_navbar.scss +19 -123
- package/src/scss/_placeholder-img.scss +11 -7
- package/src/scss/_scrolling.scss +14 -12
- package/src/scss/_search.scss +418 -0
- package/src/scss/_shiki.scss +120 -0
- package/src/scss/_sidebar.scss +137 -132
- package/src/scss/_skippy.scss +6 -4
- package/src/scss/_snippets.scss +181 -0
- package/src/scss/_toc.scss +97 -93
- package/src/scss/_vars.scss +89 -0
- package/src/scss/main.scss +75 -80
- package/src/js/icon-loader.js +0 -229
- package/src/libs/chassis.ts +0 -38
- package/src/scss/_brand.scss +0 -59
- package/src/scss/_buttons.scss +0 -33
- package/src/scss/_clipboard-js.scss +0 -63
- package/src/scss/_code.scss +0 -116
- package/src/scss/_colors.scss +0 -140
- package/src/scss/_docsearch.scss +0 -212
- package/src/scss/_settings.scss +0 -29
- package/src/scss/_syntax.scss +0 -160
- package/src/scss/_variables.scss +0 -73
package/src/scss/_toc.scss
CHANGED
|
@@ -1,117 +1,121 @@
|
|
|
1
|
-
|
|
1
|
+
@use "@chassis-ui/css/scss/mixins" as *;
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
3
|
+
// stylelint-disable selector-max-type, selector-no-qualifying-type
|
|
4
|
+
@layer custom {
|
|
5
|
+
|
|
6
|
+
.cxd-toc {
|
|
7
|
+
@include media-breakpoint-up(large) {
|
|
8
|
+
position: sticky;
|
|
9
|
+
top: 4rem;
|
|
10
|
+
right: 0;
|
|
11
|
+
z-index: 2;
|
|
12
|
+
// height: subtract(100vh, 7rem);
|
|
13
|
+
height: calc(100vh - 4rem);
|
|
14
|
+
padding: 1rem;
|
|
15
|
+
padding-inline-end: 0;
|
|
16
|
+
overflow-y: auto;
|
|
17
|
+
color: var(--cx-fg-subtle);
|
|
18
|
+
// border-image: linear-gradient(var(--cx-border-subtle) 25%, var(--cx-transparent-color) 50%) 1;
|
|
19
|
+
// border-width: 0;
|
|
20
|
+
// border-style: solid;
|
|
21
|
+
border-inline-start: var(--cx-border-width) var(--cx-border-style) var(--cx-border-subtle);
|
|
22
|
+
}
|
|
23
|
+
@include media-breakpoint-between(medium, large) {
|
|
24
|
+
padding: .5rem 1rem;
|
|
25
|
+
margin-block-end: 1rem;
|
|
26
|
+
background-color: var(--cx-bg-even);
|
|
27
|
+
border: var(--cx-border-width) var(--cx-border-style) var(--cx-border-subtle);
|
|
28
|
+
@include border-radius(var(--cx-border-radius-medium));
|
|
29
|
+
}
|
|
30
30
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
margin-bottom: 0;
|
|
34
|
-
list-style: none;
|
|
31
|
+
nav {
|
|
32
|
+
@include font-size(.875rem);
|
|
35
33
|
|
|
36
34
|
ul {
|
|
37
|
-
padding-
|
|
38
|
-
margin-
|
|
39
|
-
|
|
40
|
-
}
|
|
35
|
+
padding-inline-start: 0;
|
|
36
|
+
margin-block-end: 0;
|
|
37
|
+
list-style: none;
|
|
41
38
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
color: inherit;
|
|
46
|
-
text-decoration: none;
|
|
47
|
-
border-left: .125rem solid transparent;
|
|
48
|
-
|
|
49
|
-
@each $i in 1, 2, 3, 4, 5, 6 {
|
|
50
|
-
&.level-#{$i} {
|
|
51
|
-
padding-left: $i * 1rem;
|
|
52
|
-
margin-left: $i * -1rem;
|
|
39
|
+
ul {
|
|
40
|
+
padding-inline-start: 2rem;
|
|
41
|
+
margin-inline-start: -1rem;
|
|
53
42
|
}
|
|
54
43
|
}
|
|
55
44
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
45
|
+
a {
|
|
46
|
+
display: block;
|
|
47
|
+
padding: .125rem 0 .125rem .5rem;
|
|
48
|
+
color: inherit;
|
|
49
|
+
text-decoration: none;
|
|
50
|
+
border-inline-start: .125rem solid transparent;
|
|
51
|
+
|
|
52
|
+
@each $i in 1, 2, 3, 4, 5, 6 {
|
|
53
|
+
&.level-#{$i} {
|
|
54
|
+
padding-inline-start: $i * 1rem;
|
|
55
|
+
margin-inline-start: $i * -1rem;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
61
58
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
59
|
+
&:hover,
|
|
60
|
+
&.active {
|
|
61
|
+
color: var(--cxd-toc-color);
|
|
62
|
+
border-left-color: var(--cxd-toc-color);
|
|
63
|
+
}
|
|
65
64
|
|
|
66
|
-
|
|
67
|
-
|
|
65
|
+
&.active {
|
|
66
|
+
font-weight: 500;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
code {
|
|
70
|
+
font: inherit;
|
|
71
|
+
}
|
|
68
72
|
}
|
|
69
73
|
}
|
|
70
74
|
}
|
|
71
|
-
}
|
|
72
75
|
|
|
73
|
-
.cxd-toc-toggle {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
@include media-breakpoint-down(small) {
|
|
79
|
-
justify-content: space-between;
|
|
80
|
-
width: 100%;
|
|
81
|
-
}
|
|
76
|
+
.cxd-toc-toggle {
|
|
77
|
+
box-sizing: border-box;
|
|
78
|
+
display: flex;
|
|
79
|
+
align-items: center;
|
|
82
80
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
@include border-radius(var(--cx-border-radius));
|
|
87
|
-
|
|
88
|
-
&:hover,
|
|
89
|
-
&:focus,
|
|
90
|
-
&:active,
|
|
91
|
-
&[aria-expanded="true"] {
|
|
92
|
-
color: var(--cxd-subtle);
|
|
93
|
-
background-color: var(--cx-bg-color);
|
|
94
|
-
// border-color: var(--cxd-subtle);
|
|
81
|
+
@include media-breakpoint-down(small) {
|
|
82
|
+
justify-content: space-between;
|
|
83
|
+
width: 100%;
|
|
95
84
|
}
|
|
96
85
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
86
|
+
@include media-breakpoint-down(medium) {
|
|
87
|
+
color: var(--cx-fg-color);
|
|
88
|
+
border: var(--cx-border-width) var(--cx-border-style) var(--cx-border-color);
|
|
89
|
+
@include border-radius(var(--cx-border-radius-medium));
|
|
90
|
+
|
|
91
|
+
&:hover,
|
|
92
|
+
&:focus,
|
|
93
|
+
&:active,
|
|
94
|
+
&[aria-expanded="true"] {
|
|
95
|
+
color: var(--cxd-subtle);
|
|
96
|
+
background-color: var(--cx-bg-color);
|
|
97
|
+
// border-color: var(--cxd-subtle);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
&:focus,
|
|
101
|
+
&[aria-expanded="true"] {
|
|
102
|
+
box-shadow: 0 0 0 3px #{to-opacity(var(--cxd-subtle), .25)};
|
|
103
|
+
}
|
|
100
104
|
}
|
|
101
105
|
}
|
|
102
|
-
}
|
|
103
106
|
|
|
104
|
-
.cxd-toc-collapse {
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
107
|
+
.cxd-toc-collapse {
|
|
108
|
+
@include media-breakpoint-down(medium) {
|
|
109
|
+
nav {
|
|
110
|
+
padding: 1.25rem 1.25rem 1.25rem 1rem;
|
|
111
|
+
background-color: var(--cx-bg-even);
|
|
112
|
+
border: var(--cx-border-width) solid var(--cx-border-subtle);
|
|
113
|
+
@include border-radius(var(--cx-border-radius-medium));
|
|
114
|
+
}
|
|
111
115
|
}
|
|
112
|
-
}
|
|
113
116
|
|
|
114
|
-
|
|
115
|
-
|
|
117
|
+
@include media-breakpoint-up(medium) {
|
|
118
|
+
display: block;
|
|
119
|
+
}
|
|
116
120
|
}
|
|
117
121
|
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
// Local docs variables
|
|
2
|
+
@use "@chassis-ui/css/scss/functions" as *;
|
|
3
|
+
@use "@chassis-ui/css/scss/mixins" as *;
|
|
4
|
+
|
|
5
|
+
$aqua: #0cc !default;
|
|
6
|
+
$black: #000 !default;
|
|
7
|
+
$blue: #00f !default;
|
|
8
|
+
$cyan: #0cf !default;
|
|
9
|
+
$green: #090 !default;
|
|
10
|
+
$gray: #999 !default;
|
|
11
|
+
$graydark: #666 !default;
|
|
12
|
+
$fuchsia: #c0c !default;
|
|
13
|
+
$indigo: #639 !default;
|
|
14
|
+
$olive: #990 !default;
|
|
15
|
+
$orange: #f90 !default;
|
|
16
|
+
$red: #f00 !default;
|
|
17
|
+
$pink: #f39 !default;
|
|
18
|
+
$purple: #90f !default;
|
|
19
|
+
$teal: #099 !default;
|
|
20
|
+
$violet: #c3c !default;
|
|
21
|
+
$white: #fff !default;
|
|
22
|
+
$yellow: #fc0 !default;
|
|
23
|
+
|
|
24
|
+
$cxd-gutter-x: 2rem;
|
|
25
|
+
$cxd-callout-variants: info, warning, danger, default !default;
|
|
26
|
+
|
|
27
|
+
:root {
|
|
28
|
+
--cxd-code-color: var(--cx-secondary-fg-main);
|
|
29
|
+
--cxd-main: var(--cx-primary);
|
|
30
|
+
--cxd-subtle: light-dark(var(--cx-primary-40), var(--cx-primary-60));
|
|
31
|
+
--cxd-pink-rgb: #{to-rgb($pink)};
|
|
32
|
+
--cxd-teal-rgb: #{to-rgb($teal)};
|
|
33
|
+
--cxd-main-bg: var(--cxd-main);
|
|
34
|
+
--cxd-subtle-bg: var(--cxd-subtle);
|
|
35
|
+
--cxd-toc-color: var(--cxd-main);
|
|
36
|
+
--cxd-sidebar-link-bg: var(--cx-bg-highlight);
|
|
37
|
+
// --cxd-callout-link: #{to-color($blue-600)};
|
|
38
|
+
// --cxd-callout-code-color: var(--cx-base-color);
|
|
39
|
+
// --cxd-pre-bg: var(--cx-bg-even);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
@layer custom {
|
|
44
|
+
|
|
45
|
+
// @if $enable-dark-mode {
|
|
46
|
+
// @include color-mode(dark, true) {
|
|
47
|
+
// // color-scheme: dark;
|
|
48
|
+
// // --cxd-toc-color: var(--cx-fg-subtle);
|
|
49
|
+
// --cxd-sidebar-link-bg: var(--cx-primary-40);
|
|
50
|
+
// // --cxd-callout-link: #{to-color($blue-300)};
|
|
51
|
+
// // --cxd-callout-code-color: #{to-color($pink-300)};
|
|
52
|
+
// //--cxd-pre-bg: #{adjust-color($gray-900, $lightness: -2.5%)}; // stylelint-disable-line scss/at-function-named-arguments
|
|
53
|
+
// // --cxd-pre-bg: var(--cx-bg-evident);
|
|
54
|
+
// }
|
|
55
|
+
// }
|
|
56
|
+
|
|
57
|
+
// @import "../../../tokens/default.scss";
|
|
58
|
+
// h1:not(.cxd-example h1),
|
|
59
|
+
// h2:not(.cxd-example h2),
|
|
60
|
+
// h3:not(.cxd-example h3),
|
|
61
|
+
// h4:not(.cxd-example h4),
|
|
62
|
+
// h5:not(.cxd-example h5),
|
|
63
|
+
// h6:not(.cxd-example h6) {
|
|
64
|
+
// & ~ p,
|
|
65
|
+
// & ~ ol,
|
|
66
|
+
// & ~ ul {
|
|
67
|
+
// font-family: var(--cx-font-family-display) !important;
|
|
68
|
+
// }
|
|
69
|
+
// }
|
|
70
|
+
|
|
71
|
+
// .cxd-intro h1 {
|
|
72
|
+
// line-height: 1.25em;
|
|
73
|
+
// }
|
|
74
|
+
// .cxd-intro h1,
|
|
75
|
+
// .cxd-content > h1,
|
|
76
|
+
// .cxd-content > h2,
|
|
77
|
+
// .cxd-content > h3,
|
|
78
|
+
// .cxd-content > h4 {
|
|
79
|
+
// font-family: var(--cx-font-family-display) !important;
|
|
80
|
+
// font-weight: var(--cx-font-weight-display-strong) !important;
|
|
81
|
+
// }
|
|
82
|
+
//
|
|
83
|
+
// .cxd-playground textarea {
|
|
84
|
+
// font-family: var(--cx-font-family-code) !important;
|
|
85
|
+
// //font-size: var(--cx-font-small) !important;
|
|
86
|
+
// background-color: var(--cx-default-bg-even) !important;
|
|
87
|
+
// border-color: var(--cx-default-border-subtle);
|
|
88
|
+
// }
|
|
89
|
+
}
|
package/src/scss/main.scss
CHANGED
|
@@ -1,101 +1,96 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use "@chassis-ui/css/scss/mixins" as *;
|
|
2
2
|
|
|
3
|
-
@
|
|
4
|
-
@
|
|
5
|
-
@
|
|
3
|
+
@forward "./fonts";
|
|
4
|
+
@forward "./navbar";
|
|
5
|
+
@forward "./content";
|
|
6
|
+
@forward "./skippy";
|
|
7
|
+
@forward "./sidebar";
|
|
8
|
+
@forward "./layout";
|
|
9
|
+
@forward "./toc";
|
|
10
|
+
@forward "./footer";
|
|
11
|
+
@forward "./snippets";
|
|
12
|
+
@forward "./callouts";
|
|
13
|
+
@forward "./placeholder-img";
|
|
14
|
+
@forward "./scrolling";
|
|
6
15
|
|
|
7
|
-
@
|
|
8
|
-
@
|
|
9
|
-
@
|
|
10
|
-
@import "sidebar";
|
|
11
|
-
@import "layout";
|
|
12
|
-
@import "toc";
|
|
13
|
-
@import "footer";
|
|
14
|
-
@import "buttons";
|
|
15
|
-
@import "code";
|
|
16
|
-
@import "callouts";
|
|
17
|
-
@import "brand";
|
|
18
|
-
@import "clipboard-js";
|
|
19
|
-
@import "placeholder-img";
|
|
20
|
-
@import "scrolling";
|
|
16
|
+
@forward "./shiki";
|
|
17
|
+
@forward "./anchor";
|
|
18
|
+
@forward "./search";
|
|
21
19
|
|
|
22
|
-
@
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
/* Hide light-mode things when in dark mode */
|
|
29
|
-
.visible-light {
|
|
30
|
-
[data-cx-theme="dark"] &:not([data-cx-theme="dark"] [data-cx-theme="light"] &) {
|
|
31
|
-
display: none;
|
|
20
|
+
@layer custom {
|
|
21
|
+
/* Hide light-mode things when in dark mode */
|
|
22
|
+
.visible-light {
|
|
23
|
+
[data-cx-theme="dark"] &:not([data-cx-theme="dark"] [data-cx-theme="light"] &) {
|
|
24
|
+
display: none;
|
|
25
|
+
}
|
|
32
26
|
}
|
|
33
|
-
}
|
|
34
27
|
|
|
35
|
-
/* Hide dark-mode things when in light mode */
|
|
36
|
-
.visible-dark {
|
|
37
|
-
|
|
38
|
-
|
|
28
|
+
/* Hide dark-mode things when in light mode */
|
|
29
|
+
.visible-dark {
|
|
30
|
+
[data-cx-theme="light"] &:not([data-cx-theme="light"] [data-cx-theme="dark"] &) {
|
|
31
|
+
display: none;
|
|
32
|
+
}
|
|
39
33
|
}
|
|
40
|
-
}
|
|
41
34
|
|
|
42
|
-
.docs-body .navbar,
|
|
43
|
-
.docs-body .cxd-footer {
|
|
44
|
-
|
|
45
|
-
|
|
35
|
+
.docs-body .navbar,
|
|
36
|
+
.docs-body .cxd-footer {
|
|
37
|
+
.container.#{\32 xlarge} {
|
|
38
|
+
max-width: 100%;
|
|
39
|
+
}
|
|
46
40
|
}
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
41
|
+
|
|
42
|
+
code {
|
|
43
|
+
color: var(--cxd-code-color, var(--cx-code-color));
|
|
44
|
+
pre & {
|
|
45
|
+
color: inherit;
|
|
51
46
|
}
|
|
52
47
|
}
|
|
53
|
-
}
|
|
54
48
|
|
|
55
|
-
.home-section {
|
|
56
|
-
|
|
57
|
-
}
|
|
49
|
+
.home-section {
|
|
50
|
+
overflow: hidden;
|
|
51
|
+
}
|
|
58
52
|
|
|
59
|
-
.section-content:has(.gallery-image) > div {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
}
|
|
53
|
+
.section-content:has(.gallery-image) > div {
|
|
54
|
+
height: var(--gallery-image-height, 256px);
|
|
55
|
+
border: var(--cx-border-width-medium) solid var(--cx-bg-evident);
|
|
56
|
+
}
|
|
63
57
|
|
|
64
|
-
.gallery-image {
|
|
65
|
-
|
|
66
|
-
|
|
58
|
+
.gallery-image {
|
|
59
|
+
display: flex;
|
|
60
|
+
align-items: center;
|
|
67
61
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
62
|
+
@include media-breakpoint-down(medium) {
|
|
63
|
+
margin--block-start: -25%;
|
|
64
|
+
}
|
|
71
65
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
66
|
+
> img {
|
|
67
|
+
vertical-align: middle;
|
|
68
|
+
zoom: 1.5;
|
|
69
|
+
transform: rotate(30deg) skewX(-30deg) scaleY(.866);
|
|
70
|
+
}
|
|
76
71
|
}
|
|
77
|
-
}
|
|
78
72
|
|
|
79
|
-
.feature-item .cxd-code-snippet {
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
73
|
+
.feature-item .cxd-code-snippet {
|
|
74
|
+
--cx-icon-color: var(--cx-fg-color);
|
|
75
|
+
--cx-icon-size: 1em;
|
|
76
|
+
margin-block-end: 0;
|
|
77
|
+
background-color: var(--cx-bg-even);
|
|
78
|
+
border: 0;
|
|
85
79
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
80
|
+
.cxd-code {
|
|
81
|
+
padding: var(--cx-space-medium);
|
|
82
|
+
background-color: var(--cx-bg-even);
|
|
83
|
+
}
|
|
84
|
+
pre {
|
|
85
|
+
padding: 0;
|
|
86
|
+
margin: 0;
|
|
87
|
+
}
|
|
88
|
+
> .cxd-clipboard {
|
|
89
|
+
display: none;
|
|
90
|
+
}
|
|
97
91
|
|
|
98
|
-
|
|
99
|
-
|
|
92
|
+
.token.comment {
|
|
93
|
+
color: var(--cx-fg-subtle);
|
|
94
|
+
}
|
|
100
95
|
}
|
|
101
96
|
}
|