@functionalcms/svelte-components 0.3.1 → 0.4.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.
@@ -28,18 +28,4 @@
28
28
  </article>
29
29
 
30
30
  <style>
31
- .box {
32
- width: 500px;
33
- margin: var(--fluid-32);
34
- padding: 0 var(--fluid-12);
35
- border: 2px solid black;
36
- box-shadow: 2px 2px 5px var(--accent-color);
37
- -moz-border-radius: 10px;
38
- -webkit-border-radius: 10px;
39
- border-radius: 10px; /* future proofing */
40
- -khtml-border-radius: 10px; /* for old Konqueror browsers */
41
- }
42
- .img {
43
- width: 450px;
44
- }
45
31
  </style>
@@ -13,7 +13,7 @@
13
13
  export let logoUrl;
14
14
  </script>
15
15
 
16
- <footer class="flex-shrink-0">
16
+ <footer class="footer">
17
17
  <aside class="items-center grid-flow-col">
18
18
  <img src={logoUrl} alt={companyName} />
19
19
  <p>{motto}</p>
@@ -23,14 +23,4 @@
23
23
  </footer>
24
24
 
25
25
  <style>
26
- footer {
27
- background-color: var(--footer-background-color);
28
- color: var(--footer-color);
29
- text-align: center;
30
- padding: var(--fluid-12);
31
- font-size: var(--fluid-14);
32
- }
33
- a {
34
- color: var(--footer-color);
35
- }
36
26
  </style>
@@ -16,7 +16,7 @@
16
16
  export let pages;
17
17
  </script>
18
18
 
19
- <div class="container">
19
+ <div class="header">
20
20
  <Header>
21
21
  <div slot="logoleft">
22
22
  <a href="/">
@@ -34,10 +34,3 @@
34
34
  </HeaderNav>
35
35
  </Header>
36
36
  </div>
37
-
38
- <style>
39
- a {
40
- font-size: var(--fluid-20) !important;
41
- font-weight: bold;
42
- }
43
- </style>
@@ -5,7 +5,7 @@
5
5
  export let url;
6
6
  </script>
7
7
 
8
- <header>
8
+ <header class="hero">
9
9
  <h1>
10
10
  <slot name="header" />
11
11
  </h1>
@@ -20,12 +20,4 @@
20
20
  </header>
21
21
 
22
22
  <style>
23
- header {
24
- margin-top: var(--fluid-24);
25
- margin-bottom: var(--fluid-48);
26
- text-align: center;
27
- }
28
- h1 {
29
- font-size: var(--fluid-48);
30
- }
31
23
  </style>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@functionalcms/svelte-components",
3
- "version": "0.3.1",
3
+ "version": "0.4.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
Binary file
Binary file
Binary file