-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(Theme): generate all properties in javascript file (#2658)
Each themes `properties.js` file now also includes missing properties from other themes to avoid javascript error when changing theme in a react app.
- Loading branch information
Showing
10 changed files
with
553 additions
and
6 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
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 @@ | ||
// Adds all theme properties with Ui being most prioritized, indirectly used by makePropertiesFile.js to generate properties.js | ||
|
||
@import './theme-sbanken/properties.scss'; | ||
@import './theme-eiendom/properties.scss'; | ||
@import './theme-ui/properties.scss'; |
5 changes: 5 additions & 0 deletions
5
packages/dnb-eufemia/src/style/themes/theme-eiendom/properties-js.scss
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 @@ | ||
// Adds all theme properties with this theme being the most prioritized, used by makePropertiesFile.js to generate properties.js | ||
|
||
@import '../all-properties.scss'; | ||
@import './properties.scss'; | ||
@import './theme-mapping.scss'; |
Oops, something went wrong.