loading device page with relative pathing
This commit is contained in:
parent
05f7765f82
commit
438451690b
8 changed files with 235 additions and 21 deletions
11
src/theme/text.ts
Normal file
11
src/theme/text.ts
Normal 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)";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue