@solid-design-system/tokens 2.0.0 → 2.1.0
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 +19 -0
- package/README.md +21 -0
- package/dist/tokens.scss +3 -0
- package/dist/tokens.tailwind.json +3 -0
- package/package.json +1 -1
package/LICENSE.md
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# CODE
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024 Union Investment
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
6
|
+
|
|
7
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
8
|
+
|
|
9
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
10
|
+
|
|
11
|
+
# ASSETS
|
|
12
|
+
|
|
13
|
+
All code contained in this library is licensed under the [MIT License](LICENSE.md). However, please note that this does not extend to the included assets such as fonts, icons, or images.
|
|
14
|
+
|
|
15
|
+
These assets are subject to their respective licenses and are included for demonstration purposes and use within the confines of this library. They should not be extracted and used separately without explicit permission from their copyright holders. The unauthorized use of these assets outside the context of this library may infringe on the rights of the respective copyright owners.
|
|
16
|
+
|
|
17
|
+
If you intend to use any assets outside of this library, you must obtain the necessary permissions from the copyright holders or replace them with your own or license-free alternatives. Failure to comply with asset licensing requirements may result in legal consequences.
|
|
18
|
+
|
|
19
|
+
Please consult the copyright holders or their licensing documents for further information on using these assets.
|
package/README.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
|
+
[](https://opensource.org/licenses/MIT)
|
|
2
|
+

|
|
3
|
+
|
|
1
4
|
# Tokens
|
|
2
5
|
|
|
3
6
|
The Solid Design System Tokens package provides a collection of design tokens for colors, typography and spacing. It ensures design consistency and collaboration between our designers and developers when building components for the Solid Design System.
|
|
4
7
|
|
|
5
8
|
Check out the [full documentation](https://solid-design-system.fe.union-investment.de/x.x.x/storybook/) for detailed information.
|
|
9
|
+
|
|
10
|
+
### Handling tokens (for Figma maintainers ONLY)
|
|
11
|
+
|
|
12
|
+
Any changes in the token set in Token Studio plugin must be in a new branch branched from `main`.
|
|
13
|
+
|
|
14
|
+

|
|
15
|
+
|
|
16
|
+

|
|
17
|
+
|
|
18
|
+
> Note: If the token is related to Figma native style i.e.: color, choose "create styles" so Figma style and token are in sync
|
|
19
|
+
|
|
20
|
+
Then push with a commit message according to the development standards and create a PR ticket to hand over
|
|
21
|
+
|
|
22
|
+

|
|
23
|
+
|
|
24
|
+

|
|
25
|
+
|
|
26
|
+
After front-end's approval and all tests are passed (quality gate, Chromatic tests etc.) hit `Squash and Merge` button, write a message (especially if there's any changes in token naming or deprecating note "BREAKING CHANGE: ..."
|
package/dist/tokens.scss
CHANGED
|
@@ -81,8 +81,11 @@ $sd-opacity-10: (var(--sd-opacity-10, 0.1));
|
|
|
81
81
|
$sd-opacity-20: (var(--sd-opacity-20, 0.2));
|
|
82
82
|
$sd-opacity-30: (var(--sd-opacity-30, 0.3));
|
|
83
83
|
$sd-opacity-50: (var(--sd-opacity-50, 0.5));
|
|
84
|
+
$sd-opacity-55: (var(--sd-opacity-55, 0.55));
|
|
85
|
+
$sd-opacity-60: (var(--sd-opacity-60, 0.6));
|
|
84
86
|
$sd-opacity-70: (var(--sd-opacity-70, 0.7));
|
|
85
87
|
$sd-opacity-75: (var(--sd-opacity-75, 0.75));
|
|
88
|
+
$sd-opacity-80: (var(--sd-opacity-80, 0.8));
|
|
86
89
|
$sd-opacity-85: (var(--sd-opacity-85, 0.85));
|
|
87
90
|
$sd-opacity-90: (var(--sd-opacity-90, 0.9));
|
|
88
91
|
|
|
@@ -297,8 +297,11 @@
|
|
|
297
297
|
"20": "var(--sd-opacity-20, 0.2)",
|
|
298
298
|
"30": "var(--sd-opacity-30, 0.3)",
|
|
299
299
|
"50": "var(--sd-opacity-50, 0.5)",
|
|
300
|
+
"55": "var(--sd-opacity-55, 0.55)",
|
|
301
|
+
"60": "var(--sd-opacity-60, 0.6)",
|
|
300
302
|
"70": "var(--sd-opacity-70, 0.7)",
|
|
301
303
|
"75": "var(--sd-opacity-75, 0.75)",
|
|
304
|
+
"80": "var(--sd-opacity-80, 0.8)",
|
|
302
305
|
"85": "var(--sd-opacity-85, 0.85)",
|
|
303
306
|
"90": "var(--sd-opacity-90, 0.9)"
|
|
304
307
|
},
|