This commit is contained in:
2026-01-15 23:11:17 +00:00
parent 64558c0037
commit 98e75db6ff
2 changed files with 11 additions and 0 deletions

27
app/utils/set_colors.ts Normal file
View File

@@ -0,0 +1,27 @@
export function set_color(color: string) {
}
export const ui_colors_dropdown = ref([
{
label: "Blue",
class: "",
onselect: () => set_color("blue")
},
{
label: "Red",
onselect: () => set_color("red")
},
{
label: "Green",
onselect: () => set_color("green")
},
{
label: "Pink",
onselect: () => set_color("pink")
},
{
label: "Purple",
onselect: () => set_color("purple")
}
])

11
app/utils/yt_titles.ts Normal file
View File

@@ -0,0 +1,11 @@
// @ts-ignore
const getArtistTitle = require('get-artist-title')
export function get_title(vid_id: string) {
}
export function filter_title(title: string) {
const [ artist, track ] = getArtistTitle(title)
return [ artist, track ]
}