-
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.
- Loading branch information
Showing
4 changed files
with
79 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
export { | ||
ThemeVkontakteIOS as ThemeLegoIOS, | ||
ThemeVkontakteIOSCssVars as ThemeLegoIOSCssVars, | ||
ThemeVkontakteIOSDescription as ThemeLegoIOSDescription, | ||
} from '@/interfaces/themes/vkontakteIOS'; |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
export { | ||
ThemeVkontakteIOSDark as ThemeLegoIOSDark, | ||
ThemeVkontakteIOSDarkCssVars as ThemeLegoIOSDarkCssVars, | ||
ThemeVkontakteIOSDarkDescription as ThemeLegoIOSDarkDescription, | ||
} from '@/interfaces/themes/vkontakteIOSDark'; |
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 |
---|---|---|
@@ -0,0 +1,66 @@ | ||
import { ThemeLegoIOSDescription } from '@/interfaces/themes/legoIOS'; | ||
import { ThemeLegoIOSDarkDescription } from '@/interfaces/themes/legoIOSDark'; | ||
import { vkontakteIOSTheme, vkontakteIOSThemeDark } from '@/themeDescriptions/themes/vkontakteIOS'; | ||
|
||
const dark = '#212121'; | ||
const light = '#E1E3E6'; | ||
|
||
export const legoIOSTheme: ThemeLegoIOSDescription = { | ||
...vkontakteIOSTheme, // импорт светлой базовой темы | ||
|
||
themeName: 'legoIOS', // название текущей темы | ||
themeNameBase: 'legoIOS', // название светлой (базовой) темы | ||
themeInheritsFrom: 'vkontakteIOS', // название родительской темы | ||
|
||
colors: { | ||
...vkontakteIOSTheme.colors, | ||
// переопределение переменных | ||
colorTextAccent: dark, | ||
colorTextAccentThemed: dark, | ||
colorTextPrimary: dark, | ||
colorTextLink: dark, | ||
colorTextLinkThemed: dark, | ||
colorTextLinkTint: dark, | ||
colorIconAccent: dark, | ||
colorIconAccentThemed: dark, | ||
colorStrokeAccent: dark, | ||
colorStrokeAccentThemed: dark, | ||
colorBackgroundAccent: dark, | ||
colorBackgroundAccentThemed: dark, | ||
colorBackgroundAccentThemedAlpha: 'rgba(38, 136, 235, .2)', | ||
colorBackgroundAccentAlternative: dark, | ||
colorBackgroundAccentTint: '#2D2D2D', | ||
colorWriteBarIcon: dark, | ||
}, | ||
}; | ||
|
||
export const legoIOSThemeDark: ThemeLegoIOSDarkDescription = { | ||
...legoIOSTheme, // импорт светлой версии текущей темы, | ||
...vkontakteIOSThemeDark, // импорт тёмной базовой темы | ||
|
||
themeName: 'legoIOSDark', // название текущей темы | ||
themeNameBase: 'legoIOS', // название светлой (базовой) темы | ||
themeInheritsFrom: 'vkontakteIOSDark', // название родительской темы | ||
colorsScheme: 'dark', // название схемы (светлая — по умолчанию) | ||
|
||
colors: { | ||
...vkontakteIOSThemeDark.colors, | ||
// переопределение переменных | ||
colorTextAccent: light, | ||
colorTextAccentThemed: light, | ||
colorTextPrimary: light, | ||
colorTextLink: light, | ||
colorTextLinkThemed: light, | ||
colorTextLinkTint: light, | ||
colorIconAccent: light, | ||
colorIconAccentThemed: light, | ||
colorStrokeAccent: light, | ||
colorStrokeAccentThemed: light, | ||
colorBackgroundAccent: light, | ||
colorBackgroundAccentThemed: light, | ||
colorBackgroundAccentThemedAlpha: 'rgba(255, 255, 255, .2)', | ||
colorBackgroundAccentAlternative: light, | ||
colorBackgroundAccentTint: '#EAEDF0', | ||
colorWriteBarIcon: light, | ||
}, | ||
}; |