Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# EditorConfig helps maintain consistent coding styles
# https://editorconfig.org

root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[*.{scss,css}]
indent_style = space
indent_size = 2

[*.{json,yml,yaml}]
indent_style = space
indent_size = 2

[*.md]
trim_trailing_whitespace = false
24 changes: 16 additions & 8 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
#ignore all base files
/*
# Development files
node_modules/
.git/
.github/
.vscode/
*.log
.DS_Store

#except for...
!_lib
!release-notes
!dist
# Documentation (use files field in package.json instead)
DEVELOPING.md
CONTRIBUTING.md

#don't include solid specific
lib/solid-specific.scss
# Keep these
!dist/
!_lib/
!README.md
!LICENSE.md
!package.json
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
22
34 changes: 34 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [3.0.0] - 2025-12-19

### Changed - BREAKING
- **Migrated from node-sass to dart-sass** - Modern Sass compiler
- **Converted to Sass module system** - All `@import` statements replaced with `@use`/`@forward`
- **Replaced Grunt with npm scripts** - Simpler, faster build system
- **Modern Sass functions** - Using `sass:color`, `sass:map`, `sass:math` modules
- Files now use `@use` instead of globals - may affect custom builds

### Added
- Modern package exports configuration
- `.editorconfig` for consistent formatting
- `.nvmrc` for Node version management
- Comprehensive keywords for better discoverability

### Fixed
- All Sass deprecation warnings eliminated
- 42 security vulnerabilities fixed (98% fewer dependencies)
- Compatibility with Node.js 22+

### Removed
- Grunt and all Grunt plugins
- `npm-shrinkwrap.json` (using package-lock.json instead)
- Legacy node-sass dependencies

## [2.11.2] and earlier
See [release-notes/](./release-notes/) for historical releases.
82 changes: 0 additions & 82 deletions Gruntfile.js

This file was deleted.

14 changes: 5 additions & 9 deletions _lib/_solid-base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,8 @@
// Solid Base
// --------------------------------------------------

// helpers
@import "solid-helpers";

// imports
@import "solid-base/normalize";
@import "solid-base/base";
@import "solid-base/typography";
@import "solid-base/tables";
@import "solid-base/deprecated";
@forward "solid-base/normalize";
@forward "solid-base/base";
@forward "solid-base/typography";
@forward "solid-base/tables";
@forward "solid-base/deprecated";
18 changes: 7 additions & 11 deletions _lib/_solid-components.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,10 @@
// Solid Components
// --------------------------------------------------

// helpers
@import "solid-helpers";

// imports
@import "solid-components/messaging";
@import "solid-components/button-groups";
@import "solid-components/modals";
@import "solid-components/tags";
@import "solid-components/cards";
@import "solid-components/pagination";
@import "solid-components/popovers";
@forward "solid-components/messaging";
@forward "solid-components/button-groups";
@forward "solid-components/modals";
@forward "solid-components/tags";
@forward "solid-components/cards";
@forward "solid-components/pagination";
@forward "solid-components/popovers";
5 changes: 2 additions & 3 deletions _lib/_solid-helpers.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
// Solid Helpers
// --------------------------------------------------

// imports
@import "solid-helpers/mixins";
@import "solid-helpers/variables";
@forward "solid-helpers/variables";
@forward "solid-helpers/mixins";
26 changes: 11 additions & 15 deletions _lib/_solid-utilities.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,15 @@
// Solid Utilities
// --------------------------------------------------

// helpers
@import "solid-helpers";

// imports
@import "solid-utilities/block-grid";
@import "solid-utilities/colors";
@import "solid-utilities/buttons";
@import "solid-utilities/forms";
@import "solid-utilities/grid";
@import "solid-utilities/tables";
@import "solid-utilities/typography";
@import "solid-utilities/borders";
@import "solid-utilities/layout";
@import "solid-utilities/flexbox";
@import "solid-utilities/svg-icons";
@forward "solid-utilities/block-grid";
@forward "solid-utilities/colors";
@forward "solid-utilities/buttons";
@forward "solid-utilities/forms";
@forward "solid-utilities/grid";
@forward "solid-utilities/tables";
@forward "solid-utilities/typography";
@forward "solid-utilities/borders";
@forward "solid-utilities/layout";
@forward "solid-utilities/flexbox";
@forward "solid-utilities/svg-icons";

2 changes: 2 additions & 0 deletions _lib/solid-base/_base.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@use "../solid-helpers" as *;

//
// Base Styles
// --------------------------------------------------
Expand Down
7 changes: 5 additions & 2 deletions _lib/solid-base/_deprecated.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
@use "sass:color";
@use "../solid-helpers" as *;

//
// Deprecated SCSS Classes
// Classes that would cause breaking changes if removed
Expand Down Expand Up @@ -60,7 +63,7 @@
}

.page-message__close-icon {
fill: darken($fill-red-lighter, 20%);
fill: color.adjust($fill-red-lighter, $lightness: -20%);
}

& .page-message__close:hover .page-message__close-icon {
Expand All @@ -85,7 +88,7 @@
}

.page-message__close-icon {
fill: darken($fill-green-lighter, 20%);
fill: color.adjust($fill-green-lighter, $lightness: -20%);
}

& .page-message__close:hover .page-message__close-icon {
Expand Down
2 changes: 2 additions & 0 deletions _lib/solid-base/_tables.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@use "../solid-helpers" as *;

//
// Table Styles
// --------------------------------------------------
Expand Down
21 changes: 12 additions & 9 deletions _lib/solid-base/_typography.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
@use "sass:color";
@use "../solid-helpers" as *;

//
// Typography Base Styles
// --------------------------------------------------
Expand All @@ -18,12 +21,12 @@ h1 {
line-height: $line-height-1;
}

h2 {
h2 {
font-size: $text-2;
line-height: $line-height-1;
}

h3 {
h3 {
font-size: $text-3;
line-height: $line-height-1;
}
Expand All @@ -33,12 +36,12 @@ h4 {
line-height: $line-height-2;
}

h5 {
h5 {
font-size: $text-5;
line-height: $line-height-2;
}

h6 {
h6 {
font-size: $text-6;
line-height: $line-height-2;
}
Expand All @@ -48,7 +51,7 @@ h1, h2, h3, h4, h5, h6 {
font-weight: normal;
}

// Caponi should never be an h6 or .type-6,
// Caponi should never be an h6 or .type-6,
// these classes disallow that from happening
// (type will default to Proxima)

Expand All @@ -60,16 +63,16 @@ h6.slab {
font-weight: $regular;
}

// This is getting the color from $text-blue
// instead of $link-blue because $link-blue
// This is getting the color from $text-blue
// instead of $link-blue because $link-blue
// does not exist as a variable. .link-blue
// using the $text-blue variable
a {
text-decoration: none;
text-decoration: none;
color: $text-blue;

&:hover {
color: darken($text-blue, 20%);
color: color.adjust($text-blue, $lightness: -20%);
transition: color .15s ease 0s;
}
}
Expand Down
2 changes: 2 additions & 0 deletions _lib/solid-components/_button-groups.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@use "../solid-helpers" as *;

//
// Button Groups
// --------------------------------------------------
Expand Down
2 changes: 2 additions & 0 deletions _lib/solid-components/_cards.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@use "../solid-helpers" as *;

//
// Cards
// --------------------------------------------------
Expand Down
Loading