@factorialco/f0-react-native 0.25.0 → 0.26.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 (86) hide show
  1. package/lib/module/components/Activity/ActivityItem/index.js +1 -1
  2. package/lib/module/components/Avatars/BaseAvatar/index.js +1 -1
  3. package/lib/module/components/Avatars/DateAvatar/index.js +1 -1
  4. package/lib/module/components/Avatars/EmojiAvatar/index.js +1 -1
  5. package/lib/module/components/Avatars/FileAvatar/index.js +1 -1
  6. package/lib/module/components/Avatars/FileAvatar/utils.js +1 -1
  7. package/lib/module/components/Avatars/IconAvatar/index.js +1 -1
  8. package/lib/module/components/Avatars/ModuleAvatar/index.js +1 -1
  9. package/lib/module/components/Badge/index.js +1 -1
  10. package/lib/module/components/Button/index.js +1 -1
  11. package/lib/module/components/Counter/index.js +1 -1
  12. package/lib/module/components/ExampleComponent.js +1 -1
  13. package/lib/module/components/Icon/README.md +1 -1
  14. package/lib/module/components/Navigation/PageHeader/index.js +1 -1
  15. package/lib/module/components/OneChip/index.js +1 -1
  16. package/lib/module/components/OnePreset/index.js +1 -1
  17. package/lib/module/components/Tags/AlertTab/index.js +1 -1
  18. package/lib/module/components/Tags/BaseTag/index.js +1 -1
  19. package/lib/module/components/Tags/DotTag/index.js +1 -1
  20. package/lib/module/components/Tags/RawTag/index.js +1 -1
  21. package/lib/module/components/experimental/Lists/DataList/ItemContainer.js +1 -1
  22. package/lib/module/components/experimental/Lists/DataList/actions/CopyAction.js +1 -1
  23. package/lib/module/components/experimental/Lists/DataList/actions/GenericAction.js +1 -1
  24. package/lib/module/components/experimental/Lists/DataList/index.js +1 -1
  25. package/lib/module/components/experimental/Lists/DetailsItemsList/index.js +1 -1
  26. package/lib/module/icons/app/QuestionCircle.js +1 -1
  27. package/lib/module/icons/app/QuestionCircle.js.map +1 -1
  28. package/lib/module/icons/app/index.js +1 -1
  29. package/lib/module/icons/app/index.js.map +1 -1
  30. package/lib/module/styles/theme.css +308 -237
  31. package/lib/module/styles/tokens/colors.js +1 -1
  32. package/lib/module/styles/tokens/colors.js.map +1 -1
  33. package/lib/module/ui/avatar.js +1 -1
  34. package/lib/typescript/components/OneChip/index.d.ts +2 -2
  35. package/lib/typescript/icons/app/index.d.ts +1 -1
  36. package/lib/typescript/icons/app/index.d.ts.map +1 -1
  37. package/lib/typescript/styles/tokens/colors.d.ts +2 -2
  38. package/package.json +2 -2
  39. package/src/components/Activity/ActivityItem/__snapshots__/index.spec.tsx.snap +3 -3
  40. package/src/components/Activity/ActivityItem/index.tsx +10 -10
  41. package/src/components/Avatars/BaseAvatar/index.tsx +1 -1
  42. package/src/components/Avatars/CompanyAvatar/__snapshots__/index.spec.tsx.snap +1 -1
  43. package/src/components/Avatars/DateAvatar/__snapshots__/index.spec.tsx.snap +3 -3
  44. package/src/components/Avatars/DateAvatar/index.tsx +3 -3
  45. package/src/components/Avatars/EmojiAvatar/__snapshots__/index.spec.tsx.snap +3 -3
  46. package/src/components/Avatars/EmojiAvatar/index.tsx +1 -1
  47. package/src/components/Avatars/FileAvatar/__snapshots__/index.spec.tsx.snap +26 -26
  48. package/src/components/Avatars/FileAvatar/index.tsx +2 -2
  49. package/src/components/Avatars/FileAvatar/utils.ts +13 -13
  50. package/src/components/Avatars/IconAvatar/__snapshots__/index.spec.tsx.snap +6 -6
  51. package/src/components/Avatars/IconAvatar/index.tsx +2 -2
  52. package/src/components/Avatars/ModuleAvatar/index.tsx +1 -1
  53. package/src/components/Avatars/PersonAvatar/__snapshots__/index.spec.tsx.snap +1 -1
  54. package/src/components/Avatars/TeamAvatar/__snapshots__/index.spec.tsx.snap +1 -1
  55. package/src/components/Badge/index.tsx +5 -5
  56. package/src/components/Button/__snapshots__/index.spec.tsx.snap +22 -22
  57. package/src/components/Button/index.tsx +22 -22
  58. package/src/components/Counter/__snapshots__/index.spec.tsx.snap +14 -14
  59. package/src/components/Counter/index.tsx +6 -6
  60. package/src/components/ExampleComponent.tsx +2 -2
  61. package/src/components/Icon/README.md +1 -1
  62. package/src/components/Navigation/PageHeader/__snapshots__/index.spec.tsx.snap +4 -4
  63. package/src/components/Navigation/PageHeader/index.tsx +1 -1
  64. package/src/components/OneChip/__snapshots__/index.spec.tsx.snap +11 -11
  65. package/src/components/OneChip/index.tsx +5 -5
  66. package/src/components/OnePreset/__snapshots__/index.spec.tsx.snap +8 -8
  67. package/src/components/OnePreset/index.tsx +3 -3
  68. package/src/components/Tags/AlertTab/__snapshots__/index.spec.tsx.snap +9 -9
  69. package/src/components/Tags/AlertTab/index.tsx +9 -9
  70. package/src/components/Tags/BaseTag/index.tsx +2 -2
  71. package/src/components/Tags/DotTag/__snapshots__/index.spec.tsx.snap +38 -38
  72. package/src/components/Tags/DotTag/index.tsx +1 -1
  73. package/src/components/Tags/RawTag/__snapshots__/index.spec.tsx.snap +6 -6
  74. package/src/components/Tags/RawTag/index.tsx +3 -3
  75. package/src/components/experimental/Lists/DataList/ItemContainer.tsx +2 -2
  76. package/src/components/experimental/Lists/DataList/actions/CopyAction.tsx +4 -4
  77. package/src/components/experimental/Lists/DataList/actions/GenericAction.tsx +3 -3
  78. package/src/components/experimental/Lists/DataList/index.tsx +1 -1
  79. package/src/components/experimental/Lists/DetailsItem/__snapshots__/index.spec.tsx.snap +26 -26
  80. package/src/components/experimental/Lists/DetailsItemsList/__snapshots__/index.spec.tsx.snap +26 -26
  81. package/src/components/experimental/Lists/DetailsItemsList/index.tsx +3 -3
  82. package/src/icons/app/QuestionCircle.tsx +1 -1
  83. package/src/icons/app/index.ts +1 -1
  84. package/src/styles/theme.css +308 -237
  85. package/src/styles/tokens/colors.ts +2 -2
  86. package/src/ui/avatar.tsx +1 -1
