From 3f884a566bba520f15397fab818496c9ffd84d0e Mon Sep 17 00:00:00 2001 From: Overlord <188866349+ForgeOfDreams@users.noreply.github.com> Date: Fri, 3 Jul 2026 23:42:33 +0300 Subject: [PATCH] Move container CSS to core and add index Extracted the flex container rules into a new file src/core/container.css. Updated src/flex.css header (switched to @version, added @dependencies) and replaced the in-file rules with an import of ./core/container.css. Added a new entrypoint src/index.css that documents package metadata and imports flex.css. Prepares the codebase for a modular structure and declares the @comfortcss/tokens dependency. --- src/core/container.css | 37 +++++++++++++++++++++++++++++++++++++ src/flex.css | 35 +++++------------------------------ src/index.css | 10 ++++++++++ 3 files changed, 52 insertions(+), 30 deletions(-) create mode 100644 src/core/container.css diff --git a/src/core/container.css b/src/core/container.css new file mode 100644 index 0000000..13bb6bb --- /dev/null +++ b/src/core/container.css @@ -0,0 +1,37 @@ +/** + * @package @comfortcss/flex + * @since 0.1.0 + * @license MIT + * @author ComfortCSS + * + * @section container + * @description + * Classes that create flex containers. + * This is the foundation of the flex system. + * + * @see https://developer.mozilla.org/en-US/docs/Web/CSS/display + */ + +@layer flex { + /** + * Block-level flex container. + * Creates a flex formatting context. + * + * @example + *