├── .gitignore ├── .npmignore ├── .prettierrc ├── README.md ├── docs ├── .gitignore ├── README.md ├── babel.config.js ├── docs │ ├── available-classes.md │ ├── constraints.md │ ├── dark-mode.md │ ├── default-constraints.md │ ├── getting-started.md │ └── overrides.md ├── docusaurus.config.js ├── package.json ├── sidebars.js ├── src │ ├── components │ │ ├── HomepageFeatures.js │ │ ├── HomepageFeatures.module.css │ │ └── LogoFull.js │ ├── css │ │ └── custom.css │ └── pages │ │ ├── index.js │ │ ├── index.module.css │ │ └── markdown-page.md ├── static │ ├── .nojekyll │ ├── demo.mp4 │ └── img │ │ ├── choice.svg │ │ ├── docusaurus.png │ │ ├── favicon.ico │ │ ├── logo-full.svg │ │ ├── logo.svg │ │ ├── productivity.svg │ │ ├── screenshots │ │ ├── default-aspect-ratios.png │ │ ├── default-border-radii.png │ │ ├── default-border-sizes.png │ │ ├── default-colors.png │ │ ├── default-font-sizes.png │ │ ├── default-font-weights.png │ │ ├── default-opacities.png │ │ ├── default-shadows.png │ │ └── override-example.png │ │ ├── turbo-styles-sample.gif │ │ └── unlock.svg └── yarn.lock ├── index.ts ├── jest.config.js ├── lib ├── SimpleConstrainedCache.test.ts ├── SimpleConstrainedCache.ts ├── colorStringToRgb.ts ├── createStyleBuilder.test.ts ├── createStyleBuilder.ts ├── defaultConstraints.ts ├── example.ts ├── hexToRgb.test.ts ├── hexToRgb.ts ├── rgbStringToRgb.test.ts ├── rgbStringToRgb.ts ├── twColors.ts ├── useDarkModeStyles.test.ts ├── useDarkModeStyles.ts └── utilTypes.ts ├── package.json ├── sample ├── .expo-shared │ └── assets.json ├── .gitignore ├── App.tsx ├── AspectRatios.tsx ├── Colors.tsx ├── ComputedOverrideExample.tsx ├── DefaultAspectRatios.tsx ├── DefaultBorderRadii.tsx ├── DefaultBorderSizes.tsx ├── DefaultFontSizes.tsx ├── DefaultFontWeights.tsx ├── DefaultOpacities.tsx ├── DefaultShadows.tsx ├── Demo.tsx ├── OverrideExample.tsx ├── app.json ├── assets │ ├── adaptive-icon.png │ ├── favicon.png │ ├── icon.png │ └── splash.png ├── babel.config.js ├── logo-full.png ├── myTurboStyles.ts ├── package.json ├── tsconfig.json ├── turbo-icon.png └── yarn.lock ├── static └── demo.gif ├── tsconfig.json └── yarn.lock /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .idea 3 | dist 4 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/.npmignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/README.md -------------------------------------------------------------------------------- /docs/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/docs/.gitignore -------------------------------------------------------------------------------- /docs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/docs/README.md -------------------------------------------------------------------------------- /docs/babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/docs/babel.config.js -------------------------------------------------------------------------------- /docs/docs/available-classes.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/docs/docs/available-classes.md -------------------------------------------------------------------------------- /docs/docs/constraints.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/docs/docs/constraints.md -------------------------------------------------------------------------------- /docs/docs/dark-mode.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/docs/docs/dark-mode.md -------------------------------------------------------------------------------- /docs/docs/default-constraints.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/docs/docs/default-constraints.md -------------------------------------------------------------------------------- /docs/docs/getting-started.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/docs/docs/getting-started.md -------------------------------------------------------------------------------- /docs/docs/overrides.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/docs/docs/overrides.md -------------------------------------------------------------------------------- /docs/docusaurus.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/docs/docusaurus.config.js -------------------------------------------------------------------------------- /docs/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/docs/package.json -------------------------------------------------------------------------------- /docs/sidebars.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/docs/sidebars.js -------------------------------------------------------------------------------- /docs/src/components/HomepageFeatures.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/docs/src/components/HomepageFeatures.js -------------------------------------------------------------------------------- /docs/src/components/HomepageFeatures.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/docs/src/components/HomepageFeatures.module.css -------------------------------------------------------------------------------- /docs/src/components/LogoFull.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/docs/src/components/LogoFull.js -------------------------------------------------------------------------------- /docs/src/css/custom.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/docs/src/css/custom.css -------------------------------------------------------------------------------- /docs/src/pages/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/docs/src/pages/index.js -------------------------------------------------------------------------------- /docs/src/pages/index.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/docs/src/pages/index.module.css -------------------------------------------------------------------------------- /docs/src/pages/markdown-page.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/docs/src/pages/markdown-page.md -------------------------------------------------------------------------------- /docs/static/.nojekyll: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/static/demo.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/docs/static/demo.mp4 -------------------------------------------------------------------------------- /docs/static/img/choice.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/docs/static/img/choice.svg -------------------------------------------------------------------------------- /docs/static/img/docusaurus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/docs/static/img/docusaurus.png -------------------------------------------------------------------------------- /docs/static/img/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/docs/static/img/favicon.ico -------------------------------------------------------------------------------- /docs/static/img/logo-full.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/docs/static/img/logo-full.svg -------------------------------------------------------------------------------- /docs/static/img/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/docs/static/img/logo.svg -------------------------------------------------------------------------------- /docs/static/img/productivity.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/docs/static/img/productivity.svg -------------------------------------------------------------------------------- /docs/static/img/screenshots/default-aspect-ratios.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/docs/static/img/screenshots/default-aspect-ratios.png -------------------------------------------------------------------------------- /docs/static/img/screenshots/default-border-radii.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/docs/static/img/screenshots/default-border-radii.png -------------------------------------------------------------------------------- /docs/static/img/screenshots/default-border-sizes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/docs/static/img/screenshots/default-border-sizes.png -------------------------------------------------------------------------------- /docs/static/img/screenshots/default-colors.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/docs/static/img/screenshots/default-colors.png -------------------------------------------------------------------------------- /docs/static/img/screenshots/default-font-sizes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/docs/static/img/screenshots/default-font-sizes.png -------------------------------------------------------------------------------- /docs/static/img/screenshots/default-font-weights.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/docs/static/img/screenshots/default-font-weights.png -------------------------------------------------------------------------------- /docs/static/img/screenshots/default-opacities.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/docs/static/img/screenshots/default-opacities.png -------------------------------------------------------------------------------- /docs/static/img/screenshots/default-shadows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/docs/static/img/screenshots/default-shadows.png -------------------------------------------------------------------------------- /docs/static/img/screenshots/override-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/docs/static/img/screenshots/override-example.png -------------------------------------------------------------------------------- /docs/static/img/turbo-styles-sample.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/docs/static/img/turbo-styles-sample.gif -------------------------------------------------------------------------------- /docs/static/img/unlock.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/docs/static/img/unlock.svg -------------------------------------------------------------------------------- /docs/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/docs/yarn.lock -------------------------------------------------------------------------------- /index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/index.ts -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/jest.config.js -------------------------------------------------------------------------------- /lib/SimpleConstrainedCache.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/lib/SimpleConstrainedCache.test.ts -------------------------------------------------------------------------------- /lib/SimpleConstrainedCache.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/lib/SimpleConstrainedCache.ts -------------------------------------------------------------------------------- /lib/colorStringToRgb.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/lib/colorStringToRgb.ts -------------------------------------------------------------------------------- /lib/createStyleBuilder.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/lib/createStyleBuilder.test.ts -------------------------------------------------------------------------------- /lib/createStyleBuilder.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/lib/createStyleBuilder.ts -------------------------------------------------------------------------------- /lib/defaultConstraints.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/lib/defaultConstraints.ts -------------------------------------------------------------------------------- /lib/example.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/lib/example.ts -------------------------------------------------------------------------------- /lib/hexToRgb.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/lib/hexToRgb.test.ts -------------------------------------------------------------------------------- /lib/hexToRgb.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/lib/hexToRgb.ts -------------------------------------------------------------------------------- /lib/rgbStringToRgb.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/lib/rgbStringToRgb.test.ts -------------------------------------------------------------------------------- /lib/rgbStringToRgb.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/lib/rgbStringToRgb.ts -------------------------------------------------------------------------------- /lib/twColors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/lib/twColors.ts -------------------------------------------------------------------------------- /lib/useDarkModeStyles.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/lib/useDarkModeStyles.test.ts -------------------------------------------------------------------------------- /lib/useDarkModeStyles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/lib/useDarkModeStyles.ts -------------------------------------------------------------------------------- /lib/utilTypes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/lib/utilTypes.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/package.json -------------------------------------------------------------------------------- /sample/.expo-shared/assets.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/sample/.expo-shared/assets.json -------------------------------------------------------------------------------- /sample/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/sample/.gitignore -------------------------------------------------------------------------------- /sample/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/sample/App.tsx -------------------------------------------------------------------------------- /sample/AspectRatios.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/sample/AspectRatios.tsx -------------------------------------------------------------------------------- /sample/Colors.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/sample/Colors.tsx -------------------------------------------------------------------------------- /sample/ComputedOverrideExample.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/sample/ComputedOverrideExample.tsx -------------------------------------------------------------------------------- /sample/DefaultAspectRatios.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/sample/DefaultAspectRatios.tsx -------------------------------------------------------------------------------- /sample/DefaultBorderRadii.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/sample/DefaultBorderRadii.tsx -------------------------------------------------------------------------------- /sample/DefaultBorderSizes.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/sample/DefaultBorderSizes.tsx -------------------------------------------------------------------------------- /sample/DefaultFontSizes.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/sample/DefaultFontSizes.tsx -------------------------------------------------------------------------------- /sample/DefaultFontWeights.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/sample/DefaultFontWeights.tsx -------------------------------------------------------------------------------- /sample/DefaultOpacities.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/sample/DefaultOpacities.tsx -------------------------------------------------------------------------------- /sample/DefaultShadows.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/sample/DefaultShadows.tsx -------------------------------------------------------------------------------- /sample/Demo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/sample/Demo.tsx -------------------------------------------------------------------------------- /sample/OverrideExample.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/sample/OverrideExample.tsx -------------------------------------------------------------------------------- /sample/app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/sample/app.json -------------------------------------------------------------------------------- /sample/assets/adaptive-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/sample/assets/adaptive-icon.png -------------------------------------------------------------------------------- /sample/assets/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/sample/assets/favicon.png -------------------------------------------------------------------------------- /sample/assets/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/sample/assets/icon.png -------------------------------------------------------------------------------- /sample/assets/splash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/sample/assets/splash.png -------------------------------------------------------------------------------- /sample/babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/sample/babel.config.js -------------------------------------------------------------------------------- /sample/logo-full.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/sample/logo-full.png -------------------------------------------------------------------------------- /sample/myTurboStyles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/sample/myTurboStyles.ts -------------------------------------------------------------------------------- /sample/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/sample/package.json -------------------------------------------------------------------------------- /sample/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/sample/tsconfig.json -------------------------------------------------------------------------------- /sample/turbo-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/sample/turbo-icon.png -------------------------------------------------------------------------------- /sample/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/sample/yarn.lock -------------------------------------------------------------------------------- /static/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/static/demo.gif -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gksander/react-native-turbo-styles/HEAD/yarn.lock --------------------------------------------------------------------------------