@@ -19,12 +19,12 @@ export const IconAvatar = ({ icon, size = "md", className }: Props) => {
19
19
  return (
20
20
  <View
21
21
  className={cn(
22
- "flex aspect-square items-center justify-center border border-solid border-f1-border-secondary",
22
+ "flex aspect-square items-center justify-center border border-solid border-f0-border-secondary",
23
23
  sizes[size],
24
24
  className
25
25
  )}
26
26
  >
27
- <Icon icon={icon} size={size} className="text-f1-foreground-secondary" />
27
+ <Icon icon={icon} size={size} className="text-f0-foreground-secondary" />
28
28
  </View>
29
29
  )
30
30
  }
@@ -37,7 +37,7 @@ const iconContainerVariants = tv({
37
37
  })
38
38
 
39
39
  const iconSizeVariants = tv({
40
- base: "relative text-f1-foreground-inverse drop-shadow",
40
+ base: "relative text-f0-foreground-inverse drop-shadow",
41
41
  variants: {
42
42
  size: {
43
43
  sm: "h-[14px] w-[14px]",
@@ -14,7 +14,7 @@ exports[`PersonAvatar Snapshot 1`] = `
14
14
  role="img"
15
15
  >
16
16
  <Text
17
- className="text-f1-foreground-inverse/90 text-md"
17
+ className="text-f0-foreground-inverse/90 text-md"
18
18
  data-a11y-color-contrast-ignore={true}
19
19
  >
20
20
  DM
@@ -14,7 +14,7 @@ exports[`TeamAvatar Snapshot 1`] = `
14
14
  role="img"
15
15
  >
16
16
  <Text
17
- className="text-f1-foreground-inverse/90 text-md"
17
+ className="text-f0-foreground-inverse/90 text-md"
18
18
  data-a11y-color-contrast-ignore={true}
19
19
  >
20
20
  F0
@@ -6,11 +6,11 @@ const badgeVariants = tv({
6
6
  base: "flex shrink-0 items-center justify-center rounded-full",
7
7
  variants: {
8
8
  type: {
9
- neutral: "bg-transparent text-f1-icon",
10
- highlight: "text-f1-special-highlight",
11
- positive: "bg-f1-background-positive-bold text-f1-foreground-inverse",
12
- critical: "bg-f1-icon-critical text-f1-foreground-inverse",
13
- warning: "bg-f1-background-warning-bold text-f1-foreground-inverse",
9
+ neutral: "bg-transparent text-f0-icon",
10
+ highlight: "text-f0-special-highlight",
11
+ positive: "bg-f0-background-positive-bold text-f0-foreground-inverse",
12
+ critical: "bg-f0-icon-critical text-f0-foreground-inverse",
13
+ warning: "bg-f0-background-warning-bold text-f0-foreground-inverse",
14
14
  },
15
15
  size: {
16
16
  xs: "h-2.5 w-2.5",
@@ -25,7 +25,7 @@ exports[`Button Snapshot - critical variant 1`] = `
25
25
  }
26
26
  }
27
27
  accessible={true}
28
- className="flex-row items-center justify-center border-none grow-0 bg-f1-background-secondary border border-f1-border h-8 rounded gap-1 px-2 sm:px-3 lg:px-4"
28
+ className="flex-row items-center justify-center border-none grow-0 bg-f0-background-secondary border border-f0-border h-8 rounded gap-1 px-2 sm:px-3 lg:px-4"
29
29
  collapsable={false}
30
30
  focusable={true}
31
31
  onBlur={[Function]}
@@ -39,7 +39,7 @@ exports[`Button Snapshot - critical variant 1`] = `
39
39
  onStartShouldSetResponder={[Function]}
40
40
  >
41
41
  <Text
42
- className="text-base font-medium text-f1-foreground-critical"
42
+ className="text-base font-medium text-f0-foreground-critical"
43
43
  >
44
44
  Test Button
45
45
  </Text>
@@ -72,7 +72,7 @@ exports[`Button Snapshot - default button 1`] = `
72
72
  }
73
73
  }
74
74
  accessible={true}
75
- className="flex-row items-center justify-center border-none grow-0 bg-f1-background-accent-bold h-8 rounded gap-1 px-2 sm:px-3 lg:px-4"
75
+ className="flex-row items-center justify-center border-none grow-0 bg-f0-background-accent-bold h-8 rounded gap-1 px-2 sm:px-3 lg:px-4"
76
76
  collapsable={false}
77
77
  focusable={true}
78
78
  onBlur={[Function]}
@@ -86,7 +86,7 @@ exports[`Button Snapshot - default button 1`] = `
86
86
  onStartShouldSetResponder={[Function]}
87
87
  >
88
88
  <Text
89
- className="text-base font-medium text-f1-foreground-inverse"
89
+ className="text-base font-medium text-f0-foreground-inverse"
90
90
  >
91
91
  Test Button
92
92
  </Text>
@@ -119,7 +119,7 @@ exports[`Button Snapshot - different sizes 1`] = `
119
119
  }
120
120
  }
121
121
  accessible={true}
122
- className="flex-row items-center justify-center border-none grow-0 bg-f1-background-accent-bold h-6 rounded-sm gap-1 px-2 sm:px-3 lg:px-4"
122
+ className="flex-row items-center justify-center border-none grow-0 bg-f0-background-accent-bold h-6 rounded-sm gap-1 px-2 sm:px-3 lg:px-4"
123
123
  collapsable={false}
124
124
  focusable={true}
125
125
  onBlur={[Function]}
@@ -133,7 +133,7 @@ exports[`Button Snapshot - different sizes 1`] = `
133
133
  onStartShouldSetResponder={[Function]}
134
134
  >
135
135
  <Text
136
- className="text-base font-medium text-f1-foreground-inverse"
136
+ className="text-base font-medium text-f0-foreground-inverse"
137
137
  >
138
138
  Test Button
139
139
  </Text>
@@ -166,7 +166,7 @@ exports[`Button Snapshot - different sizes 2`] = `
166
166
  }
167
167
  }
168
168
  accessible={true}
169
- className="flex-row items-center justify-center border-none grow-0 bg-f1-background-accent-bold h-8 rounded gap-1 px-2 sm:px-3 lg:px-4"
169
+ className="flex-row items-center justify-center border-none grow-0 bg-f0-background-accent-bold h-8 rounded gap-1 px-2 sm:px-3 lg:px-4"
170
170
  collapsable={false}
171
171
  focusable={true}
172
172
  onBlur={[Function]}
@@ -180,7 +180,7 @@ exports[`Button Snapshot - different sizes 2`] = `
180
180
  onStartShouldSetResponder={[Function]}
181
181
  >
182
182
  <Text
183
- className="text-base font-medium text-f1-foreground-inverse"
183
+ className="text-base font-medium text-f0-foreground-inverse"
184
184
  >
185
185
  Test Button
186
186
  </Text>
@@ -213,7 +213,7 @@ exports[`Button Snapshot - different sizes 3`] = `
213
213
  }
214
214
  }
215
215
  accessible={true}
216
- className="flex-row items-center justify-center border-none grow-0 bg-f1-background-accent-bold h-10 rounded-md gap-1 px-2 sm:px-3 lg:px-4"
216
+ className="flex-row items-center justify-center border-none grow-0 bg-f0-background-accent-bold h-10 rounded-md gap-1 px-2 sm:px-3 lg:px-4"
217
217
  collapsable={false}
218
218
  focusable={true}
219
219
  onBlur={[Function]}
@@ -227,7 +227,7 @@ exports[`Button Snapshot - different sizes 3`] = `
227
227
  onStartShouldSetResponder={[Function]}
228
228
  >
229
229
  <Text
230
- className="text-base font-medium text-f1-foreground-inverse"
230
+ className="text-base font-medium text-f0-foreground-inverse"
231
231
  >
232
232
  Test Button
233
233
  </Text>
@@ -260,7 +260,7 @@ exports[`Button Snapshot - disabled state 1`] = `
260
260
  }
261
261
  }
262
262
  accessible={true}
263
- className="flex-row items-center justify-center border-none grow-0 bg-f1-background-accent-bold h-8 rounded opacity-50 gap-1 px-2 sm:px-3 lg:px-4"
263
+ className="flex-row items-center justify-center border-none grow-0 bg-f0-background-accent-bold h-8 rounded opacity-50 gap-1 px-2 sm:px-3 lg:px-4"
264
264
  collapsable={false}
265
265
  focusable={true}
266
266
  onBlur={[Function]}
@@ -274,7 +274,7 @@ exports[`Button Snapshot - disabled state 1`] = `
274
274
  onStartShouldSetResponder={[Function]}
275
275
  >
276
276
  <Text
277
- className="text-base font-medium text-f1-foreground-inverse"
277
+ className="text-base font-medium text-f0-foreground-inverse"
278
278
  >
279
279
  Test Button
280
280
  </Text>
@@ -307,7 +307,7 @@ exports[`Button Snapshot - loading state 1`] = `
307
307
  }
308
308
  }
309
309
  accessible={true}
310
- className="flex-row items-center justify-center border-none grow-0 bg-f1-background-accent-bold h-8 rounded opacity-50 gap-1 px-2 sm:px-3 lg:px-4"
310
+ className="flex-row items-center justify-center border-none grow-0 bg-f0-background-accent-bold h-8 rounded opacity-50 gap-1 px-2 sm:px-3 lg:px-4"
311
311
  collapsable={false}
312
312
  focusable={true}
313
313
  onBlur={[Function]}
@@ -321,7 +321,7 @@ exports[`Button Snapshot - loading state 1`] = `
321
321
  onStartShouldSetResponder={[Function]}
322
322
  >
323
323
  <Text
324
- className="text-base font-medium text-f1-foreground-inverse"
324
+ className="text-base font-medium text-f0-foreground-inverse"
325
325
  >
326
326
  Test Button
327
327
  </Text>
@@ -354,7 +354,7 @@ exports[`Button Snapshot - outline variant 1`] = `
354
354
  }
355
355
  }
356
356
  accessible={true}
357
- className="flex-row items-center justify-center border-none grow-0 bg-f1-background-inverse-secondary border border-f1-border h-8 rounded gap-1 px-2 sm:px-3 lg:px-4"
357
+ className="flex-row items-center justify-center border-none grow-0 bg-f0-background-inverse-secondary border border-f0-border h-8 rounded gap-1 px-2 sm:px-3 lg:px-4"
358
358
  collapsable={false}
359
359
  focusable={true}
360
360
  onBlur={[Function]}
@@ -368,7 +368,7 @@ exports[`Button Snapshot - outline variant 1`] = `
368
368
  onStartShouldSetResponder={[Function]}
369
369
  >
370
370
  <Text
371
- className="text-base font-medium text-f1-foreground"
371
+ className="text-base font-medium text-f0-foreground"
372
372
  >
373
373
  Test Button
374
374
  </Text>
@@ -401,7 +401,7 @@ exports[`Button Snapshot - round button with hidden label 1`] = `
401
401
  }
402
402
  }
403
403
  accessible={true}
404
- className="flex-row items-center justify-center border-none grow-0 bg-f1-background-accent-bold h-8 rounded aspect-square p-0"
404
+ className="flex-row items-center justify-center border-none grow-0 bg-f0-background-accent-bold h-8 rounded aspect-square p-0"
405
405
  collapsable={false}
406
406
  focusable={true}
407
407
  onBlur={[Function]}
@@ -442,7 +442,7 @@ exports[`Button Snapshot - with emoji 1`] = `
442
442
  }
443
443
  }
444
444
  accessible={true}
445
- className="flex-row items-center justify-center border-none grow-0 bg-f1-background-accent-bold h-8 rounded gap-1 px-2 sm:px-3 lg:px-4"
445
+ className="flex-row items-center justify-center border-none grow-0 bg-f0-background-accent-bold h-8 rounded gap-1 px-2 sm:px-3 lg:px-4"
446
446
  collapsable={false}
447
447
  focusable={true}
448
448
  onBlur={[Function]}
@@ -456,12 +456,12 @@ exports[`Button Snapshot - with emoji 1`] = `
456
456
  onStartShouldSetResponder={[Function]}
457
457
  >
458
458
  <Text
459
- className="text-base font-medium text-f1-foreground-inverse"
459
+ className="text-base font-medium text-f0-foreground-inverse"
460
460
  >
461
461
  👋
462
462
  </Text>
463
463
  <Text
464
- className="text-base font-medium text-f1-foreground-inverse"
464
+ className="text-base font-medium text-f0-foreground-inverse"
465
465
  >
466
466
  Test Button
467
467
  </Text>
@@ -494,7 +494,7 @@ exports[`Button Snapshot - with icon 1`] = `
494
494
  }
495
495
  }
496
496
  accessible={true}
497
- className="flex-row items-center justify-center border-none grow-0 bg-f1-background-accent-bold h-8 rounded gap-1 px-2 sm:px-3 lg:px-4"
497
+ className="flex-row items-center justify-center border-none grow-0 bg-f0-background-accent-bold h-8 rounded gap-1 px-2 sm:px-3 lg:px-4"
498
498
  collapsable={false}
499
499
  focusable={true}
500
500
  onBlur={[Function]}
@@ -508,7 +508,7 @@ exports[`Button Snapshot - with icon 1`] = `
508
508
  onStartShouldSetResponder={[Function]}
509
509
  >
510
510
  <Text
511
- className="text-base font-medium text-f1-foreground-inverse"
511
+ className="text-base font-medium text-f0-foreground-inverse"
512
512
  >
513
513
  Test Button
514
514
  </Text>
@@ -22,12 +22,12 @@ const buttonVariants = tv({
22
22
  base: "flex-row items-center justify-center rounded border-none grow-0",
23
23
  variants: {
24
24
  variant: {
25
- default: "bg-f1-background-accent-bold",
26
- outline: "bg-f1-background-inverse-secondary border border-f1-border",
27
- neutral: "bg-f1-background-secondary",
28
- critical: "bg-f1-background-secondary border border-f1-border",
25
+ default: "bg-f0-background-accent-bold",
26
+ outline: "bg-f0-background-inverse-secondary border border-f0-border",
27
+ neutral: "bg-f0-background-secondary",
28
+ critical: "bg-f0-background-secondary border border-f0-border",
29
29
  ghost: "bg-transparent",
30
- promote: "bg-f1-background-promote border border-f1-border-promote",
30
+ promote: "bg-f0-background-promote border border-f0-border-promote",
31
31
  },
32
32
  size: {
33
33
  sm: "h-6 rounded-sm",
@@ -55,12 +55,12 @@ const pressedVariants = tv({
55
55
  base: "",
56
56
  variants: {
57
57
  variant: {
58
- default: "bg-f1-background-accent-bold-hover",
59
- outline: "bg-f1-background-tertiary border-opacity-70",
60
- neutral: "bg-f1-background-secondary-hover",
61
- critical: "bg-f1-background-critical-bold border-transparent",
62
- ghost: "bg-f1-background-secondary-hover",
63
- promote: "bg-f1-background-promote-hover",
58
+ default: "bg-f0-background-accent-bold-hover",
59
+ outline: "bg-f0-background-tertiary border-opacity-70",
60
+ neutral: "bg-f0-background-secondary-hover",
61
+ critical: "bg-f0-background-critical-bold border-transparent",
62
+ ghost: "bg-f0-background-secondary-hover",
63
+ promote: "bg-f0-background-promote-hover",
64
64
  },
65
65
  },
66
66
  defaultVariants: {
@@ -71,41 +71,41 @@ const pressedVariants = tv({
71
71
  const getIconColor = (variant: ButtonVariant, isPressed: boolean) => {
72
72
  switch (variant) {
73
73
  case "default":
74
- return "text-f1-icon-inverse"
74
+ return "text-f0-icon-inverse"
75
75
  case "critical":
76
- return isPressed ? "text-f1-icon-inverse" : "text-f1-icon-critical-bold"
76
+ return isPressed ? "text-f0-icon-inverse" : "text-f0-icon-critical-bold"
77
77
  default:
78
- return "text-f1-icon"
78
+ return "text-f0-icon"
79
79
  }
80
80
  }
81
81
 
82
82
  const getIconOnlyColor = (variant: ButtonVariant, isPressed: boolean) => {
83
83
  switch (variant) {
84
84
  case "critical":
85
- return isPressed ? "text-f1-icon-inverse" : "text-f1-icon-critical-bold"
85
+ return isPressed ? "text-f0-icon-inverse" : "text-f0-icon-critical-bold"
86
86
  case "default":
87
- return "text-f1-icon-inverse"
87
+ return "text-f0-icon-inverse"
88
88
  case "outline":
89
89
  case "neutral":
90
90
  case "ghost":
91
91
  case "promote":
92
92
  default:
93
- return "text-f1-icon-bold"
93
+ return "text-f0-icon-bold"
94
94
  }
95
95
  }
96
96
 
97
97
  const getTextColorClass = (variant: ButtonVariant, isPressed: boolean) => {
98
98
  if (isPressed && variant === "critical") {
99
- return "text-f1-foreground-inverse"
99
+ return "text-f0-foreground-inverse"
100
100
  }
101
101
 
102
102
  switch (variant) {
103
103
  case "default":
104
- return "text-f1-foreground-inverse"
104
+ return "text-f0-foreground-inverse"
105
105
  case "critical":
106
- return "text-f1-foreground-critical"
106
+ return "text-f0-foreground-critical"
107
107
  default:
108
- return "text-f1-foreground"
108
+ return "text-f0-foreground"
109
109
  }
110
110
  }
111
111
 
@@ -226,7 +226,7 @@ export const Button = forwardRef<View, ButtonProps>(function Button(
226
226
  {showBadge && variant === "outline" && (
227
227
  <View
228
228
  accessibilityLabel="Notification Badge"
229
- className="absolute top-1.5 right-1.5 h-1.5 w-1.5 rounded-full bg-f1-icon-accent"
229
+ className="absolute top-1.5 right-1.5 h-1.5 w-1.5 rounded-full bg-f0-icon-accent"
230
230
  />
231
231
  )}
232
232
  </View>
@@ -5,10 +5,10 @@ exports[`Counter Snapshot 1`] = `
5
5
  className="flex items-start"
6
6
  >
7
7
  <View
8
- className="flex items-center justify-center rounded-xs grow-0 px-0.5 min-w-5 h-5 bg-f1-background-secondary border border-f1-border"
8
+ className="flex items-center justify-center rounded-xs grow-0 px-0.5 min-w-5 h-5 bg-f0-background-secondary border border-f0-border"
9
9
  >
10
10
  <Text
11
- className="text-center text-sm font-medium tabular-nums whitespace-nowrap text-f1-foreground"
11
+ className="text-center text-sm font-medium tabular-nums whitespace-nowrap text-f0-foreground"
12
12
  >
13
13
  42
14
14
  </Text>
@@ -21,10 +21,10 @@ exports[`Counter Snapshot vairan bold types 1`] = `
21
21
  className="flex items-start"
22
22
  >
23
23
  <View
24
- className="flex items-center justify-center rounded-xs grow-0 px-0.5 min-w-5 h-5 bg-f1-background-accent-bold"
24
+ className="flex items-center justify-center rounded-xs grow-0 px-0.5 min-w-5 h-5 bg-f0-background-accent-bold"
25
25
  >
26
26
  <Text
27
- className="text-center text-sm font-medium tabular-nums whitespace-nowrap text-f1-foreground-inverse"
27
+ className="text-center text-sm font-medium tabular-nums whitespace-nowrap text-f0-foreground-inverse"
28
28
  >
29
29
  42
30
30
  </Text>
@@ -37,10 +37,10 @@ exports[`Counter Snapshot vairan defauly types 1`] = `
37
37
  className="flex items-start"
38
38
  >
39
39
  <View
40
- className="flex items-center justify-center rounded-xs grow-0 px-0.5 min-w-5 h-5 bg-f1-background-secondary border border-f1-border"
40
+ className="flex items-center justify-center rounded-xs grow-0 px-0.5 min-w-5 h-5 bg-f0-background-secondary border border-f0-border"
41
41
  >
42
42
  <Text
43
- className="text-center text-sm font-medium tabular-nums whitespace-nowrap text-f1-foreground"
43
+ className="text-center text-sm font-medium tabular-nums whitespace-nowrap text-f0-foreground"
44
44
  >
45
45
  42
46
46
  </Text>
@@ -53,10 +53,10 @@ exports[`Counter Snapshot vairan defauly types 2`] = `
53
53
  className="flex items-start"
54
54
  >
55
55
  <View
56
- className="flex items-center justify-center rounded-xs grow-0 px-0.5 min-w-5 h-5 bg-f1-background-secondary border border-f1-border"
56
+ className="flex items-center justify-center rounded-xs grow-0 px-0.5 min-w-5 h-5 bg-f0-background-secondary border border-f0-border"
57
57
  >
58
58
  <Text
59
- className="text-center text-sm font-medium tabular-nums whitespace-nowrap text-f1-foreground"
59
+ className="text-center text-sm font-medium tabular-nums whitespace-nowrap text-f0-foreground"
60
60
  >
61
61
  42
62
62
  </Text>
@@ -69,10 +69,10 @@ exports[`Counter Snapshot vairan md size 1`] = `
69
69
  className="flex items-start"
70
70
  >
71
71
  <View
72
- className="flex items-center justify-center rounded-xs grow-0 px-0.5 min-w-5 h-5 bg-f1-background-secondary border border-f1-border"
72
+ className="flex items-center justify-center rounded-xs grow-0 px-0.5 min-w-5 h-5 bg-f0-background-secondary border border-f0-border"
73
73
  >
74
74
  <Text
75
- className="text-center text-sm font-medium tabular-nums whitespace-nowrap text-f1-foreground"
75
+ className="text-center text-sm font-medium tabular-nums whitespace-nowrap text-f0-foreground"
76
76
  >
77
77
  42
78
78
  </Text>
@@ -85,10 +85,10 @@ exports[`Counter Snapshot vairan selected types 1`] = `
85
85
  className="flex items-start"
86
86
  >
87
87
  <View
88
- className="flex items-center justify-center rounded-xs grow-0 px-0.5 min-w-5 h-5 bg-f1-background-selected-bold outline-f1-border-selected"
88
+ className="flex items-center justify-center rounded-xs grow-0 px-0.5 min-w-5 h-5 bg-f0-background-selected-bold outline-f0-border-selected"
89
89
  >
90
90
  <Text
91
- className="text-center text-sm font-medium tabular-nums whitespace-nowrap text-f1-foreground-inverse"
91
+ className="text-center text-sm font-medium tabular-nums whitespace-nowrap text-f0-foreground-inverse"
92
92
  >
93
93
  42
94
94
  </Text>
@@ -101,10 +101,10 @@ exports[`Counter Snapshot vairan sm size 1`] = `
101
101
  className="flex items-start"
102
102
  >
103
103
  <View
104
- className="flex items-center justify-center rounded-xs grow-0 px-0.5 min-w-4 h-4 bg-f1-background-secondary border border-f1-border"
104
+ className="flex items-center justify-center rounded-xs grow-0 px-0.5 min-w-4 h-4 bg-f0-background-secondary border border-f0-border"
105
105
  >
106
106
  <Text
107
- className="text-center text-sm font-medium tabular-nums whitespace-nowrap leading-none py-0.5 text-f1-foreground"
107
+ className="text-center text-sm font-medium tabular-nums whitespace-nowrap leading-none py-0.5 text-f0-foreground"
108
108
  >
109
109
  42
110
110
  </Text>
@@ -11,9 +11,9 @@ const counterContainerVariants = tv({
11
11
  sm: "min-w-4 h-4",
12
12
  },
13
13
  type: {
14
- default: "bg-f1-background-secondary border border-f1-border",
15
- selected: "bg-f1-background-selected-bold outline-f1-border-selected",
16
- bold: "bg-f1-background-accent-bold",
14
+ default: "bg-f0-background-secondary border border-f0-border",
15
+ selected: "bg-f0-background-selected-bold outline-f0-border-selected",
16
+ bold: "bg-f0-background-accent-bold",
17
17
  },
18
18
  },
19
19
  defaultVariants: {
@@ -30,9 +30,9 @@ const counterTextVariants = tv({
30
30
  sm: "leading-none py-0.5",
31
31
  },
32
32
  type: {
33
- default: "text-f1-foreground",
34
- selected: "text-f1-foreground-inverse",
35
- bold: "text-f1-foreground-inverse",
33
+ default: "text-f0-foreground",
34
+ selected: "text-f0-foreground-inverse",
35
+ bold: "text-f0-foreground-inverse",
36
36
  },
37
37
  },
38
38
  defaultVariants: {
@@ -15,8 +15,8 @@ export const ExampleComponent: React.FC<ExampleComponentProps> = ({
15
15
  text = "Hello World",
16
16
  }) => {
17
17
  return (
18
- <View className="rounded-lg bg-f1-background p-4">
19
- <Text className="text-base font-medium text-f1-foreground">{text}</Text>
18
+ <View className="rounded-lg bg-f0-background p-4">
19
+ <Text className="text-base font-medium text-f0-foreground">{text}</Text>
20
20
  </View>
21
21
  )
22
22
  }
@@ -32,7 +32,7 @@ The Icon component is designed to work with UniWind, allowing you to style icons
32
32
 
33
33
  ```tsx
34
34
  // Style using Tailwind CSS classes
35
- <Icon icon={AppIcons.Archive} className="text-f1-icon-secondary" />
35
+ <Icon icon={AppIcons.Archive} className="text-f0-icon-secondary" />
36
36
  ```
37
37
 
38
38
  ## Available Icons
@@ -5,7 +5,7 @@ exports[`PageHeader Snapshot - renders correctly with multiple actions 1`] = `
5
5
  className="flex-row items-center justify-between px-5 py-3"
6
6
  >
7
7
  <Text
8
- className="text-3xl font-semibold text-f1-foreground"
8
+ className="text-3xl font-semibold text-f0-foreground"
9
9
  >
10
10
  Test Page Title
11
11
  </Text>
@@ -110,7 +110,7 @@ exports[`PageHeader Snapshot - renders correctly with one action 1`] = `
110
110
  className="flex-row items-center justify-between px-5 py-3"
111
111
  >
112
112
  <Text
113
- className="text-3xl font-semibold text-f1-foreground"
113
+ className="text-3xl font-semibold text-f0-foreground"
114
114
  >
115
115
  Test Page Title
116
116
  </Text>
@@ -169,7 +169,7 @@ exports[`PageHeader Snapshot - renders correctly with one action with a badge 1`
169
169
  className="flex-row items-center justify-between px-5 py-3"
170
170
  >
171
171
  <Text
172
- className="text-3xl font-semibold text-f1-foreground"
172
+ className="text-3xl font-semibold text-f0-foreground"
173
173
  >
174
174
  Test Page Title
175
175
  </Text>
@@ -231,7 +231,7 @@ exports[`PageHeader Snapshot - renders correctly with only a title 1`] = `
231
231
  className="flex-row items-center justify-between px-5 py-3"
232
232
  >
233
233
  <Text
234
- className="text-3xl font-semibold text-f1-foreground"
234
+ className="text-3xl font-semibold text-f0-foreground"
235
235
  >
236
236
  Test Page Title
237
237
  </Text>
@@ -36,7 +36,7 @@ const NotificationsAction = ({ label, onPress, showBadge }: ActionT) => {
36
36
  export const PageHeader = memo(({ title, actions }: Props) => {
37
37
  return (
38
38
  <View className="flex-row items-center justify-between px-5 py-3">
39
- <Text className="text-3xl font-semibold text-f1-foreground">{title}</Text>
39
+ <Text className="text-3xl font-semibold text-f0-foreground">{title}</Text>
40
40
  <View className="flex-row gap-2">
41
41
  {actions?.map((action) => {
42
42
  switch (action.type) {
@@ -25,7 +25,7 @@ exports[`OneChip Snapshot 1`] = `
25
25
  }
26
26
  }
27
27
  accessible={true}
28
- className="overflow-hidden flex items-center gap-1 rounded-full border border-solid border-f1-border px-2 py-0.5 grow-0"
28
+ className="overflow-hidden flex items-center gap-1 rounded-full border border-solid border-f0-border px-2 py-0.5 grow-0"
29
29
  collapsable={false}
30
30
  focusable={true}
31
31
  onBlur={[Function]}
@@ -68,7 +68,7 @@ exports[`OneChip Snapshot 1`] = `
68
68
  className="flex flex-row items-center gap-0.5"
69
69
  >
70
70
  <Text
71
- className="font-medium text-f1-foreground"
71
+ className="font-medium text-f0-foreground"
72
72
  >
73
73
  label
74
74
  </Text>
@@ -102,7 +102,7 @@ exports[`OneChip Snapshot variant selected 1`] = `
102
102
  }
103
103
  }
104
104
  accessible={true}
105
- className="overflow-hidden flex items-center gap-1 rounded-full border border-solid px-2 py-0.5 grow-0 border-f1-border-selected bg-f1-background-selected-secondary"
105
+ className="overflow-hidden flex items-center gap-1 rounded-full border border-solid px-2 py-0.5 grow-0 border-f0-border-selected bg-f0-background-selected-secondary"
106
106
  collapsable={false}
107
107
  focusable={true}
108
108
  onBlur={[Function]}
@@ -145,7 +145,7 @@ exports[`OneChip Snapshot variant selected 1`] = `
145
145
  className="flex flex-row items-center gap-0.5"
146
146
  >
147
147
  <Text
148
- className="font-medium text-f1-foreground-selected"
148
+ className="font-medium text-f0-foreground-selected"
149
149
  >
150
150
  label
151
151
  </Text>
@@ -179,7 +179,7 @@ exports[`OneChip Snapshot with Icon 1`] = `
179
179
  }
180
180
  }
181
181
  accessible={true}
182
- className="overflow-hidden flex items-center gap-1 rounded-full border border-solid border-f1-border px-2 py-0.5 grow-0 pl-1.5"
182
+ className="overflow-hidden flex items-center gap-1 rounded-full border border-solid border-f0-border px-2 py-0.5 grow-0 pl-1.5"
183
183
  collapsable={false}
184
184
  focusable={true}
185
185
  onBlur={[Function]}
@@ -225,7 +225,7 @@ exports[`OneChip Snapshot with Icon 1`] = `
225
225
  align="xMidYMid"
226
226
  bbHeight="100%"
227
227
  bbWidth="100%"
228
- className="shrink-0 w-4 h-4 stroke-sm font-medium text-f1-foreground"
228
+ className="shrink-0 w-4 h-4 stroke-sm font-medium text-f0-foreground"
229
229
  fill="none"
230
230
  focusable={false}
231
231
  meetOrSlice={0}
@@ -303,7 +303,7 @@ exports[`OneChip Snapshot with Icon 1`] = `
303
303
  </RNSVGGroup>
304
304
  </RNSVGSvgView>
305
305
  <Text
306
- className="font-medium text-f1-foreground"
306
+ className="font-medium text-f0-foreground"
307
307
  >
308
308
  label
309
309
  </Text>
@@ -337,7 +337,7 @@ exports[`OneChip Snapshot with OnClose 1`] = `
337
337
  }
338
338
  }
339
339
  accessible={true}
340
- className="overflow-hidden flex items-center gap-1 rounded-full border border-solid border-f1-border px-2 py-0.5 grow-0 pr-1.5"
340
+ className="overflow-hidden flex items-center gap-1 rounded-full border border-solid border-f0-border px-2 py-0.5 grow-0 pr-1.5"
341
341
  collapsable={false}
342
342
  focusable={true}
343
343
  onBlur={[Function]}
@@ -380,7 +380,7 @@ exports[`OneChip Snapshot with OnClose 1`] = `
380
380
  className="flex flex-row items-center gap-0.5"
381
381
  >
382
382
  <Text
383
- className="font-medium text-f1-foreground"
383
+ className="font-medium text-f0-foreground"
384
384
  >
385
385
  label
386
386
  </Text>
@@ -405,7 +405,7 @@ exports[`OneChip Snapshot with OnClose 1`] = `
405
405
  }
406
406
  }
407
407
  accessible={true}
408
- className="-m-1 flex h-6 w-6 cursor-pointer items-center justify-center rounded-full [&_svg]:text-f1-icon-secondary"
408
+ className="-m-1 flex h-6 w-6 cursor-pointer items-center justify-center rounded-full [&_svg]:text-f0-icon-secondary"
409
409
  collapsable={false}
410
410
  focusable={true}
411
411
  onBlur={[Function]}
@@ -422,7 +422,7 @@ exports[`OneChip Snapshot with OnClose 1`] = `
422
422
  align="xMidYMid"
423
423
  bbHeight="100%"
424
424
  bbWidth="100%"
425
- className="shrink-0 w-4 h-4 stroke-sm font-medium text-f1-foreground"
425
+ className="shrink-0 w-4 h-4 stroke-sm font-medium text-f0-foreground"
426
426
  fill="none"
427
427
  focusable={false}
428
428
  meetOrSlice={0}