@histoire/app 0.17.5 → 0.17.6
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/dist/bundled/components/app/MobileOverlay.vue2.js +2 -1
- package/dist/bundled/components/base/BaseCheckbox.vue2.js +2 -1
- package/dist/bundled/components/base/BaseListItem.vue2.js +2 -1
- package/dist/bundled/components/base/BaseSelect.vue2.js +2 -1
- package/dist/bundled/components/base/BaseSplitPane.vue2.js +2 -1
- package/dist/bundled/components/command/CommandPrompts.vue2.js +2 -1
- package/dist/bundled/components/command/CommandPromptsModal.vue2.js +2 -1
- package/dist/bundled/components/command/PromptSelect.vue2.js +2 -1
- package/dist/bundled/components/command/PromptText.vue2.js +2 -1
- package/dist/bundled/components/panel/StoryDocs.vue2.js +2 -1
- package/dist/bundled/components/search/SearchItem.vue2.js +3 -2
- package/dist/bundled/components/search/SearchModal.vue2.js +2 -1
- package/dist/bundled/components/search/SearchPane.vue2.js +3 -2
- package/dist/bundled/components/story/StoryResponsivePreview.vue2.js +1 -1
- package/dist/bundled/components/story/StoryVariantGridItem.vue2.js +3 -2
- package/dist/bundled/components/story/StoryVariantListItem.vue2.js +1 -1
- package/dist/bundled/components/tree/StoryListFolder.vue2.js +1 -1
- package/dist/bundled/components/tree/StoryListItem.vue2.js +1 -1
- package/dist/bundled/style.css +9 -9
- package/dist/style.css +139 -93
- package/package.json +12 -12
|
@@ -14,7 +14,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
14
14
|
opened: { type: Boolean }
|
|
15
15
|
},
|
|
16
16
|
emits: ["close"],
|
|
17
|
-
setup(__props, { emit }) {
|
|
17
|
+
setup(__props, { emit: __emit }) {
|
|
18
|
+
const emit = __emit;
|
|
18
19
|
return (_ctx, _cache) => {
|
|
19
20
|
return openBlock(), createBlock(Transition, { name: "__histoire-fade-bottom" }, {
|
|
20
21
|
default: withCtx(() => [
|
|
@@ -20,8 +20,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
20
20
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
21
21
|
"update:modelValue": (newValue) => true
|
|
22
22
|
},
|
|
23
|
-
setup(__props, { emit }) {
|
|
23
|
+
setup(__props, { emit: __emit }) {
|
|
24
24
|
const props = __props;
|
|
25
|
+
const emit = __emit;
|
|
25
26
|
function toggle() {
|
|
26
27
|
emit("update:modelValue", !props.modelValue);
|
|
27
28
|
animationEnabled.value = true;
|
|
@@ -13,8 +13,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
13
13
|
options: {}
|
|
14
14
|
},
|
|
15
15
|
emits: ["update:modelValue", "select"],
|
|
16
|
-
setup(__props, { emit }) {
|
|
16
|
+
setup(__props, { emit: __emit }) {
|
|
17
17
|
const props = __props;
|
|
18
|
+
const emit = __emit;
|
|
18
19
|
const formattedOptions = computed(() => {
|
|
19
20
|
if (Array.isArray(props.options)) {
|
|
20
21
|
return Object.fromEntries(props.options.map((value) => [value, value]));
|
|
@@ -45,8 +45,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
45
45
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
46
46
|
"update:split": (value) => true
|
|
47
47
|
},
|
|
48
|
-
setup(__props, { emit }) {
|
|
48
|
+
setup(__props, { emit: __emit }) {
|
|
49
49
|
const props = __props;
|
|
50
|
+
const emit = __emit;
|
|
50
51
|
const currentSplit = ref(props.defaultSplit);
|
|
51
52
|
watch(() => props.split, (value) => {
|
|
52
53
|
if (value !== void 0) {
|
|
@@ -18,8 +18,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
18
18
|
command: {}
|
|
19
19
|
},
|
|
20
20
|
emits: ["close"],
|
|
21
|
-
setup(__props, { emit }) {
|
|
21
|
+
setup(__props, { emit: __emit }) {
|
|
22
22
|
const props = __props;
|
|
23
|
+
const emit = __emit;
|
|
23
24
|
const promptTypes = {
|
|
24
25
|
text: _sfc_main$3,
|
|
25
26
|
select: _sfc_main$4
|
|
@@ -17,8 +17,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
17
17
|
emits: {
|
|
18
18
|
close: () => true
|
|
19
19
|
},
|
|
20
|
-
setup(__props, { emit }) {
|
|
20
|
+
setup(__props, { emit: __emit }) {
|
|
21
21
|
const CommandPrompts = defineAsyncComponent(() => import("./CommandPrompts.vue.js"));
|
|
22
|
+
const emit = __emit;
|
|
22
23
|
function close() {
|
|
23
24
|
emit("close");
|
|
24
25
|
}
|
|
@@ -24,8 +24,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
24
24
|
answers: {}
|
|
25
25
|
},
|
|
26
26
|
emits: ["update:modelValue", "next"],
|
|
27
|
-
setup(__props, { expose: __expose, emit }) {
|
|
27
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
28
28
|
const props = __props;
|
|
29
|
+
const emit = __emit;
|
|
29
30
|
const model = computed({
|
|
30
31
|
get: () => props.modelValue,
|
|
31
32
|
set: (value) => {
|
|
@@ -16,8 +16,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
16
16
|
answers: {}
|
|
17
17
|
},
|
|
18
18
|
emits: ["update:modelValue"],
|
|
19
|
-
setup(__props, { expose: __expose, emit }) {
|
|
19
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
20
20
|
const props = __props;
|
|
21
|
+
const emit = __emit;
|
|
21
22
|
const model = computed({
|
|
22
23
|
get: () => props.modelValue,
|
|
23
24
|
set: (value) => emit("update:modelValue", value)
|
|
@@ -53,8 +53,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
55
|
emits: ["scroll-top"],
|
|
56
|
-
setup(__props, { emit }) {
|
|
56
|
+
setup(__props, { emit: __emit }) {
|
|
57
57
|
const props = __props;
|
|
58
|
+
const emit = __emit;
|
|
58
59
|
const { story } = toRefs(props);
|
|
59
60
|
const { renderedDoc } = useStoryDoc(story);
|
|
60
61
|
const router = useRouter();
|
|
@@ -25,11 +25,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
25
25
|
emits: {
|
|
26
26
|
close: () => true
|
|
27
27
|
},
|
|
28
|
-
setup(__props, { emit }) {
|
|
29
|
-
const props = __props;
|
|
28
|
+
setup(__props, { emit: __emit }) {
|
|
30
29
|
useCssVars((_ctx) => ({
|
|
31
30
|
"a8c1277e": __props.result.iconColor
|
|
32
31
|
}));
|
|
32
|
+
const props = __props;
|
|
33
|
+
const emit = __emit;
|
|
33
34
|
const el = ref();
|
|
34
35
|
const { selected } = toRefs(props);
|
|
35
36
|
useScrollOnActive(selected, el);
|
|
@@ -18,12 +18,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
18
18
|
emits: {
|
|
19
19
|
close: () => true
|
|
20
20
|
},
|
|
21
|
-
setup(__props, { emit }) {
|
|
21
|
+
setup(__props, { emit: __emit }) {
|
|
22
22
|
const SearchPane = defineAsyncComponent({
|
|
23
23
|
loader: () => import("./SearchPane.vue.js"),
|
|
24
24
|
loadingComponent: _sfc_main$1,
|
|
25
25
|
delay: 0
|
|
26
26
|
});
|
|
27
|
+
const emit = __emit;
|
|
27
28
|
function close() {
|
|
28
29
|
emit("close");
|
|
29
30
|
}
|
|
@@ -28,9 +28,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
28
28
|
emits: {
|
|
29
29
|
close: () => true
|
|
30
30
|
},
|
|
31
|
-
setup(__props, { emit }) {
|
|
32
|
-
const props = __props;
|
|
31
|
+
setup(__props, { emit: __emit }) {
|
|
33
32
|
const DocSearchData = () => import("./search-docs-data.js");
|
|
33
|
+
const props = __props;
|
|
34
|
+
const emit = __emit;
|
|
34
35
|
function close() {
|
|
35
36
|
emit("close");
|
|
36
37
|
}
|
|
@@ -26,10 +26,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
26
26
|
variant: {}
|
|
27
27
|
},
|
|
28
28
|
setup(__props) {
|
|
29
|
-
const props = __props;
|
|
30
29
|
useCssVars((_ctx) => ({
|
|
31
30
|
"03d1950e": unref(settings).backgroundColor
|
|
32
31
|
}));
|
|
32
|
+
const props = __props;
|
|
33
33
|
const settings = usePreviewSettingsStore().currentSettings;
|
|
34
34
|
const resizing = ref(false);
|
|
35
35
|
const onUnmountedCleanupFns = [];
|
|
@@ -40,12 +40,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
40
40
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
41
41
|
resize: (width, height) => true
|
|
42
42
|
},
|
|
43
|
-
setup(__props, { emit }) {
|
|
44
|
-
const props = __props;
|
|
43
|
+
setup(__props, { emit: __emit }) {
|
|
45
44
|
useCssVars((_ctx) => ({
|
|
46
45
|
"29d8c174": unref(variant).iconColor,
|
|
47
46
|
"0eff7465": unref(settings).backgroundColor
|
|
48
47
|
}));
|
|
48
|
+
const props = __props;
|
|
49
|
+
const emit = __emit;
|
|
49
50
|
const { variant } = toRefs(props);
|
|
50
51
|
const { isActive, targetRoute } = useCurrentVariantRoute(variant);
|
|
51
52
|
Object.assign(props.variant, {
|
|
@@ -15,10 +15,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
17
|
setup(__props) {
|
|
18
|
-
const props = __props;
|
|
19
18
|
useCssVars((_ctx) => ({
|
|
20
19
|
"89126aaa": unref(variant).iconColor
|
|
21
20
|
}));
|
|
21
|
+
const props = __props;
|
|
22
22
|
const { variant } = toRefs(props);
|
|
23
23
|
const { isActive, targetRoute } = useCurrentVariantRoute(variant);
|
|
24
24
|
const el = ref();
|
|
@@ -22,10 +22,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
22
22
|
depth: { default: 0 }
|
|
23
23
|
},
|
|
24
24
|
setup(__props) {
|
|
25
|
-
const props = __props;
|
|
26
25
|
useCssVars((_ctx) => ({
|
|
27
26
|
"6851b0a7": folderPadding.value
|
|
28
27
|
}));
|
|
28
|
+
const props = __props;
|
|
29
29
|
const folderStore = useFolderStore();
|
|
30
30
|
const folderPath = computed(() => [...props.path, props.folder.title]);
|
|
31
31
|
const isFolderOpen = computed(() => folderStore.isFolderOpened(folderPath.value));
|
|
@@ -18,11 +18,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
18
18
|
depth: { default: 0 }
|
|
19
19
|
},
|
|
20
20
|
setup(__props) {
|
|
21
|
-
const props = __props;
|
|
22
21
|
useCssVars((_ctx) => ({
|
|
23
22
|
"444efc12": filePadding.value,
|
|
24
23
|
"ae892164": _ctx.story.iconColor
|
|
25
24
|
}));
|
|
25
|
+
const props = __props;
|
|
26
26
|
const filePadding = computed(() => {
|
|
27
27
|
return props.depth * 12 + "px";
|
|
28
28
|
});
|
package/dist/bundled/style.css
CHANGED
|
@@ -44,6 +44,10 @@
|
|
|
44
44
|
color: var(--663732b6);
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
+
.bind-tree-padding[data-v-2d2e4786] {
|
|
48
|
+
padding-left: var(--6851b0a7);
|
|
49
|
+
}
|
|
50
|
+
|
|
47
51
|
.bind-tree-margin[data-v-19810958] {
|
|
48
52
|
margin-left: var(--444efc12);
|
|
49
53
|
}
|
|
@@ -51,10 +55,6 @@
|
|
|
51
55
|
color: var(--ae892164);
|
|
52
56
|
}
|
|
53
57
|
|
|
54
|
-
.bind-tree-padding[data-v-2d2e4786] {
|
|
55
|
-
padding-left: var(--6851b0a7);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
58
|
.bind-icon-color[data-v-ab890d9c] {
|
|
59
59
|
color: var(--89126aaa);
|
|
60
60
|
}
|
|
@@ -72,6 +72,11 @@
|
|
|
72
72
|
color: var(--a8c1277e);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
+
.bind-preview-bg[data-v-c48fb2b2] {
|
|
76
|
+
background-color: var(--627bec82);
|
|
77
|
+
color: var(--35068428);
|
|
78
|
+
}
|
|
79
|
+
|
|
75
80
|
.bind-icon-color[data-v-cf76cd68] {
|
|
76
81
|
color: var(--29d8c174);
|
|
77
82
|
}
|
|
@@ -79,11 +84,6 @@
|
|
|
79
84
|
background-color: var(--0eff7465);
|
|
80
85
|
}
|
|
81
86
|
|
|
82
|
-
.bind-preview-bg[data-v-c48fb2b2] {
|
|
83
|
-
background-color: var(--627bec82);
|
|
84
|
-
color: var(--35068428);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
87
|
img.colorize-black[data-v-74182813] {
|
|
88
88
|
filter: grayscale(100) brightness(0);
|
|
89
89
|
}
|
package/dist/style.css
CHANGED
|
@@ -575,12 +575,12 @@ body {
|
|
|
575
575
|
max-width:65ch;
|
|
576
576
|
}
|
|
577
577
|
|
|
578
|
-
.htw-prose :where(p):not(:where([class~="htw-not-prose"] *)){
|
|
578
|
+
.htw-prose :where(p):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
579
579
|
margin-top:1.25em;
|
|
580
580
|
margin-bottom:1.25em
|
|
581
581
|
}
|
|
582
582
|
|
|
583
|
-
.htw-prose :where([class~="lead"]):not(:where([class~="htw-not-prose"] *)){
|
|
583
|
+
.htw-prose :where([class~="lead"]):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
584
584
|
color:var(--tw-prose-lead);
|
|
585
585
|
font-size:1.25em;
|
|
586
586
|
line-height:1.6;
|
|
@@ -588,100 +588,106 @@ body {
|
|
|
588
588
|
margin-bottom:1.2em
|
|
589
589
|
}
|
|
590
590
|
|
|
591
|
-
.htw-prose :where(a):not(:where([class~="htw-not-prose"] *)){
|
|
591
|
+
.htw-prose :where(a):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
592
592
|
color:rgb(var(--_histoire-color-primary-500));
|
|
593
593
|
text-decoration:none;
|
|
594
594
|
font-weight:500;
|
|
595
595
|
}
|
|
596
596
|
|
|
597
|
-
.htw-prose :where(a):not(:where([class~="htw-not-prose"] *)):hover{
|
|
597
|
+
.htw-prose :where(a):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)):hover{
|
|
598
598
|
text-decoration:underline
|
|
599
599
|
}
|
|
600
600
|
|
|
601
|
-
.htw-prose :where(strong):not(:where([class~="htw-not-prose"] *)){
|
|
601
|
+
.htw-prose :where(strong):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
602
602
|
color:var(--tw-prose-bold);
|
|
603
603
|
font-weight:600
|
|
604
604
|
}
|
|
605
605
|
|
|
606
|
-
.htw-prose :where(a strong):not(:where([class~="htw-not-prose"] *)){
|
|
606
|
+
.htw-prose :where(a strong):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
607
607
|
color:inherit
|
|
608
608
|
}
|
|
609
609
|
|
|
610
|
-
.htw-prose :where(blockquote strong):not(:where([class~="htw-not-prose"] *)){
|
|
610
|
+
.htw-prose :where(blockquote strong):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
611
611
|
color:inherit
|
|
612
612
|
}
|
|
613
613
|
|
|
614
|
-
.htw-prose :where(thead th strong):not(:where([class~="htw-not-prose"] *)){
|
|
614
|
+
.htw-prose :where(thead th strong):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
615
615
|
color:inherit
|
|
616
616
|
}
|
|
617
617
|
|
|
618
|
-
.htw-prose :where(ol):not(:where([class~="htw-not-prose"] *)){
|
|
618
|
+
.htw-prose :where(ol):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
619
619
|
list-style-type:decimal;
|
|
620
620
|
margin-top:1.25em;
|
|
621
621
|
margin-bottom:1.25em;
|
|
622
622
|
padding-left:1.625em
|
|
623
623
|
}
|
|
624
624
|
|
|
625
|
-
.htw-prose :where(ol[type="A"]):not(:where([class~="htw-not-prose"] *)){
|
|
625
|
+
.htw-prose :where(ol[type="A"]):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
626
626
|
list-style-type:upper-alpha
|
|
627
627
|
}
|
|
628
628
|
|
|
629
|
-
.htw-prose :where(ol[type="a"]):not(:where([class~="htw-not-prose"] *)){
|
|
629
|
+
.htw-prose :where(ol[type="a"]):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
630
630
|
list-style-type:lower-alpha
|
|
631
631
|
}
|
|
632
632
|
|
|
633
|
-
.htw-prose :where(ol[type="A" s]):not(:where([class~="htw-not-prose"] *)){
|
|
633
|
+
.htw-prose :where(ol[type="A" s]):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
634
634
|
list-style-type:upper-alpha
|
|
635
635
|
}
|
|
636
636
|
|
|
637
|
-
.htw-prose :where(ol[type="a" s]):not(:where([class~="htw-not-prose"] *)){
|
|
637
|
+
.htw-prose :where(ol[type="a" s]):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
638
638
|
list-style-type:lower-alpha
|
|
639
639
|
}
|
|
640
640
|
|
|
641
|
-
.htw-prose :where(ol[type="I"]):not(:where([class~="htw-not-prose"] *)){
|
|
641
|
+
.htw-prose :where(ol[type="I"]):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
642
642
|
list-style-type:upper-roman
|
|
643
643
|
}
|
|
644
644
|
|
|
645
|
-
.htw-prose :where(ol[type="i"]):not(:where([class~="htw-not-prose"] *)){
|
|
645
|
+
.htw-prose :where(ol[type="i"]):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
646
646
|
list-style-type:lower-roman
|
|
647
647
|
}
|
|
648
648
|
|
|
649
|
-
.htw-prose :where(ol[type="I" s]):not(:where([class~="htw-not-prose"] *)){
|
|
649
|
+
.htw-prose :where(ol[type="I" s]):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
650
650
|
list-style-type:upper-roman
|
|
651
651
|
}
|
|
652
652
|
|
|
653
|
-
.htw-prose :where(ol[type="i" s]):not(:where([class~="htw-not-prose"] *)){
|
|
653
|
+
.htw-prose :where(ol[type="i" s]):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
654
654
|
list-style-type:lower-roman
|
|
655
655
|
}
|
|
656
656
|
|
|
657
|
-
.htw-prose :where(ol[type="1"]):not(:where([class~="htw-not-prose"] *)){
|
|
657
|
+
.htw-prose :where(ol[type="1"]):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
658
658
|
list-style-type:decimal
|
|
659
659
|
}
|
|
660
660
|
|
|
661
|
-
.htw-prose :where(ul):not(:where([class~="htw-not-prose"] *)){
|
|
661
|
+
.htw-prose :where(ul):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
662
662
|
list-style-type:disc;
|
|
663
663
|
margin-top:1.25em;
|
|
664
664
|
margin-bottom:1.25em;
|
|
665
665
|
padding-left:1.625em
|
|
666
666
|
}
|
|
667
667
|
|
|
668
|
-
.htw-prose :where(ol > li):not(:where([class~="htw-not-prose"] *))::marker{
|
|
668
|
+
.htw-prose :where(ol > li):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *))::marker{
|
|
669
669
|
font-weight:400;
|
|
670
670
|
color:var(--tw-prose-counters)
|
|
671
671
|
}
|
|
672
672
|
|
|
673
|
-
.htw-prose :where(ul > li):not(:where([class~="htw-not-prose"] *))::marker{
|
|
673
|
+
.htw-prose :where(ul > li):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *))::marker{
|
|
674
674
|
color:var(--tw-prose-bullets)
|
|
675
675
|
}
|
|
676
676
|
|
|
677
|
-
.htw-prose :where(
|
|
677
|
+
.htw-prose :where(dt):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
678
|
+
color:var(--tw-prose-headings);
|
|
679
|
+
font-weight:600;
|
|
680
|
+
margin-top:1.25em
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
.htw-prose :where(hr):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
678
684
|
border-color:var(--tw-prose-hr);
|
|
679
685
|
border-top-width:1px;
|
|
680
686
|
margin-top:3em;
|
|
681
687
|
margin-bottom:3em
|
|
682
688
|
}
|
|
683
689
|
|
|
684
|
-
.htw-prose :where(blockquote):not(:where([class~="htw-not-prose"] *)){
|
|
690
|
+
.htw-prose :where(blockquote):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
685
691
|
font-weight:500;
|
|
686
692
|
font-style:italic;
|
|
687
693
|
color:var(--tw-prose-quotes);
|
|
@@ -697,27 +703,27 @@ body {
|
|
|
697
703
|
padding:.25rem .375rem;
|
|
698
704
|
}
|
|
699
705
|
|
|
700
|
-
.htw-prose :where(blockquote):not(:where([class~="htw-not-prose"] *)) p:first-child{
|
|
706
|
+
.htw-prose :where(blockquote):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)) p:first-child{
|
|
701
707
|
margin-top:0
|
|
702
708
|
}
|
|
703
709
|
|
|
704
|
-
.htw-prose :where(blockquote):not(:where([class~="htw-not-prose"] *)) p:last-child{
|
|
710
|
+
.htw-prose :where(blockquote):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)) p:last-child{
|
|
705
711
|
margin-bottom:0
|
|
706
712
|
}
|
|
707
713
|
|
|
708
|
-
.htw-dark .htw-prose :where(blockquote):not(:where([class~="htw-not-prose"] *)){
|
|
714
|
+
.htw-dark .htw-prose :where(blockquote):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
709
715
|
background-color:rgb(var(--_histoire-color-gray-750))
|
|
710
716
|
}
|
|
711
717
|
|
|
712
|
-
.htw-prose :where(blockquote p:first-of-type):not(:where([class~="htw-not-prose"] *))::before{
|
|
718
|
+
.htw-prose :where(blockquote p:first-of-type):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *))::before{
|
|
713
719
|
content:open-quote
|
|
714
720
|
}
|
|
715
721
|
|
|
716
|
-
.htw-prose :where(blockquote p:last-of-type):not(:where([class~="htw-not-prose"] *))::after{
|
|
722
|
+
.htw-prose :where(blockquote p:last-of-type):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *))::after{
|
|
717
723
|
content:close-quote
|
|
718
724
|
}
|
|
719
725
|
|
|
720
|
-
.htw-prose :where(h1):not(:where([class~="htw-not-prose"] *)){
|
|
726
|
+
.htw-prose :where(h1):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
721
727
|
color:var(--tw-prose-headings);
|
|
722
728
|
font-weight:800;
|
|
723
729
|
font-size:2.25em;
|
|
@@ -726,12 +732,12 @@ body {
|
|
|
726
732
|
line-height:1.1111111
|
|
727
733
|
}
|
|
728
734
|
|
|
729
|
-
.htw-prose :where(h1 strong):not(:where([class~="htw-not-prose"] *)){
|
|
735
|
+
.htw-prose :where(h1 strong):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
730
736
|
font-weight:900;
|
|
731
737
|
color:inherit
|
|
732
738
|
}
|
|
733
739
|
|
|
734
|
-
.htw-prose :where(h2):not(:where([class~="htw-not-prose"] *)){
|
|
740
|
+
.htw-prose :where(h2):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
735
741
|
color:var(--tw-prose-headings);
|
|
736
742
|
font-weight:700;
|
|
737
743
|
font-size:1.5em;
|
|
@@ -740,12 +746,12 @@ body {
|
|
|
740
746
|
line-height:1.3333333
|
|
741
747
|
}
|
|
742
748
|
|
|
743
|
-
.htw-prose :where(h2 strong):not(:where([class~="htw-not-prose"] *)){
|
|
749
|
+
.htw-prose :where(h2 strong):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
744
750
|
font-weight:800;
|
|
745
751
|
color:inherit
|
|
746
752
|
}
|
|
747
753
|
|
|
748
|
-
.htw-prose :where(h3):not(:where([class~="htw-not-prose"] *)){
|
|
754
|
+
.htw-prose :where(h3):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
749
755
|
color:var(--tw-prose-headings);
|
|
750
756
|
font-weight:600;
|
|
751
757
|
font-size:1.25em;
|
|
@@ -754,12 +760,12 @@ body {
|
|
|
754
760
|
line-height:1.6
|
|
755
761
|
}
|
|
756
762
|
|
|
757
|
-
.htw-prose :where(h3 strong):not(:where([class~="htw-not-prose"] *)){
|
|
763
|
+
.htw-prose :where(h3 strong):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
758
764
|
font-weight:700;
|
|
759
765
|
color:inherit
|
|
760
766
|
}
|
|
761
767
|
|
|
762
|
-
.htw-prose :where(h4):not(:where([class~="htw-not-prose"] *)){
|
|
768
|
+
.htw-prose :where(h4):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
763
769
|
color:var(--tw-prose-headings);
|
|
764
770
|
font-weight:600;
|
|
765
771
|
margin-top:1.5em;
|
|
@@ -767,29 +773,36 @@ body {
|
|
|
767
773
|
line-height:1.5
|
|
768
774
|
}
|
|
769
775
|
|
|
770
|
-
.htw-prose :where(h4 strong):not(:where([class~="htw-not-prose"] *)){
|
|
776
|
+
.htw-prose :where(h4 strong):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
771
777
|
font-weight:700;
|
|
772
778
|
color:inherit
|
|
773
779
|
}
|
|
774
780
|
|
|
775
|
-
.htw-prose :where(img):not(:where([class~="htw-not-prose"] *)){
|
|
781
|
+
.htw-prose :where(img):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
776
782
|
margin-top:2em;
|
|
777
783
|
margin-bottom:2em
|
|
778
784
|
}
|
|
779
785
|
|
|
780
|
-
.htw-prose :where(
|
|
781
|
-
|
|
782
|
-
margin-
|
|
786
|
+
.htw-prose :where(picture):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
787
|
+
display:block;
|
|
788
|
+
margin-top:2em;
|
|
789
|
+
margin-bottom:2em
|
|
783
790
|
}
|
|
784
791
|
|
|
785
|
-
.htw-prose :where(
|
|
786
|
-
|
|
792
|
+
.htw-prose :where(kbd):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
793
|
+
font-weight:500;
|
|
794
|
+
font-family:inherit;
|
|
795
|
+
color:var(--tw-prose-kbd);
|
|
796
|
+
box-shadow:0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%), 0 3px 0 rgb(var(--tw-prose-kbd-shadows) / 10%);
|
|
787
797
|
font-size:0.875em;
|
|
788
|
-
|
|
789
|
-
|
|
798
|
+
border-radius:0.3125rem;
|
|
799
|
+
padding-top:0.1875em;
|
|
800
|
+
padding-right:0.375em;
|
|
801
|
+
padding-bottom:0.1875em;
|
|
802
|
+
padding-left:0.375em
|
|
790
803
|
}
|
|
791
804
|
|
|
792
|
-
.htw-prose :where(code):not(:where([class~="htw-not-prose"] *)){
|
|
805
|
+
.htw-prose :where(code):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
793
806
|
color:var(--tw-prose-code);
|
|
794
807
|
font-weight:normal;
|
|
795
808
|
font-size:0.8rem;
|
|
@@ -798,49 +811,49 @@ body {
|
|
|
798
811
|
border-radius:0.25rem;
|
|
799
812
|
}
|
|
800
813
|
|
|
801
|
-
.htw-prose :where(code):not(:where([class~="htw-not-prose"] *))::before, .htw-prose :where(code):not(:where([class~="htw-not-prose"] *))::after{
|
|
814
|
+
.htw-prose :where(code):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *))::before, .htw-prose :where(code):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *))::after{
|
|
802
815
|
display:none
|
|
803
816
|
}
|
|
804
817
|
|
|
805
|
-
.htw-prose :where(code):not(:where([class~="htw-not-prose"] *))::before{
|
|
818
|
+
.htw-prose :where(code):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *))::before{
|
|
806
819
|
content:"`"
|
|
807
820
|
}
|
|
808
821
|
|
|
809
|
-
.htw-prose :where(code):not(:where([class~="htw-not-prose"] *))::after{
|
|
822
|
+
.htw-prose :where(code):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *))::after{
|
|
810
823
|
content:"`"
|
|
811
824
|
}
|
|
812
825
|
|
|
813
|
-
.htw-prose :where(a code):not(:where([class~="htw-not-prose"] *)){
|
|
826
|
+
.htw-prose :where(a code):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
814
827
|
color:inherit
|
|
815
828
|
}
|
|
816
829
|
|
|
817
|
-
.htw-prose :where(h1 code):not(:where([class~="htw-not-prose"] *)){
|
|
830
|
+
.htw-prose :where(h1 code):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
818
831
|
color:inherit
|
|
819
832
|
}
|
|
820
833
|
|
|
821
|
-
.htw-prose :where(h2 code):not(:where([class~="htw-not-prose"] *)){
|
|
834
|
+
.htw-prose :where(h2 code):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
822
835
|
color:inherit;
|
|
823
836
|
font-size:0.875em
|
|
824
837
|
}
|
|
825
838
|
|
|
826
|
-
.htw-prose :where(h3 code):not(:where([class~="htw-not-prose"] *)){
|
|
839
|
+
.htw-prose :where(h3 code):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
827
840
|
color:inherit;
|
|
828
841
|
font-size:0.9em
|
|
829
842
|
}
|
|
830
843
|
|
|
831
|
-
.htw-prose :where(h4 code):not(:where([class~="htw-not-prose"] *)){
|
|
844
|
+
.htw-prose :where(h4 code):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
832
845
|
color:inherit
|
|
833
846
|
}
|
|
834
847
|
|
|
835
|
-
.htw-prose :where(blockquote code):not(:where([class~="htw-not-prose"] *)){
|
|
848
|
+
.htw-prose :where(blockquote code):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
836
849
|
color:inherit
|
|
837
850
|
}
|
|
838
851
|
|
|
839
|
-
.htw-prose :where(thead th code):not(:where([class~="htw-not-prose"] *)){
|
|
852
|
+
.htw-prose :where(thead th code):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
840
853
|
color:inherit
|
|
841
854
|
}
|
|
842
855
|
|
|
843
|
-
.htw-prose :where(pre):not(:where([class~="htw-not-prose"] *)){
|
|
856
|
+
.htw-prose :where(pre):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
844
857
|
color:var(--tw-prose-pre-code);
|
|
845
858
|
background-color:var(--tw-prose-pre-bg);
|
|
846
859
|
overflow-x:auto;
|
|
@@ -856,7 +869,7 @@ body {
|
|
|
856
869
|
padding-left:1.1428571em
|
|
857
870
|
}
|
|
858
871
|
|
|
859
|
-
.htw-prose :where(pre code):not(:where([class~="htw-not-prose"] *)){
|
|
872
|
+
.htw-prose :where(pre code):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
860
873
|
background-color:transparent;
|
|
861
874
|
border-width:0;
|
|
862
875
|
border-radius:0;
|
|
@@ -868,15 +881,15 @@ body {
|
|
|
868
881
|
line-height:inherit
|
|
869
882
|
}
|
|
870
883
|
|
|
871
|
-
.htw-prose :where(pre code):not(:where([class~="htw-not-prose"] *))::before{
|
|
884
|
+
.htw-prose :where(pre code):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *))::before{
|
|
872
885
|
content:none
|
|
873
886
|
}
|
|
874
887
|
|
|
875
|
-
.htw-prose :where(pre code):not(:where([class~="htw-not-prose"] *))::after{
|
|
888
|
+
.htw-prose :where(pre code):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *))::after{
|
|
876
889
|
content:none
|
|
877
890
|
}
|
|
878
891
|
|
|
879
|
-
.htw-prose :where(table):not(:where([class~="htw-not-prose"] *)){
|
|
892
|
+
.htw-prose :where(table):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
880
893
|
width:100%;
|
|
881
894
|
table-layout:auto;
|
|
882
895
|
text-align:left;
|
|
@@ -886,12 +899,12 @@ body {
|
|
|
886
899
|
line-height:1.7142857
|
|
887
900
|
}
|
|
888
901
|
|
|
889
|
-
.htw-prose :where(thead):not(:where([class~="htw-not-prose"] *)){
|
|
902
|
+
.htw-prose :where(thead):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
890
903
|
border-bottom-width:1px;
|
|
891
904
|
border-bottom-color:var(--tw-prose-th-borders)
|
|
892
905
|
}
|
|
893
906
|
|
|
894
|
-
.htw-prose :where(thead th):not(:where([class~="htw-not-prose"] *)){
|
|
907
|
+
.htw-prose :where(thead th):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
895
908
|
color:var(--tw-prose-headings);
|
|
896
909
|
font-weight:600;
|
|
897
910
|
vertical-align:bottom;
|
|
@@ -900,28 +913,40 @@ body {
|
|
|
900
913
|
padding-left:0.5714286em
|
|
901
914
|
}
|
|
902
915
|
|
|
903
|
-
.htw-prose :where(tbody tr):not(:where([class~="htw-not-prose"] *)){
|
|
916
|
+
.htw-prose :where(tbody tr):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
904
917
|
border-bottom-width:1px;
|
|
905
918
|
border-bottom-color:var(--tw-prose-td-borders)
|
|
906
919
|
}
|
|
907
920
|
|
|
908
|
-
.htw-prose :where(tbody tr:last-child):not(:where([class~="htw-not-prose"] *)){
|
|
921
|
+
.htw-prose :where(tbody tr:last-child):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
909
922
|
border-bottom-width:0
|
|
910
923
|
}
|
|
911
924
|
|
|
912
|
-
.htw-prose :where(tbody td):not(:where([class~="htw-not-prose"] *)){
|
|
925
|
+
.htw-prose :where(tbody td):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
913
926
|
vertical-align:baseline
|
|
914
927
|
}
|
|
915
928
|
|
|
916
|
-
.htw-prose :where(tfoot):not(:where([class~="htw-not-prose"] *)){
|
|
929
|
+
.htw-prose :where(tfoot):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
917
930
|
border-top-width:1px;
|
|
918
931
|
border-top-color:var(--tw-prose-th-borders)
|
|
919
932
|
}
|
|
920
933
|
|
|
921
|
-
.htw-prose :where(tfoot td):not(:where([class~="htw-not-prose"] *)){
|
|
934
|
+
.htw-prose :where(tfoot td):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
922
935
|
vertical-align:top
|
|
923
936
|
}
|
|
924
937
|
|
|
938
|
+
.htw-prose :where(figure > *):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
939
|
+
margin-top:0;
|
|
940
|
+
margin-bottom:0
|
|
941
|
+
}
|
|
942
|
+
|
|
943
|
+
.htw-prose :where(figcaption):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
944
|
+
color:var(--tw-prose-captions);
|
|
945
|
+
font-size:0.875em;
|
|
946
|
+
line-height:1.4285714;
|
|
947
|
+
margin-top:0.8571429em
|
|
948
|
+
}
|
|
949
|
+
|
|
925
950
|
.htw-prose{
|
|
926
951
|
--tw-prose-body:#374151;
|
|
927
952
|
--tw-prose-headings:#111827;
|
|
@@ -934,6 +959,8 @@ body {
|
|
|
934
959
|
--tw-prose-quotes:#111827;
|
|
935
960
|
--tw-prose-quote-borders:#e5e7eb;
|
|
936
961
|
--tw-prose-captions:#6b7280;
|
|
962
|
+
--tw-prose-kbd:#111827;
|
|
963
|
+
--tw-prose-kbd-shadows:17 24 39;
|
|
937
964
|
--tw-prose-code:#111827;
|
|
938
965
|
--tw-prose-pre-code:#e5e7eb;
|
|
939
966
|
--tw-prose-pre-bg:#1f2937;
|
|
@@ -950,6 +977,8 @@ body {
|
|
|
950
977
|
--tw-prose-invert-quotes:#f3f4f6;
|
|
951
978
|
--tw-prose-invert-quote-borders:rgb(var(--_histoire-color-gray-800));
|
|
952
979
|
--tw-prose-invert-captions:#9ca3af;
|
|
980
|
+
--tw-prose-invert-kbd:#fff;
|
|
981
|
+
--tw-prose-invert-kbd-shadows:255 255 255;
|
|
953
982
|
--tw-prose-invert-code:#fff;
|
|
954
983
|
--tw-prose-invert-pre-code:#d1d5db;
|
|
955
984
|
--tw-prose-invert-pre-bg:rgb(0 0 0 / 50%);
|
|
@@ -959,107 +988,122 @@ body {
|
|
|
959
988
|
line-height:1.75
|
|
960
989
|
}
|
|
961
990
|
|
|
962
|
-
.htw-prose :where(
|
|
963
|
-
margin-top:
|
|
964
|
-
margin-bottom:
|
|
991
|
+
.htw-prose :where(picture > img):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
992
|
+
margin-top:0;
|
|
993
|
+
margin-bottom:0
|
|
965
994
|
}
|
|
966
995
|
|
|
967
|
-
.htw-prose :where(
|
|
996
|
+
.htw-prose :where(video):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
968
997
|
margin-top:2em;
|
|
969
998
|
margin-bottom:2em
|
|
970
999
|
}
|
|
971
1000
|
|
|
972
|
-
.htw-prose :where(li):not(:where([class~="htw-not-prose"] *)){
|
|
1001
|
+
.htw-prose :where(li):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
973
1002
|
margin-top:0.1rem;
|
|
974
1003
|
margin-bottom:0.1rem
|
|
975
1004
|
}
|
|
976
1005
|
|
|
977
|
-
.htw-prose :where(ol > li):not(:where([class~="htw-not-prose"] *)){
|
|
1006
|
+
.htw-prose :where(ol > li):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
978
1007
|
padding-left:0.375em
|
|
979
1008
|
}
|
|
980
1009
|
|
|
981
|
-
.htw-prose :where(ul > li):not(:where([class~="htw-not-prose"] *)){
|
|
1010
|
+
.htw-prose :where(ul > li):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
982
1011
|
padding-left:0.375em
|
|
983
1012
|
}
|
|
984
1013
|
|
|
985
|
-
.htw-prose :where(.htw-prose > ul > li p):not(:where([class~="htw-not-prose"] *)){
|
|
1014
|
+
.htw-prose :where(.htw-prose > ul > li p):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
986
1015
|
margin-top:0.75em;
|
|
987
1016
|
margin-bottom:0.75em
|
|
988
1017
|
}
|
|
989
1018
|
|
|
990
|
-
.htw-prose :where(.htw-prose > ul > li > *:first-child):not(:where([class~="htw-not-prose"] *)){
|
|
1019
|
+
.htw-prose :where(.htw-prose > ul > li > *:first-child):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
991
1020
|
margin-top:1.25em
|
|
992
1021
|
}
|
|
993
1022
|
|
|
994
|
-
.htw-prose :where(.htw-prose > ul > li > *:last-child):not(:where([class~="htw-not-prose"] *)){
|
|
1023
|
+
.htw-prose :where(.htw-prose > ul > li > *:last-child):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
995
1024
|
margin-bottom:1.25em
|
|
996
1025
|
}
|
|
997
1026
|
|
|
998
|
-
.htw-prose :where(.htw-prose > ol > li > *:first-child):not(:where([class~="htw-not-prose"] *)){
|
|
1027
|
+
.htw-prose :where(.htw-prose > ol > li > *:first-child):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
999
1028
|
margin-top:1.25em
|
|
1000
1029
|
}
|
|
1001
1030
|
|
|
1002
|
-
.htw-prose :where(.htw-prose > ol > li > *:last-child):not(:where([class~="htw-not-prose"] *)){
|
|
1031
|
+
.htw-prose :where(.htw-prose > ol > li > *:last-child):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
1003
1032
|
margin-bottom:1.25em
|
|
1004
1033
|
}
|
|
1005
1034
|
|
|
1006
|
-
.htw-prose :where(ul ul, ul ol, ol ul, ol ol):not(:where([class~="htw-not-prose"] *)){
|
|
1035
|
+
.htw-prose :where(ul ul, ul ol, ol ul, ol ol):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
1007
1036
|
margin-top:0.75em;
|
|
1008
1037
|
margin-bottom:0.75em
|
|
1009
1038
|
}
|
|
1010
1039
|
|
|
1011
|
-
.htw-prose :where(
|
|
1040
|
+
.htw-prose :where(dl):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
1041
|
+
margin-top:1.25em;
|
|
1042
|
+
margin-bottom:1.25em
|
|
1043
|
+
}
|
|
1044
|
+
|
|
1045
|
+
.htw-prose :where(dd):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
1046
|
+
margin-top:0.5em;
|
|
1047
|
+
padding-left:1.625em
|
|
1048
|
+
}
|
|
1049
|
+
|
|
1050
|
+
.htw-prose :where(hr + *):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
1012
1051
|
margin-top:0
|
|
1013
1052
|
}
|
|
1014
1053
|
|
|
1015
|
-
.htw-prose :where(h2 + *):not(:where([class~="htw-not-prose"] *)){
|
|
1054
|
+
.htw-prose :where(h2 + *):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
1016
1055
|
margin-top:0
|
|
1017
1056
|
}
|
|
1018
1057
|
|
|
1019
|
-
.htw-prose :where(h3 + *):not(:where([class~="htw-not-prose"] *)){
|
|
1058
|
+
.htw-prose :where(h3 + *):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
1020
1059
|
margin-top:0
|
|
1021
1060
|
}
|
|
1022
1061
|
|
|
1023
|
-
.htw-prose :where(h4 + *):not(:where([class~="htw-not-prose"] *)){
|
|
1062
|
+
.htw-prose :where(h4 + *):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
1024
1063
|
margin-top:0
|
|
1025
1064
|
}
|
|
1026
1065
|
|
|
1027
|
-
.htw-prose :where(thead th:first-child):not(:where([class~="htw-not-prose"] *)){
|
|
1066
|
+
.htw-prose :where(thead th:first-child):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
1028
1067
|
padding-left:0
|
|
1029
1068
|
}
|
|
1030
1069
|
|
|
1031
|
-
.htw-prose :where(thead th:last-child):not(:where([class~="htw-not-prose"] *)){
|
|
1070
|
+
.htw-prose :where(thead th:last-child):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
1032
1071
|
padding-right:0
|
|
1033
1072
|
}
|
|
1034
1073
|
|
|
1035
|
-
.htw-prose :where(tbody td, tfoot td):not(:where([class~="htw-not-prose"] *)){
|
|
1074
|
+
.htw-prose :where(tbody td, tfoot td):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
1036
1075
|
padding-top:0.5714286em;
|
|
1037
1076
|
padding-right:0.5714286em;
|
|
1038
1077
|
padding-bottom:0.5714286em;
|
|
1039
1078
|
padding-left:0.5714286em
|
|
1040
1079
|
}
|
|
1041
1080
|
|
|
1042
|
-
.htw-prose :where(tbody td:first-child, tfoot td:first-child):not(:where([class~="htw-not-prose"] *)){
|
|
1081
|
+
.htw-prose :where(tbody td:first-child, tfoot td:first-child):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
1043
1082
|
padding-left:0
|
|
1044
1083
|
}
|
|
1045
1084
|
|
|
1046
|
-
.htw-prose :where(tbody td:last-child, tfoot td:last-child):not(:where([class~="htw-not-prose"] *)){
|
|
1085
|
+
.htw-prose :where(tbody td:last-child, tfoot td:last-child):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
1047
1086
|
padding-right:0
|
|
1048
1087
|
}
|
|
1049
1088
|
|
|
1050
|
-
.htw-prose :where(
|
|
1089
|
+
.htw-prose :where(figure):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
1090
|
+
margin-top:2em;
|
|
1091
|
+
margin-bottom:2em
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1094
|
+
.htw-prose :where(.htw-prose > :first-child):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
1051
1095
|
margin-top:0
|
|
1052
1096
|
}
|
|
1053
1097
|
|
|
1054
|
-
.htw-prose :where(.htw-prose > :last-child):not(:where([class~="htw-not-prose"] *)){
|
|
1098
|
+
.htw-prose :where(.htw-prose > :last-child):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
1055
1099
|
margin-bottom:0
|
|
1056
1100
|
}
|
|
1057
1101
|
|
|
1058
|
-
.htw-prose :where(h1, h2, h3, h4, th):not(:where([class~="htw-not-prose"] *)){
|
|
1102
|
+
.htw-prose :where(h1, h2, h3, h4, th):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)){
|
|
1059
1103
|
margin-bottom:0.75rem;
|
|
1060
1104
|
}
|
|
1061
1105
|
|
|
1062
|
-
.htw-prose :where(h1, h2, h3, h4, th):not(:where([class~="htw-not-prose"] *)):not(:first-child){
|
|
1106
|
+
.htw-prose :where(h1, h2, h3, h4, th):not(:where([class~="htw-not-prose"],[class~="htw-not-prose"] *)):not(:first-child){
|
|
1063
1107
|
margin-top:1.25rem
|
|
1064
1108
|
}
|
|
1065
1109
|
|
|
@@ -2400,6 +2444,8 @@ body {
|
|
|
2400
2444
|
--tw-prose-quotes:var(--tw-prose-invert-quotes);
|
|
2401
2445
|
--tw-prose-quote-borders:var(--tw-prose-invert-quote-borders);
|
|
2402
2446
|
--tw-prose-captions:var(--tw-prose-invert-captions);
|
|
2447
|
+
--tw-prose-kbd:var(--tw-prose-invert-kbd);
|
|
2448
|
+
--tw-prose-kbd-shadows:var(--tw-prose-invert-kbd-shadows);
|
|
2403
2449
|
--tw-prose-code:var(--tw-prose-invert-code);
|
|
2404
2450
|
--tw-prose-pre-code:var(--tw-prose-invert-pre-code);
|
|
2405
2451
|
--tw-prose-pre-bg:var(--tw-prose-invert-pre-bg);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@histoire/app",
|
|
3
|
-
"version": "0.17.
|
|
3
|
+
"version": "0.17.6",
|
|
4
4
|
"description": "Pre-bundled UI for Histoire",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -24,30 +24,30 @@
|
|
|
24
24
|
},
|
|
25
25
|
"types": "./src/index.ts",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@types/flexsearch": "^0.7.
|
|
27
|
+
"@types/flexsearch": "^0.7.6",
|
|
28
28
|
"flexsearch": "0.7.21",
|
|
29
29
|
"shiki-es": "^0.2.0",
|
|
30
|
-
"@histoire/controls": "^0.17.
|
|
31
|
-
"@histoire/
|
|
32
|
-
"@histoire/
|
|
30
|
+
"@histoire/controls": "^0.17.6",
|
|
31
|
+
"@histoire/vendors": "^0.17.6",
|
|
32
|
+
"@histoire/shared": "^0.17.6"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@tailwindcss/typography": "^0.5.
|
|
35
|
+
"@tailwindcss/typography": "^0.5.10",
|
|
36
36
|
"@types/fs-extra": "^9.0.13",
|
|
37
37
|
"@types/node": "^17.0.45",
|
|
38
|
-
"@vitejs/plugin-vue": "^4.
|
|
39
|
-
"autoprefixer": "^10.4.
|
|
38
|
+
"@vitejs/plugin-vue": "^4.5.0",
|
|
39
|
+
"autoprefixer": "^10.4.16",
|
|
40
40
|
"chokidar": "^3.5.3",
|
|
41
41
|
"concurrently": "^7.6.0",
|
|
42
42
|
"fs-extra": "^10.1.0",
|
|
43
43
|
"globby": "^13.2.2",
|
|
44
|
-
"pathe": "^
|
|
45
|
-
"postcss": "^8.4.
|
|
44
|
+
"pathe": "^1.1.1",
|
|
45
|
+
"postcss": "^8.4.31",
|
|
46
46
|
"postcss-import": "^14.1.0",
|
|
47
|
-
"tailwindcss": "^3.3.
|
|
47
|
+
"tailwindcss": "^3.3.5",
|
|
48
48
|
"typescript": "^4.9.5",
|
|
49
49
|
"vite": "^4.5.0",
|
|
50
|
-
"vue": "^3.3.
|
|
50
|
+
"vue": "^3.3.8"
|
|
51
51
|
},
|
|
52
52
|
"scripts": {
|
|
53
53
|
"build": "rimraf dist && vite build && pnpm run build:css && node ./scripts/copy.mjs",
|