lucentia-ui 0.1.5 → 0.1.6
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
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright 2026 Lucentia UI
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -23,7 +23,7 @@ yarn add lucentia-ui
|
|
|
23
23
|
- React 18+
|
|
24
24
|
- CSS Modules 対応環境(Next.js / Vite / CRA など)
|
|
25
25
|
|
|
26
|
-
##
|
|
26
|
+
## 基本の使い方
|
|
27
27
|
|
|
28
28
|
### 1.ThemeProvider をアプリのルートに配置
|
|
29
29
|
|
|
@@ -37,7 +37,7 @@ export default function App() {
|
|
|
37
37
|
}
|
|
38
38
|
```
|
|
39
39
|
|
|
40
|
-
|
|
40
|
+
## 利用可能なテーマ
|
|
41
41
|
|
|
42
42
|
```ts
|
|
43
43
|
type Theme = "light" | "dark";
|
|
@@ -136,14 +136,6 @@ export default function App() {
|
|
|
136
136
|
- **CSS の上書きは非推奨**
|
|
137
137
|
(Tokens 拡張を想定)
|
|
138
138
|
|
|
139
|
-
---
|
|
140
|
-
|
|
141
|
-
## 将来予定
|
|
142
|
-
|
|
143
|
-
- system theme 対応
|
|
144
|
-
- Theme 拡張 API
|
|
145
|
-
- アニメーション Token
|
|
146
|
-
- a11y 強化
|
|
147
139
|
|
|
148
140
|
---
|
|
149
141
|
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
--color-on-surface-variant: #161d1d80;
|
|
50
50
|
--color-surface-container: #e9efeebf;
|
|
51
51
|
|
|
52
|
-
--color-border: #
|
|
52
|
+
--color-border: #bbcccc;
|
|
53
53
|
--color-scrim: rgba(129, 129, 129, 0.25);
|
|
54
54
|
|
|
55
55
|
--color-shadow-l: rgba(255, 255, 255, 1);
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
--color-on-surface-variant: #dde4e380;
|
|
99
99
|
--color-surface-container: #262d2d;
|
|
100
100
|
|
|
101
|
-
--color-border: #
|
|
101
|
+
--color-border: #4b5251;
|
|
102
102
|
--color-scrim: rgba(0, 0, 0, 0.25);
|
|
103
103
|
|
|
104
104
|
--color-shadow-l: rgba(255, 255, 255, 0.25);
|
package/dist/styles/tokens.css
CHANGED
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
--color-on-surface-variant: #161d1d80;
|
|
27
27
|
--color-surface-container: #e9efeebf;
|
|
28
28
|
|
|
29
|
-
--color-border: #
|
|
29
|
+
--color-border: #bbcccc;
|
|
30
30
|
--color-scrim: rgba(129, 129, 129, 0.25);
|
|
31
31
|
|
|
32
32
|
/* ===== Effect ===== */
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
--color-on-surface-variant: #dde4e380;
|
|
90
90
|
--color-surface-container: #262d2d;
|
|
91
91
|
|
|
92
|
-
--color-border: #
|
|
92
|
+
--color-border: #4b5251;
|
|
93
93
|
|
|
94
94
|
--color-shadow-l: rgba(255, 255, 255, 0.25);
|
|
95
95
|
--color-shadow-d: rgba(0, 0, 0, 1);
|
package/package.json
CHANGED