Theme system refactor (#31)

This commit is contained in:
Gregory Schier
2024-05-21 17:56:06 -07:00
committed by GitHub
parent f1db72eb77
commit 4c5087659b
82 changed files with 909 additions and 739 deletions

6
src-web/lib/indent.ts Normal file
View File

@@ -0,0 +1,6 @@
export function indent(text: string, space = ' '): string {
return text
.split('\n')
.map((line) => space + line)
.join('\n');
}