lucentia-ui 0.2.21 → 0.2.23

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.
@@ -1,7 +1,7 @@
1
1
  import type { TypographyVariant, TypographyColor } from "./types";
2
2
  import type React from "react";
3
3
  type HeadingLevel = 1 | 2 | 3 | 4 | 5 | 6;
4
- type HeadingVariant = Extract<TypographyVariant, "display-lg" | "heading-xl" | "heading-lg" | "heading-md" | "heading-sm" | "heading-xs">;
4
+ type HeadingVariant = Extract<TypographyVariant, "display-lg" | "display-md" | "heading-xl" | "heading-lg" | "heading-md" | "heading-sm" | "heading-xs">;
5
5
  type HeadingProps = {
6
6
  level: HeadingLevel;
7
7
  variant?: HeadingVariant;
@@ -3,5 +3,5 @@ export type AsProp<E extends React.ElementType> = {
3
3
  as?: E;
4
4
  };
5
5
  export type PolymorphicProps<E extends React.ElementType, P> = P & AsProp<E> & Omit<React.ComponentPropsWithoutRef<E>, keyof P | "as">;
6
- export type TypographyVariant = "display-lg" | "heading-xl" | "heading-lg" | "heading-md" | "heading-sm" | "heading-xs" | "body-md" | "body-sm" | "label-md" | "label-sm";
6
+ export type TypographyVariant = "display-lg" | "display-md" | "heading-xl" | "heading-lg" | "heading-md" | "heading-sm" | "heading-xs" | "body-md" | "body-sm" | "label-md" | "label-sm";
7
7
  export type TypographyColor = "default" | "muted" | "primary" | "secondary" | "error" | "success";
@@ -8,6 +8,12 @@
8
8
  font-weight: var(--font-weight-bold);
9
9
  }
10
10
 
11
+ .display-md {
12
+ font-size: var(--font-size-32);
13
+ line-height: var(--line-tight);
14
+ font-weight: var(--font-weight-bold);
15
+ }
16
+
11
17
  /* ========================================
12
18
  Heading
13
19
  ======================================== */
@@ -21,6 +21,7 @@ html {
21
21
  -apple-system,
22
22
  sans-serif;
23
23
  background: var(--color-background);
24
+ scrollbar-color: var(--color-on-surface-variant) transparent;
24
25
  }
25
26
 
26
27
 
@@ -7,6 +7,7 @@
7
7
  --font-size-20: 20px;
8
8
  --font-size-24: 24px;
9
9
  --font-size-28: 28px;
10
+ --font-size-32: 32px;
10
11
  --font-size-40: 40px;
11
12
  --font-size-48: 48px;
12
13
 
@@ -17,7 +18,6 @@
17
18
  --font-weight-regular: 400;
18
19
  --font-weight-medium: 500;
19
20
  --font-weight-bold: 600;
20
- --font-weight-black: 700;
21
21
 
22
22
  /* ===== Radius ===== */
23
23
  --radius-xs: 4px;
@@ -117,10 +117,10 @@ html[data-theme="dark"] {
117
117
  --color-error-container: #93000a;
118
118
  --color-on-error-container: #ffdad6;
119
119
 
120
- --color-background: #2b3a38;
120
+ --color-background: #1E2927;
121
121
  --color-on-background: #dde4e3;
122
122
 
123
- --color-surface: #2b3a38bf;
123
+ --color-surface: #1E2927bf;
124
124
  --color-on-surface: #c3cbca;
125
125
  --color-on-surface-variant: #dde4e380;
126
126
  --color-surface-container: #262d2d;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lucentia-ui",
3
- "version": "0.2.21",
3
+ "version": "0.2.23",
4
4
  "description": "React UI design token and component system based on neumorphism, featuring two color themes: light and dark.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",