Skip to content

Commit

Permalink
💄 Small style updates to themes and item
Browse files Browse the repository at this point in the history
  • Loading branch information
Lissy93 committed Aug 22, 2021
1 parent 3fdf9d5 commit 96021f7
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 10 deletions.
8 changes: 7 additions & 1 deletion src/components/LinkItems/Item.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
:style="`--open-icon: ${getUnicodeOpeningIcon()}; ${customStyles}`"
>
<!-- Item Text -->
<div :class="`tile-title ${!icon? 'bounce': ''}`" :id="`tile-${id}`" >
<div :class="`tile-title ${!icon? 'bounce no-icon': ''}`" :id="`tile-${id}`" >
<span class="text">{{ title }}</span>
<p class="description">{{ description }}</p>
</div>
Expand Down Expand Up @@ -319,6 +319,12 @@ export default {
.tile-title {
min-width: 100px;
max-width: 160px;
&.no-icon {
text-align: left;
width: 100%;
max-width: inherit;
margin-left: 0.5rem;
}
}
}
/* Large Tile Specific Themes */
Expand Down
2 changes: 2 additions & 0 deletions src/styles/color-themes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -926,6 +926,8 @@ html[data-theme="dashy-docs"] {
border: none;
color: var(--background);
font-weight: bold;
min-width: 5rem;
text-align: center;
}

.minimal-section-heading {
Expand Down
16 changes: 7 additions & 9 deletions src/utils/defaults.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,29 +38,27 @@ module.exports = {
builtInThemes: [
'callisto',
'thebe',
'dracula',
'oblivion',
'material',
'material-dark',
'dracula',
'colorful',
'nord',
'nord-frost',
'dashy-docs',
'minimal-dark',
'minimal-light',
'oblivion',
'nord',
'nord-frost',
'cyberpunk',
'matrix',
'matrix-red',
'hacker-girl',
'raspberry-jam',
'bee',
'tiger',
'blue-purple',
'vaporware',
'material-original',
'material-dark-original',
'cyberpunk',
'vaporware',
'high-contrast-dark',
'high-contrast-light',
'dashy-docs',
],
/* Which structural components should be visible by default */
visibleComponents: {
Expand Down

0 comments on commit 96021f7

Please sign in to comment.