From 9896c79a846cbaa633d21573be252b8e4812e79d Mon Sep 17 00:00:00 2001 From: Jon Rohan Date: Fri, 29 Mar 2024 13:04:39 -0700 Subject: [PATCH] Move native color styles from the color-modes bundle to the base bundle (#2596) * Rename native.scss to native-colors.scss * Remove native import * Import native-colors * Create fair-cups-lay.md --- .changeset/fair-cups-lay.md | 5 +++++ src/base/index.scss | 1 + src/{color-modes/native.scss => base/native-colors.scss} | 0 src/color-modes/index.scss | 1 - 4 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/fair-cups-lay.md rename src/{color-modes/native.scss => base/native-colors.scss} (100%) diff --git a/.changeset/fair-cups-lay.md b/.changeset/fair-cups-lay.md new file mode 100644 index 00000000..b28435b8 --- /dev/null +++ b/.changeset/fair-cups-lay.md @@ -0,0 +1,5 @@ +--- +"@primer/css": minor +--- + +Move native color styles from the color-modes bundle to the base bundle diff --git a/src/base/index.scss b/src/base/index.scss index 67372269..553abdb3 100644 --- a/src/base/index.scss +++ b/src/base/index.scss @@ -1,4 +1,5 @@ @import '../support/index.scss'; +@import './native-colors.scss'; @import './normalize.scss'; @import './base.scss'; @import './kbd.scss'; diff --git a/src/color-modes/native.scss b/src/base/native-colors.scss similarity index 100% rename from src/color-modes/native.scss rename to src/base/native-colors.scss diff --git a/src/color-modes/index.scss b/src/color-modes/index.scss index 47fdb122..20d83225 100644 --- a/src/color-modes/index.scss +++ b/src/color-modes/index.scss @@ -9,4 +9,3 @@ @import './themes/dark_high_contrast.scss'; @import './themes/dark_colorblind.scss'; @import './themes/dark_tritanopia.scss'; -@import './native.scss';