From 93aebcf04e56337121bd43bd22e0f743b822029e Mon Sep 17 00:00:00 2001 From: simurai Date: Thu, 1 Oct 2020 14:31:48 +0900 Subject: [PATCH] Use light mode as default --- src/base/modes.scss | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/base/modes.scss b/src/base/modes.scss index 7971bd2f..eceb16dc 100644 --- a/src/base/modes.scss +++ b/src/base/modes.scss @@ -2,12 +2,11 @@ @import "@primer/primitives/dist/scss/colors/_light.scss"; @import "@primer/primitives/dist/scss/colors/_dark.scss"; -// @import "../../primitives/dist/scss/colors/_light.scss"; -// @import "../../primitives/dist/scss/colors/_dark.scss"; -// @include primer-colors-light(":root"); -@include primer-colors-dark(":root"); -@include primer-colors-light("[data-color-mode='light']"); +// Outputs the CSS variables +// Use :root (html element) to define a default + +@include primer-colors-light(":root, [data-color-mode='light']"); @include primer-colors-dark("[data-color-mode='dark']"); // Color mode boundaries