-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(vkontakteCom, vkontakteAndroid): Included colorStrokePrimary (#1151)
- Loading branch information
Showing
7 changed files
with
191 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,6 @@ | ||
import { ThemeCssVars } from '@/interfaces/general'; | ||
import { | ||
ColorDescription, | ||
ColorsDescriptionStruct, | ||
ColorWithStates, | ||
} from '@/interfaces/general/colors'; | ||
import { | ||
LocalVkontakteAndroidColorsDescriptionStruct, | ||
ThemeVkontakteAndroid, | ||
ThemeVkontakteAndroidDescription, | ||
// Сюда нельзя добавлять локальные переменные — так условились с разработкой Android | ||
export { | ||
ThemeVkontakteAndroid as ThemeLegoAndroid, | ||
ThemeVkontakteAndroidCssVars as ThemeLegoAndroidCssVars, | ||
ThemeVkontakteAndroidDescription as ThemeLegoAndroidDescription, | ||
} from '@/interfaces/themes/vkontakteAndroid'; | ||
|
||
// Описание локальных цветов | ||
export interface LocalLegoAndroidColorsDescriptionStruct { | ||
colorStrokePrimary: ColorDescription; | ||
} | ||
|
||
// Резолв локальных цветов | ||
export type LegoAndroidLocalColors = { | ||
[key in keyof LocalLegoAndroidColorsDescriptionStruct]: ColorWithStates; | ||
}; | ||
|
||
// Эскпорт интерфейсов описанной + наследованной темы | ||
export interface ThemeLegoAndroid extends ThemeVkontakteAndroid, LegoAndroidLocalColors {} | ||
export interface ThemeLegoAndroidDescription extends ThemeVkontakteAndroidDescription { | ||
colors: LocalLegoAndroidColorsDescriptionStruct & | ||
LocalVkontakteAndroidColorsDescriptionStruct & | ||
ColorsDescriptionStruct; | ||
} | ||
export interface ThemeLegoAndroidCssVars extends ThemeCssVars<ThemeLegoAndroid> {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.