Remove debug mixin, never used. Remove some obsolete colours.
This commit is contained in:
parent
4f2810091d
commit
c19d5c5d1b
5 changed files with 0 additions and 32 deletions
|
|
@ -93,9 +93,4 @@
|
|||
// Highlight colours.
|
||||
--color-highlight: var(--color-brand-alt);
|
||||
--color-mark-highlight: var(--color-red);
|
||||
--color-mark-bg: var(--color-yellow);
|
||||
|
||||
// Misc colours.
|
||||
--color-watermark: var(--color-grey-200);
|
||||
--color-debug-color: var(--color-grey-200);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@
|
|||
// Mixins and functions.
|
||||
@import 'mixins/breakpoint/respond-to';
|
||||
@import 'mixins/clearfix/clearfix';
|
||||
@import 'mixins/debug/debug';
|
||||
@import 'mixins/flex-calc/flex-calc';
|
||||
@import 'mixins/overlay/overlay';
|
||||
@import 'mixins/spacing/spacing';
|
||||
|
|
|
|||
|
|
@ -72,6 +72,3 @@ $max-content-width: 1111px;
|
|||
// Setting this to a larger value than max-content-width allows
|
||||
// content with class "stretch" to stretch out to the page edge.
|
||||
$max-page-width: $max-content-width;
|
||||
|
||||
// Show horizontal grid to help with debugging typography.
|
||||
$debug: false;
|
||||
|
|
|
|||
|
|
@ -14,7 +14,4 @@ body {
|
|||
line-height: var(--base-line-height);
|
||||
// Accent colour for forms.
|
||||
accent-color: var(--color-accent);
|
||||
// Output a horizontal grid to help with debugging typography. The
|
||||
// $debug variable will toggle its output.
|
||||
@include debug-grid();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,20 +0,0 @@
|
|||
// Output a horizontal grid to help with debugging typography.
|
||||
@mixin debug-grid() {
|
||||
@if $debug == true {
|
||||
$grid-height: #{$base-line-height + 'rem'};
|
||||
|
||||
position: relative;
|
||||
// stylelint-disable-next-line max-line-length
|
||||
background-image: repeating-linear-gradient(180deg, var(--color-debug-color), var(--color-debug-color) 1px, transparent 1px, transparent $grid-height);
|
||||
|
||||
&::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
bottom: -1px;
|
||||
left: 0;
|
||||
height: 1px;
|
||||
width: 100%;
|
||||
background-color: var(--color-debug-color);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue