This is the theme for Oddit Starter Theme.
- Create a new branch called
developfrommain. e.g.git checkout -b develop - Make sure to rebase with
mainbefore creating a PR. - Create a PR and add ryansilva as a reviewer.
- Create a new branch from
mainfor each page. e.g.git checkout -b feature-branch-name - Make sure to rebase with
mainbefore creating a PR. - Create a PR and add ryansilva as a reviewer.
- Make sure to install the Prettier VS Code extension.
- Make sure to install the Shopify Liquid extension.
- Make sure you have Shopify CLI installed.
- Make sure you have Tailwind CSS installed globally:
npm install -g tailwindcssUse Shopify CLI to start a local development server:
shopify theme dev --store oddit-starter-themeIn a separate terminal window, run the following command to watch and compile Tailwind CSS:
npx tailwind -i tw-input.css -o ./assets/_custom.css --watch --minify- We use
tw-prefix for all custom Tailwind CSS classes. - The
tw-input.cssfile is the source of truth for Tailwind CSS. All changes should be made in this file and then will be compiled to_custom.css. - Look at the
tailwind.config.jsfile to see the color and font definitions. Feel free to add/update new colors or fonts there.