ui-style-kit-css 2.0.1 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/README.md +12 -4
- package/demo/assets/README.md +23 -0
- package/demo/assets/android-chrome-192x192.png +0 -0
- package/demo/assets/android-chrome-512x512.png +0 -0
- package/demo/assets/apple-touch-icon.png +0 -0
- package/demo/assets/browserconfig.xml +9 -0
- package/demo/assets/favicon-128x128.png +0 -0
- package/demo/assets/favicon-16x16.png +0 -0
- package/demo/assets/favicon-256x256.png +0 -0
- package/demo/assets/favicon-32x32.png +0 -0
- package/demo/assets/favicon-384x384.png +0 -0
- package/demo/assets/favicon-48x48.png +0 -0
- package/demo/assets/favicon-64x64.png +0 -0
- package/demo/assets/favicon-96x96.png +0 -0
- package/demo/assets/favicon-head-snippet.html +11 -0
- package/demo/assets/favicon-master-1024.png +0 -0
- package/demo/assets/favicon.ico +0 -0
- package/demo/assets/favicon.svg +26 -0
- package/demo/assets/mstile-150x150.png +0 -0
- package/demo/assets/safari-pinned-tab.svg +3 -0
- package/demo/assets/site.webmanifest +25 -0
- package/demo/index.html +11 -0
- package/dist/ui-style-kit.css +1 -1
- package/dist/ui-style-kit.min.css +1 -1
- package/dist/ui-style-kit.with-bridge.css +1 -1
- package/dist/ui-style-kit.with-bridge.min.css +1 -1
- package/docs/PUBLISHING.md +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to **UI Style Kit CSS** will be documented here.
|
|
4
4
|
|
|
5
|
+
## [2.0.2] - 2026-07-08
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- Added the demo favicon pack, root Pages manifest wiring, and package-demo manifest wiring so release demos have consistent browser icons.
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
|
|
13
|
+
- Clarified the UI systems wiki with the full style matrix, core class suffixes, utility tiers, generic loading and tooltip hooks, and Interactive Surface bridge hooks.
|
|
14
|
+
- Polished README release guidance, CDN pinning, and token-model wording for the `2.0.2` maintenance release.
|
|
15
|
+
- Refreshed development tooling for style linting and Playwright verification without changing the public CSS API.
|
|
16
|
+
|
|
17
|
+
### Security
|
|
18
|
+
|
|
19
|
+
- Added dependency maintenance coverage for the transitive development-only `js-yaml` advisory path used by stylelint configuration loading.
|
|
20
|
+
|
|
5
21
|
## [2.0.1] - 2026-06-22
|
|
6
22
|
|
|
7
23
|
### Added
|
package/README.md
CHANGED
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
# UI Style Kit CSS
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/ui-style-kit-css)
|
|
4
|
+
[](./LICENSE)
|
|
5
|
+
|
|
3
6
|
**UI Style Kit CSS** is a CSS-only theme and UI style preset library for accessible websites, dashboards, admin interfaces, and customer-facing pages.
|
|
4
7
|
|
|
5
8
|
It is separate from, but complementary to, **Interactive Surface CSS**. Use **UI Style Kit CSS** for visual identity, color themes, UI presets, layout mood, and native HTML styling. Use **Interactive Surface CSS** for interaction-state animation systems and surface behavior.
|
|
6
9
|
|
|
7
10
|
## Current Release
|
|
8
11
|
|
|
9
|
-
`v2.0.
|
|
12
|
+
`v2.0.2` is the current v2 patch release. It keeps the `v2.0.1` shared color-scheme and native-element model, documents the public UI-system contracts more clearly, and refreshes development tooling without changing the CSS API.
|
|
13
|
+
|
|
14
|
+
[Showcase website](https://foscat.github.io/ui-style-kit-css/)
|
|
10
15
|
|
|
11
16
|
## Features
|
|
12
17
|
|
|
@@ -18,7 +23,7 @@ It is separate from, but complementary to, **Interactive Surface CSS**. Use **UI
|
|
|
18
23
|
- Scoped native HTML element coverage, including semantic containers and inline text elements
|
|
19
24
|
- Visible `:focus-visible` defaults
|
|
20
25
|
- Skip-link and visually-hidden helpers per style prefix
|
|
21
|
-
- Compact shared palette
|
|
26
|
+
- Compact shared palette -> prefixed alias -> UI-rule token model
|
|
22
27
|
- Theme-driven card, panel, control, page-background, and spinner defaults
|
|
23
28
|
- Visible tooltip classes and native `[role="tooltip"]` styling inside each UI scope
|
|
24
29
|
- Font-family override variables for body, headings, controls, and mono text
|
|
@@ -41,7 +46,7 @@ Use a single style import for production apps that use one visual system:
|
|
|
41
46
|
import "ui-style-kit-css/minimal-saas.css";
|
|
42
47
|
```
|
|
43
48
|
|
|
44
|
-
In `v2.0.
|
|
49
|
+
In `v2.0.2`, standalone style files import the shared color-scheme layer from `styles/theme-colors.css` and the shared native-element fallback layer from `styles/native-elements.css`. Bundlers that understand CSS `@import` will resolve them automatically. If your build pipeline does not resolve CSS imports, import the shared dependencies before the style file:
|
|
45
50
|
|
|
46
51
|
```js
|
|
47
52
|
import "ui-style-kit-css/theme-colors.css";
|
|
@@ -100,7 +105,7 @@ After publishing to NPM:
|
|
|
100
105
|
For production, pin a version:
|
|
101
106
|
|
|
102
107
|
```html
|
|
103
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/ui-style-kit-css@2.0.
|
|
108
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/ui-style-kit-css@2.0.2/dist/ui-style-kit.min.css" />
|
|
104
109
|
```
|
|
105
110
|
|
|
106
111
|
## Basic usage
|
|
@@ -290,6 +295,9 @@ ui-style-kit-css/
|
|
|
290
295
|
PUBLISHING.md
|
|
291
296
|
demo/
|
|
292
297
|
index.html
|
|
298
|
+
assets/
|
|
299
|
+
favicon.svg
|
|
300
|
+
site.webmanifest
|
|
293
301
|
```
|
|
294
302
|
|
|
295
303
|
## Development checks
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# UI Style Kit CSS favicon pack
|
|
2
|
+
|
|
3
|
+
Generated for the UI Style Kit CSS demo site.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
1. Keep this folder at `demo/assets/` for the checked-in demo site.
|
|
8
|
+
2. Paste the contents of `favicon-head-snippet.html` into a demo document that also has an `assets/` folder beside it.
|
|
9
|
+
3. If copying the pack into another public root, update the snippet paths to match that app's deployed base path.
|
|
10
|
+
|
|
11
|
+
## Included files
|
|
12
|
+
|
|
13
|
+
- `favicon.ico` with 16, 32, and 48 px embedded sizes
|
|
14
|
+
- `favicon.svg` scalable gradient icon
|
|
15
|
+
- PNG favicons: 16, 32, 48, 64, 96, 128, 256 px
|
|
16
|
+
- `apple-touch-icon.png` at 180 px
|
|
17
|
+
- `android-chrome-192x192.png` and `android-chrome-512x512.png`
|
|
18
|
+
- `mstile-150x150.png` and `browserconfig.xml`
|
|
19
|
+
- `safari-pinned-tab.svg`
|
|
20
|
+
- `site.webmanifest`
|
|
21
|
+
|
|
22
|
+
Theme color: `#070b24`
|
|
23
|
+
Accent color: `#6e56ff`
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<!-- UI Style Kit CSS favicon pack -->
|
|
2
|
+
<link rel="icon" href="assets/favicon.ico" sizes="any">
|
|
3
|
+
<link rel="icon" type="image/svg+xml" href="assets/favicon.svg">
|
|
4
|
+
<link rel="icon" type="image/png" sizes="16x16" href="assets/favicon-16x16.png">
|
|
5
|
+
<link rel="icon" type="image/png" sizes="32x32" href="assets/favicon-32x32.png">
|
|
6
|
+
<link rel="apple-touch-icon" sizes="180x180" href="assets/apple-touch-icon.png">
|
|
7
|
+
<link rel="manifest" href="assets/site.webmanifest">
|
|
8
|
+
<link rel="mask-icon" href="assets/safari-pinned-tab.svg" color="#6e56ff">
|
|
9
|
+
<meta name="msapplication-TileColor" content="#070b24">
|
|
10
|
+
<meta name="msapplication-config" content="assets/browserconfig.xml">
|
|
11
|
+
<meta name="theme-color" content="#070b24">
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024" role="img" aria-labelledby="title desc">
|
|
2
|
+
<title id="title">UI Style Kit CSS favicon</title>
|
|
3
|
+
<desc id="desc">Layered gradient rounded-square icon with a white U.</desc>
|
|
4
|
+
<defs>
|
|
5
|
+
<linearGradient id="g1" x1="12%" y1="86%" x2="88%" y2="14%">
|
|
6
|
+
<stop offset="0%" stop-color="#ff8a4c"/>
|
|
7
|
+
<stop offset="37%" stop-color="#8b5cff"/>
|
|
8
|
+
<stop offset="72%" stop-color="#5f6cff"/>
|
|
9
|
+
<stop offset="100%" stop-color="#22d8d1"/>
|
|
10
|
+
</linearGradient>
|
|
11
|
+
<linearGradient id="g2" x1="0%" y1="100%" x2="100%" y2="0%">
|
|
12
|
+
<stop offset="0%" stop-color="#ff7b55"/>
|
|
13
|
+
<stop offset="45%" stop-color="#9b5cff"/>
|
|
14
|
+
<stop offset="100%" stop-color="#22cfff"/>
|
|
15
|
+
</linearGradient>
|
|
16
|
+
<filter id="shadow" x="-20%" y="-20%" width="140%" height="150%">
|
|
17
|
+
<feDropShadow dx="18" dy="28" stdDeviation="22" flood-color="#03071f" flood-opacity="0.38"/>
|
|
18
|
+
</filter>
|
|
19
|
+
</defs>
|
|
20
|
+
<g filter="url(#shadow)">
|
|
21
|
+
<rect x="132" y="226" width="610" height="610" rx="126" transform="rotate(-7 437 531)" fill="url(#g1)" opacity="0.82"/>
|
|
22
|
+
<rect x="184" y="158" width="650" height="650" rx="130" transform="rotate(-4 509 483)" fill="url(#g2)" opacity="0.92"/>
|
|
23
|
+
<rect x="196" y="104" width="660" height="660" rx="136" transform="rotate(-4 526 434)" fill="url(#g1)"/>
|
|
24
|
+
</g>
|
|
25
|
+
<text x="512" y="668" text-anchor="middle" font-family="Inter, Arial, Helvetica, sans-serif" font-size="560" font-weight="900" fill="#ffffff">U</text>
|
|
26
|
+
</svg>
|
|
Binary file
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "UI Style Kit CSS Demo",
|
|
3
|
+
"short_name": "UI Style Kit",
|
|
4
|
+
"description": "Demo site for the UI Style Kit CSS library.",
|
|
5
|
+
"id": "../",
|
|
6
|
+
"start_url": "../",
|
|
7
|
+
"scope": "../",
|
|
8
|
+
"icons": [
|
|
9
|
+
{
|
|
10
|
+
"src": "android-chrome-192x192.png",
|
|
11
|
+
"sizes": "192x192",
|
|
12
|
+
"type": "image/png",
|
|
13
|
+
"purpose": "any maskable"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"src": "android-chrome-512x512.png",
|
|
17
|
+
"sizes": "512x512",
|
|
18
|
+
"type": "image/png",
|
|
19
|
+
"purpose": "any maskable"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"theme_color": "#070b24",
|
|
23
|
+
"background_color": "#070b24",
|
|
24
|
+
"display": "standalone"
|
|
25
|
+
}
|
package/demo/index.html
CHANGED
|
@@ -4,6 +4,17 @@
|
|
|
4
4
|
<meta charset="utf-8">
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
6
6
|
<title>UI Style Kit CSS Demo</title>
|
|
7
|
+
<!-- Relative favicon paths keep the npm-packaged demo portable from any install location. -->
|
|
8
|
+
<link rel="icon" href="assets/favicon.ico" sizes="any">
|
|
9
|
+
<link rel="icon" type="image/svg+xml" href="assets/favicon.svg">
|
|
10
|
+
<link rel="icon" type="image/png" sizes="16x16" href="assets/favicon-16x16.png">
|
|
11
|
+
<link rel="icon" type="image/png" sizes="32x32" href="assets/favicon-32x32.png">
|
|
12
|
+
<link rel="apple-touch-icon" sizes="180x180" href="assets/apple-touch-icon.png">
|
|
13
|
+
<link rel="manifest" href="assets/site.webmanifest">
|
|
14
|
+
<link rel="mask-icon" href="assets/safari-pinned-tab.svg" color="#6e56ff">
|
|
15
|
+
<meta name="msapplication-TileColor" content="#070b24">
|
|
16
|
+
<meta name="msapplication-config" content="assets/browserconfig.xml">
|
|
17
|
+
<meta name="theme-color" content="#070b24">
|
|
7
18
|
<link id="styleKitStylesheet" rel="stylesheet" href="../dist/ui-style-kit.css">
|
|
8
19
|
<style>
|
|
9
20
|
.demo-controls {
|
package/dist/ui-style-kit.css
CHANGED