Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
baidou5 authored Sep 19, 2024
1 parent 7aebca9 commit 6a5d93e
Showing 1 changed file with 24 additions and 108 deletions.
132 changes: 24 additions & 108 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,81 +1,31 @@


```markdown
# SimpliCSS

<<<<<<< HEAD
=======
![SimpliCSS Logo](https://raw.githubusercontent.com/baidou5/SimpliCSS/main/bgs.jpg)

>>>>>>> origin/main
Created by Abdellah Baidou
Contact: +212 661-176711
Email: baidou.abd@gmail.com

<<<<<<< HEAD
**SimpliCSS** is a lightweight, utility-first CSS framework designed to simplify the development of modern, responsive websites. It aims to be an easy-to-use alternative to more complex frameworks, offering a streamlined and more intuitive approach to styling. While inspired by popular frameworks , SimpliCSS focuses on simplicity, efficiency, and flexibility.

## Key Features
- **Utility-First Approach**: Use concise utility classes to build layouts quickly without writing custom CSS.
- **Simplified Class Names**: Designed to be intuitive and easy to remember, making development faster and more efficient.
- **Responsive Design**: Built-in responsive utilities that ensure your websites adapt beautifully to different screen sizes, without extra effort.
- **Lightweight Framework**: Only includes essential features, allowing you to keep your projects fast and lean, without unnecessary bloat.
- **Customizability**: Easily extend and modify the framework to fit your specific project requirements. The `simpli.css` file is structured for easy customization.
- **Flexbox and Grid Support**: Built-in utilities for modern layouts using Flexbox and Grid, simplifying complex layout designs.

## Installation
To get started with SimpliCSS, you can download the `simpli.css` file from the repository and include it in your project.

Simply add the following link to your HTML's `<head>` section:

```html
<link rel="stylesheet" href="path/to/simpli.css">
```

Alternatively, you can also clone the repository from GitHub:

```bash
git clone https://github.com/baidou5/SimpliCSS.git
```

## Usage
SimpliCSS utilizes simple utility classes to style your elements. You can directly apply these classes to your HTML elements to quickly create layouts and style your content.

### Example Usage:
=======
**SimpliCSS** is a lightweight, utility-first CSS framework designed to simplify the development of modern, responsive websites. It aims to be an easy-to-use alternative to more complex frameworks, offering a streamlined and intuitive approach to styling. While inspired by popular frameworks, SimpliCSS focuses on simplicity, efficiency, and flexibility.


## Key Features

- **Utility-First Design**: Embrace a utility-first approach with a comprehensive set of utility classes that enable rapid development without writing custom CSS. Build layouts and styles efficiently using pre-defined classes.

- **Minimalist Syntax**: SimpliCSS offers a simplified class naming convention that prioritizes ease of use and memorability. This design choice enhances productivity by reducing the cognitive load associated with more complex class names.

- **Responsive Utilities**: Leverage built-in responsive utilities to ensure your designs adapt seamlessly across various screen sizes. With SimpliCSS, you can manage responsive behaviors with minimal effort and maintain a consistent user experience on all devices.

- **Lightweight and Performance-Focused**: The framework is intentionally lightweight, including only essential features to keep your projects lean and fast. Avoid unnecessary bloat and enjoy a streamlined development experience with SimpliCSS.

- **Customizable and Extendable**: Easily tailor the framework to meet your specific needs. The `SimpliCSS.css` file is designed for straightforward customization, allowing you to modify existing utilities or add new ones to fit your project's requirements.

- **Flexbox and Grid Layouts**: Utilize modern layout techniques with built-in Flexbox and Grid utilities. Simplify complex layout designs and achieve flexible, responsive layouts without the need for additional CSS.

- **Consistent Design Language**: Achieve a cohesive look and feel throughout your project with a consistent design language. SimpliCSS provides a unified set of utilities that ensure visual harmony and reduce inconsistencies in styling.

- **Easy Integration**: Seamlessly integrate SimpliCSS into your projects with minimal setup. Whether using the CDN or local installation, getting started with SimpliCSS is straightforward and hassle-free.

- **Optimized for Modern Development**: Designed with modern web development practices in mind, SimpliCSS ensures compatibility with contemporary design standards and browser requirements.


## Installation
## Build Tools

### Using the CDN
SimpliCSS now includes build tools to streamline development. Here's how to use them:

To include SimpliCSS via CDN, add the following link to your HTML's `<head>` section:

```html
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/baidou5/SimpliCSS@main/SimpliCSS/SimpliCSS.css">
```

### Local Installation
### Installing Dependencies

1. Clone the repository:

Expand All @@ -95,46 +45,44 @@ To include SimpliCSS via CDN, add the following link to your HTML's `<head>` sec
npm install
```

