loading device page with relative pathing

This commit is contained in:
Carter 2024-12-12 14:11:08 -06:00
parent 05f7765f82
commit 438451690b
8 changed files with 235 additions and 21 deletions

11
src/theme/text.ts Normal file
View file

@ -0,0 +1,11 @@
import { getThemeType } from "./themeType";
export function getTextPrimary() {
let themeType = getThemeType();
return themeType === "light" ? "rgba(0, 0, 0, 0.87)" : "#FFF";
}
export function getTextSecondary() {
let themeType = getThemeType();
return themeType === "light" ? "rgba(0, 0, 0, 0.54)" : "rgba(255, 255, 255, 0.7)";
}