@exakt/ui 0.0.17 → 0.0.19

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/dist/module.d.ts CHANGED
@@ -16,7 +16,10 @@ interface ModuleOptions {
16
16
  };
17
17
  borderRadius: string;
18
18
  corePaddingX: string;
19
- font: string;
19
+ font: {
20
+ family: string;
21
+ weight?: number;
22
+ };
20
23
  }
21
24
  declare const _default: _nuxt_schema.NuxtModule<ModuleOptions>;
22
25
 
package/dist/module.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "exakt-ui",
3
3
  "configKey": "exakt",
4
- "version": "0.0.17"
4
+ "version": "0.0.19"
5
5
  }
package/dist/module.mjs CHANGED
@@ -17,7 +17,7 @@ const defaults = {
17
17
  },
18
18
  borderRadius: "8px",
19
19
  corePaddingX: "1rem",
20
- font: "Roboto, sans-serif"
20
+ font: { family: "Roboto, sans-serif", weight: 400 }
21
21
  };
22
22
  const module = defineNuxtModule({
23
23
  meta: {
@@ -44,6 +44,7 @@ const module = defineNuxtModule({
44
44
  SCSSvariables += `$e-${key}-screen-breakpoint: ${value}; `;
45
45
  }
46
46
  CSSvariables += `--e-font-family: ${options.font}; `;
47
+ CSSvariables += `--e-font-weight: ${options.font.weight}; `;
47
48
  CSSvariables += `--e-rounded-border-radius: ${options.borderRadius}; `;
48
49
  CSSvariables += `--e-core-padding-x: ${options.corePaddingX}; `;
49
50
  await fs.promises.writeFile(
@@ -133,6 +133,8 @@ body {
133
133
  background-color: var(--e-color-light);
134
134
  color: var(--e-color-dark);
135
135
  font-family: var(--e-font-family);
136
+ font-weight: var(--e-font-weight);
137
+
136
138
  }
137
139
 
138
140
  .fullheight {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exakt/ui",
3
- "version": "0.0.17",
3
+ "version": "0.0.19",
4
4
  "description": "A UI library for Nuxt.js",
5
5
  "license": "MIT",
6
6
  "type": "module",