-
Notifications
You must be signed in to change notification settings - Fork 131
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
11 changed files
with
75 additions
and
19 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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { applyMarkers, exposeGetters, markThemeVersion } from '../../lib/theming/ThemeHelpers'; | ||
|
||
import { BasicDarkTheme } from './BasicDarkTheme'; | ||
|
||
export class DarkThemeInternal2022_0 extends (class {} as typeof BasicDarkTheme) {} | ||
|
||
export const DarkTheme2022_0 = Object.setPrototypeOf( | ||
applyMarkers(exposeGetters(DarkThemeInternal2022_0), [markThemeVersion(0)]), | ||
BasicDarkTheme, | ||
) as typeof BasicDarkTheme; |
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,10 @@ | ||
import { applyMarkers, exposeGetters, markThemeVersion } from '../../lib/theming/ThemeHelpers'; | ||
|
||
import { DarkTheme2022_0 } from './DarkTheme2022_0'; | ||
|
||
export class DarkThemeInternal2022_1 extends (class {} as typeof DarkTheme2022_0) {} | ||
|
||
export const DarkTheme2022_1 = Object.setPrototypeOf( | ||
applyMarkers(exposeGetters(DarkThemeInternal2022_1), [markThemeVersion(1)]), | ||
DarkTheme2022_0, | ||
) as typeof DarkTheme2022_0; |
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,10 @@ | ||
import { applyMarkers, exposeGetters, markThemeVersion } from '../../lib/theming/ThemeHelpers'; | ||
|
||
import { BasicLightTheme } from './BasicLightTheme'; | ||
|
||
export class LightThemeInternal2022_0 extends (class {} as typeof BasicLightTheme) {} | ||
|
||
export const LightTheme2022_0 = Object.setPrototypeOf( | ||
applyMarkers(exposeGetters(LightThemeInternal2022_0), [markThemeVersion(0)]), | ||
BasicLightTheme, | ||
) as typeof BasicLightTheme; |
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,10 @@ | ||
import { applyMarkers, exposeGetters, markThemeVersion } from '../../lib/theming/ThemeHelpers'; | ||
|
||
import { LightTheme2022_0 } from './LightTheme2022_0'; | ||
|
||
export class LightThemeInternal2022_1 extends (class {} as typeof LightTheme2022_0) {} | ||
|
||
export const LightTheme2022_1 = Object.setPrototypeOf( | ||
applyMarkers(exposeGetters(LightThemeInternal2022_1), [markThemeVersion(1)]), | ||
LightTheme2022_0, | ||
) as typeof LightTheme2022_0; |
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,5 +1,4 @@ | ||
import { ThemeFactory } from '../ThemeFactory'; | ||
import { BasicDarkTheme } from '../../../internal/themes/BasicDarkTheme'; | ||
import { applyMarkers, markAsDarkTheme, markAsTheme2022 } from '../ThemeHelpers'; | ||
|
||
export const DARK_THEME = applyMarkers(ThemeFactory.create({}, BasicDarkTheme), [markAsTheme2022, markAsDarkTheme]); | ||
export const DARK_THEME = ThemeFactory.create({}, BasicDarkTheme); |
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,5 +1,4 @@ | ||
import { ThemeFactory } from '../ThemeFactory'; | ||
import { DarkTheme2022_0 } from '../../../internal/themes/DarkTheme2022_0'; | ||
|
||
import { DARK_THEME } from './DarkTheme'; | ||
|
||
export const DARK_THEME_2022_0 = ThemeFactory.create({}, DARK_THEME); | ||
export const DARK_THEME_2022_0 = ThemeFactory.create({}, DarkTheme2022_0); |
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,5 +1,4 @@ | ||
import { ThemeFactory } from '../ThemeFactory'; | ||
import { BasicLightTheme } from '../../../internal/themes/BasicLightTheme'; | ||
import { applyMarkers, markAsTheme2022 } from '../ThemeHelpers'; | ||
|
||
export const LIGHT_THEME = applyMarkers(ThemeFactory.create({}, BasicLightTheme), [markAsTheme2022]); | ||
export const LIGHT_THEME = ThemeFactory.create({}, BasicLightTheme); |
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,5 +1,4 @@ | ||
import { ThemeFactory } from '../ThemeFactory'; | ||
import { LightTheme2022_0 } from '../../../internal/themes/LightTheme2022_0'; | ||
|
||
import { LIGHT_THEME } from './LightTheme'; | ||
|
||
export const LIGHT_THEME_2022_0 = ThemeFactory.create({}, LIGHT_THEME); | ||
export const LIGHT_THEME_2022_0 = ThemeFactory.create({}, LightTheme2022_0); |