nuxt-ignis 0.4.0-rc.2 → 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.
@@ -25,6 +25,7 @@ const alt = title
25
25
  display: flex;
26
26
  flex-direction: row;
27
27
  justify-content: center;
28
+ gap: 0.4em;
28
29
  margin-top: 0.5em;
29
30
  margin-bottom: 0.5em;
30
31
  }
@@ -35,7 +36,7 @@ const alt = title
35
36
  }
36
37
  /* my-4 text-4xl text-amber-400 font-bold */
37
38
  .ignis-title {
38
- margin-top: 15px;
39
+ margin-top: 10px;
39
40
  font-size: 2.25rem;
40
41
  line-height: 2.5rem;
41
42
  font-weight: bold;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxt-ignis",
3
- "version": "0.4.0-rc.2",
3
+ "version": "0.4.0",
4
4
  "description": "A ready-to-use setup for your next application in Nuxt",
5
5
  "keywords": [
6
6
  "nuxt",
Binary file
Binary file
@@ -1,10 +1,11 @@
1
1
  import { preventSingleLetterOrphans } from 'elrh-pslo'
2
+ import { log } from './consola'
2
3
 
3
4
  // this util function proxies "preventSingleLetterOrphans" function
4
5
  // it only applies the text transformation if relevant options is set up
5
6
  export function pslo(text: string) {
6
7
  if (process.env.NUXT_PUBLIC_IGNIS_PSLO_ENABLED === 'true') {
7
- log.warn(`elrh-pslo activated`)
8
+ log.debug(`treating text input with elrh-pslo`)
8
9
  return preventSingleLetterOrphans(text)
9
10
  } else {
10
11
  return text