create-nix-app 1.0.3 → 1.0.4

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": "create-nix-app",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Scaffolding tool for Nix.js reactive micro-framework",
5
5
  "type": "module",
6
6
  "bin": {
@@ -5,7 +5,7 @@ function App() {
5
5
 
6
6
  return html`
7
7
  <main>
8
- <h1>❄️ Nix.js en estado puro</h1>
8
+ <h1><img src="/nix-js-logo.png" alt="Nix.js Logo" /> Nix.js en estado puro</h1>
9
9
  <p>Sin compilador. Sin bundler. Solo la web nativa.</p>
10
10
  <button @click=${() => count.update((c) => c + 1)}>
11
11
  Clicks: ${() => count.value}
@@ -33,7 +33,18 @@ h1 {
33
33
  line-height: 1.1;
34
34
  background: linear-gradient(45deg, #646cff, #60efff);
35
35
  -webkit-background-clip: text;
36
+ background-clip: text;
36
37
  -webkit-text-fill-color: transparent;
38
+ display: flex;
39
+ align-items: center;
40
+ justify-content: center;
41
+ gap: 16px;
42
+ }
43
+
44
+ h1 img {
45
+ height: 1.2em;
46
+ width: auto;
47
+ filter: drop-shadow(0 0 10px rgba(100, 108, 255, 0.4));
37
48
  }
38
49
 
39
50
  button {
@@ -6,7 +6,7 @@ function App(): NixTemplate {
6
6
 
7
7
  return html`
8
8
  <main>
9
- <h1>❄️ Nix.js + TypeScript</h1>
9
+ <h1><img src="/nix-js-logo.png" alt="Nix.js Logo" /> Nix.js + TypeScript</h1>
10
10
  <button @click=${() => count.update((c: number) => c + 1)}>
11
11
  Clicks: ${() => count.value}
12
12
  </button>
@@ -33,7 +33,18 @@ h1 {
33
33
  line-height: 1.1;
34
34
  background: linear-gradient(45deg, #646cff, #60efff);
35
35
  -webkit-background-clip: text;
36
+ background-clip: text;
36
37
  -webkit-text-fill-color: transparent;
38
+ display: flex;
39
+ align-items: center;
40
+ justify-content: center;
41
+ gap: 16px;
42
+ }
43
+
44
+ h1 img {
45
+ height: 1.2em;
46
+ width: auto;
47
+ filter: drop-shadow(0 0 10px rgba(100, 108, 255, 0.4));
37
48
  }
38
49
 
39
50
  button {
@@ -5,7 +5,7 @@ function App() {
5
5
 
6
6
  return html`
7
7
  <main>
8
- <h1>❄️ Nix.js + Vite</h1>
8
+ <h1><img src="/nix-js-logo.png" alt="Nix.js Logo" /> Nix.js + Vite</h1>
9
9
  <p>Sin compilador. Sin bundler. Solo la web nativa.</p>
10
10
  <button @click=${() => count.update((c) => c + 1)}>
11
11
  Clicks: ${() => count.value}
@@ -33,7 +33,18 @@ h1 {
33
33
  line-height: 1.1;
34
34
  background: linear-gradient(45deg, #646cff, #60efff);
35
35
  -webkit-background-clip: text;
36
+ background-clip: text;
36
37
  -webkit-text-fill-color: transparent;
38
+ display: flex;
39
+ align-items: center;
40
+ justify-content: center;
41
+ gap: 16px;
42
+ }
43
+
44
+ h1 img {
45
+ height: 1.2em;
46
+ width: auto;
47
+ filter: drop-shadow(0 0 10px rgba(100, 108, 255, 0.4));
37
48
  }
38
49
 
39
50
  button {
@@ -6,7 +6,7 @@ function App(): NixTemplate {
6
6
 
7
7
  return html`
8
8
  <main>
9
- <h1>❄️ Nix.js + Vite + TypeScript</h1>
9
+ <h1><img src="/nix-js-logo.png" alt="Nix.js Logo" /> Nix.js + Vite + TypeScript</h1>
10
10
  <button @click=${() => count.update((c: number) => c + 1)}>
11
11
  Clicks: ${() => count.value}
12
12
  </button>
@@ -33,7 +33,18 @@ h1 {
33
33
  line-height: 1.1;
34
34
  background: linear-gradient(45deg, #646cff, #60efff);
35
35
  -webkit-background-clip: text;
36
+ background-clip: text;
36
37
  -webkit-text-fill-color: transparent;
38
+ display: flex;
39
+ align-items: center;
40
+ justify-content: center;
41
+ gap: 16px;
42
+ }
43
+
44
+ h1 img {
45
+ height: 1.2em;
46
+ width: auto;
47
+ filter: drop-shadow(0 0 10px rgba(100, 108, 255, 0.4));
37
48
  }
38
49
 
39
50
  button {