diff options
| author | metamuffin <metamuffin@disroot.org> | 2026-01-18 23:58:24 +0100 |
|---|---|---|
| committer | metamuffin <metamuffin@disroot.org> | 2026-01-18 23:58:24 +0100 |
| commit | 88f1baa4610d3852fdf16319aec30a3f0eae9cea (patch) | |
| tree | bb35b3fd29ffd954e5eeead33950a9338f9a081e /ui/client-style/src/lib.rs | |
| parent | ed19a428cb5eef84c8cf3fed5fda3afd5fc96305 (diff) | |
| download | jellything-88f1baa4610d3852fdf16319aec30a3f0eae9cea.tar jellything-88f1baa4610d3852fdf16319aec30a3f0eae9cea.tar.bz2 jellything-88f1baa4610d3852fdf16319aec30a3f0eae9cea.tar.zst | |
Move client styling to build-crate
Diffstat (limited to 'ui/client-style/src/lib.rs')
| -rw-r--r-- | ui/client-style/src/lib.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ui/client-style/src/lib.rs b/ui/client-style/src/lib.rs new file mode 100644 index 0000000..06ddce4 --- /dev/null +++ b/ui/client-style/src/lib.rs @@ -0,0 +1,10 @@ +/* + This file is part of jellything (https://codeberg.org/metamuffin/jellything) + which is licensed under the GNU Affero General Public License (version 3); see /COPYING. + Copyright (C) 2026 metamuffin <metamuffin.org> +*/ +use std::borrow::Cow; + +pub fn css_bundle() -> Cow<'static, str> { + include_str!(concat!(env!("OUT_DIR"), "/bundle.css")).into() +} |