Package Exports
- style-forge.base
- style-forge.base/base.css
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (style-forge.base) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Style-Forge.Base
Description
Style-Forge.Base
provides the foundational CSS variables and base styles for the Style Forge framework. It includes essential typography, color schemes, and utility classes, ensuring a consistent and customizable design system for your web projects.
Installation
You can install the package via npm or yarn:
npm install style-forge.base
yarn add style-forge.base
Usage
After installation, you can import the CSS file into your project:
@import "style-forge.base";
Or, if you are using Webpack or another module bundler:
import 'style-forge.base';
Variables
--sf-c
- these are colors in HSL
:root {
--sf-base-ff: system-ui, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
--sf-base-fw: 400;
--sf-base-fz: 1rem;
--sf-base-lh: 0.8;
--sf-h1: 3rem;
--sf-h2: 2.5rem;
--sf-h3: 2rem;
--sf-h4: 1.5rem;
--sf-h5: 1.25rem;
--sf-h6: 1rem;
--sf-txt-small: 0.75rem;
--sf-disabled: 0.4; /* opacity */
--sf-c-link: 225 73% 57%; /* <a> - color */
--sf-c-mark-bg: 60 100% 50%; /* <mark> - background */
--sf-c-mark-txt: 0 0% 10%; /* <mark> - color */
--sf-c-txt: 0 0% 10%; /* All color */
--sf-c-bg: 0 0% 100%; /* All background */
--sf-c-bd: 0 0% 75%; /* All border */
--sf-c-shape-bg: 0 0% 90%; /* <pre> - background */
--sf-c-backdrop: 0 0% 10%; /* ::backdrop */
}
Contributing
We welcome contributions from the community! Please follow these steps to contribute:
- Fork the repository.
- Create a new branch:
git checkout -b feature/branch-name
. - Make your changes and commit them:
git commit -am 'Add some feature'
. - Push your changes to the forked repository:
git push origin feature/branch-name
. - Create a pull request in the original repository.
For more detailed information, please refer to CONTRIBUTING.md.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Links
- style-forge
- style-forge.base
- style-forge.colors
- style-forge.form
- style-forge.helpers
- style-forge.patterns
- style-forge.themes
Authors
- Dmitrii Sagalov - Expert in interface development - Sarmaged
Contact
If you have any questions or suggestions, please open an issue in Issues.