{"id":16432802,"url":"https://github.com/teles/frontpress-starter-theme","last_synced_at":"2025-10-18T02:48:48.802Z","repository":{"id":144746710,"uuid":"79604427","full_name":"teles/frontpress-starter-theme","owner":"teles","description":"Default css theme for FrontPress","archived":false,"fork":false,"pushed_at":"2017-02-14T01:09:29.000Z","size":32,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-17T21:06:38.183Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CSS","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/teles.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-01-20T22:06:17.000Z","updated_at":"2017-02-04T01:40:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"7fde21c7-7ac0-42c3-aab6-352d97a7e076","html_url":"https://github.com/teles/frontpress-starter-theme","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teles%2Ffrontpress-starter-theme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teles%2Ffrontpress-starter-theme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teles%2Ffrontpress-starter-theme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teles%2Ffrontpress-starter-theme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/teles","download_url":"https://codeload.github.com/teles/frontpress-starter-theme/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240690138,"owners_count":19841949,"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-10-11T08:44:23.857Z","updated_at":"2025-10-18T02:48:48.718Z","avatar_url":"https://github.com/teles.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"## FrontPress Starter Theme\n\n![frontpress-logo-horizontal](https://cloud.githubusercontent.com/assets/762639/21735541/ca6f11ce-d451-11e6-88ae-291b3f82c931.png)\n\nThis project aims to create a initial/default/starter theme for [FrontPress](http://www.github.com/frontpressorg/frontpress).\n\nIn the moment when I start this project I don't know yet how will the themes be installed in FrontPress, but I took the decision to create myself a css and customize html for FrontPress.\n\n### Requirements\n\nThere are some requirements for this project.\n\n#### SASS/CSS needs to:\n\n* Be mobile first;\n* Use BEM structure for class names;\n* Have well defined colors scheme like [this one](https://github.com/teles/nes-palette/tree/master/sass)\n* Have well defined spacing structure like [this one](https://github.com/teles/teles.github.io/blob/master/_sass/helpers/_spacing.sass)\n* Use display flex;\n* Have components to make sure some images will be square;\n* Have an easy to change color definitions;\n* Have a well defined typography, from h1 to h6 and links;\n* Use well defined media query map and functions;\n* Use cards for posts list;\n\n### HTML needs to:\n\n* Use some basic schema.org just like Website;\n* Use html5 tags such as header and nav;\n* Do not be so different from today's FrontPress basic html;\n\n\n### Proposal to use this theme in FrontPress:\n\nThe first idea to include themes in FrontPress is using `$FrontPressProvider` to include them in this following way:\n\n\n```javascript\nangular.module('myBlog').config(function($FrontPressProvider){\n\n\t$FrontPressProvider.configure.load({\n\t\t\"restApiUrl\": \"https://demo.wp-api.org/wp-json\",\n\t\t\"apiVersion\": \"v2\",\n\t\t\"pageSize\": 5,\n\t\t\"infiniteScroll\": true,\n\t\t\"routes\": {\n\t\t\t\"post\": \"/:postYear/:postMonth/:postDay/:postSlug\",\n\t\t\t\"home.pagination\": \"/page/:pageNumber\"\n\t\t},\n\t\t\"titles\": {\n\t\t\t\"post\": \":postTitle - :siteName\",\n\t\t\t\"home\": \"Home - :siteName\"\n\t\t},\n\t\t\"overrides\": {\n\t\t\t\"siteName\": \"My Awesome SPA Blog\"\n\t\t},\n\t\t\"theme\": {\n\t\t\t\"name\": \"Started Theme\",\n\t\t\t\"cssPaths\": [\"css/starter-theme.css\"],\n\t\t\t\"templateCachePath\": \"js/starter-theme.template-cache.js\",\n\t\t\t\"options\": {\n\t\t\t\t\"useFourColumnLayout\": true,\n\t\t\t\t\"primaryColor\": \"pink\",\n\t\t\t\t\"accentColor\": \"blue\"\n\t\t\t}\n\t\t}\n\t});\n\t\n});\n\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteles%2Ffrontpress-starter-theme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fteles%2Ffrontpress-starter-theme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteles%2Ffrontpress-starter-theme/lists"}