4. Build the CSS:
### Building the CSS

```bash
npm run build:css
```
After installing dependencies, you can build the CSS by running:

5. Include the `SimpliCSS.css` file in your project:
```bash
npm run build:css
```

```html
<link rel="stylesheet" href="node_modules/simpli-css/dist/SimpliCSS.css">
```
or Include SimpliCSS in Your Project:
You can include SimpliCSS in your project by importing it into your CSS file:
```html
@import 'node_modules/simpli-css/dist/SimpliCSS.css';
```
This command compiles the CSS into a `dist` folder for use in your projects.

### Example Integration

You can include SimpliCSS in your project by importing it into your CSS file:

```html
<link rel="stylesheet" href="node_modules/simpli-css/dist/SimpliCSS.css">
```

or

```css
@import 'node_modules/simpli-css/dist/SimpliCSS.css';
```

## Usage

SimpliCSS utilizes simple utility classes to style your elements. Apply these classes to your HTML elements to quickly create layouts and style your content.

### Example Usage

>>>>>>> origin/main
```html
<div class="bg-blue text-white p-2 rounded-md shadow-md">
This is a simple card component!
</div>
```

<<<<<<< HEAD
This example creates a card with a blue background, white text, padding, rounded corners, and a shadow.

### Responsive Classes:
=======
### Responsive Classes

>>>>>>> origin/main
SimpliCSS includes responsive utilities to control how elements behave on different screen sizes. For example:

```html
Expand All @@ -143,16 +91,10 @@ SimpliCSS includes responsive utilities to control how elements behave on differ
</div>
```

<<<<<<< HEAD
Here, the background color will change based on the screen size (`md` for medium screens and `lg` for large screens).

## Example Code
=======
Here, the background color changes based on the screen size (`md` for medium screens and `lg` for large screens).

## Example Code

>>>>>>> origin/main
Here's a basic example of a webpage using SimpliCSS:

```html
Expand All @@ -162,11 +104,7 @@ Here's a basic example of a webpage using SimpliCSS:
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SimpliCSS Example</title>
<<<<<<< HEAD
<link rel="stylesheet" href="simpli.css">
=======
<link rel="stylesheet" href="path/to/SimpliCSS.css">
>>>>>>> origin/main
</head>
<body>
<div class="flex justify-center items-center h-screen bg-light">
Expand All @@ -181,17 +119,6 @@ Here's a basic example of a webpage using SimpliCSS:
This creates a simple centered message with a blue background and a white text box.

## Customization
<<<<<<< HEAD
SimpliCSS is designed with simplicity in mind, but it's also fully customizable. You can modify the default utilities, add new ones, or remove anything unnecessary to better suit your project.

To customize the framework:
1. Open `simpli.css` in your preferred code editor.
2. Adjust the styles, breakpoints, or add your own custom utility classes.
3. Save your changes and see the updates in your project instantly.

## Roadmap
Here are some of the planned features and improvements for SimpliCSS:
=======

SimpliCSS is designed with simplicity in mind but is also fully customizable. To modify the framework:

Expand All @@ -207,19 +134,14 @@ SimpliCSS is designed with simplicity in mind but is also fully customizable. To

Here are some planned features and improvements for SimpliCSS:

>>>>>>> origin/main
- **Component Support**: Include ready-made UI components (like buttons, cards, etc.) for even faster development.
- **Dark Mode Support**: Add utilities for dark mode styling.
- **Advanced Animations**: Include a utility-based animation system for adding transitions and effects.
- **More Flexibility**: Continue simplifying the customization process, allowing users to build their own version of SimpliCSS with ease.

## Contributing
<<<<<<< HEAD
Contributions are more than welcome! If you’d like to help improve SimpliCSS, feel free to fork the repository, submit issues, or open pull requests. Any improvements, suggestions, or bug reports are greatly appreciated.
=======

Contributions are welcome! If you’d like to help improve SimpliCSS:
>>>>>>> origin/main

1. Fork the repository.
2. Create your feature branch (`git checkout -b feature/AmazingFeature`).
Expand All @@ -228,11 +150,6 @@ Contributions are welcome! If you’d like to help improve SimpliCSS:
5. Open a pull request.

## License
<<<<<<< HEAD
This project is licensed under the MIT License. See the `LICENSE` file for more details.


=======

This project is licensed under the MIT License. See the `LICENSE` file for more details.

Expand All @@ -241,5 +158,4 @@ This project is licensed under the MIT License. See the `LICENSE` file for more
Thank you for using SimpliCSS! We hope it helps you build amazing projects.
```

Feel free to adjust any sections to better fit your framework's features and capabilities!
>>>>>>> origin/main
Feel free to replace any sections as needed!

0 comments on commit 6a5d93e

Please sign in to comment.