Przeglądaj źródła

Refactor: Move fonts to fonts.scss

pull/169/head
winkidney 5 lat temu
committed by Isaac Bythewood
rodzic
commit
cfb4cfdd34
2 zmienionych plików z 17 dodań i 15 usunięć
  1. +1
    -15
      pinry-spa/src/components/Pins.vue
  2. +16
    -0
      pinry-spa/src/components/utils/fonts.scss

+ 1
- 15
pinry-spa/src/components/Pins.vue Wyświetl plik

@@ -238,21 +238,7 @@ export default {
$pin-footer-position-fix: -6px;
$avatar-width: 30px;
$avatar-height: 30px;

@mixin pin-detail-font-size{
font-size: 12px;
}

@mixin description-font {
@include pin-detail-font-size;
font-family: 'Georgia', 'Times', 'Times New Roman', serif;
}

@mixin secondary-font {
@include pin-detail-font-size;
color: #999;
font-weight: normal;
}
@import './utils/fonts';

@mixin loader {
background: url('../assets/loader.gif');


+ 16
- 0
pinry-spa/src/components/utils/fonts.scss Wyświetl plik

@@ -9,3 +9,19 @@
@mixin secondary-font-color-in-dark {
color: #878787;
}

// for pins component
@mixin pin-detail-font-size{
font-size: 12px;
}

@mixin description-font {
@include pin-detail-font-size;
font-family: 'Georgia', 'Times', 'Times New Roman', serif;
}

@mixin secondary-font {
@include pin-detail-font-size;
color: #999;
font-weight: normal;
}

Ładowanie…
Anuluj
Zapisz