@lilydesignsystem/themes 0.6.0 → 0.6.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/LICENSE.md +8 -8
- package/dist/abyss.css +635 -22
- package/dist/acid.css +634 -21
- package/dist/adobe-spectrum.css +636 -23
- package/dist/ant-design.css +634 -21
- package/dist/aqua.css +636 -23
- package/dist/atlassian.css +634 -21
- package/dist/australia-agriculture-design-system.css +4575 -0
- package/dist/autumn.css +636 -23
- package/dist/black.css +635 -22
- package/dist/brazil-padrao-digital-de-governo.css +4575 -0
- package/dist/bumblebee.css +637 -24
- package/dist/business.css +635 -22
- package/dist/canada-government-of-canada-design-system.css +4575 -0
- package/dist/cappuccino.css +634 -21
- package/dist/caramellatte.css +635 -22
- package/dist/cmyk.css +634 -21
- package/dist/coffee.css +634 -21
- package/dist/corporate.css +638 -25
- package/dist/cupcake.css +635 -22
- package/dist/cyberpunk.css +634 -21
- package/dist/dark.css +636 -23
- package/dist/dim.css +634 -21
- package/dist/dracula.css +634 -21
- package/dist/emerald.css +635 -22
- package/dist/european-union-europa-component-library.css +4575 -0
- package/dist/excel.css +634 -21
- package/dist/fantasy.css +635 -22
- package/dist/fluent.css +634 -21
- package/dist/forest.css +634 -21
- package/dist/garden.css +636 -23
- package/dist/github-primer.css +634 -21
- package/dist/halloween.css +635 -22
- package/dist/ibm-carbon.css +634 -21
- package/dist/japan-digital-agency-design-system.css +4575 -0
- package/dist/lemonade.css +634 -21
- package/dist/light.css +635 -22
- package/dist/linear.css +634 -21
- package/dist/lofi.css +634 -21
- package/dist/luxury.css +634 -21
- package/dist/mozilla-protocol.css +636 -23
- package/dist/night.css +634 -21
- package/dist/nord.css +634 -21
- package/dist/notion.css +634 -21
- package/dist/pastel.css +641 -28
- package/dist/retro.css +638 -25
- package/dist/salesforce.css +634 -21
- package/dist/sap-fiori.css +634 -21
- package/dist/silk.css +635 -22
- package/dist/singapore-government-design-system.css +4575 -0
- package/dist/sunset.css +634 -21
- package/dist/synthwave.css +634 -21
- package/dist/united-kingdom-government-digital-service.css +634 -21
- package/dist/united-kingdom-national-health-service-england-for-patients.css +658 -32
- package/dist/united-kingdom-national-health-service-england-for-practitioners.css +656 -30
- package/dist/united-kingdom-national-health-service-scotland-for-patients.css +669 -40
- package/dist/united-kingdom-national-health-service-scotland-for-practitioners.css +664 -35
- package/dist/united-kingdom-national-health-service-wales-for-patients.css +669 -38
- package/dist/united-kingdom-national-health-service-wales-for-practitioners.css +662 -31
- package/dist/united-states-web-design-system.css +635 -22
- package/dist/valentine.css +638 -25
- package/dist/vercel.css +634 -21
- package/dist/winter.css +635 -22
- package/dist/wireframe.css +634 -21
- package/index.md +8 -4
- package/package.json +2 -2
package/index.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Lily Design System™ — Themes
|
|
2
2
|
|
|
3
|
-
`@lilydesignsystem/themes` packages the
|
|
3
|
+
`@lilydesignsystem/themes` packages the 63 reference theme stylesheets
|
|
4
4
|
that live at the canonical monorepo root
|
|
5
5
|
([`themes/`](https://github.com/LilyDesignSystem/lily-design-system/tree/main/themes))
|
|
6
6
|
as an installable npm package, so a consumer who wants Lily's default
|
|
@@ -9,7 +9,7 @@ look does not have to clone the monorepo or hand-copy CSS files.
|
|
|
9
9
|
Each stylesheet targets the Lily headless components' kebab-case class
|
|
10
10
|
hooks (see [css-style-sheet-template.css](https://github.com/LilyDesignSystem/lily-design-system/blob/main/css-style-sheet-template.css))
|
|
11
11
|
directly — no build step, no CSS framework, no JavaScript runtime.
|
|
12
|
-
This package is CSS only:
|
|
12
|
+
This package is CSS only: 63 files, one per theme, unmodified from the
|
|
13
13
|
canonical source.
|
|
14
14
|
|
|
15
15
|
## Install
|
|
@@ -23,7 +23,11 @@ npm install @lilydesignsystem/themes
|
|
|
23
23
|
**Static `<link>` (what the `theme-picker` helper does):**
|
|
24
24
|
|
|
25
25
|
```html
|
|
26
|
-
<link
|
|
26
|
+
<link
|
|
27
|
+
rel="stylesheet"
|
|
28
|
+
href="/node_modules/@lilydesignsystem/themes/light.css"
|
|
29
|
+
data-lily-theme-picker
|
|
30
|
+
/>
|
|
27
31
|
```
|
|
28
32
|
|
|
29
33
|
`theme-picker` swaps this `href` at runtime and sets `data-theme` on
|
|
@@ -45,7 +49,7 @@ app uses, via `bin/sync`):
|
|
|
45
49
|
cp node_modules/@lilydesignsystem/themes/*.css public/themes/
|
|
46
50
|
```
|
|
47
51
|
|
|
48
|
-
## The
|
|
52
|
+
## The 63 themes
|
|
49
53
|
|
|
50
54
|
Alphabetical, with the UK/US government themes grouped at the end
|
|
51
55
|
(matching `picker-bar`'s default ordering). Each theme has its own page
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lilydesignsystem/themes",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.2",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=26"
|
|
6
6
|
},
|
|
7
|
-
"description": "Lily Design System reference theme stylesheets:
|
|
7
|
+
"description": "Lily Design System reference theme stylesheets: 63 ready-to-use CSS themes (NHS England/Scotland/Wales, GOV.UK GDS, USWDS, Adobe Spectrum, Mozilla Protocol, Ant Design, Atlassian, Excel, Fluent, GitHub Primer, IBM Carbon, Linear, Notion, Salesforce, SAP Fiori, Vercel, and general-purpose themes) targeting the Lily kebab-case class hooks.",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"files": [
|
|
10
10
|
"dist",
|