@guillaumemmm/marquedefabrique 1.0.2 → 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/build/kit.js CHANGED
@@ -1,4 +1,4 @@
1
- // Generated on Fri Mar 07 2025 from v1.0.2
1
+ // Generated on Fri Apr 04 2025 from v1.0.3
2
2
 
3
3
  export const kit = `/* TITLES */
4
4
  .mdf-title1,
@@ -69,6 +69,8 @@ export const kit = `/* TITLES */
69
69
  background-color: var(--mdf-color-primary-transparent);
70
70
  padding: 1px 2px;
71
71
  border-radius: 3px;
72
+ text-underline-offset: 2px;
73
+ text-decoration-color: hsl(from var(--mdf-color-primary) h s calc(l + 10));
72
74
 
73
75
  &:hover {
74
76
  background-color: var(--mdf-color-primary-transparent-2);
@@ -77,6 +79,9 @@ export const kit = `/* TITLES */
77
79
  &:visited {
78
80
  color: var(--mdf-color-secondary);
79
81
  background-color: var(--mdf-color-primary-transparent);
82
+ text-decoration-color: hsl(
83
+ from var(--mdf-color-secondary) h s calc(l + 10)
84
+ );
80
85
  }
81
86
  }
82
87
 
@@ -274,6 +279,8 @@ export const kit = `/* TITLES */
274
279
  height: 4rem;
275
280
  position: relative;
276
281
  z-index: 0;
282
+ border-bottom-left-radius: 0;
283
+ border-bottom-right-radius: 0;
277
284
 
278
285
  &:focus {
279
286
  border-radius: 0.25rem;
@@ -282,6 +289,8 @@ export const kit = `/* TITLES */
282
289
  &::-webkit-color-swatch {
283
290
  border-top-left-radius: 0.25rem;
284
291
  border-top-right-radius: 0.25rem;
292
+ border-bottom-left-radius: 0;
293
+ border-bottom-right-radius: 0;
285
294
  border: 2px solid black;
286
295
  }
287
296
 
package/build/reset.js CHANGED
@@ -1,4 +1,4 @@
1
- // Generated on Fri Mar 07 2025 from v1.0.2
1
+ // Generated on Fri Apr 04 2025 from v1.0.3
2
2
 
3
3
  export const reset = `@layer reset {
4
4
  * {
@@ -1,4 +1,4 @@
1
- // Generated on Fri Mar 07 2025 from v1.0.2
1
+ // Generated on Fri Apr 04 2025 from v1.0.3
2
2
 
3
3
  export const variables = `:root {
4
4
  --mdf-color-primary: #04675d;
package/index.html CHANGED
@@ -216,5 +216,8 @@
216
216
  <p class="mdf-block mdf-block-error">Marque de fabrique</p>
217
217
  </div>
218
218
  </main>
219
+ <footer class="footer">
220
+ <p id="version">v1.0.3</p>
221
+ </footer>
219
222
  </body>
220
223
  </html>
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  const fs = require("fs");
2
- var pjson = require("./package.json");
2
+ const pjson = require("./package.json");
3
3
 
4
4
  const comment = `// Generated on ${new Date().toDateString()} from v${
5
5
  pjson.version
package/kit.css CHANGED
@@ -67,6 +67,8 @@
67
67
  background-color: var(--mdf-color-primary-transparent);
68
68
  padding: 1px 2px;
69
69
  border-radius: 3px;
70
+ text-underline-offset: 2px;
71
+ text-decoration-color: hsl(from var(--mdf-color-primary) h s calc(l + 10));
70
72
 
71
73
  &:hover {
72
74
  background-color: var(--mdf-color-primary-transparent-2);
@@ -75,6 +77,9 @@
75
77
  &:visited {
76
78
  color: var(--mdf-color-secondary);
77
79
  background-color: var(--mdf-color-primary-transparent);
80
+ text-decoration-color: hsl(
81
+ from var(--mdf-color-secondary) h s calc(l + 10)
82
+ );
78
83
  }
79
84
  }
80
85
 
@@ -272,6 +277,8 @@
272
277
  height: 4rem;
273
278
  position: relative;
274
279
  z-index: 0;
280
+ border-bottom-left-radius: 0;
281
+ border-bottom-right-radius: 0;
275
282
 
276
283
  &:focus {
277
284
  border-radius: 0.25rem;
@@ -280,6 +287,8 @@
280
287
  &::-webkit-color-swatch {
281
288
  border-top-left-radius: 0.25rem;
282
289
  border-top-right-radius: 0.25rem;
290
+ border-bottom-left-radius: 0;
291
+ border-bottom-right-radius: 0;
283
292
  border: 2px solid black;
284
293
  }
285
294
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@guillaumemmm/marquedefabrique",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "Marque de Fabrique is a minimalistic UI kit. It includes a set of core styles and CSS variables centralizing design elements to maintain consistency across personal projects.",
5
5
  "main": "index.css",
6
6
  "scripts": {
package/styles.css CHANGED
@@ -34,4 +34,9 @@ body {
34
34
  }
35
35
  }
36
36
  }
37
+
38
+ footer {
39
+ margin-top: 2rem;
40
+ padding: 1rem;
41
+ }
37
42
  }