@leaflink/stash 50.17.0 → 51.0.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.
package/README.md CHANGED
@@ -93,9 +93,9 @@ See the [Tailwind](#tailwind) section for more details on how to configure it in
93
93
 
94
94
  ```ts filename="main.ts"
95
95
  import '@leaflink/stash/styles/backwards-compat.css'; // Add this line before the base and components styles.
96
+ import '@leaflink/stash/styles/sofia-font.css'; // Add this line before the base and components styles if you're using the Sofia font.
96
97
  import '@leaflink/stash/styles/base.css';
97
98
  import '@leaflink/stash/components.css';
98
-
99
99
  import './app.css';
100
100
  ```
101
101
 
@@ -245,6 +245,9 @@ greenfield projects.
245
245
  /* legacy stash styles - not required for greenfield projects */
246
246
  import '@leaflink/stash/styles/backwards-compat.css';
247
247
 
248
+ /* legacy font styles - not required for greenfield projects (Use DM Sans instead) */
249
+ import '@leaflink/stash/styles/sofia-font.css';
250
+
248
251
  /* stash styles */
249
252
  import '@leaflink/stash/styles/base.css';
250
253
  import '@leaflink/stash/components.css';
@@ -286,6 +289,15 @@ export default {
286
289
  presets: [stashPreset],
287
290
 
288
291
  content: ['./src/**/*.{vue,ts,js}', './node_modules/@leaflink/stash/dist/*.js'],
292
+
293
+ theme: {
294
+ extend: {
295
+ // Add this to your tailwind config to use the DM Sans font instead of the legacy Sofia font.
296
+ fontFamily: {
297
+ sans: ['DM Sans', 'sans-serif'],
298
+ },
299
+ },
300
+ },
289
301
  };
290
302
  ```
291
303