{"id":19622165,"url":"https://github.com/commercetools/commercetools-sunrise-theme","last_synced_at":"2025-10-16T04:32:21.803Z","repository":{"id":30831848,"uuid":"34389248","full_name":"commercetools/commercetools-sunrise-theme","owner":"commercetools","description":"Sunrise Theme from commercetools","archived":false,"fork":false,"pushed_at":"2024-08-03T00:47:23.000Z","size":43091,"stargazers_count":13,"open_issues_count":73,"forks_count":16,"subscribers_count":88,"default_branch":"master","last_synced_at":"2025-02-25T14:56:08.025Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://commercetools.github.io/commercetools-sunrise-theme/site/en/home.html","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/commercetools.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-04-22T12:33:47.000Z","updated_at":"2024-04-21T23:52:15.000Z","dependencies_parsed_at":"2024-03-21T02:45:07.856Z","dependency_job_id":null,"html_url":"https://github.com/commercetools/commercetools-sunrise-theme","commit_stats":null,"previous_names":[],"tags_count":57,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commercetools%2Fcommercetools-sunrise-theme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commercetools%2Fcommercetools-sunrise-theme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commercetools%2Fcommercetools-sunrise-theme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commercetools%2Fcommercetools-sunrise-theme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/commercetools","download_url":"https://codeload.github.com/commercetools/commercetools-sunrise-theme/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240917722,"owners_count":19878308,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T11:26:23.918Z","updated_at":"2025-10-16T04:32:16.765Z","avatar_url":"https://github.com/commercetools.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Commercetools Sunrise Theme\n\n[![Build Status](https://travis-ci.org/commercetools/commercetools-sunrise-theme.svg?branch=master)](https://travis-ci.org/commercetools/commercetools-sunrise-theme)\n[ ![Download](https://api.bintray.com/packages/commercetools/maven/commercetools-sunrise-theme/images/download.svg) ](https://bintray.com/commercetools/maven/commercetools-sunrise-theme/_latestVersion)\n[![stability-experimental](https://img.shields.io/badge/stability-experimental-orange.svg)](https://github.com/orangemug/stability-badges#experimental)\n[![Stories in Ready](https://badge.waffle.io/commercetools/commercetools-sunrise-theme.png?label=ready\u0026title=Ready)](https://waffle.io/commercetools/commercetools-sunrise-theme)\n\n## Attention\n\nCurrently the templates as well as the CSS and JavaScript files are not ready to be re-used.\n\nDespite of that we recommend to use the project itself to develop your own theme with the current setup, as it provides useful tasks that can help you in the process. For more details, please check the [Commands](#commands) section.\n\n## Demo\n\n- [Home](http://commercetools.github.io/commercetools-sunrise-theme/site/en/home.html) ( [DE](http://commercetools.github.io/commercetools-sunrise-theme/site/de/home.html) )\n- [Product Overview](http://commercetools.github.io/commercetools-sunrise-theme/site/en/pop.html) ( [DE](http://commercetools.github.io/commercetools-sunrise-theme/site/de/pop.html) )\n- [Product Detail](http://commercetools.github.io/commercetools-sunrise-theme/site/en/pdp.html) ( [DE](http://commercetools.github.io/commercetools-sunrise-theme/site/de/pdp.html) )\n- [Cart Detail](http://commercetools.github.io/commercetools-sunrise-theme/site/en/cart.html) ( [DE](http://commercetools.github.io/commercetools-sunrise-theme/site/de/cart.html) )\n- [Checkout Sign In (1/6)](http://commercetools.github.io/commercetools-sunrise-theme/site/en/checkout-signin.html) ( [DE](http://commercetools.github.io/commercetools-sunrise-theme/site/de/checkout-signin.html) )\n- [Checkout Shipping Address (2/6)](http://commercetools.github.io/commercetools-sunrise-theme/site/en/checkout-address.html) ( [DE](http://commercetools.github.io/commercetools-sunrise-theme/site/de/checkout-address.html) )\n- [Checkout Shipping Method (3/6)](http://commercetools.github.io/commercetools-sunrise-theme/site/en/checkout-shipping.html) ( [DE](http://commercetools.github.io/commercetools-sunrise-theme/site/de/checkout-shipping.html) )\n- [Checkout Payment (4/6)](http://commercetools.github.io/commercetools-sunrise-theme/site/en/checkout-payment.html) ( [DE](http://commercetools.github.io/commercetools-sunrise-theme/site/de/checkout-payment.html) )\n- [Checkout Confirmation (5/6)](http://commercetools.github.io/commercetools-sunrise-theme/site/en/checkout-confirmation.html) ( [DE](http://commercetools.github.io/commercetools-sunrise-theme/site/de/checkout-confirmation.html) )\n- [Checkout Thank You (6/6)](http://commercetools.github.io/commercetools-sunrise-theme/site/en/checkout-thankyou.html) ( [DE](http://commercetools.github.io/commercetools-sunrise-theme/site/de/checkout-thankyou.html) )\n- [My Account: Personal Details](http://commercetools.github.io/commercetools-sunrise-theme/site/en/my-account-personal-details.html) ( [DE](http://commercetools.github.io/commercetools-sunrise-theme/site/de/my-account-personal-details.html) )\n- [My Account: Address Book](http://commercetools.github.io/commercetools-sunrise-theme/site/en/my-account-address-book.html) ( [DE](http://commercetools.github.io/commercetools-sunrise-theme/site/de/my-account-address-book.html) )\n- [My Account: New Address](http://commercetools.github.io/commercetools-sunrise-theme/site/en/my-account-new-address.html) ( [DE](http://commercetools.github.io/commercetools-sunrise-theme/site/de/my-account-new-address.html) )\n- [My Account: Edit Address](http://commercetools.github.io/commercetools-sunrise-theme/site/en/my-account-edit-address.html) ( [DE](http://commercetools.github.io/commercetools-sunrise-theme/site/de/my-account-edit-address.html) )\n- [My Account: Payment Details](http://commercetools.github.io/commercetools-sunrise-theme/site/en/my-account-payment-details.html) ( [DE](http://commercetools.github.io/commercetools-sunrise-theme/site/de/my-account-payment-details.html) )\n- [My Account: My Orders](http://commercetools.github.io/commercetools-sunrise-theme/site/en/my-account-my-orders.html) ( [DE](http://commercetools.github.io/commercetools-sunrise-theme/site/de/my-account-my-orders.html) )\n- [My Account: My Orders - Single Order](http://commercetools.github.io/commercetools-sunrise-theme/site/en/my-account-my-orders-order.html) ( [DE](http://commercetools.github.io/commercetools-sunrise-theme/site/de/my-account-my-orders-order.html) )\n- [My Account: Returns / Exchange](http://commercetools.github.io/commercetools-sunrise-theme/site/en/my-account-returns-exchange.html) ( [DE](http://commercetools.github.io/commercetools-sunrise-theme/site/de/my-account-returns-exchange.html) )\n- [My Account: Returns / Exchange - Single Return](http://commercetools.github.io/commercetools-sunrise-theme/site/en/my-account-returns-exchange-order.html) ( [DE](http://commercetools.github.io/commercetools-sunrise-theme/site/de/my-account-returns-exchange-order.html) )\n- [My Account: Wishlist](http://commercetools.github.io/commercetools-sunrise-theme/site/en/my-account-wishlist.html) ( [DE](http://commercetools.github.io/commercetools-sunrise-theme/site/de/my-account-wishlist.html) )\n- [My Account: Login](http://commercetools.github.io/commercetools-sunrise-theme/site/en/my-account-login.html) ( [DE](http://commercetools.github.io/commercetools-sunrise-theme/site/de/my-account-login.html) )\n- [My Account: Change Password](http://commercetools.github.io/commercetools-sunrise-theme/site/en/my-account-change-password.html) ( [DE](http://commercetools.github.io/commercetools-sunrise-theme/site/de/my-account-change-password.html) )\n- [My Account: Forgot Password](http://commercetools.github.io/commercetools-sunrise-theme/site/en/my-account-forgot-password.html) ( [DE](http://commercetools.github.io/commercetools-sunrise-theme/site/de/my-account-forgot-password.html) )\n- [My Account: Reset Password](http://commercetools.github.io/commercetools-sunrise-theme/site/en/my-account-reset-password.html) ( [DE](http://commercetools.github.io/commercetools-sunrise-theme/site/de/my-account-reset-password.html) )\n- [Confirmation Email](http://commercetools.github.io/commercetools-sunrise-theme/site/en/confirmation-email.html) ( [DE](http://commercetools.github.io/commercetools-sunrise-theme/site/de/confirmation-email.html) )\n- [Dispatch Email](http://commercetools.github.io/commercetools-sunrise-theme/site/en/dispatch-email.html) ( [DE](http://commercetools.github.io/commercetools-sunrise-theme/site/de/dispatch-email.html) )\n- [Registration Email](http://commercetools.github.io/commercetools-sunrise-theme/site/en/registration-email.html) ( [DE](http://commercetools.github.io/commercetools-sunrise-theme/site/de/registration-email.html) )\n- [Password Reset Email](http://commercetools.github.io/commercetools-sunrise-theme/site/en/password-reset-email.html) ( [DE](http://commercetools.github.io/commercetools-sunrise-theme/site/de/password-reset-email.html) )\n- [No Search Result](http://commercetools.github.io/commercetools-sunrise-theme/site/en/no-search-result.html) ( [DE](http://commercetools.github.io/commercetools-sunrise-theme/site/de/no-search-result.html) )\n- [Mix \u0026 Match](http://commercetools.github.io/commercetools-sunrise-theme/site/en/mix-match.html) ( [DE](http://commercetools.github.io/commercetools-sunrise-theme/site/de/mix-match.html) )\n- [Contact Form](http://commercetools.github.io/commercetools-sunrise-theme/site/en/contact-form.html) ( [DE](http://commercetools.github.io/commercetools-sunrise-theme/site/de/contact-form.html) )\n- [Reserve in Store](http://commercetools.github.io/commercetools-sunrise-theme/site/en/reserve-in-store.html) ( [DE](http://commercetools.github.io/commercetools-sunrise-theme/site/de/reserve-in-store.html) )\n- [Store Finder](http://commercetools.github.io/commercetools-sunrise-theme/site/en/store-finder.html) ( [DE](http://commercetools.github.io/commercetools-sunrise-theme/site/de/store-finder.html) )\n- [FAQ Page](http://commercetools.github.io/commercetools-sunrise-theme/site/en/faq.html) ( [DE](http://commercetools.github.io/commercetools-sunrise-theme/site/de/faq.html) )\n- [Imprint Page](http://commercetools.github.io/commercetools-sunrise-theme/site/en/imprint.html) ( [DE](http://commercetools.github.io/commercetools-sunrise-theme/site/de/imprint.html) )\n\n## Installation\n\n- Install [Node.js](https://nodejs.org/) and [NPM](https://www.npmjs.com/)\n- Install [Sass](http://sass-lang.com/install)\n- Install [Grunt](http://gruntjs.com/getting-started)\n- Run `npm install` in the project root to install the project dependencies\n\n## How to use\n\nYou can import the theme to your project as a [WebJars](http://www.webjars.org/) dependency.\n\nAll releases for this theme can be found in a Maven repository hosted by [Bintray](https://bintray.com/):\n- `\u003e= v0.58.0`: https://dl.bintray.com/commercetools/maven/com/commercetools/sunrise/commercetools-sunrise-theme/\n- `\u003c v0.58.0`: https://dl.bintray.com/commercetools/maven/io/commercetools/sunrise/commercetools-sunrise-theme/\n\n## How to develop\n\n[Duplicate](https://help.github.com/articles/duplicating-a-repository/) the repository and adapt `package.json` to create your own theme.\n\nSet it up as explained in the _[Installation](#installation)_ section, then apply your modifications as follows:\n\n1. Run `grunt`\n2. Modify the source files located in `input/` folder\n3. Check your changes by accessing the desired HTML file generated in the `output/` folder\n4. Once ready, enable the theme in your Sunrise project following one of the methods described in _[Create WebJars file](#create-webjars-file)_\n\n### Commands\n\nBesides `grunt`, which builds the whole generated site (`grunt build`) and watches for changes, there are other commands available. Below are listed a non-exhaustive list of them.\n\nNotice you can always add `--verbose` and/or `--debug` to any command in order to obtain more information.\n\n#### Generate HTML Site\n\nBuild the site for your theme and access the HTML files to see how it looks like.\n\n- `grunt build` to build the whole generated site\n\n- `grunt build-images` to build only images\n\n- `grunt build-assets` to build only CSS, JS and font files\n\n- `grunt build-templates` to build only i18n and HBS files, besides generating the HTML files from the Handlebars templates and the JSON data\n\n- `grunt build-release` behaves exactly as `build`, but additionally it fingerprints all web assets\n\nBuilding the generated site also performs these tasks:\n- Compiles [Sass](http://sass-lang.com/) to CSS files\n- Minifies CSS and JS files\n- Adds vendor-prefixed CSS properties with [Autoprefixer](https://github.com/postcss/autoprefixer)\n- Compresses any PNG, JPG, GIF and SVG image file with [Imagemin](https://github.com/imagemin/imagemin)\n\n#### Create WebJars File\n\nCreate a WebJars file from this theme and apply it to any [Sunrise Java](https://github.com/commercetools/commercetools-sunrise-java) project. There are three possible ways to achieve this:\n\n- `grunt build-webjar` to create the WebJar in the root directory of the project, so that you can apply it by placing the generated JAR file in the folder for unmanaged dependencies of your Sunrise project (i.e. `lib/` is the default folder for Sunrise)\n\n- `grunt install-webjar` to install the current snapshot version to your local maven repository (`~/.m2/repository/com/commercetools/sunrise/commercetools-sunrise-theme`) and apply it to your project as a dependency from a local environment\n\n- `grunt release-webjar` to release the current version to a remote Maven repository and move to the next development version, this way you could publicly distribute your theme and let anyone apply it to their Sunrise application as a project dependency (requires that you set up `config.maven` in `package.json` accordingly to your remote Maven repository)\n\n#### Publish to GitHub Pages\n\nPublish the generated `output/` folder to [GitHub Pages](https://pages.github.com/), so that you can easily access and share the generated HTML files of your theme, as well as all other files.\n\n- `grunt publish` to publish the generated site to GitHub Pages (requires that you set up `config.github` in `package.json` accordingly to your GitHub repository and that an environmental variable `GH_TOKEN` is provided containing a [GitHub Access Token](https://help.github.com/articles/creating-an-access-token-for-command-line-use/))\n\nIf you want to publish to GitHub Pages each time your theme changes, all you need to do is enable [Travis CI](https://travis-ci.org/) for your project and define the environment variable `GH_TOKEN` as explained in the [Travis CI Documentation](https://docs.travis-ci.com/user/environment-variables).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcommercetools%2Fcommercetools-sunrise-theme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcommercetools%2Fcommercetools-sunrise-theme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcommercetools%2Fcommercetools-sunrise-theme/lists"}