@classic-homes/theme-styles 0.1.54 → 0.1.55

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/base.css +17 -14
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@classic-homes/theme-styles",
3
- "version": "0.1.54",
3
+ "version": "0.1.55",
4
4
  "description": "Base styles and utilities for the Classic Theme design system",
5
5
  "type": "module",
6
6
  "scripts": {
package/src/base.css CHANGED
@@ -5,21 +5,24 @@
5
5
  * following Classic Homes brand guidelines.
6
6
  */
7
7
 
8
- @layer classic-theme.base {
9
- /*
10
- * Import brand fonts from Google Fonts.
11
- *
12
- * PERFORMANCE NOTE: This @import inside a CSS layer causes a render-blocking
13
- * network request. For best performance, load fonts via <link> in your HTML <head>:
14
- *
15
- * <link rel="preconnect" href="https://fonts.googleapis.com">
16
- * <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
17
- * <link href="https://fonts.googleapis.com/css2?family=Figtree:wght@300;400;500;600;700;900&family=Source+Serif+4:opsz,wght@8..60,400;8..60,600;8..60,700&display=swap" rel="stylesheet">
18
- *
19
- * If you load fonts via HTML, you can safely remove this @import.
20
- */
21
- @import url('https://fonts.googleapis.com/css2?family=Figtree:wght@300;400;500;600;700;900&family=Source+Serif+4:opsz,wght@8..60,400;8..60,600;8..60,700&display=swap');
8
+ /*
9
+ * Import brand fonts from Google Fonts.
10
+ *
11
+ * This must stay at the top of the file: @import is only valid before any
12
+ * other rule, and browsers silently drop it inside a @layer block.
13
+ *
14
+ * PERFORMANCE NOTE: This @import causes a render-blocking network request.
15
+ * For best performance, load fonts via <link> in your HTML <head>:
16
+ *
17
+ * <link rel="preconnect" href="https://fonts.googleapis.com">
18
+ * <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
19
+ * <link href="https://fonts.googleapis.com/css2?family=Figtree:wght@300;400;500;600;700;900&family=Source+Serif+4:opsz,wght@8..60,400;8..60,600;8..60,700&display=swap" rel="stylesheet">
20
+ *
21
+ * If you load fonts via HTML, you can safely remove this @import.
22
+ */
23
+ @import url('https://fonts.googleapis.com/css2?family=Figtree:wght@300;400;500;600;700;900&family=Source+Serif+4:opsz,wght@8..60,400;8..60,600;8..60,700&display=swap');
22
24
 
25
+ @layer classic-theme.base {
23
26
  /* Base HTML setup */
24
27
  html {
25
28
  font-family: var(