Skip to content

Commit c6d1159

Browse files
committed
ok
1 parent 7da2d0c commit c6d1159

File tree

3 files changed

+13
-8
lines changed

3 files changed

+13
-8
lines changed

src/Elastic.Documentation.Site/Assets/styles.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,13 +133,13 @@
133133
color: var(--color-blue-elastic-80);
134134
}
135135
.applicable-meta-deprecated {
136-
color: var(--color-yellow-90);
136+
color: var(--color-pink-90);
137137
}
138138
.applicable-meta-beta {
139139
color: var(--color-poppy-90);
140140
}
141141
.applicable-meta-planned {
142-
color: var(--color-purple-90);
142+
color: var(--color-grey-90);
143143
}
144144
}
145145

src/Elastic.Documentation.Site/Assets/theme.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
--color-yellow-50: #f5bc00;
8484
--color-yellow-60: #eaae01;
8585
--color-yellow-70: #ca9601;
86-
--color-yellow-80: #ad7e00;
86+
--color-yellow-80: #ad7e00;
8787
--color-yellow-90: #966b03;
8888
--color-yellow-100: #825803;
8989
--color-yellow-110: #6a4906;

src/Elastic.Markdown/Myst/Components/ApplicableToComponent.cshtml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
{
113113
badgeText = "Planned";
114114
lifecycleTooltip = "We plan to add this functionality in a future update. Plans may change without notice.";
115-
lifecycleClass = "technical-preview";
115+
lifecycleClass = "planned";
116116
}
117117
else
118118
{
@@ -124,7 +124,7 @@
124124
{
125125
badgeText = "Planned";
126126
lifecycleTooltip = "We plan to add this functionality in a future update. Plans may change without notice.";
127-
lifecycleClass = "technical-preview";
127+
lifecycleClass = "planned";
128128
}
129129
else
130130
{
@@ -137,7 +137,7 @@
137137
{
138138
badgeText = "Planned";
139139
lifecycleTooltip = "We plan to add this functionality in a future update. Plans may change without notice.";
140-
lifecycleClass = "technical-preview";
140+
lifecycleClass = "planned";
141141
}
142142

143143
break;
@@ -173,9 +173,14 @@
173173
_ => ""
174174
};
175175

176-
if (applicability.Version is null)
176+
if (
177+
applicability.Version is null
178+
&& applicability.Lifecycle != ProductLifecycle.Deprecated
179+
&& applicability.Lifecycle != ProductLifecycle.Removed
180+
&& versioningSystem.ID is "stack" or "self" or "ece" or "eck"
181+
)
177182
{
178-
textTooltip += $"\n\nApplies to version {versioningSystem.Base} and later - may have been introduced in a previous version";
183+
lifecycleTooltip += $"\n\nApplies to version {versioningSystem.Base} and later - may have been introduced in a previous version";
179184
}
180185

181186
var badgeTextChanged = badgeText != name;

0 commit comments

Comments
 (0)