{"id":21430123,"url":"https://github.com/cuba-platform/helium-theme","last_synced_at":"2025-03-16T21:44:48.514Z","repository":{"id":85315511,"uuid":"244389577","full_name":"cuba-platform/helium-theme","owner":"cuba-platform","description":"Modern configurable theme for CUBA applications","archived":false,"fork":false,"pushed_at":"2023-05-26T12:37:00.000Z","size":412,"stargazers_count":5,"open_issues_count":8,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-23T08:19:31.290Z","etag":null,"topics":["cuba-component","cuba-platform","theme"],"latest_commit_sha":null,"homepage":"","language":"SCSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cuba-platform.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2020-03-02T14:20:40.000Z","updated_at":"2024-02-20T02:40:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"4e0e7cf0-7d9c-452d-baaa-def5c99ff1c6","html_url":"https://github.com/cuba-platform/helium-theme","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuba-platform%2Fhelium-theme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuba-platform%2Fhelium-theme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuba-platform%2Fhelium-theme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuba-platform%2Fhelium-theme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cuba-platform","download_url":"https://codeload.github.com/cuba-platform/helium-theme/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243940063,"owners_count":20372044,"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":["cuba-component","cuba-platform","theme"],"created_at":"2024-11-22T22:20:54.055Z","updated_at":"2025-03-16T21:44:48.479Z","avatar_url":"https://github.com/cuba-platform.png","language":"SCSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Helium Theme\n\n![teaser](img/teaser.png)\n\n## Overview\n\nDesigned from scratch, Helium theme provides a modern look and feel and customization capabilities. Main features:\n\n### Color Presets\n\nCSS variables are used for colors. As a result, it's possible to apply different color presets on the fly, \nwithout theme recompilation and app restart. There are two color presets provided out of the box - light and dark.\n\nTo manage presets available for end-users modify the following properties in `web-app.properties`\n```\ncuba.theme.helium.modes = light|dark\ncuba.theme.helium.defaultModeToUse = light\n```\nAlso, you can create your own color presets using the online theme editor (see below).\n\n### Size Presets\n\nThere are three built-in presets for size: small, medium and large:\n\nSimilarly to the colors presets, you can modify presets for sizes in `web-app.properties` via the following properties:\n```\ncuba.theme.helium.sizes = small|medium|large\ncuba.theme.helium.defaultSizeToUse = medium\n```\n\n### Per-user settings\n\nA user can set the desired color and size preset in settings screen (`Help \u003e Theme Settings`). There is the `helium-theme-minimal` role that enables access to the settings screen.\n\n## Installation\n\n[Install](https://doc.cuba-platform.com/studio/) add-on from marketplace or by the following coordinates, using CUBA Studio:\n\n`com.haulmont.addon.helium:helium-global:\u003cversion\u003e`\n\nPick a version which is compatible with the platform version used in your project:\n\n| Platform Version | Add-on Version |\n| ---------------- | -------------- |\n| 7.2.4+           | 0.4.x          |\n| 7.1.5+           | 0.1.x          |\n\n## Theme Editor\n\n[Theme editor](https://demo10.cuba-platform.com/helium-editor/) allows you to easily create custom color presets.\n\n### Applying Custom Color Preset\n\nTo add a color preset you will need to extend the Helium theme. You can easily do it in [Studio](https://doc.cuba-platform.com/studio/#generic_ui_themes): in the main menu click CUBA \u003e Advanced \u003e Manage Themes \u003e Create Theme Extension. Select helium in the dropdown.\n\nOnce theme extension is created, place generated CSS variables in `helium-ext.scss` file, e.g.:\n\n```scss\n@mixin com_company_demo-helium-ext {\n  /* Basic */\n  --primary-color: #0097D8;\n  --primary-color_rgb: 0, 151, 216;\n\n  /* Common */\n  --primary-color-shade-1: #0084BD;\n  --primary-color-shade-2: #0076A8;\n  --primary-dim-color: #2EC0FF;\n\n  \u0026.dark {\n    /* Common */\n    --primary-dim-color: #195b7c;\n  }\n}\n``` \n\n## Browser Compatibility\n\nHelium works in the latest versions of modern browsers that support [CSS variables](https://caniuse.com/#feat=css-variables).\nIE 11 is not supported out of the box since it does not support CSS variables. It is possible to use [polyfill](https://github.com/nuxodin/ie11CustomProperties) for IE 11, however, it is not tested and may cause performance issues \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcuba-platform%2Fhelium-theme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcuba-platform%2Fhelium-theme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcuba-platform%2Fhelium-theme/lists"}