Quellcode durchsuchen

Refactor: Move fonts to fonts.scss

pull/169/head
winkidney vor 5 Jahren
committed by Isaac Bythewood
Ursprung
Commit
cfb4cfdd34
2 geänderte Dateien mit 17 neuen und 15 gelöschten Zeilen
  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 Datei anzeigen

@@ -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 Datei anzeigen

@@ -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;
}

Laden…
Abbrechen
Speichern