dh_demo

DreamHanks demo project
git clone git://git.lair.cx/dh_demo
Log | Files | Refs | README

globals.scss (557B)


      1 @use 'core/colors';
      2 @import 'vendors/normalize';
      3 
      4 * {
      5   box-sizing: border-box;
      6 }
      7 
      8 body {
      9   font-family: -apple-system, sans-serif;
     10   @include colors.apply-themes using ($theme) {
     11     background-color: colors.get($theme, 'background');
     12     color: colors.get($theme, 'on-background');
     13   }
     14 }
     15 
     16 a {
     17   text-decoration: none;
     18   cursor: pointer;
     19   @include colors.apply-themes using ($theme) {
     20     color: colors.get($theme, 'secondary');
     21   }
     22 
     23   &:hover {
     24     text-decoration: underline;
     25   }
     26 }
     27 
     28 h1, h2, h3, h4, h5, h6,
     29 p {
     30   margin-top: 0;
     31   margin-bottom: 1rem;
     32 }