1
0
mirror of https://github.com/flarum/core.git synced 2025-08-07 08:56:38 +02:00

feat: add Less custom function extender, is-extension-enabled function (#3190)

Co-authored-by: luceos <luceos@users.noreply.github.com>
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com>
This commit is contained in:
David Wheatley
2021-12-14 19:25:39 +00:00
committed by GitHub
parent 25dc26bac6
commit 11fd012f70
6 changed files with 129 additions and 2 deletions

View File

@@ -0,0 +1,7 @@
.dummy_func_test when (is-flarum("flarum") = true) {
color: green;
}
.dummy_func_test2 {
--x: is-flarum("not flarum") * 10;
--y: is-gt(1, 2);
}