@sproutsocial/racine 11.6.2 → 11.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/__flow__/themes/{dark → utils}/_themed.scss +4 -3
- package/dist/themes/dark/_themed.scss +4 -3
- package/dist/themes/dark/{dark.scss → theme.scss} +1 -1
- package/{__flow__/themes/light → dist/themes/extendedThemes/sproutTheme/dark}/_themed.scss +4 -3
- package/dist/themes/extendedThemes/sproutTheme/dark/theme.scss +692 -0
- package/dist/themes/extendedThemes/sproutTheme/light/_themed.scss +119 -0
- package/dist/themes/extendedThemes/sproutTheme/light/theme.scss +692 -0
- package/dist/themes/light/_themed.scss +4 -3
- package/dist/themes/light/{light.scss → theme.scss} +1 -1
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,12 +2,13 @@
|
|
|
2
2
|
// This file is excluded from stylelint, because stylelint is only set up to lint styled-components at the moment.
|
|
3
3
|
|
|
4
4
|
// SET-UP
|
|
5
|
-
//
|
|
6
|
-
|
|
5
|
+
// theme.scss is auto-generated based on the JS theme file, ensuring our SCSS theme variables stay in sync.
|
|
6
|
+
// _themed.scss will be copied to each theme folder in /dist, where the theme.scss file for that theme will be.
|
|
7
|
+
@import "./theme.scss";
|
|
7
8
|
|
|
8
9
|
// In the JS theme file, the theme object is exported as "default" (i.e., using "export default"),
|
|
9
10
|
// so we need to map-get "default" to access it.
|
|
10
|
-
$theme: map-get($
|
|
11
|
+
$theme: map-get($theme, "default");
|
|
11
12
|
|
|
12
13
|
// FUNCTIONS
|
|
13
14
|
// This function will allow you to get any value from the theme.
|
|
@@ -2,12 +2,13 @@
|
|
|
2
2
|
// This file is excluded from stylelint, because stylelint is only set up to lint styled-components at the moment.
|
|
3
3
|
|
|
4
4
|
// SET-UP
|
|
5
|
-
//
|
|
6
|
-
|
|
5
|
+
// theme.scss is auto-generated based on the JS theme file, ensuring our SCSS theme variables stay in sync.
|
|
6
|
+
// _themed.scss will be copied to each theme folder in /dist, where the theme.scss file for that theme will be.
|
|
7
|
+
@import "./theme.scss";
|
|
7
8
|
|
|
8
9
|
// In the JS theme file, the theme object is exported as "default" (i.e., using "export default"),
|
|
9
10
|
// so we need to map-get "default" to access it.
|
|
10
|
-
$theme: map-get($
|
|
11
|
+
$theme: map-get($theme, "default");
|
|
11
12
|
|
|
12
13
|
// FUNCTIONS
|
|
13
14
|
// This function will allow you to get any value from the theme.
|
|
@@ -2,12 +2,13 @@
|
|
|
2
2
|
// This file is excluded from stylelint, because stylelint is only set up to lint styled-components at the moment.
|
|
3
3
|
|
|
4
4
|
// SET-UP
|
|
5
|
-
//
|
|
6
|
-
|
|
5
|
+
// theme.scss is auto-generated based on the JS theme file, ensuring our SCSS theme variables stay in sync.
|
|
6
|
+
// _themed.scss will be copied to each theme folder in /dist, where the theme.scss file for that theme will be.
|
|
7
|
+
@import "./theme.scss";
|
|
7
8
|
|
|
8
9
|
// In the JS theme file, the theme object is exported as "default" (i.e., using "export default"),
|
|
9
10
|
// so we need to map-get "default" to access it.
|
|
10
|
-
$theme: map-get($
|
|
11
|
+
$theme: map-get($theme, "default");
|
|
11
12
|
|
|
12
13
|
// FUNCTIONS
|
|
13
14
|
// This function will allow you to get any value from the theme.
|