├── .gitignore ├── .prettierrc ├── .vscode ├── extensions.json └── settings.json ├── README.md ├── docs ├── README.md ├── astro.config.mjs ├── package.json ├── public │ ├── favicon.svg │ ├── fonts │ │ ├── fira-code_vf.woff2 │ │ └── golos-ui_vf.woff2 │ └── og-image.png ├── src │ ├── components │ │ ├── BackToTop.astro │ │ ├── Block.tsx │ │ ├── Brand.astro │ │ ├── NavPrimary.astro │ │ ├── NavSecondary.astro │ │ ├── Showcase │ │ │ ├── ActionToggle.tsx │ │ │ ├── Container.tsx │ │ │ ├── HighContrastToggle.tsx │ │ │ ├── NarrowToggle.tsx │ │ │ ├── PropToggles.tsx │ │ │ └── index.tsx │ │ ├── ToggleButton.tsx │ │ └── icons │ │ │ ├── ArrowUp.tsx │ │ │ ├── Asterisk.tsx │ │ │ ├── Check.tsx │ │ │ ├── Contrast.tsx │ │ │ ├── GitHub.tsx │ │ │ ├── Heart.tsx │ │ │ └── Mobile.tsx │ ├── constants.ts │ ├── env.d.ts │ ├── layouts │ │ └── Base.astro │ ├── pages │ │ ├── _layouts │ │ │ ├── LayoutPropsTable.astro │ │ │ ├── LayoutSection.astro │ │ │ └── content │ │ │ │ ├── descriptions │ │ │ │ ├── box.md │ │ │ │ ├── center.md │ │ │ │ ├── cluster.md │ │ │ │ ├── cover.md │ │ │ │ ├── frame.md │ │ │ │ ├── grid.md │ │ │ │ ├── icon.md │ │ │ │ ├── imposter.md │ │ │ │ ├── reel.md │ │ │ │ ├── sidebar.md │ │ │ │ ├── stack.md │ │ │ │ └── switcher.md │ │ │ │ └── sections.astro │ │ ├── index.astro │ │ ├── layouts.astro │ │ ├── motivation.mdx │ │ ├── usage.mdx │ │ └── utilities.mdx │ └── types.ts ├── tailwind.config.cjs ├── tailwind │ ├── base.cjs │ ├── colors.cjs │ ├── fontFamily.cjs │ ├── layouts.cjs │ ├── typography.cjs │ └── vars │ │ └── _colors.cjs └── tsconfig.json ├── netlify.toml ├── package.json └── tailwind-layouts ├── README.md ├── lib ├── base │ ├── measure.ts │ └── scrollbar.ts ├── constants.ts ├── helpers.ts ├── main.ts ├── options.ts ├── theme.ts ├── types.ts ├── utilities │ ├── border-hc.ts │ ├── layouts │ │ ├── box.ts │ │ ├── center.ts │ │ ├── cluster.ts │ │ ├── cover.ts │ │ ├── frame.ts │ │ ├── grid.ts │ │ ├── icon.ts │ │ ├── imposter.ts │ │ ├── reel.ts │ │ ├── sidebar.ts │ │ ├── stack.ts │ │ └── switcher.ts │ └── scrollbar.ts └── vite-env.d.ts ├── package.json ├── tsconfig.json └── vite.config.js /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/.prettierrc -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/.vscode/extensions.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "dimmer.enabled": false 3 | } 4 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/README.md -------------------------------------------------------------------------------- /docs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/docs/README.md -------------------------------------------------------------------------------- /docs/astro.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/docs/astro.config.mjs -------------------------------------------------------------------------------- /docs/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/docs/package.json -------------------------------------------------------------------------------- /docs/public/favicon.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/docs/public/favicon.svg -------------------------------------------------------------------------------- /docs/public/fonts/fira-code_vf.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/docs/public/fonts/fira-code_vf.woff2 -------------------------------------------------------------------------------- /docs/public/fonts/golos-ui_vf.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/docs/public/fonts/golos-ui_vf.woff2 -------------------------------------------------------------------------------- /docs/public/og-image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/docs/public/og-image.png -------------------------------------------------------------------------------- /docs/src/components/BackToTop.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/docs/src/components/BackToTop.astro -------------------------------------------------------------------------------- /docs/src/components/Block.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/docs/src/components/Block.tsx -------------------------------------------------------------------------------- /docs/src/components/Brand.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/docs/src/components/Brand.astro -------------------------------------------------------------------------------- /docs/src/components/NavPrimary.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/docs/src/components/NavPrimary.astro -------------------------------------------------------------------------------- /docs/src/components/NavSecondary.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/docs/src/components/NavSecondary.astro -------------------------------------------------------------------------------- /docs/src/components/Showcase/ActionToggle.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/docs/src/components/Showcase/ActionToggle.tsx -------------------------------------------------------------------------------- /docs/src/components/Showcase/Container.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/docs/src/components/Showcase/Container.tsx -------------------------------------------------------------------------------- /docs/src/components/Showcase/HighContrastToggle.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/docs/src/components/Showcase/HighContrastToggle.tsx -------------------------------------------------------------------------------- /docs/src/components/Showcase/NarrowToggle.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/docs/src/components/Showcase/NarrowToggle.tsx -------------------------------------------------------------------------------- /docs/src/components/Showcase/PropToggles.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/docs/src/components/Showcase/PropToggles.tsx -------------------------------------------------------------------------------- /docs/src/components/Showcase/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/docs/src/components/Showcase/index.tsx -------------------------------------------------------------------------------- /docs/src/components/ToggleButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/docs/src/components/ToggleButton.tsx -------------------------------------------------------------------------------- /docs/src/components/icons/ArrowUp.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/docs/src/components/icons/ArrowUp.tsx -------------------------------------------------------------------------------- /docs/src/components/icons/Asterisk.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/docs/src/components/icons/Asterisk.tsx -------------------------------------------------------------------------------- /docs/src/components/icons/Check.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/docs/src/components/icons/Check.tsx -------------------------------------------------------------------------------- /docs/src/components/icons/Contrast.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/docs/src/components/icons/Contrast.tsx -------------------------------------------------------------------------------- /docs/src/components/icons/GitHub.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/docs/src/components/icons/GitHub.tsx -------------------------------------------------------------------------------- /docs/src/components/icons/Heart.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/docs/src/components/icons/Heart.tsx -------------------------------------------------------------------------------- /docs/src/components/icons/Mobile.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/docs/src/components/icons/Mobile.tsx -------------------------------------------------------------------------------- /docs/src/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/docs/src/constants.ts -------------------------------------------------------------------------------- /docs/src/env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /docs/src/layouts/Base.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/docs/src/layouts/Base.astro -------------------------------------------------------------------------------- /docs/src/pages/_layouts/LayoutPropsTable.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/docs/src/pages/_layouts/LayoutPropsTable.astro -------------------------------------------------------------------------------- /docs/src/pages/_layouts/LayoutSection.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/docs/src/pages/_layouts/LayoutSection.astro -------------------------------------------------------------------------------- /docs/src/pages/_layouts/content/descriptions/box.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/docs/src/pages/_layouts/content/descriptions/box.md -------------------------------------------------------------------------------- /docs/src/pages/_layouts/content/descriptions/center.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/docs/src/pages/_layouts/content/descriptions/center.md -------------------------------------------------------------------------------- /docs/src/pages/_layouts/content/descriptions/cluster.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/docs/src/pages/_layouts/content/descriptions/cluster.md -------------------------------------------------------------------------------- /docs/src/pages/_layouts/content/descriptions/cover.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/docs/src/pages/_layouts/content/descriptions/cover.md -------------------------------------------------------------------------------- /docs/src/pages/_layouts/content/descriptions/frame.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/docs/src/pages/_layouts/content/descriptions/frame.md -------------------------------------------------------------------------------- /docs/src/pages/_layouts/content/descriptions/grid.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/docs/src/pages/_layouts/content/descriptions/grid.md -------------------------------------------------------------------------------- /docs/src/pages/_layouts/content/descriptions/icon.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/docs/src/pages/_layouts/content/descriptions/icon.md -------------------------------------------------------------------------------- /docs/src/pages/_layouts/content/descriptions/imposter.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/docs/src/pages/_layouts/content/descriptions/imposter.md -------------------------------------------------------------------------------- /docs/src/pages/_layouts/content/descriptions/reel.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/docs/src/pages/_layouts/content/descriptions/reel.md -------------------------------------------------------------------------------- /docs/src/pages/_layouts/content/descriptions/sidebar.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/docs/src/pages/_layouts/content/descriptions/sidebar.md -------------------------------------------------------------------------------- /docs/src/pages/_layouts/content/descriptions/stack.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/docs/src/pages/_layouts/content/descriptions/stack.md -------------------------------------------------------------------------------- /docs/src/pages/_layouts/content/descriptions/switcher.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/docs/src/pages/_layouts/content/descriptions/switcher.md -------------------------------------------------------------------------------- /docs/src/pages/_layouts/content/sections.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/docs/src/pages/_layouts/content/sections.astro -------------------------------------------------------------------------------- /docs/src/pages/index.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/docs/src/pages/index.astro -------------------------------------------------------------------------------- /docs/src/pages/layouts.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/docs/src/pages/layouts.astro -------------------------------------------------------------------------------- /docs/src/pages/motivation.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/docs/src/pages/motivation.mdx -------------------------------------------------------------------------------- /docs/src/pages/usage.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/docs/src/pages/usage.mdx -------------------------------------------------------------------------------- /docs/src/pages/utilities.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/docs/src/pages/utilities.mdx -------------------------------------------------------------------------------- /docs/src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/docs/src/types.ts -------------------------------------------------------------------------------- /docs/tailwind.config.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/docs/tailwind.config.cjs -------------------------------------------------------------------------------- /docs/tailwind/base.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/docs/tailwind/base.cjs -------------------------------------------------------------------------------- /docs/tailwind/colors.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/docs/tailwind/colors.cjs -------------------------------------------------------------------------------- /docs/tailwind/fontFamily.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/docs/tailwind/fontFamily.cjs -------------------------------------------------------------------------------- /docs/tailwind/layouts.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/docs/tailwind/layouts.cjs -------------------------------------------------------------------------------- /docs/tailwind/typography.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/docs/tailwind/typography.cjs -------------------------------------------------------------------------------- /docs/tailwind/vars/_colors.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/docs/tailwind/vars/_colors.cjs -------------------------------------------------------------------------------- /docs/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/docs/tsconfig.json -------------------------------------------------------------------------------- /netlify.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/netlify.toml -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/package.json -------------------------------------------------------------------------------- /tailwind-layouts/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/tailwind-layouts/README.md -------------------------------------------------------------------------------- /tailwind-layouts/lib/base/measure.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/tailwind-layouts/lib/base/measure.ts -------------------------------------------------------------------------------- /tailwind-layouts/lib/base/scrollbar.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/tailwind-layouts/lib/base/scrollbar.ts -------------------------------------------------------------------------------- /tailwind-layouts/lib/constants.ts: -------------------------------------------------------------------------------- 1 | export const PLUGIN_NAMESPACE = 'layouts' 2 | -------------------------------------------------------------------------------- /tailwind-layouts/lib/helpers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/tailwind-layouts/lib/helpers.ts -------------------------------------------------------------------------------- /tailwind-layouts/lib/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/tailwind-layouts/lib/main.ts -------------------------------------------------------------------------------- /tailwind-layouts/lib/options.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/tailwind-layouts/lib/options.ts -------------------------------------------------------------------------------- /tailwind-layouts/lib/theme.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/tailwind-layouts/lib/theme.ts -------------------------------------------------------------------------------- /tailwind-layouts/lib/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/tailwind-layouts/lib/types.ts -------------------------------------------------------------------------------- /tailwind-layouts/lib/utilities/border-hc.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/tailwind-layouts/lib/utilities/border-hc.ts -------------------------------------------------------------------------------- /tailwind-layouts/lib/utilities/layouts/box.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/tailwind-layouts/lib/utilities/layouts/box.ts -------------------------------------------------------------------------------- /tailwind-layouts/lib/utilities/layouts/center.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/tailwind-layouts/lib/utilities/layouts/center.ts -------------------------------------------------------------------------------- /tailwind-layouts/lib/utilities/layouts/cluster.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/tailwind-layouts/lib/utilities/layouts/cluster.ts -------------------------------------------------------------------------------- /tailwind-layouts/lib/utilities/layouts/cover.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/tailwind-layouts/lib/utilities/layouts/cover.ts -------------------------------------------------------------------------------- /tailwind-layouts/lib/utilities/layouts/frame.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/tailwind-layouts/lib/utilities/layouts/frame.ts -------------------------------------------------------------------------------- /tailwind-layouts/lib/utilities/layouts/grid.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/tailwind-layouts/lib/utilities/layouts/grid.ts -------------------------------------------------------------------------------- /tailwind-layouts/lib/utilities/layouts/icon.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/tailwind-layouts/lib/utilities/layouts/icon.ts -------------------------------------------------------------------------------- /tailwind-layouts/lib/utilities/layouts/imposter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/tailwind-layouts/lib/utilities/layouts/imposter.ts -------------------------------------------------------------------------------- /tailwind-layouts/lib/utilities/layouts/reel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/tailwind-layouts/lib/utilities/layouts/reel.ts -------------------------------------------------------------------------------- /tailwind-layouts/lib/utilities/layouts/sidebar.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/tailwind-layouts/lib/utilities/layouts/sidebar.ts -------------------------------------------------------------------------------- /tailwind-layouts/lib/utilities/layouts/stack.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/tailwind-layouts/lib/utilities/layouts/stack.ts -------------------------------------------------------------------------------- /tailwind-layouts/lib/utilities/layouts/switcher.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/tailwind-layouts/lib/utilities/layouts/switcher.ts -------------------------------------------------------------------------------- /tailwind-layouts/lib/utilities/scrollbar.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/tailwind-layouts/lib/utilities/scrollbar.ts -------------------------------------------------------------------------------- /tailwind-layouts/lib/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /tailwind-layouts/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/tailwind-layouts/package.json -------------------------------------------------------------------------------- /tailwind-layouts/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/tailwind-layouts/tsconfig.json -------------------------------------------------------------------------------- /tailwind-layouts/vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atej/tailwind-layouts/HEAD/tailwind-layouts/vite.config.js --------------------------------------------------------------------------------