freshen app/client/ui2018/cssVars.ts

The cssVars.ts file has changed to include some more knobs
for custom theming.  This commit updates the file, and
introduces a `stubs` directory for stubbing code that is
specific to our deployments of Grist and not of general interest.
This commit is contained in:
Paul Fitzpatrick
2020-06-23 16:16:38 -04:00
parent ad35f54b87
commit c8c5afbbca
7 changed files with 28 additions and 2 deletions

View File

@@ -0,0 +1,12 @@
export type ProductFlavor = string;
// TODO: move CustomTheme type outside of stub code
export interface CustomTheme {
bodyClassName?: string;
wideLogo?: boolean;
};
export function getTheme(flavor: string): CustomTheme {
return {
};
}

6
stubs/app/tsconfig.json Normal file
View File

@@ -0,0 +1,6 @@
{
"extends": "../../buildtools/tsconfig-base.json",
"references": [
{ "path": "../../app/common" }
]
}