New file header using custom properties to handle Meta

This commit is contained in:
Niléane 2023-12-01 18:30:32 +01:00
commit 64a7ae3486
No known key found for this signature in database
3 changed files with 12 additions and 24 deletions

View file

@ -1,19 +1,15 @@
/* TangerineUI 🍊 for Mastodon Cherry variant 🍒
version: 2.0.0-pre
/* Tangerine UI for Mastodon 🍊
A Tangerine redesign for Mastodon's Web UI.
https://github.com/nileane/TangerineUI-for-Mastodon/
by @nileane@nileane.fr
Compatible with: Mastodon v4.3.0
*/
/* 📄 Version */
/* 📄 Meta */
:root {
--version: "v2.0.0-pre";
--variant: "🍒 Cherry";
--version-f: var(--version) ' · ' var(--variant) ' variant';
}
/* 🎨 Colors */
@ -4222,8 +4218,7 @@ a:is(.active,
}
/* 📄 Meta
------- */
/* 📄 Meta footer */
.app-body .link-footer {
margin-bottom: 10px;
display: flex;
@ -4240,6 +4235,7 @@ a:is(.active,
order: 9;
}
.app-body .link-footer::after {
--version-f: var(--version) ' · ' var(--variant) ' variant';
content: var(--version-f);
color: var(--color-fg-muted);
order: 10;