Relationship(…Target) html trait tag (#18140)
# Objective Fixes #18117 These are component subtraits, but unlike for `Event` (before that bound got removed) this still shows it as a component because it's actually used as such. ## Testing ```sh RUSTDOCFLAGS="--html-after-content docs-rs/trait-tags.html --cfg docsrs_dep" RUSTFLAGS="--cfg docsrs_dep" cargo doc --no-deps --package bevy_ecs ``` --- ## Showcase 
This commit is contained in:
parent
7a1972ed3d
commit
d0caea0882
@ -16,6 +16,8 @@
|
|||||||
'ScheduleLabel',
|
'ScheduleLabel',
|
||||||
'SystemSet',
|
'SystemSet',
|
||||||
'SystemParam',
|
'SystemParam',
|
||||||
|
'Relationship',
|
||||||
|
'RelationshipTarget'
|
||||||
];
|
];
|
||||||
|
|
||||||
// Find all traits that are implemented by the current type.
|
// Find all traits that are implemented by the current type.
|
||||||
@ -138,7 +140,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.resource-tag {
|
.resource-tag {
|
||||||
--tag-color: oklch(50% 27% 130);
|
--tag-color: oklch(50% 27% 110);
|
||||||
}
|
}
|
||||||
|
|
||||||
.asset-tag {
|
.asset-tag {
|
||||||
@ -162,4 +164,9 @@
|
|||||||
.systemparam-tag {
|
.systemparam-tag {
|
||||||
--tag-color: oklch(50% 27% 200);
|
--tag-color: oklch(50% 27% 200);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.relationship-tag,
|
||||||
|
.relationshiptarget-tag {
|
||||||
|
--tag-color: oklch(50% 27% 150);
|
||||||
|
}
|
||||||
</style>
|
</style>
|
Loading…
Reference in New Issue
Block a user