{"id":21002519,"url":"https://github.com/pimatic/jqmthemer","last_synced_at":"2025-07-12T17:37:25.764Z","repository":{"id":24804836,"uuid":"28218926","full_name":"pimatic/jqmthemer","owner":"pimatic","description":"jqmthemer","archived":false,"fork":false,"pushed_at":"2015-01-10T19:53:38.000Z","size":160,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-24T19:23:05.068Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CoffeeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"digitickets/omnipay-global-iris","license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pimatic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-12-19T07:21:55.000Z","updated_at":"2015-01-10T19:53:38.000Z","dependencies_parsed_at":"2022-08-23T07:10:52.183Z","dependency_job_id":null,"html_url":"https://github.com/pimatic/jqmthemer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pimatic/jqmthemer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pimatic%2Fjqmthemer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pimatic%2Fjqmthemer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pimatic%2Fjqmthemer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pimatic%2Fjqmthemer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pimatic","download_url":"https://codeload.github.com/pimatic/jqmthemer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pimatic%2Fjqmthemer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263792978,"owners_count":23512320,"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-19T08:18:59.772Z","updated_at":"2025-07-12T17:37:25.741Z","avatar_url":"https://github.com/pimatic.png","language":"CoffeeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"jqmthemer\n===========\n\nTheme a jQuery Mobile theme css file, by replacing css values by its variable names.\n\nUsage\n-----\n\nCreate a theme file:\n\n```coffee\ntheme = {\n  'name': 'classic'\n  'css': [\n    \"app/css/themes/default/jquery.mobile.inline-svg-1.4.2.css\",\n    \"app/css/themes/default/jquery.mobile.structure-1.4.2.css\" \n  ],\n  'extraCss': [\n    'themes/jqm/classic.css'\n  ]\n}\ntheme.variables = {\n  'a-bar-background-color': '#e9e9e9'\n}\nmodule.exports = theme\n```\n\nand apply it:\n\n```coffee\njqmthemer = require 'jqmthemer'\n\ntheme = require(themeFile)\ncss = fs.readFileSync(cssfile)\nthemedCss = jqmthemer.themeCss(theme, css)\n```\n\nYou can find some example theme files [here](https://github.com/pimatic/pimatic-mobile-frontend/tree/master/themes).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpimatic%2Fjqmthemer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpimatic%2Fjqmthemer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpimatic%2Fjqmthemer/lists"}