├── .changeset ├── README.md └── config.json ├── .github ├── ISSUE_TEMPLATE │ ├── BUG_REPORT.md │ └── FEATURE_REQUEST.md ├── PULL_REQUEST_TEMPLATE.md ├── dependabot.yml └── workflows │ ├── release.yml │ ├── snapshot.yml │ ├── stale.yml.skip │ └── validate.yml ├── .gitignore ├── .npmrc ├── .nvmrc ├── .prettierignore ├── .prettierrc.js ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── MAINTAINERS.md ├── README.md ├── SECURITY.md ├── babel-jest.config.js ├── babel.config.js ├── examples ├── astro │ ├── .gitignore │ ├── CHANGELOG.md │ ├── README.md │ ├── astro.config.mjs │ ├── package.json │ ├── public │ │ └── favicon.svg │ ├── src │ │ ├── components │ │ │ ├── Box.astro │ │ │ ├── Box.css.ts │ │ │ └── Pinwheel.astro │ │ ├── env.d.ts │ │ ├── pages │ │ │ ├── index.astro │ │ │ └── index.css.ts │ │ └── vars.css.ts │ └── tsconfig.json └── react │ ├── .eslintrc.json │ ├── .gitignore │ ├── CHANGELOG.md │ ├── README.md │ ├── components │ ├── Box.tsx │ ├── Pinwheel.tsx │ └── rainbow-sprinkles.css.ts │ ├── layers.css.ts │ ├── next-env.d.ts │ ├── next.config.js │ ├── package.json │ ├── pages │ └── index.tsx │ ├── public │ ├── favicon.ico │ └── vercel.svg │ ├── styles │ └── index.css.ts │ ├── tsconfig.json │ └── vars.css.ts ├── jest.config.ts ├── jest.setup.ts ├── package.json ├── packages └── rainbow-sprinkles │ ├── CHANGELOG.md │ ├── README.md │ ├── __mocks__ │ └── @vanilla-extract │ │ └── css │ │ └── index.js │ ├── createRuntimeFn │ └── package.json │ ├── package.json │ └── src │ ├── __tests__ │ ├── assignClasses.test.ts │ ├── assignVars.test.ts │ ├── createRainbowSprinkles.test.ts │ ├── createStaticStyles.test.ts │ ├── createStyles.test.ts │ ├── mapValues.test.ts │ └── replaceVars.test.ts │ ├── assignClasses.ts │ ├── assignVars.ts │ ├── createRainbowSprinkles.ts │ ├── createRuntimeFn.ts │ ├── createStaticStyles.ts │ ├── createStyles.ts │ ├── css.d.ts │ ├── defineProperties.ts │ ├── index.ts │ ├── types.ts │ └── utils.ts ├── pnpm-lock.yaml ├── pnpm-workspace.yaml ├── renovate.json └── tsconfig.json /.changeset/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/.changeset/README.md -------------------------------------------------------------------------------- /.changeset/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/.changeset/config.json -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/BUG_REPORT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/.github/ISSUE_TEMPLATE/BUG_REPORT.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/snapshot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/.github/workflows/snapshot.yml -------------------------------------------------------------------------------- /.github/workflows/stale.yml.skip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/.github/workflows/stale.yml.skip -------------------------------------------------------------------------------- /.github/workflows/validate.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/.github/workflows/validate.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .next 2 | node_modules 3 | dist 4 | .pnpm-debug.log 5 | .DS_Store 6 | .vscode -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/.npmrc -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | 20 2 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .next 3 | dist 4 | pnpm-lock.yaml 5 | -------------------------------------------------------------------------------- /.prettierrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/.prettierrc.js -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/LICENSE -------------------------------------------------------------------------------- /MAINTAINERS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/MAINTAINERS.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | packages/rainbow-sprinkles/README.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/SECURITY.md -------------------------------------------------------------------------------- /babel-jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/babel-jest.config.js -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/babel.config.js -------------------------------------------------------------------------------- /examples/astro/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/examples/astro/.gitignore -------------------------------------------------------------------------------- /examples/astro/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/examples/astro/CHANGELOG.md -------------------------------------------------------------------------------- /examples/astro/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/examples/astro/README.md -------------------------------------------------------------------------------- /examples/astro/astro.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/examples/astro/astro.config.mjs -------------------------------------------------------------------------------- /examples/astro/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/examples/astro/package.json -------------------------------------------------------------------------------- /examples/astro/public/favicon.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/examples/astro/public/favicon.svg -------------------------------------------------------------------------------- /examples/astro/src/components/Box.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/examples/astro/src/components/Box.astro -------------------------------------------------------------------------------- /examples/astro/src/components/Box.css.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/examples/astro/src/components/Box.css.ts -------------------------------------------------------------------------------- /examples/astro/src/components/Pinwheel.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/examples/astro/src/components/Pinwheel.astro -------------------------------------------------------------------------------- /examples/astro/src/env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /examples/astro/src/pages/index.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/examples/astro/src/pages/index.astro -------------------------------------------------------------------------------- /examples/astro/src/pages/index.css.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/examples/astro/src/pages/index.css.ts -------------------------------------------------------------------------------- /examples/astro/src/vars.css.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/examples/astro/src/vars.css.ts -------------------------------------------------------------------------------- /examples/astro/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "astro/tsconfigs/strict" 3 | } 4 | -------------------------------------------------------------------------------- /examples/react/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /examples/react/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/examples/react/.gitignore -------------------------------------------------------------------------------- /examples/react/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/examples/react/CHANGELOG.md -------------------------------------------------------------------------------- /examples/react/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/examples/react/README.md -------------------------------------------------------------------------------- /examples/react/components/Box.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/examples/react/components/Box.tsx -------------------------------------------------------------------------------- /examples/react/components/Pinwheel.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/examples/react/components/Pinwheel.tsx -------------------------------------------------------------------------------- /examples/react/components/rainbow-sprinkles.css.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/examples/react/components/rainbow-sprinkles.css.ts -------------------------------------------------------------------------------- /examples/react/layers.css.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/examples/react/layers.css.ts -------------------------------------------------------------------------------- /examples/react/next-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/examples/react/next-env.d.ts -------------------------------------------------------------------------------- /examples/react/next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/examples/react/next.config.js -------------------------------------------------------------------------------- /examples/react/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/examples/react/package.json -------------------------------------------------------------------------------- /examples/react/pages/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/examples/react/pages/index.tsx -------------------------------------------------------------------------------- /examples/react/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/examples/react/public/favicon.ico -------------------------------------------------------------------------------- /examples/react/public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/examples/react/public/vercel.svg -------------------------------------------------------------------------------- /examples/react/styles/index.css.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/examples/react/styles/index.css.ts -------------------------------------------------------------------------------- /examples/react/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/examples/react/tsconfig.json -------------------------------------------------------------------------------- /examples/react/vars.css.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/examples/react/vars.css.ts -------------------------------------------------------------------------------- /jest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/jest.config.ts -------------------------------------------------------------------------------- /jest.setup.ts: -------------------------------------------------------------------------------- 1 | import '@vanilla-extract/css/disableRuntimeStyles'; 2 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/package.json -------------------------------------------------------------------------------- /packages/rainbow-sprinkles/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/packages/rainbow-sprinkles/CHANGELOG.md -------------------------------------------------------------------------------- /packages/rainbow-sprinkles/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/packages/rainbow-sprinkles/README.md -------------------------------------------------------------------------------- /packages/rainbow-sprinkles/__mocks__/@vanilla-extract/css/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/packages/rainbow-sprinkles/__mocks__/@vanilla-extract/css/index.js -------------------------------------------------------------------------------- /packages/rainbow-sprinkles/createRuntimeFn/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/packages/rainbow-sprinkles/createRuntimeFn/package.json -------------------------------------------------------------------------------- /packages/rainbow-sprinkles/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/packages/rainbow-sprinkles/package.json -------------------------------------------------------------------------------- /packages/rainbow-sprinkles/src/__tests__/assignClasses.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/packages/rainbow-sprinkles/src/__tests__/assignClasses.test.ts -------------------------------------------------------------------------------- /packages/rainbow-sprinkles/src/__tests__/assignVars.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/packages/rainbow-sprinkles/src/__tests__/assignVars.test.ts -------------------------------------------------------------------------------- /packages/rainbow-sprinkles/src/__tests__/createRainbowSprinkles.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/packages/rainbow-sprinkles/src/__tests__/createRainbowSprinkles.test.ts -------------------------------------------------------------------------------- /packages/rainbow-sprinkles/src/__tests__/createStaticStyles.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/packages/rainbow-sprinkles/src/__tests__/createStaticStyles.test.ts -------------------------------------------------------------------------------- /packages/rainbow-sprinkles/src/__tests__/createStyles.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/packages/rainbow-sprinkles/src/__tests__/createStyles.test.ts -------------------------------------------------------------------------------- /packages/rainbow-sprinkles/src/__tests__/mapValues.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/packages/rainbow-sprinkles/src/__tests__/mapValues.test.ts -------------------------------------------------------------------------------- /packages/rainbow-sprinkles/src/__tests__/replaceVars.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/packages/rainbow-sprinkles/src/__tests__/replaceVars.test.ts -------------------------------------------------------------------------------- /packages/rainbow-sprinkles/src/assignClasses.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/packages/rainbow-sprinkles/src/assignClasses.ts -------------------------------------------------------------------------------- /packages/rainbow-sprinkles/src/assignVars.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/packages/rainbow-sprinkles/src/assignVars.ts -------------------------------------------------------------------------------- /packages/rainbow-sprinkles/src/createRainbowSprinkles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/packages/rainbow-sprinkles/src/createRainbowSprinkles.ts -------------------------------------------------------------------------------- /packages/rainbow-sprinkles/src/createRuntimeFn.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/packages/rainbow-sprinkles/src/createRuntimeFn.ts -------------------------------------------------------------------------------- /packages/rainbow-sprinkles/src/createStaticStyles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/packages/rainbow-sprinkles/src/createStaticStyles.ts -------------------------------------------------------------------------------- /packages/rainbow-sprinkles/src/createStyles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/packages/rainbow-sprinkles/src/createStyles.ts -------------------------------------------------------------------------------- /packages/rainbow-sprinkles/src/css.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/packages/rainbow-sprinkles/src/css.d.ts -------------------------------------------------------------------------------- /packages/rainbow-sprinkles/src/defineProperties.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/packages/rainbow-sprinkles/src/defineProperties.ts -------------------------------------------------------------------------------- /packages/rainbow-sprinkles/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/packages/rainbow-sprinkles/src/index.ts -------------------------------------------------------------------------------- /packages/rainbow-sprinkles/src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/packages/rainbow-sprinkles/src/types.ts -------------------------------------------------------------------------------- /packages/rainbow-sprinkles/src/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/packages/rainbow-sprinkles/src/utils.ts -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /pnpm-workspace.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/pnpm-workspace.yaml -------------------------------------------------------------------------------- /renovate.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/renovate.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wayfair/rainbow-sprinkles/HEAD/tsconfig.json --------------------------------------------------------------------------------