1
1
mirror of https://github.com/primer/css.git synced 2024-12-12 10:47:14 +03:00

Use light mode as default

This commit is contained in:
simurai 2020-10-01 14:31:48 +09:00
parent 97dc619d7a
commit 93aebcf04e

View File

@ -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