@onsvisual/svelte-components 1.0.5 → 1.0.7
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.
|
@@ -726,10 +726,8 @@
|
|
|
726
726
|
>
|
|
727
727
|
<!-- Home Link -->
|
|
728
728
|
<li class="primary-nav__item js-nav">
|
|
729
|
-
<a
|
|
730
|
-
|
|
731
|
-
href="{baseurl}/"
|
|
732
|
-
style="color: #e5e6e7">{i18n("Home")}</a
|
|
729
|
+
<a class="primary-nav__link col col--md-7 col--lg-9" href="{baseurl}/"
|
|
730
|
+
>{i18n("Home")}</a
|
|
733
731
|
>
|
|
734
732
|
</li>
|
|
735
733
|
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
export let background = null;
|
|
78
78
|
</script>
|
|
79
79
|
|
|
80
|
-
<Theme
|
|
80
|
+
<Theme {theme} overrides={themeOverrides} {background}>
|
|
81
81
|
<section
|
|
82
82
|
class="ons-hero {cls}"
|
|
83
83
|
class:ons-hero--pale-blue={theme === "paleblue"}
|
|
@@ -351,6 +351,7 @@
|
|
|
351
351
|
flex-direction: column;
|
|
352
352
|
justify-content: center;
|
|
353
353
|
}
|
|
354
|
+
|
|
354
355
|
/* Allow a hero with a transparent background */
|
|
355
356
|
.ons-hero--transparent {
|
|
356
357
|
background: none;
|
|
@@ -38,9 +38,9 @@ const dark = {
|
|
|
38
38
|
"--ons-color-text-link-hover": "--ons-color-grey-5",
|
|
39
39
|
"--ons-color-text-link-active": "--ons-color-grey-5",
|
|
40
40
|
"--ons-color-text-link-focus": "--ons-color-black",
|
|
41
|
-
"--ons-color-text-inverse": "--ons-color-
|
|
42
|
-
"--ons-color-text-inverse-link": "--ons-color-
|
|
43
|
-
"--ons-color-text-inverse-link-hover": "--ons-color-
|
|
41
|
+
"--ons-color-text-inverse": "--ons-color-white",
|
|
42
|
+
"--ons-color-text-inverse-link": "--ons-color-white",
|
|
43
|
+
"--ons-color-text-inverse-link-hover": "--ons-color-grey-5",
|
|
44
44
|
"--ons-color-text-banner-link": "--ons-color-grey-5",
|
|
45
45
|
"--ons-color-text-banner-link-hover": "--ons-color-white",
|
|
46
46
|
"--ons-color-text-metadata": "--ons-color-white",
|