-
-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tweak: update poodle-surf and lorem-ipsum to use instance syntax (#317)
- Loading branch information
Showing
12 changed files
with
167 additions
and
187 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,16 +1,16 @@ | ||
import {LoadingDesign, NavigationTitleDesign, palette, ReportDesign, typographs} from './designs'; | ||
import {loadingDesign, navigationTitleDesign, palette, reportDesign, typographs} from './designs'; | ||
|
||
class Designs { | ||
report = new ReportDesign(); | ||
loading = new LoadingDesign(); | ||
navigationTitle = new NavigationTitleDesign(); | ||
const designs = { | ||
report: reportDesign, | ||
loading: loadingDesign, | ||
navigationTitle: navigationTitleDesign, | ||
} | ||
|
||
/** | ||
* The design system for Poodle Surf. | ||
*/ | ||
export class DesignSystem { | ||
palette = palette; | ||
typographs = typographs; | ||
designs = new Designs(); | ||
export const designSystem = { | ||
designs, | ||
palette, | ||
typographs, | ||
} |
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,8 +1,8 @@ | ||
import {ReportModelMock} from './mocks'; | ||
import {reportModelMock} from './mocks'; | ||
|
||
/** | ||
* The model mocks for Poodle Surf. | ||
*/ | ||
export class ModelMocks { | ||
report = new ReportModelMock(); | ||
export const modelMocks = { | ||
report: reportModelMock, | ||
} |
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
Oops, something went wrong.