reworked style tree to use colorScheme instead of old theme. Very limited style for now
This commit is contained in:
parent
0c4c5f9238
commit
56f9543a95
53 changed files with 1017 additions and 1734 deletions
|
@ -1,12 +1,13 @@
|
|||
import Theme from "../themes/common/theme";
|
||||
import { backgroundColor, text } from "./components";
|
||||
import { ColorScheme } from "../themes/common/colorScheme";
|
||||
import { background, text } from "./components";
|
||||
|
||||
export default function projectDiagnostics(theme: Theme) {
|
||||
export default function projectDiagnostics(colorScheme: ColorScheme) {
|
||||
let layer = colorScheme.lowest.top;
|
||||
return {
|
||||
background: backgroundColor(theme, 500),
|
||||
background: background(layer),
|
||||
tabIconSpacing: 4,
|
||||
tabIconWidth: 13,
|
||||
tabSummarySpacing: 10,
|
||||
emptyMessage: text(theme, "sans", "secondary", { size: "md" }),
|
||||
emptyMessage: text(layer, "sans", "base", "variant", { size: "md" }),
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue