@sk-web-gui/core 0.1.32 → 0.1.33

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sk-web-gui/core",
3
- "version": "0.1.32",
3
+ "version": "0.1.33",
4
4
  "license": "MIT",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -31,5 +31,5 @@
31
31
  "postcss-import": "^14.0.2",
32
32
  "tailwindcss": "^2.2.4"
33
33
  },
34
- "gitHead": "6bd9d4ca5c29248aadb681de700297c9a8dd8978"
34
+ "gitHead": "4dda41ef60bddb55cc4118e8ca226d0445d2471e"
35
35
  }
@@ -1,42 +1,39 @@
1
1
  module.exports = Footer = (colors) => ({
2
- ".footer": {
2
+ '.footer': {
3
+ '&-innerwrapper': {
4
+ '@apply bg-gray text-white py-12 px-2 sm:p-12': {},
3
5
 
4
- "&-innerwrapper": {
5
- "@apply bg-gray text-white py-12 px-2 sm:p-12": {},
6
+ ...colors.reduce(
7
+ (styles, color) => ({
8
+ ...styles,
9
+ [`&[data-color="${color}"]`]: {
10
+ [`@apply bg-${color}`]: {},
11
+ },
12
+ }),
13
+ {}
14
+ ),
15
+ },
6
16
 
7
- ...colors.reduce(
8
- (styles, color) => ({
9
- ...styles,
10
- [`&[data-color="${color}"]`]: {
11
- [`@apply bg-${color}`]: {},
12
- },
13
- }),
14
- {}
15
- ),
16
- },
17
+ '&-content': {
18
+ '@apply container md:flex items-center justify-center m-auto': {},
19
+ },
17
20
 
18
- "&-content": {
19
- "@apply container md:flex items-center justify-center m-auto": {},
20
- },
21
+ '&-bottomlinks': {
22
+ '@apply bg-gray-middle text-body py-12 px-2 sm:p-12': {},
21
23
 
22
- "&-bottomlinks": {
23
- "@apply bg-gray-middle text-black py-12 px-2 sm:p-12": {},
24
+ ...colors.reduce(
25
+ (styles, color) => ({
26
+ ...styles,
27
+ [`&[data-color="${color}"]`]: {
28
+ [`@apply bg-${color}`]: {},
29
+ },
30
+ }),
31
+ {}
32
+ ),
24
33
 
25
- ...colors.reduce(
26
- (styles, color) => ({
27
- ...styles,
28
- [`&[data-color="${color}"]`]: {
29
- [`@apply bg-${color}`]: {},
30
- },
31
- }),
32
- {}
33
- ),
34
-
35
- "&-container": {
36
- "@apply container flex items-start md:items-center justify-center m-auto md:space-x-10 flex-col md:flex-row": {},
37
- }
38
- }
39
-
40
- }
41
-
42
- });
34
+ '&-container': {
35
+ '@apply container flex items-start md:items-center justify-center m-auto md:space-x-10 flex-col md:flex-row': {},
36
+ },
37
+ },
38
+ },
39
+ });