diff --git a/.size-snapshot.json b/.size-snapshot.json index 42ee05a6..fdedbda4 100644 --- a/.size-snapshot.json +++ b/.size-snapshot.json @@ -81,8 +81,8 @@ "gzipped": 9217 }, "dist/rbx.umd.js": { - "bundled": 92904, - "minified": 46726, - "gzipped": 9618 + "bundled": 94443, + "minified": 47449, + "gzipped": 9762 } } diff --git a/examples/with-customization/src/theme.tsx b/examples/with-customization/src/theme.tsx index 02c95fc1..6fb8e73b 100644 --- a/examples/with-customization/src/theme.tsx +++ b/examples/with-customization/src/theme.tsx @@ -1,8 +1,7 @@ import { makeRootValidatingTransform } from "rbx/base/helpers"; import { DEFAULTS } from "rbx/base/helpers/variables"; -import { tuple } from "rbx/utils"; -const COLORS = tuple(...DEFAULTS.colors, "react"); +const COLORS = [...DEFAULTS.colors, "react"] as const; export const themeValue = { transform: makeRootValidatingTransform({ colors: COLORS }), diff --git a/src/__docs__/customize.mdx b/src/__docs__/customize.mdx index 1b07096f..258dff93 100644 --- a/src/__docs__/customize.mdx +++ b/src/__docs__/customize.mdx @@ -21,7 +21,7 @@ Before we get on to an example, here's an overview of how we use _TypeScript_ to Take a look at the [source code for the **helpers variables**](https://github.com/dfee/rbx/blob/master/src/base/helpers/variables.ts), or the [source code for `