Skip to content

Commit 5e5a94e

Browse files
committed
utility fixes
1 parent a7b801d commit 5e5a94e

File tree

14 files changed

+50
-44
lines changed

14 files changed

+50
-44
lines changed

dist/main.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/main.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/utility.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/utility.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@webpixels/css",
33
"description": "Utility and component-centric design system based on Bootstrap for fast, responsive UI development.",
4-
"version": "2.0.0-beta.12",
4+
"version": "2.0.0-beta.13",
55
"version_short": "2.0",
66
"license": "MIT",
77
"style": "dist/index.css",
@@ -32,6 +32,9 @@
3232
},
3333
"bugs": {
3434
"url": "https://github.com/webpixels/css/issues"
35+
},
36+
"bin": {
37+
"webpixels": "./bin.js"
3538
},
3639
"scripts": {
3740
"build": "npm run css",

scss/core/_colors.scss

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22

33
// White/Grays/Black colors
44
$white: #FFF !default;
5-
$gray-50: #f9fafb !default;
6-
$gray-100: #f3f4f6 !default;
7-
$gray-200: #e5e7eb !default;
8-
$gray-300: #d1d5db !default;
9-
$gray-400: #9ca3af !default;
10-
$gray-500: #6b7280 !default;
11-
$gray-600: #4b5563 !default;
12-
$gray-700: #374151 !default; // Used for text color
13-
$gray-800: #1f2937 !default; // Used for headings color
14-
$gray-900: #111827 !default;
5+
$gray-50: #f8fafc !default;
6+
$gray-100: #f1f5f9 !default;
7+
$gray-200: #e2e8f0 !default;
8+
$gray-300: #cbd5e1 !default;
9+
$gray-400: #94a3b8 !default;
10+
$gray-500: #64748b !default;
11+
$gray-600: #475569 !default;
12+
$gray-700: #334155 !default; // Used for text color
13+
$gray-800: #1e293b !default; // Used for headings color
14+
$gray-900: #0f172a !default;
1515
$black: #000 !default;
1616

1717
// Base colors

scss/core/_root.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
:root,
22
[data-bs-theme="light"] {
3+
4+
@each $color, $value in $all-colors {
5+
--#{$prefix}#{$color}: #{$value};
6+
}
7+
38
// Logo
49
.logo-light {
510
display: none;
@@ -34,7 +39,6 @@
3439
--#{$prefix}btn-hover-bg: var(--#{$prefix}gray-700);
3540
--#{$prefix}btn-hover-color: var(--#{$prefix}white);
3641
--#{$prefix}btn-hover-border-color: var(--#{$prefix}gray-700);
37-
// --#{$prefix}btn-hover-color: #{color-contrast($dark)};
3842
}
3943
}
4044
}

scss/extra.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Webpixels CSS v2.0.0-beta.12 (https://webpixels.io/)
2+
* Webpixels CSS v2.0.0-beta.13 (https://webpixels.io/)
33
* Copyright 2023 Webpixels
44
* Licensed under MIT (https://github.com/webpixels/css/blob/main/LICENSE)
55
*/

scss/index.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Webpixels CSS v2.0.0-beta.12 (https://webpixels.io/)
2+
* Webpixels CSS v2.0.0-beta.13 (https://webpixels.io/)
33
* Copyright 2023 Webpixels
44
* Licensed under MIT (https://github.com/webpixels/css/blob/main/LICENSE)
55
*/

scss/main.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Webpixels CSS v2.0.0-beta.12 (https://webpixels.io/)
2+
* Webpixels CSS v2.0.0-beta.13 (https://webpixels.io/)
33
* Copyright 2023 Webpixels
44
* Licensed under MIT (https://github.com/webpixels/css/blob/main/LICENSE)
55
*/

0 commit comments

Comments
 (0)