origam 2.7.1 → 2.7.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.
|
@@ -51,3 +51,10 @@ defineExpose({
|
|
|
51
51
|
isLoaded
|
|
52
52
|
});
|
|
53
53
|
</script>
|
|
54
|
+
|
|
55
|
+
<style lang="scss" scoped>
|
|
56
|
+
.origam-app {
|
|
57
|
+
color: var(--origam-app---color, var(--origam-color__text---primary));
|
|
58
|
+
background-color: var(--origam-app---background-color, var(--origam-color__surface---default));
|
|
59
|
+
}
|
|
60
|
+
</style>
|
|
@@ -38,5 +38,10 @@ provideDefaults(scopedDefaults, { scoped: true });
|
|
|
38
38
|
<style lang="scss" scoped>
|
|
39
39
|
.origam-theme-provider {
|
|
40
40
|
display: contents;
|
|
41
|
+
// Base text color for the sub-tree (#201): `color` is inherited and passes
|
|
42
|
+
// through `display: contents`, so a local `data-mode="dark"` sub-tree gets
|
|
43
|
+
// readable default text (and currentColor icons) without painting a box.
|
|
44
|
+
// No background here — a provider is not a surface.
|
|
45
|
+
color: var(--origam-color__text---primary);
|
|
41
46
|
}
|
|
42
47
|
</style>
|