mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-08 00:27:18 +02:00
13 lines
285 B
TypeScript
13 lines
285 B
TypeScript
import stylus from 'stylus';
|
|
|
|
import cssStr from "@assets/css/styles.styl" with { type: "text" };
|
|
|
|
const generatedCss = await (stylus(cssStr, {})
|
|
.set('filename', 'styles.css')
|
|
.include('src/assets/css/'))
|
|
.render();
|
|
|
|
export const renderStylus = () => {
|
|
return generatedCss;
|
|
};
|