{"action":"created","comment":{"url":"https://api.github.com/repos/valantic/vue-template/pulls/comments/183243979","pull_request_review_id":114207864,"id":183243979,"diff_hunk":"@@ -0,0 +1,164 @@\n+<!-- This component has no <template> because of dynamic root element -->\n+\n+<script>\n+  export default {\n+    name: 'e-heading',\n+    // components: {},\n+    // mixins: [],\n+\n+    props: {\n+      /**\n+       * Defines the color of the heading (h1-h6)\n+       */\n+      color: {\n+        type: String,\n+        default: 'blue',\n+        validator(value) {\n+          return [\n+            'blue',\n+            'green',\n+            'darkgrey',\n+          ].includes(value);\n+        },\n+      },\n+\n+      /**\n+       * Defines the level of the heading (h1-h6)\n+       */\n+      level: {\n+        type: String,\n+        required: true,\n+      },\n+\n+      /**\n+       * Defines if the heading should have an underline\n+       */\n+      underline: {\n+        type: Boolean,\n+        default: null,\n+      },\n+\n+      /**\n+       * Defines the font weight\n+       */\n+      weight: {\n+        type: String,\n+        default: null,\n+        validator(value) {\n+          return [\n+            'normal',\n+            'semibold',\n+            'bold',\n+          ].includes(value);\n+        },\n+      },\n+    },\n+\n+    // computed: {},\n+    // watch: {},\n+\n+    // beforeCreate() {},\n+    // created() {},\n+    // beforeMount() {},\n+    // mounted() {},\n+    // beforeUpdate() {},\n+    // updated() {},\n+    // activated() {},\n+    // deactivated() {},\n+    // beforeDestroy() {},\n+    // destroyed() {},\n+\n+    // methods: {},\n+\n+    /**\n+     * Creates a heading element\n+     *\n+     * @param   {function}    createElement   Vue helper\n+     *\n+     * @returns {*}\n+     */\n+    render(createElement) {\n+      const element = this.$props.level;\n+      const attributes = {\n+        class: this.b({\n+          color: this.$props.color,\n+          underline: this.$props.underline === 'true',\n+          weight: this.$props.weight,\n+        }),\n+        attrs: {\n+\n+        },\n+      };\n+\n+      return createElement(\n+        element,\n+        attributes,\n+        this.$slots.default,\n+      );\n+    },\n+  };\n+</script>\n+\n+<style lang=\"scss\">\n+  .e-heading {\n+    font-family: \"Source Sans Pro\", sans-serif;\n+    font-weight: normal;\n+    color: $color-secondary--1;\n+    letter-spacing: 2.03px;\n+    line-height: 23px;\n+\n+    &.e-heading--weight-normal {\n+      font-weight: normal;\n+    }\n+\n+    &.e-heading--weight-semibold {\n+      font-weight: 600;\n+    }\n+\n+    &.e-heading--weight-bold {\n+      font-weight: bold;\n+    }\n+\n+    &.e-heading--underline {\n+      text-decoration: underline;\n+    }\n+\n+    &.e-heading--color-blue {\n+      color: $color-secondary--1;\n+    }\n+\n+    &.e-heading--color-darkgrey {\n+      color: $color-grayscale--200;\n+    }\n+\n+    &.e-heading--color-green {\n+      color: $color-secondary--3;\n+    }\n+  }\n+\n+  h1.e-heading {\n+    font-size: 18px;","path":"app/components/e-heading.vue","position":140,"original_position":140,"commit_id":"29d242cdae50f53d77664589960c63ba0827161e","original_commit_id":"29d242cdae50f53d77664589960c63ba0827161e","user":{"login":"geroldboehler","id":20436842,"avatar_url":"https://avatars2.githubusercontent.com/u/20436842?v=4","gravatar_id":"","url":"https://api.github.com/users/geroldboehler","html_url":"https://github.com/geroldboehler","followers_url":"https://api.github.com/users/geroldboehler/followers","following_url":"https://api.github.com/users/geroldboehler/following{/other_user}","gists_url":"https://api.github.com/users/geroldboehler/gists{/gist_id}","starred_url":"https://api.github.com/users/geroldboehler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geroldboehler/subscriptions","organizations_url":"https://api.github.com/users/geroldboehler/orgs","repos_url":"https://api.github.com/users/geroldboehler/repos","events_url":"https://api.github.com/users/geroldboehler/events{/privacy}","received_events_url":"https://api.github.com/users/geroldboehler/received_events","type":"User","site_admin":false},"body":"Please use sass variables","created_at":"2018-04-22T17:13:39Z","updated_at":"2018-04-22T17:32:49Z","html_url":"https://github.com/valantic/vue-template/pull/14#discussion_r183243979","pull_request_url":"https://api.github.com/repos/valantic/vue-template/pulls/14","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/valantic/vue-template/pulls/comments/183243979"},"html":{"href":"https://github.com/valantic/vue-template/pull/14#discussion_r183243979"},"pull_request":{"href":"https://api.github.com/repos/valantic/vue-template/pulls/14"}}},"pull_request":{"url":"https://api.github.com/repos/valantic/vue-template/pulls/14","id":183282221,"html_url":"https://github.com/valantic/vue-template/pull/14","diff_url":"https://github.com/valantic/vue-template/pull/14.diff","patch_url":"https://github.com/valantic/vue-template/pull/14.patch","issue_url":"https://api.github.com/repos/valantic/vue-template/issues/14","number":14,"state":"open","locked":false,"title":"Feature/WF 458 e heading","user":{"login":"boehlerlukas","id":5601888,"avatar_url":"https://avatars3.githubusercontent.com/u/5601888?v=4","gravatar_id":"","url":"https://api.github.com/users/boehlerlukas","html_url":"https://github.com/boehlerlukas","followers_url":"https://api.github.com/users/boehlerlukas/followers","following_url":"https://api.github.com/users/boehlerlukas/following{/other_user}","gists_url":"https://api.github.com/users/boehlerlukas/gists{/gist_id}","starred_url":"https://api.github.com/users/boehlerlukas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boehlerlukas/subscriptions","organizations_url":"https://api.github.com/users/boehlerlukas/orgs","repos_url":"https://api.github.com/users/boehlerlukas/repos","events_url":"https://api.github.com/users/boehlerlukas/events{/privacy}","received_events_url":"https://api.github.com/users/boehlerlukas/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-04-22T16:43:09Z","updated_at":"2018-04-22T17:32:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"83269bb8d32d079094f3a7fea280e337ab5432b7","assignee":{"login":"geroldboehler","id":20436842,"avatar_url":"https://avatars2.githubusercontent.com/u/20436842?v=4","gravatar_id":"","url":"https://api.github.com/users/geroldboehler","html_url":"https://github.com/geroldboehler","followers_url":"https://api.github.com/users/geroldboehler/followers","following_url":"https://api.github.com/users/geroldboehler/following{/other_user}","gists_url":"https://api.github.com/users/geroldboehler/gists{/gist_id}","starred_url":"https://api.github.com/users/geroldboehler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geroldboehler/subscriptions","organizations_url":"https://api.github.com/users/geroldboehler/orgs","repos_url":"https://api.github.com/users/geroldboehler/repos","events_url":"https://api.github.com/users/geroldboehler/events{/privacy}","received_events_url":"https://api.github.com/users/geroldboehler/received_events","type":"User","site_admin":false},"assignees":[{"login":"geroldboehler","id":20436842,"avatar_url":"https://avatars2.githubusercontent.com/u/20436842?v=4","gravatar_id":"","url":"https://api.github.com/users/geroldboehler","html_url":"https://github.com/geroldboehler","followers_url":"https://api.github.com/users/geroldboehler/followers","following_url":"https://api.github.com/users/geroldboehler/following{/other_user}","gists_url":"https://api.github.com/users/geroldboehler/gists{/gist_id}","starred_url":"https://api.github.com/users/geroldboehler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geroldboehler/subscriptions","organizations_url":"https://api.github.com/users/geroldboehler/orgs","repos_url":"https://api.github.com/users/geroldboehler/repos","events_url":"https://api.github.com/users/geroldboehler/events{/privacy}","received_events_url":"https://api.github.com/users/geroldboehler/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/valantic/vue-template/pulls/14/commits","review_comments_url":"https://api.github.com/repos/valantic/vue-template/pulls/14/comments","review_comment_url":"https://api.github.com/repos/valantic/vue-template/pulls/comments{/number}","comments_url":"https://api.github.com/repos/valantic/vue-template/issues/14/comments","statuses_url":"https://api.github.com/repos/valantic/vue-template/statuses/29d242cdae50f53d77664589960c63ba0827161e","head":{"label":"valantic:feature/WF-458_e-heading","ref":"feature/WF-458_e-heading","sha":"29d242cdae50f53d77664589960c63ba0827161e","user":{"login":"valantic","id":37074558,"avatar_url":"https://avatars1.githubusercontent.com/u/37074558?v=4","gravatar_id":"","url":"https://api.github.com/users/valantic","html_url":"https://github.com/valantic","followers_url":"https://api.github.com/users/valantic/followers","following_url":"https://api.github.com/users/valantic/following{/other_user}","gists_url":"https://api.github.com/users/valantic/gists{/gist_id}","starred_url":"https://api.github.com/users/valantic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valantic/subscriptions","organizations_url":"https://api.github.com/users/valantic/orgs","repos_url":"https://api.github.com/users/valantic/repos","events_url":"https://api.github.com/users/valantic/events{/privacy}","received_events_url":"https://api.github.com/users/valantic/received_events","type":"Organization","site_admin":false},"repo":{"id":124873048,"name":"vue-template","full_name":"valantic/vue-template","owner":{"login":"valantic","id":37074558,"avatar_url":"https://avatars1.githubusercontent.com/u/37074558?v=4","gravatar_id":"","url":"https://api.github.com/users/valantic","html_url":"https://github.com/valantic","followers_url":"https://api.github.com/users/valantic/followers","following_url":"https://api.github.com/users/valantic/following{/other_user}","gists_url":"https://api.github.com/users/valantic/gists{/gist_id}","starred_url":"https://api.github.com/users/valantic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valantic/subscriptions","organizations_url":"https://api.github.com/users/valantic/orgs","repos_url":"https://api.github.com/users/valantic/repos","events_url":"https://api.github.com/users/valantic/events{/privacy}","received_events_url":"https://api.github.com/users/valantic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/valantic/vue-template","description":"A custom Vue.js boilerplate based on webpack.","fork":false,"url":"https://api.github.com/repos/valantic/vue-template","forks_url":"https://api.github.com/repos/valantic/vue-template/forks","keys_url":"https://api.github.com/repos/valantic/vue-template/keys{/key_id}","collaborators_url":"https://api.github.com/repos/valantic/vue-template/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/valantic/vue-template/teams","hooks_url":"https://api.github.com/repos/valantic/vue-template/hooks","issue_events_url":"https://api.github.com/repos/valantic/vue-template/issues/events{/number}","events_url":"https://api.github.com/repos/valantic/vue-template/events","assignees_url":"https://api.github.com/repos/valantic/vue-template/assignees{/user}","branches_url":"https://api.github.com/repos/valantic/vue-template/branches{/branch}","tags_url":"https://api.github.com/repos/valantic/vue-template/tags","blobs_url":"https://api.github.com/repos/valantic/vue-template/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/valantic/vue-template/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/valantic/vue-template/git/refs{/sha}","trees_url":"https://api.github.com/repos/valantic/vue-template/git/trees{/sha}","statuses_url":"https://api.github.com/repos/valantic/vue-template/statuses/{sha}","languages_url":"https://api.github.com/repos/valantic/vue-template/languages","stargazers_url":"https://api.github.com/repos/valantic/vue-template/stargazers","contributors_url":"https://api.github.com/repos/valantic/vue-template/contributors","subscribers_url":"https://api.github.com/repos/valantic/vue-template/subscribers","subscription_url":"https://api.github.com/repos/valantic/vue-template/subscription","commits_url":"https://api.github.com/repos/valantic/vue-template/commits{/sha}","git_commits_url":"https://api.github.com/repos/valantic/vue-template/git/commits{/sha}","comments_url":"https://api.github.com/repos/valantic/vue-template/comments{/number}","issue_comment_url":"https://api.github.com/repos/valantic/vue-template/issues/comments{/number}","contents_url":"https://api.github.com/repos/valantic/vue-template/contents/{+path}","compare_url":"https://api.github.com/repos/valantic/vue-template/compare/{base}...{head}","merges_url":"https://api.github.com/repos/valantic/vue-template/merges","archive_url":"https://api.github.com/repos/valantic/vue-template/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/valantic/vue-template/downloads","issues_url":"https://api.github.com/repos/valantic/vue-template/issues{/number}","pulls_url":"https://api.github.com/repos/valantic/vue-template/pulls{/number}","milestones_url":"https://api.github.com/repos/valantic/vue-template/milestones{/number}","notifications_url":"https://api.github.com/repos/valantic/vue-template/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/valantic/vue-template/labels{/name}","releases_url":"https://api.github.com/repos/valantic/vue-template/releases{/id}","deployments_url":"https://api.github.com/repos/valantic/vue-template/deployments","created_at":"2018-03-12T10:35:10Z","updated_at":"2018-04-10T06:10:00Z","pushed_at":"2018-04-22T16:43:10Z","git_url":"git://github.com/valantic/vue-template.git","ssh_url":"git@github.com:valantic/vue-template.git","clone_url":"https://github.com/valantic/vue-template.git","svn_url":"https://github.com/valantic/vue-template","homepage":null,"size":597,"stargazers_count":1,"watchers_count":1,"language":"Vue","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":5,"watchers":1,"default_branch":"master"}},"base":{"label":"valantic:develop","ref":"develop","sha":"3fd02798428ca3f660e6a82e79953cf6db6f379d","user":{"login":"valantic","id":37074558,"avatar_url":"https://avatars1.githubusercontent.com/u/37074558?v=4","gravatar_id":"","url":"https://api.github.com/users/valantic","html_url":"https://github.com/valantic","followers_url":"https://api.github.com/users/valantic/followers","following_url":"https://api.github.com/users/valantic/following{/other_user}","gists_url":"https://api.github.com/users/valantic/gists{/gist_id}","starred_url":"https://api.github.com/users/valantic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valantic/subscriptions","organizations_url":"https://api.github.com/users/valantic/orgs","repos_url":"https://api.github.com/users/valantic/repos","events_url":"https://api.github.com/users/valantic/events{/privacy}","received_events_url":"https://api.github.com/users/valantic/received_events","type":"Organization","site_admin":false},"repo":{"id":124873048,"name":"vue-template","full_name":"valantic/vue-template","owner":{"login":"valantic","id":37074558,"avatar_url":"https://avatars1.githubusercontent.com/u/37074558?v=4","gravatar_id":"","url":"https://api.github.com/users/valantic","html_url":"https://github.com/valantic","followers_url":"https://api.github.com/users/valantic/followers","following_url":"https://api.github.com/users/valantic/following{/other_user}","gists_url":"https://api.github.com/users/valantic/gists{/gist_id}","starred_url":"https://api.github.com/users/valantic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valantic/subscriptions","organizations_url":"https://api.github.com/users/valantic/orgs","repos_url":"https://api.github.com/users/valantic/repos","events_url":"https://api.github.com/users/valantic/events{/privacy}","received_events_url":"https://api.github.com/users/valantic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/valantic/vue-template","description":"A custom Vue.js boilerplate based on webpack.","fork":false,"url":"https://api.github.com/repos/valantic/vue-template","forks_url":"https://api.github.com/repos/valantic/vue-template/forks","keys_url":"https://api.github.com/repos/valantic/vue-template/keys{/key_id}","collaborators_url":"https://api.github.com/repos/valantic/vue-template/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/valantic/vue-template/teams","hooks_url":"https://api.github.com/repos/valantic/vue-template/hooks","issue_events_url":"https://api.github.com/repos/valantic/vue-template/issues/events{/number}","events_url":"https://api.github.com/repos/valantic/vue-template/events","assignees_url":"https://api.github.com/repos/valantic/vue-template/assignees{/user}","branches_url":"https://api.github.com/repos/valantic/vue-template/branches{/branch}","tags_url":"https://api.github.com/repos/valantic/vue-template/tags","blobs_url":"https://api.github.com/repos/valantic/vue-template/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/valantic/vue-template/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/valantic/vue-template/git/refs{/sha}","trees_url":"https://api.github.com/repos/valantic/vue-template/git/trees{/sha}","statuses_url":"https://api.github.com/repos/valantic/vue-template/statuses/{sha}","languages_url":"https://api.github.com/repos/valantic/vue-template/languages","stargazers_url":"https://api.github.com/repos/valantic/vue-template/stargazers","contributors_url":"https://api.github.com/repos/valantic/vue-template/contributors","subscribers_url":"https://api.github.com/repos/valantic/vue-template/subscribers","subscription_url":"https://api.github.com/repos/valantic/vue-template/subscription","commits_url":"https://api.github.com/repos/valantic/vue-template/commits{/sha}","git_commits_url":"https://api.github.com/repos/valantic/vue-template/git/commits{/sha}","comments_url":"https://api.github.com/repos/valantic/vue-template/comments{/number}","issue_comment_url":"https://api.github.com/repos/valantic/vue-template/issues/comments{/number}","contents_url":"https://api.github.com/repos/valantic/vue-template/contents/{+path}","compare_url":"https://api.github.com/repos/valantic/vue-template/compare/{base}...{head}","merges_url":"https://api.github.com/repos/valantic/vue-template/merges","archive_url":"https://api.github.com/repos/valantic/vue-template/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/valantic/vue-template/downloads","issues_url":"https://api.github.com/repos/valantic/vue-template/issues{/number}","pulls_url":"https://api.github.com/repos/valantic/vue-template/pulls{/number}","milestones_url":"https://api.github.com/repos/valantic/vue-template/milestones{/number}","notifications_url":"https://api.github.com/repos/valantic/vue-template/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/valantic/vue-template/labels{/name}","releases_url":"https://api.github.com/repos/valantic/vue-template/releases{/id}","deployments_url":"https://api.github.com/repos/valantic/vue-template/deployments","created_at":"2018-03-12T10:35:10Z","updated_at":"2018-04-10T06:10:00Z","pushed_at":"2018-04-22T16:43:10Z","git_url":"git://github.com/valantic/vue-template.git","ssh_url":"git@github.com:valantic/vue-template.git","clone_url":"https://github.com/valantic/vue-template.git","svn_url":"https://github.com/valantic/vue-template","homepage":null,"size":597,"stargazers_count":1,"watchers_count":1,"language":"Vue","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":5,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/valantic/vue-template/pulls/14"},"html":{"href":"https://github.com/valantic/vue-template/pull/14"},"issue":{"href":"https://api.github.com/repos/valantic/vue-template/issues/14"},"comments":{"href":"https://api.github.com/repos/valantic/vue-template/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/valantic/vue-template/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/valantic/vue-template/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/valantic/vue-template/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/valantic/vue-template/statuses/29d242cdae50f53d77664589960c63ba0827161e"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"geroldboehler"}}