{"id":18645620,"url":"https://github.com/fliplet/fliplet-theme-default","last_synced_at":"2025-04-11T12:31:27.424Z","repository":{"id":21880745,"uuid":"82213221","full_name":"Fliplet/fliplet-theme-default","owner":"Fliplet","description":"The default theme for Fliplet Apps.","archived":false,"fork":false,"pushed_at":"2025-04-08T09:04:43.000Z","size":1748,"stargazers_count":0,"open_issues_count":5,"forks_count":15,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-08T10:22:40.157Z","etag":null,"topics":["bootstrap","theme"],"latest_commit_sha":null,"homepage":"","language":"SCSS","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/Fliplet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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":"2017-02-16T18:34:50.000Z","updated_at":"2025-03-30T09:05:10.000Z","dependencies_parsed_at":"2024-04-12T11:24:14.337Z","dependency_job_id":"beef6f67-7f75-40cb-9d39-f94915e7ab1a","html_url":"https://github.com/Fliplet/fliplet-theme-default","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fliplet%2Ffliplet-theme-default","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fliplet%2Ffliplet-theme-default/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fliplet%2Ffliplet-theme-default/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fliplet%2Ffliplet-theme-default/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Fliplet","download_url":"https://codeload.github.com/Fliplet/fliplet-theme-default/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248401955,"owners_count":21097328,"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":["bootstrap","theme"],"created_at":"2024-11-07T06:16:39.733Z","updated_at":"2025-04-11T12:31:26.918Z","avatar_url":"https://github.com/Fliplet.png","language":"SCSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fliplet Default Theme (Fliplet Theme)\n\nTo develop themes, please follow our [theme development guide](https://github.com/Fliplet/fliplet-cli).\n\n---\n\nInstall dependencies:\n\n```\n$ npm install fliplet-cli -g\n```\n\n---\n\nClone and run for development:\n\n```\n$ git clone https://github.com/Fliplet/fliplet-theme-default.git\n$ cd fliplet-theme-default\n\n$ fliplet run\n```\n\n## Understanding theme.json structure\nFliplet themes are mainly SCSS files and a .json file that defines the variables to be used in the SCSS, and their default values.\nBelow is a quick description of the .json file:\n\n`name`: Theme name  \n`package`: A unique name that should have a prefix of `com.fliplet.`  \n`version`: The version of the theme  \n`icon`: The relative path to the icon image\n`dependencies`: An array of package names\n`assets`: An array of relative paths of the assets required to load the theme\n`settings`: An object with the `configuration` array containing all the fields of the theme\n\n## Understanding theme fields structure\n```js\n\"configuration\": [ // Array with the entire theme configuration\n  {\n    \"name\": \"Primary button\", // Name of the component or group of settings\n    \"packages\": [\"com.fliplet.primary-button\"], // Use this key if the fields can be used to customize a Fliplet component\n    \"variables\": [ // Array of all the fields in the group\n      {\n        \"description\": \"Button\", // The label name before the fields\n        \"fields\": [ // Array of fields below the label\n          {\n            \"name\": \"primaryButtonWidth\", // Variable name used in the SCSS\n            \"default\": \"100%\", // Default value\n            \"property\": \"%\", // Defines the unit of the default value. This is only used in the field type 'size'\n            \"isFullRow\": true, // Makes the field full width. The default is inline items\n            \"breakpoints\": { // Object that defines the variables for Tablet and Desktop breakpoints\n              \"tablet\": {\n                \"name\": \"primaryButtonWidthTablet\", // Variable name used in the SCSS\n                \"default\": \"auto\", // Default value\n                \"property\": \"px\" // Defines the unit of the default value. This is only used in the field type \"size\"\n              },\n              \"desktop\": {\n                \"name\": \"primaryButtonWidthDesktop\", // Variable name used in the SCSS\n                \"default\": \"inherit-tablet\", // Default value\n                \"property\": \"px\" // Defines the unit of the default value. This is only used in the field type \"size\"\n              }\n            },\n            \"type\": \"size\", // The type of field. All types that we support: 'align', 'background', 'border-style', 'color', 'font', 'font-style', 'image', 'margin-align', 'select', 'size'\n            \"label\": \"Size\", // Small label/description that appears next to the field\n            \"properties\": [\"px\", \"pt\", \"em\", \"rem\", \"%\", \"auto\"] // Array of possible choices for a dropdown field. This is only available of the following fields: 'font-style', 'select', 'size'\n          }\n        ]\n      }\n    ]\n  }\n]\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffliplet%2Ffliplet-theme-default","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffliplet%2Ffliplet-theme-default","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffliplet%2Ffliplet-theme-default/lists"}