client/src/scss/_fonts.scss
author ymh <ymh.work@gmail.com>
Tue, 29 Mar 2022 11:23:56 +0200
changeset 211 244a90638e80
parent 174 ac1a026edd58
permissions -rw-r--r--
Added tag 0.2.3 for changeset 3de92ddba2de

@import "~typeface-rubik/index.css";

@import "~typeface-roboto-mono/index.css";

$material-icon-font-path: '~material-design-icons/iconfont/';

@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url('#{$material-icon-font-path}MaterialIcons-Regular.eot'); /* For IE6-8 */
  src: local('Material Icons'),
    local('MaterialIcons-Regular'),
    url('#{$material-icon-font-path}MaterialIcons-Regular.woff2') format('woff2'),
    url('#{$material-icon-font-path}MaterialIcons-Regular.woff') format('woff'),
    url('#{$material-icon-font-path}MaterialIcons-Regular.ttf') format('truetype');
};

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;  /* Preferred icon size */
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;

  /* Support for all WebKit browsers. */
  -webkit-font-smoothing: antialiased;
  /* Support for Safari and Chrome. */
  text-rendering: optimizeLegibility;

  /* Support for Firefox. */
  -moz-osx-font-smoothing: grayscale;

  /* Support for IE. */
  font-feature-settings: 'liga';
}

.material-icons {
    &.md-18 { font-size: 18px; }
    &.md-24 { font-size: 24px; }
    &.md-36 { font-size: 36px; }
    &.md-48 { font-size: 48px; }
}