{"id":24755249,"url":"https://github.com/katzer/senchatouch-windowsphone-fontface","last_synced_at":"2026-04-13T16:35:35.162Z","repository":{"id":12302469,"uuid":"14933481","full_name":"katzer/senchatouch-windowsphone-fontface","owner":"katzer","description":"@font-face replacement for Sencha Touch on Windows Phone","archived":false,"fork":false,"pushed_at":"2015-06-04T08:09:39.000Z","size":152,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-23T06:13:51.255Z","etag":null,"topics":["font-face","sencha-touch","windows-phone"],"latest_commit_sha":null,"homepage":"","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/katzer.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":"2013-12-04T19:27:18.000Z","updated_at":"2019-08-21T12:36:03.000Z","dependencies_parsed_at":"2022-08-02T15:46:06.298Z","dependency_job_id":null,"html_url":"https://github.com/katzer/senchatouch-windowsphone-fontface","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/katzer/senchatouch-windowsphone-fontface","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katzer%2Fsenchatouch-windowsphone-fontface","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katzer%2Fsenchatouch-windowsphone-fontface/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katzer%2Fsenchatouch-windowsphone-fontface/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katzer%2Fsenchatouch-windowsphone-fontface/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/katzer","download_url":"https://codeload.github.com/katzer/senchatouch-windowsphone-fontface/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katzer%2Fsenchatouch-windowsphone-fontface/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31761986,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T15:25:13.801Z","status":"ssl_error","status_checked_at":"2026-04-13T15:25:09.162Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["font-face","sencha-touch","windows-phone"],"created_at":"2025-01-28T12:37:56.190Z","updated_at":"2026-04-13T16:35:35.130Z","avatar_url":"https://github.com/katzer.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"senchatouch-windowsphone-fontface\n=================================\n\nWindows Phone does not allow to specify @font-faces if the page was loaded via file: protocol, e.g if the page is hosted locally on the phone itself.\n\nSince [Sencha Touch](http://www.sencha.com/forum/showthread.php?261159-ST2.2RC-WP8-Cordova-icon-font-not-shown) uses @font-faces to display icons, only the content letter will be visible on Windows Phone.\n\nAs the only workaround all icons has to be loaded as background images instead.\n\n#### Windows Phone 8.1\nThe issue has been resolved with Windows Phone 8.1 and IE11.\n\n## Sass configuration\n#### 1. Exclude pictos font and default icons\n```scss\n$include-pictos-font: false;\n$include-default-icons: false;\n```\n#### 2. Import the variables for windows\n```scss\n@import \"sencha-touch/windows\";\n@import \"sencha-touch/default\";\n```\n#### 3. Import the mixin\n```scss\n@import \"stylesheets/mixins/windowsphone-icon\";\n```\n#### 4. Include the icons you need\n```scss\n@include windowsphone-icon(\"home\", \"icons/home.png\");\n@include windowsphone-icon(\"star\", \"icons/star.png\", \"icons/star_active.png\");\n```\n\n## Sass mixin\n```scss\n@mixin windowsphone-icon($name, $icon, $active-icon: null) {\n\t.x-tab .x-button-icon.#{$name}:before,\n\t.x-button .x-button-icon.#{$name}:before {\n\t\tcontent: none;\n\t}\n\n\t.x-tab .x-button-icon.#{$name} {\n\t\tbackground-size: 65%;\n\t\tbackground-position: 6px 6px;\n\t}\n\n\t.x-button-icon.#{$name} {\n\t\tbackground-image: theme_image(\"../../../../resources/\", #{$icon});\n\t\tbackground-repeat: no-repeat;\n\t\tbackground-size: contain;\n\t}\n\n\t@if $active-icon != null {\n\t\t.x-tab-active .x-button-icon.#{$name},\n\t\t.x-tab-pressed .x-button-icon.#{$name},\n\t\t.x-button-pressing .x-button-icon.#{$name} {\n\t\t\tbackground-image: theme_image(\"../../../../resources/\", #{$active-icon});\n\t\t}\n\t}\n}\n```\n\n## License\n\nThis source code is released under the [MIT License](http://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkatzer%2Fsenchatouch-windowsphone-fontface","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkatzer%2Fsenchatouch-windowsphone-fontface","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkatzer%2Fsenchatouch-windowsphone-fontface/lists"}