import type { Property } from "csstype"; import type { ColorDescription, ColorsDescriptionStruct, ColorWithStates } from "../../general/colors/index.ts"; import type { Adaptive } from "../../general/tools/index.ts"; import type { Font } from "../../general/typography/index.ts"; import type { LocalParadigmColorsDescriptionStruct, ParadigmTheme, ParadigmThemeCssVars, ParadigmThemeDescription } from "../../namespaces/paradigm/index.ts"; type SearchViewports = ['touch', 'desktopS']; export type SearchLocalGradients = { searchCardBackground: string; searchCardWithTextBackground: string; }; export type SearchLocalElevations = { elevation1Hover: Property.BoxShadow; elevation2Hover: Property.BoxShadow; elevationButtons: Property.BoxShadow; }; export type SearchLocalFonts = { searchFontSearchExtraHeadline: Adaptive; searchFontSearchTitle4: Adaptive; searchFontSearchTitle4Bold: Adaptive; searchFontSearchHeadline2: Adaptive; searchFontSearchSubheadBold: Adaptive; searchFontSearchFootnoteBold: Adaptive; searchFontSearchFootnoteMailSans: Adaptive; searchFontSearchCaption1Bold: Adaptive; searchFontSearchCaption1MailSans: Adaptive; searchFontSearchCaption2MailSans: Adaptive; searchFontSearchBigText: Adaptive; searchFontSearchBigTextBold: Adaptive; searchFontSearchTextBold: Adaptive; searchFontSearchTextMailSans: Adaptive; searchFontForAdvertisingBold: Adaptive; searchFontGreenURL: Adaptive; searchFontParagraphBold: Adaptive; }; export interface LocalSearchColorsDescriptionStruct { searchColorTextLinkPositive: ColorDescription; searchColorTextLinkPositiveTint: ColorDescription; searchColorBackgroundAccentTint: ColorDescription; searchColorBackgroundOrangeAccentHover: ColorDescription; searchColorBackgroundOrangeAccentActive: ColorDescription; searchColorTextLinkAlternativeHover: ColorDescription; } export type SearchLocalColors = { [key in keyof LocalSearchColorsDescriptionStruct]: ColorWithStates; }; export interface ThemeSearch extends ParadigmTheme, SearchLocalGradients, SearchLocalElevations, SearchLocalFonts, SearchLocalColors { } export interface ThemeSearchDescription extends ParadigmThemeDescription, SearchLocalGradients, SearchLocalElevations, SearchLocalFonts { colors: LocalSearchColorsDescriptionStruct & LocalParadigmColorsDescriptionStruct & ColorsDescriptionStruct; } // Интерфейс ниже не используем в коде, но нужен для сборки export interface ThemeSearchCssVars extends ParadigmThemeCssVars { } export { };