UNPKG

aws-northstar

Version:
85 lines (81 loc) 2.57 kB
/** ******************************************************************************************************************* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. * ******************************************************************************************************************** */ import { ThemeOptions } from '@material-ui/core/styles'; import { AlertClassKey } from '@material-ui/lab/Alert'; import { AutocompleteClassKey } from '@material-ui/lab/Autocomplete'; declare module '@material-ui/core/styles/overrides' { interface ComponentNameToClassKey { MuiAlert: AlertClassKey; MuiAutocomplete: AutocompleteClassKey; } } /** * This theme can be used by an amplify auth component on a login page. */ export declare const getAuthTheme: (fontFamily?: string) => { a: { color: string; }; button: { backgroundColor: string; }; formSection: { fontFamily: string; backgroundColor: string; borderRadius: string; boxShadow: string; }; navButton: { backgroundColor: string; }; navItem: { fontWeight: string; }; navRight: { background: string; backgroundSize: string; }; sectionHeader: { content: string; }; }; export declare const getTheme: (fontFamily?: string) => ThemeOptions; declare const theme: ThemeOptions; declare const authTheme: { a: { color: string; }; button: { backgroundColor: string; }; formSection: { fontFamily: string; backgroundColor: string; borderRadius: string; boxShadow: string; }; navButton: { backgroundColor: string; }; navItem: { fontWeight: string; }; navRight: { background: string; backgroundSize: string; }; sectionHeader: { content: string; }; }; export { theme, authTheme };