@tamagui/theme-base 1.0.0-beta.207 → 1.0.0-beta.212

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,8 +1,4 @@
1
- import { createTokens } from "@tamagui/core";
2
1
  import { allLightColors, darkColorsPostfixed } from "./colors";
3
- import { firaFont } from "./firaFont";
4
- import { interFont } from "./interFont";
5
- import { silkscreenFont } from "./silkscreenFont";
6
2
  const size = {
7
3
  true: 20,
8
4
  0: 0,
@@ -24,40 +20,34 @@ const space = {
24
20
  ...size,
25
21
  ...Object.fromEntries(Object.entries(size).map(([k, v]) => [`-${k}`, -v]))
26
22
  };
27
- const tokens = createTokens({
23
+ const zIndex = {
24
+ 0: 0,
25
+ 1: 100,
26
+ 2: 200,
27
+ 3: 300,
28
+ 4: 400,
29
+ 5: 500
30
+ };
31
+ const color = {
32
+ ...allLightColors,
33
+ ...darkColorsPostfixed
34
+ };
35
+ const radius = {
36
+ 0: 0,
37
+ 1: 3,
38
+ 2: 5,
39
+ 3: 7,
40
+ 4: 9,
41
+ 5: 10,
42
+ 6: 12,
43
+ 7: 16,
44
+ 8: 20,
45
+ 9: 30
46
+ };
47
+ export {
48
+ color,
49
+ radius,
28
50
  size,
29
51
  space,
30
- font: {
31
- title: interFont,
32
- body: interFont,
33
- mono: firaFont,
34
- silkscreen: silkscreenFont
35
- },
36
- zIndex: {
37
- 0: 0,
38
- 1: 100,
39
- 2: 200,
40
- 3: 300,
41
- 4: 400,
42
- 5: 500
43
- },
44
- color: {
45
- ...allLightColors,
46
- ...darkColorsPostfixed
47
- },
48
- radius: {
49
- 0: 0,
50
- 1: 3,
51
- 2: 5,
52
- 3: 7,
53
- 4: 9,
54
- 5: 10,
55
- 6: 12,
56
- 7: 16,
57
- 8: 20,
58
- 9: 30
59
- }
60
- });
61
- export {
62
- tokens
52
+ zIndex
63
53
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/theme-base",
3
- "version": "1.0.0-beta.207+3fd10ea6",
3
+ "version": "1.0.0-beta.212+aca28a62",
4
4
  "typings": "types",
5
5
  "main": "dist/cjs",
6
6
  "module": "dist/esm",
@@ -16,12 +16,12 @@
16
16
  "clean:build": "tamagui-build clean:build"
17
17
  },
18
18
  "devDependencies": {
19
- "@tamagui/build": "^1.0.0-beta.207+3fd10ea6",
20
- "@tamagui/colors": "^1.0.0-beta.207+3fd10ea6",
21
- "@tamagui/core": "^1.0.0-beta.207+3fd10ea6"
19
+ "@tamagui/build": "^1.0.0-beta.212+aca28a62",
20
+ "@tamagui/colors": "^1.0.0-beta.212+aca28a62",
21
+ "@tamagui/core": "^1.0.0-beta.212+aca28a62"
22
22
  },
23
23
  "publishConfig": {
24
24
  "access": "public"
25
25
  },
26
- "gitHead": "3fd10ea6d026fac0339fbc1a501ee304f4985b05"
26
+ "gitHead": "aca28a6264b62e601e31366b0da6d386e1e1e0ee"
27
27
  }
@@ -1 +1 @@
1
- {"version":3,"file":"silkscreenFont.d.ts","sourceRoot":"","sources":["../src/silkscreenFont.tsx"],"names":[],"mappings":"AAqBA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAYzB,CAAA"}
1
+ {"version":3,"file":"silkscreenFont.d.ts","sourceRoot":"","sources":["../src/silkscreenFont.tsx"],"names":[],"mappings":"AAqBA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAazB,CAAA"}
package/types/themes.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- import { Variable } from '@tamagui/core';
2
1
  export declare const colorSchemes: readonly [{
3
2
  readonly name: "blue";
4
3
  readonly colors: {
@@ -391,7 +390,7 @@ export declare const colorSchemes: readonly [{
391
390
  };
392
391
  }];
393
392
  export declare type ColorNames = typeof colorSchemes[number]['name'];
394
- export declare const lightGradient: (string | Variable)[];
393
+ export declare const lightGradient: string[];
395
394
  export declare const darkGradient: string[];
396
395
  declare const baseThemes: {
397
396
  dark: any;