$breakpoints: ( lg: 1500px, md: 900px, sm: 600px, xs: 400px, ); $unit-intervals: ( 'px': 1, 'em': .01, 'rem': .01, '': 0 ); $responsive-mod-scale: ( xs: (.8rem, 1.28), md: (.8rem, 1.53) ); $font-fam--text: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif; $font-fam--large: 'Garet', $font-fam--text; $font-fam--mono: 'Iosevka Term SS09', 'IBM Plex Mono', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', Courier, monospace; $font-size: 16px; $line-height: 1.7; $content--width: 42rem; @include iro-execute { $gray0: hsl(220, 7%, 7%); $gray1: hsl(220, 7%, 11%); $gray2: hsl(220, 7%, 18%); $gray3: hsl(220, 7%, 23%); $gray4: hsl(220, 7%, 38%); $gray5: hsl(220, 7%, 60%); $gray6: hsl(220, 7%, 76%); $gray7: hsl(220, 7%, 100%); @include store(( --dims: ( --outer: 4rem, --indent: 2rem, --obj-shadow: 0 .4em 3.5em, ), --colors: ( --bg-hi: $gray0, // Darker background --bg: $gray1, // Background --bg-lo: $gray2, // Lighter background --obj-hi: $gray3, --obj: $gray4, --fg-hi: $gray5, // Faint text --fg: $gray6, // Text --fg-lo: $gray7, // Strong text --obj-shadow: transparent, --accent: ( --h: 354, --s: 84%, --l: 55%, --color: hsl(var(--colors--accent--h), var(--colors--accent--s), var(--colors--accent--l)), --strong: hsl(var(--colors--accent--h), calc(var(--colors--accent--s) * 1.2), calc(var(--colors--accent--l) * 1.2)), --faint: hsla(var(--colors--accent--h), var(--colors--accent--s), var(--colors--accent--l), .1), ), --focus-ring: var(--colors--fg-lo), --select: ( --bg: rgba($gray7, .996), --img-bg: rgba($gray7, .5), --fg: var(--colors--bg-hi), ), --link: ( --idle: var(--colors--fg-lo), --colored: ( --idle: hsl(220, 100%, 80%), //hsl(var(--colors--accent--h), 100%, 66%), // --visited: hsl(290, 35%, 75%), //hsl(var(--colors--accent--h), 50%, 66%), // ) ), --code: ( --fg: var(--colors--fg-hi), ), ) )); } @include iro-execute { $gray0: hsl(220, 7%, 100%); $gray1: hsl(220, 7%, 96%); $gray2: hsl(220, 7%, 88%); $gray3: hsl(220, 7%, 83%); $gray4: hsl(220, 7%, 68%); $gray5: hsl(220, 7%, 40%); $gray6: hsl(220, 7%, 16%); $gray7: hsl(220, 7%, 0%); @include store(( --colors: ( --bg-hi: $gray0, // Darker background --bg: $gray1, // Background --bg-lo: $gray2, // Lighter background --obj-hi: $gray3, --obj: $gray4, --fg-hi: $gray5, // Faint text --fg: $gray6, // Text --fg-lo: $gray7, // Strong text --obj-shadow: rgba(#000, .05), --accent: ( --h: 354, --s: 74%, --l: 48%, --strong: hsl(var(--colors--accent--h), var(--colors--accent--s), calc(var(--colors--accent--l) * .8)), ), --select: ( --bg: rgba($gray7, .996), --img-bg: rgba($gray7, .5), ), --link: ( --colored: ( --idle: hsl(220, 60%, 40%), //hsl(var(--colors--accent--h), 100%, 66%), // --visited: hsl(290, 30%, 35%), //hsl(var(--colors--accent--h), 50%, 66%), // ) ), ), ), 'light'); } @each $breakpoint in map-keys($breakpoints) { @include media('<=#{$breakpoint}') { @include store(( --colors: () ), $breakpoint); } } @include store(( --dims: ( --outer: 3.5rem, --indent: 1.5rem, ), ), 'sm');