• Stars
    star
    212
  • Rank 186,122 (Top 4 %)
  • Language SCSS
  • License
    MIT License
  • Created almost 3 years ago
  • Updated 8 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

An open-source, lightweight and modern CSS framework, design system built on Sass. Give your project a solid foundation.


Spruce CSS

Spruce CSS is an open-source, lightweight and modernish CSS design system, framework built on Sass. Give your project a solid foundation.

Github release npm version Back-end License

The Spruce CSS logo, a minimalistic, low-level CSS framework caption and an abstract 3D illustration.

What is Spruce CSS?

  • It is a Sass-based, small framework that operates with just a few utility classes.
  • It takes advantage of the Sass members: variables, mixins, and functions.
  • It embraces Sass modules, so it uses @use and namespacing for import.
  • Spruce is a good choice if you prefer writing CSS instead of HTML. It uses just a few classic utility classes.
  • It is a relatively small (~7kb gzipped) framework with a smaller learning curve. The codebase is small but can add more to any project with the available mixins and functions.
  • It is that bunch of code you keep manually carrying from project to project.
  • It is themeable. You can create different themes using CSS custom properties like a dark one.
  • The generated CSS code is separated from the framework. You can use only the tools (variables, mixins, functions) in your project without the generated styles.
  • Include just a few components. For UI, we have a separate project named Spruce UI, where you can find drop-in components.
  • It comes with dark-mode (or any theme mode) support. It uses CSS custom properties, so it isn’t that hard to create a new color theme.
  • It doesn’t come with a classical grid system.

How to start with Spruce?

Firstly, we suggest checking out the documentation, precisely the installation page.

There is nothing new if you previously used Sass unless you don’t know the newer module system.

We made a Spruce CSS Eleventy Starter, a boilerplate starter template based on the popular static site generator 11ty. It includes a basic compile setup and, of course, Spruce CSS. You can find more information about it on GitHub.

Documentation

For the complete documentation, please visit our site at sprucecss.com. You can edit it at our separate repository.

Getting Started

Customization

Sass

Elements

Components

This collection of reusable user interfaces aims to help you create more coherently with Spruce CSS.

Components

Sections

Pages

Templates

  • Spruce Docs - A simple documentation template made with Eleventy.

Contributing

Thank you for considering contributing to Spruce CSS! The contribution guide can be found in the documentation.

More Repositories

1

blade-filters

Use filters easily in your blade templates.
PHP
487
star
2

bazar

Bazar is an e-commerce package for Laravel applications.
PHP
421
star
3

i18n

Push your Laravel translations to the front-end and use them easily with JavaScript.
PHP
123
star
4

canvi

A simple vanilla JavaScript off-canvas menu.
JavaScript
108
star
5

policy

Using Laravel's authorization on the front-end.
PHP
97
star
6

simplepay-gateway

OTP SimplePay bővítmény WooCommerce (WordPress) áruházak részére.
PHP
57
star
7

sprucecss-eleventy-documentation-template

A simple documentation template made with Eleventy and Spruce CSS.
SCSS
50
star
8

bite-sized-a11y

Quick and Small Accessibility - Learn something new about accessibility with short and solid articles (less than 150 words).
CSS
28
star
9

root

Root is an admin package for Laravel applications.
PHP
20
star
10

wp-theme-alpha

Alpha is a WordPress blog and magazine theme with clean design, nice code, and Gutenberg support.
CSS
18
star
11

sprucecss-root-admin-template

A static HTML/CSS/JS administration tempalte built on Spruce CSS.
HTML
8
star
12

accessibility-path

Accessibility Path is a collection of resources that can help you to learn web accessibility and inclusive design.
7
star
13

sprucecss-starter-kit

The “Spruce CSS Starter Kit” repository contains a simple foundation for starting your next project with ease using Spruce CSS.
SCSS
6
star
14

billingo-php

Billingo PHP SDK.
PHP
5
star
15

sprucecss-site

The documentation of Spruce CSS.
MDX
5
star
16

bazar-docs

The Bazar Laravel e-commerce package documentation.
4
star
17

wordpress-plugin-template

WordPress plugin skeleton template.
PHP
4
star
18

qkie

Simple cookie management.
JavaScript
3
star
19

laravel-package-template

Laravel package skeleton template.
PHP
3
star
20

sprucecss-eleventy-starter

A minimalistic Eleventy boilerplate setup with Spruce CSS to help you start with your next project.
CSS
3
star
21

cone-site

The new 11ty-based portfolio website of Cone.
CSS
3
star
22

sprucecss-site-eleventy

The documentation of Spruce CSS.
CSS
3
star
23

sprucecss-examples

Simple examples for how to use and how to get started with Spruce CSS.
CSS
2
star
24

bazar-stripe

The Stripe Payment gateway for Bazar.
PHP
2
star