Skip to content

Commit

Permalink
Updated pageicon for Learn-Page and Explore-Page so it's text color v…
Browse files Browse the repository at this point in the history
…ersus action color
  • Loading branch information
whitzhu committed Jul 28, 2016
1 parent 4175669 commit 63e7b84
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions kolibri/core/assets/src/core-global.styl
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ img
svg:not(:root)
overflow: hidden

.pageicon
fill: $core-text-default

button
// structure (from https://github.com/yahoo/pure/blob/master/src/buttons/css/buttons-core.css)
Expand Down
4 changes: 2 additions & 2 deletions kolibri/plugins/learn/assets/src/vue/explore-page/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
:crumbs='topic.breadcrumbs'>
</breadcrumbs>
<div slot='icon'>
<svg v-if="isRoot" src="../icons/explore.svg"></svg>
<svg v-else src="../icons/folder.svg"></svg>
<svg v-if="isRoot" class="pageicon" src="../icons/explore.svg"></svg>
<svg v-else class="pageicon" src="../icons/folder.svg"></svg>
</div>
</page-header>

Expand Down
2 changes: 1 addition & 1 deletion kolibri/plugins/learn/assets/src/vue/learn-page/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<div>
<page-header title="Learn">
<svg slot="icon" src="../icons/learn.svg"></svg>
<svg slot="icon" class="pageicon" src="../icons/learn.svg"></svg>
</page-header>
<expandable-content-grid :contents="recommendations"></expandable-content-grid>
</div>
Expand Down

0 comments on commit 63e7b84

Please sign in to comment.