@autofleet/theme 0.1.2 → 0.1.3-beta-2e1378da.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.
Files changed (43) hide show
  1. package/{src/colors → colors}/atomic-colors.d.ts +1 -1
  2. package/{src/colors → colors}/index.d.ts +2 -2
  3. package/{src/colors → colors}/tokens/color-token-mapping.d.ts +3 -3
  4. package/{src/index.d.ts → index.d.ts} +2 -2
  5. package/index.js +1396 -0
  6. package/index.js.map +1 -0
  7. package/package.json +9 -4
  8. package/{src/shadow → shadow}/index.d.ts +1 -1
  9. package/README.md +0 -9
  10. package/src/colors/atomic-colors.js +0 -150
  11. package/src/colors/atomic-colors.js.map +0 -1
  12. package/src/colors/index.js +0 -12
  13. package/src/colors/index.js.map +0 -1
  14. package/src/colors/tokens/color-token-mapping.js +0 -885
  15. package/src/colors/tokens/color-token-mapping.js.map +0 -1
  16. package/src/colors/tokens/color-tokens.js +0 -97
  17. package/src/colors/tokens/color-tokens.js.map +0 -1
  18. package/src/colors-utils.js +0 -104
  19. package/src/colors-utils.js.map +0 -1
  20. package/src/const.js +0 -5
  21. package/src/const.js.map +0 -1
  22. package/src/fonts/atomic-fonts.js +0 -75
  23. package/src/fonts/atomic-fonts.js.map +0 -1
  24. package/src/fonts/index.js +0 -22
  25. package/src/fonts/index.js.map +0 -1
  26. package/src/index.js +0 -16
  27. package/src/index.js.map +0 -1
  28. package/src/shadow/index.js +0 -33
  29. package/src/shadow/index.js.map +0 -1
  30. package/src/spacing/border-radius.js +0 -9
  31. package/src/spacing/border-radius.js.map +0 -1
  32. package/src/spacing/index.js +0 -7
  33. package/src/spacing/index.js.map +0 -1
  34. package/src/spacing/spacing.js +0 -16
  35. package/src/spacing/spacing.js.map +0 -1
  36. /package/{src/colors → colors}/tokens/color-tokens.d.ts +0 -0
  37. /package/{src/colors-utils.d.ts → colors-utils.d.ts} +0 -0
  38. /package/{src/const.d.ts → const.d.ts} +0 -0
  39. /package/{src/fonts → fonts}/atomic-fonts.d.ts +0 -0
  40. /package/{src/fonts → fonts}/index.d.ts +0 -0
  41. /package/{src/spacing → spacing}/border-radius.d.ts +0 -0
  42. /package/{src/spacing → spacing}/index.d.ts +0 -0
  43. /package/{src/spacing → spacing}/spacing.d.ts +0 -0
@@ -1,4 +1,4 @@
1
- import { type RGBColor } from '../colors-utils';
1
+ import { RGBColor } from '../colors-utils';
2
2
  export declare const ATOMIC_COLORS: {
3
3
  'n-00': string;
4
4
  'n-01': string;
@@ -1,5 +1,5 @@
1
- import type { RGBColor } from '../colors-utils';
2
- import type { LABEL_OPTIONS } from '../const';
1
+ import { RGBColor } from '../colors-utils';
2
+ import { LABEL_OPTIONS } from '../const';
3
3
  import { COLOR_TOKEN_MAP } from './tokens/color-token-mapping';
4
4
  export interface ThemeColorOptions {
5
5
  lightMode: 'dark' | 'light';
@@ -1,6 +1,6 @@
1
- import type { LABEL_OPTIONS } from '../../const';
2
- import type { ATOMIC_COLORS } from '../atomic-colors';
3
- import type { COLOR_TOKENS } from './color-tokens';
1
+ import { LABEL_OPTIONS } from '../../const';
2
+ import { ATOMIC_COLORS } from '../atomic-colors';
3
+ import { COLOR_TOKENS } from './color-tokens';
4
4
  export type ColorTokenMap = Record<(typeof COLOR_TOKENS)[number], Record<(typeof LABEL_OPTIONS)[keyof typeof LABEL_OPTIONS], {
5
5
  light: keyof typeof ATOMIC_COLORS;
6
6
  dark: keyof typeof ATOMIC_COLORS;
@@ -1,4 +1,4 @@
1
- import type { RGBColor } from './colors-utils';
1
+ import { RGBColor } from './colors-utils';
2
2
  import { LABEL_OPTIONS } from './const';
3
3
  interface IThemeProps {
4
4
  isDarkMode: boolean;
@@ -6,7 +6,7 @@ interface IThemeProps {
6
6
  primaryColor?: RGBColor;
7
7
  }
8
8
  export declare const loadThemeStyles: ({ isDarkMode, label, primaryColor, }: IThemeProps) => {
9
- colors: import("./colors").ColorTokenResponse;
9
+ colors: import('./colors').ColorTokenResponse;
10
10
  fonts: {
11
11
  desktop: {
12
12
  largeTitle: "\n font-family: Montserrat, sans-serif !important;\n font-size: 48px;\n font-style: normal;\n font-weight: 700;\n line-height: 60px;";