@elegant-soft/design-system 0.0.0-stage → 0.1.0-preview.0.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/CHANGELOG.md +39 -0
- package/DESIGN.md +336 -0
- package/LICENSE +21 -0
- package/THIRD_PARTY_NOTICES.md +154 -0
- package/dist/assets/inter-bold.woff2 +0 -0
- package/dist/assets/inter-italic-variable.woff2 +0 -0
- package/dist/assets/inter-light.woff2 +0 -0
- package/dist/assets/inter-medium.woff2 +0 -0
- package/dist/assets/inter-regular.woff2 +0 -0
- package/dist/assets/inter-semi-bold.woff2 +0 -0
- package/dist/assets/primeicons.eot +0 -0
- package/dist/assets/primeicons.svg +345 -0
- package/dist/assets/primeicons.ttf +0 -0
- package/dist/assets/primeicons.woff +0 -0
- package/dist/assets/primeicons.woff2 +0 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.es.js +271 -0
- package/dist/styles.css +1 -0
- package/dist/theme/component-tokens.constants.d.ts +2 -0
- package/dist/theme/constants.d.ts +6 -0
- package/dist/theme/es-tokens.constants.d.ts +3 -0
- package/dist/theme/index.d.ts +4 -0
- package/dist/theme/preset.d.ts +5 -0
- package/dist/theme/preset.utils.d.ts +5 -0
- package/dist/theme/semantic-tokens.constants.d.ts +2 -0
- package/dist/theme/types.d.ts +11 -0
- package/dist/theme-mode/constants.d.ts +4 -0
- package/dist/theme-mode/index.d.ts +3 -0
- package/dist/theme-mode/theme-mode.utils.d.ts +5 -0
- package/dist/theme-mode/types.d.ts +2 -0
- package/package.json +91 -4
- package/tokens.json +1032 -0
- package/README.md +0 -3
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to `@elegant-soft/design-system` are documented here.
|
|
4
|
+
|
|
5
|
+
Format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## [0.1.0-preview.0.1.0] — 2026-11-26
|
|
10
|
+
|
|
11
|
+
The first release: the shared theme of the DSS UIs.
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
|
|
15
|
+
- The `es` semantic layer — the tokens apps use: `es.surface.*` (page, card, hover, field, mask),
|
|
16
|
+
`es.text.*`, `es.border.*`, `es.accent.*`, `es.highlight.*`, `es.interactive.hoverBackground`,
|
|
17
|
+
`es.focus.color`, `es.tabs.activeColor`, `es.status.*` (danger, success, warning, info),
|
|
18
|
+
`es.fontFamily`, `es.fontSize.*`, `es.iconSize.*`, `es.radius.*` (field, control, card),
|
|
19
|
+
`es.shadow.*` (raised, raisedHover, ambient, overlay), `es.layout.headerHeight` and
|
|
20
|
+
`es.spacing.menuList` / `menuItem`, light and dark, as `--p-es-*` CSS variables.
|
|
21
|
+
- `esPreset` (Aura 2 + the `es` layer): the PrimeVue semantic tokens of both color schemes and the
|
|
22
|
+
overridden components (Tabs, the Toast / Message close buttons, the Button radius, primary focus
|
|
23
|
+
ring and the transparent secondary) refer to the `es` tokens.
|
|
24
|
+
- Selected items — options of Select, MultiSelect and Listbox, DataTable rows, active menu items —
|
|
25
|
+
take the neutral `es.highlight.*` colour and keep it on focus and on hover.
|
|
26
|
+
- `esPrimeVueConfig`, `ES_THEME_OPTIONS` (`darkModeSelector: '.dark'`), `ES_DANGER_MENU_ITEM_CLASS`.
|
|
27
|
+
- `extendEsPreset(tokens)` — an app adds its own tokens in its own namespace; a name of the system
|
|
28
|
+
(`es`, an Aura primitive or semantic) is refused.
|
|
29
|
+
- The theme mode: `DARK_MODE_CLASS`, `applyThemeMode`, `readStoredThemeMode(key)` /
|
|
30
|
+
`storeThemeMode(key, mode)` — every app keeps its own theme under its own key.
|
|
31
|
+
- `styles.css`: PrimeFlex 4, PrimeIcons 7, Inter (300–700 and italic, WOFF2), the base rules, the
|
|
32
|
+
`color-scheme` of `html` / `html.dark`, the `sm` text of buttons, fields, menus and tooltips, the
|
|
33
|
+
red menu item, the text-button hover, the dialog close button and the `es-icon-sm/md/lg`,
|
|
34
|
+
`es-toolbar-button`, `es-multiline` classes. Fonts ship as files.
|
|
35
|
+
- `DESIGN.md` (Russian) — the rules of the visual language and the generated tables of every token,
|
|
36
|
+
palette, overridden component token and the action icons; `tokens.json` — the same tokens as data.
|
|
37
|
+
- `THIRD_PARTY_NOTICES.md` — the licenses of Inter (SIL OFL 1.1), PrimeIcons and PrimeFlex (MIT).
|
|
38
|
+
- Peer dependencies `primevue` 4.5.5 and `@primeuix/themes` 2.0.3 (exact), the last MIT versions:
|
|
39
|
+
an app lists none of the Prime packages, npm installs them with the package.
|
package/DESIGN.md
ADDED
|
@@ -0,0 +1,336 @@
|
|
|
1
|
+
# Дизайн-система Elegant-soft
|
|
2
|
+
|
|
3
|
+
`@elegant-soft/design-system` — общий визуальный язык UI системы DSS: Projector-UI, Warden-UI, PureQL Builder и будущих приложений. Документ для людей и для ИИ-ассистентов: если делаете интерфейс приложения DSS, прочитайте его целиком перед первой правкой.
|
|
4
|
+
|
|
5
|
+
Таблицы между маркерами `<!-- tokens:… -->` пишет генератор (`npm run tokens`) из пресета — значения в них всегда совпадают с темой этой версии пакета. Остальной текст пишется руками. Те же данные в машинном виде — `tokens.json` рядом с этим файлом.
|
|
6
|
+
|
|
7
|
+
## Подключение
|
|
8
|
+
|
|
9
|
+
Приложение указывает в `package.json` только `@elegant-soft/design-system` (точную версию). `primevue` и `@primeuix/themes` npm ставит сам как peer-зависимости системы, ровно тех версий, с которыми тема проверена; PrimeFlex, PrimeIcons и шрифт Inter приходят внутри `styles.css`. Пакеты Prime в `package.json` приложения не пишутся.
|
|
10
|
+
|
|
11
|
+
```ts
|
|
12
|
+
import PrimeVue from 'primevue/config';
|
|
13
|
+
import { esPrimeVueConfig } from '@elegant-soft/design-system';
|
|
14
|
+
import '@elegant-soft/design-system/styles.css';
|
|
15
|
+
|
|
16
|
+
createApp(App).use(PrimeVue, esPrimeVueConfig);
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
Свои токены приложение добавляет только в своём пространстве имён — через `extendEsPreset`; имя системы (`es`, любое имя палитры или семантики PrimeVue) вызывает ошибку:
|
|
20
|
+
|
|
21
|
+
```ts
|
|
22
|
+
import { ES_THEME_OPTIONS, extendEsPreset } from '@elegant-soft/design-system';
|
|
23
|
+
|
|
24
|
+
const preset = extendEsPreset({
|
|
25
|
+
projector: { chartGap: { lineColor: '{blue.500}' } },
|
|
26
|
+
colorScheme: {
|
|
27
|
+
light: { projector: { chartGap: { markColor: '{zinc.700}' } } },
|
|
28
|
+
dark: { projector: { chartGap: { markColor: '{zinc.200}' } } },
|
|
29
|
+
},
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
createApp(App).use(PrimeVue, { theme: { preset, options: ES_THEME_OPTIONS } });
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Главные правила
|
|
36
|
+
|
|
37
|
+
1. **В стилях приложения — только переменные `--p-es-*`** (`var(--p-es-text-muted)`, `var(--p-es-surface-card)`, `var(--p-es-font-size-sm)`). Ни hex, ни rgba, ни литералов шкалы (`14px`, `0.875rem`), ни переменных PrimeVue напрямую (`--p-surface-500`, `--p-red-500`).
|
|
38
|
+
2. **Чего нет в системе — того нет.** Нужен новый цвет, размер, тень или другой вид компонента — он добавляется в дизайн-систему (и появляется на её витрине), а не в приложении.
|
|
39
|
+
3. **Тему приложение не переопределяет.** Ни свой пресет, ни `definePreset(Aura, …)`, ни переопределение токенов системы; только `extendEsPreset` со своим пространством имён.
|
|
40
|
+
4. **У каждой кнопки есть иконка**, своя для каждого действия (таблица ниже).
|
|
41
|
+
5. **Текста 12–13px нет.** Шкала — `sm` 14px и `md` 16px.
|
|
42
|
+
|
|
43
|
+
## Цвета и токены
|
|
44
|
+
|
|
45
|
+
У системы свой словарь семантических токенов — слой `es`. Значение живёт в `es`-токене, а семантика PrimeVue ссылается на него (`text.mutedColor` → `{es.text.muted}`): правка одного `es`-токена меняет все компоненты PrimeVue, которые берут эту семантику, и классы PrimeFlex. Колонки «Светлая» и «Тёмная» — итоговые значения. «На него ссылается PrimeVue» — какие токены PrimeVue (семантика и переопределённые компоненты) читают этот токен.
|
|
46
|
+
|
|
47
|
+
<!-- tokens:es:start -->
|
|
48
|
+
| Токен | CSS-переменная | Светлая | Тёмная | Для чего | На него ссылается PrimeVue |
|
|
49
|
+
| --- | --- | --- | --- | --- | --- |
|
|
50
|
+
| `es.surface.page` | `--p-es-surface-page` | `#f7f7f8` | `#18181b` | Фон страницы под карточками и панелями | — |
|
|
51
|
+
| `es.surface.card` | `--p-es-surface-card` | `#ffffff` | `#18181b` | Фон карточки, панели, таблицы, выпадающего списка, поповера и диалога | `content.background`, `overlay.select.background`, `overlay.popover.background`, `overlay.modal.background` |
|
|
52
|
+
| `es.surface.hover` | `--p-es-surface-hover` | `#f1f5f9` | `#27272a` | Фон поверхности под курсором | `content.hoverBackground` |
|
|
53
|
+
| `es.surface.field` | `--p-es-surface-field` | `#ffffff` | `#18181b` | Фон поля ввода (в тёмной теме — как у карточки) | `formField.background` |
|
|
54
|
+
| `es.surface.mask` | `--p-es-surface-mask` | `rgba(0,0,0,0.4)` | `rgba(0,0,0,0.6)` | Затемнение страницы под модальным окном | `mask.background` |
|
|
55
|
+
| `es.text.default` | `--p-es-text-default` | `#334155` | `#ffffff` | Основной текст, текст в поле ввода | `formField.color`, `text.color` |
|
|
56
|
+
| `es.text.hover` | `--p-es-text-hover` | `#1e293b` | `#ffffff` | Основной текст под курсором | `text.hoverColor` |
|
|
57
|
+
| `es.text.muted` | `--p-es-text-muted` | `#64748b` | `#a1a1aa` | Второстепенный текст, подписи, подсказка в пустом поле | `formField.placeholderColor`, `text.mutedColor` |
|
|
58
|
+
| `es.text.mutedHover` | `--p-es-text-muted-hover` | `#475569` | `#d4d4d8` | Второстепенный текст под курсором | `text.hoverMutedColor` |
|
|
59
|
+
| `es.border.default` | `--p-es-border-default` | `#e2e8f0` | `#3f3f46` | Граница карточки, таблицы, выпадающего списка; разделитель | `content.borderColor`, `overlay.select.borderColor`, `overlay.popover.borderColor`, `overlay.modal.borderColor` |
|
|
60
|
+
| `es.border.field` | `--p-es-border-field` | `#cbd5e1` | `#52525b` | Граница поля ввода | `formField.borderColor` |
|
|
61
|
+
| `es.border.fieldHover` | `--p-es-border-field-hover` | `#94a3b8` | `#71717a` | Граница поля ввода под курсором | `formField.hoverBorderColor` |
|
|
62
|
+
| `es.accent.color` | `--p-es-accent-color` | `#1a1a2e` | `#101020` | Акцент: primary-кнопка, активный и выбранный элемент | `primary.color` |
|
|
63
|
+
| `es.accent.contrast` | `--p-es-accent-contrast` | `#ffffff` | `#ffffff` | Текст и иконка на акцентном фоне | `primary.contrastColor` |
|
|
64
|
+
| `es.accent.hover` | `--p-es-accent-hover` | `#151528` | `#151528` | Акцент под курсором | `primary.hoverColor` |
|
|
65
|
+
| `es.accent.active` | `--p-es-accent-active` | `#101020` | `#151528` | Акцент в момент нажатия | `primary.activeColor` |
|
|
66
|
+
| `es.highlight.background` | `--p-es-highlight-background` | `#e2e8f0` | `#3f3f46` | Фон выбранного пункта списка, меню, строки таблицы — один и тот же в фокусе и без него | `highlight.background`, `highlight.focusBackground` |
|
|
67
|
+
| `es.highlight.color` | `--p-es-highlight-color` | `#0f172a` | `#ffffff` | Текст выбранного пункта списка, меню, строки таблицы | `highlight.color`, `highlight.focusColor` |
|
|
68
|
+
| `es.interactive.hoverBackground` | `--p-es-interactive-hover-background` | `#f1f5f9` | `rgba(255, 255, 255, 0.08)` | Фон текстовой кнопки и пункта под курсором | — |
|
|
69
|
+
| `es.focus.color` | `--p-es-focus-color` | `#1a1a2e` | `#ffffff` | Цвет любого индикатора фокуса: кольцо фокуса, граница поля в фокусе | `focusRing.color`, `formField.focusBorderColor`, `button.root.primary.focusRing.color` |
|
|
70
|
+
| `es.tabs.activeColor` | `--p-es-tabs-active-color` | `#1a1a2e` | `#ffffff` | Текст и полоса активной вкладки | `tabs.tab.activeColor`, `tabs.activeBar.background` |
|
|
71
|
+
| `es.status.danger` | `--p-es-status-danger` | `#ef4444` | `#f87171` | Ошибка и деструктивное действие: красный пункт меню, текст ошибки | — |
|
|
72
|
+
| `es.status.success` | `--p-es-status-success` | `#22c55e` | `#4ade80` | Успешное действие, положительное значение | — |
|
|
73
|
+
| `es.status.warning` | `--p-es-status-warning` | `#f97316` | `#fb923c` | Предупреждение | — |
|
|
74
|
+
| `es.status.info` | `--p-es-status-info` | `#0ea5e9` | `#38bdf8` | Информационное сообщение | — |
|
|
75
|
+
| `es.shadow.raised` | `--p-es-shadow-raised` | `0 2px 5px -3px rgba(0, 0, 0, 0.12), 0 1px 3px -2px rgba(0, 0, 0, 0.08)` | `0 3px 7px -4px rgba(0, 0, 0, 0.3), 0 1px 4px -3px rgba(0, 0, 0, 0.22)` | Тень приподнятой поверхности: карточка, шапка страницы | — |
|
|
76
|
+
| `es.shadow.raisedHover` | `--p-es-shadow-raised-hover` | `0 4px 9px -5px rgba(0, 0, 0, 0.14), 0 2px 5px -3px rgba(0, 0, 0, 0.1)` | `0 5px 11px -6px rgba(0, 0, 0, 0.36), 0 2px 6px -4px rgba(0, 0, 0, 0.26)` | Тень приподнятой поверхности под курсором | — |
|
|
77
|
+
| `es.shadow.ambient` | `--p-es-shadow-ambient` | `0 0 6px rgba(0, 0, 0, 0.05)` | `0 0 8px rgba(0, 0, 0, 0.18)` | Рассеянная тень по контуру карточки (вместе с raised) | — |
|
|
78
|
+
| `es.fontFamily` | `--p-es-font-family` | `'Inter', sans-serif` | `'Inter', sans-serif` | Шрифт интерфейса — Inter | — |
|
|
79
|
+
| `es.fontSize.sm` | `--p-es-font-size-sm` | `0.875rem` | `0.875rem` | Вторичный текст, все кнопки, поля ввода, меню, подсказки, вкладки | `formField.sm.fontSize` |
|
|
80
|
+
| `es.fontSize.md` | `--p-es-font-size-md` | `1rem` | `1rem` | Основной текст, заголовок страницы | — |
|
|
81
|
+
| `es.iconSize.sm` | `--p-es-icon-size-sm` | `1rem` | `1rem` | Размер любой иконки по умолчанию (16×16) | `iconSize` |
|
|
82
|
+
| `es.iconSize.md` | `--p-es-icon-size-md` | `1.5rem` | `1.5rem` | Крупная иконка (24×24): переключатель боковой панели | — |
|
|
83
|
+
| `es.iconSize.lg` | `--p-es-icon-size-lg` | `2rem` | `2rem` | Большая иконка (32×32) | — |
|
|
84
|
+
| `es.radius.field` | `--p-es-radius-field` | `6px` | `6px` | Скругление поля ввода | `formField.borderRadius` |
|
|
85
|
+
| `es.radius.control` | `--p-es-radius-control` | `8px` | `8px` | Скругление кнопки и кнопок закрытия (Toast, Message, Dialog) | `toast.closeButton.borderRadius`, `message.closeButton.borderRadius`, `button.root.borderRadius` |
|
|
86
|
+
| `es.radius.card` | `--p-es-radius-card` | `12px` | `12px` | Скругление карточки, таблицы, диалога | `overlay.modal.borderRadius` |
|
|
87
|
+
| `es.shadow.overlay` | `--p-es-shadow-overlay` | `0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)` | `0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)` | Тень выпадающего списка, поповера и меню | `overlay.select.shadow`, `overlay.popover.shadow`, `overlay.navigation.shadow` |
|
|
88
|
+
| `es.layout.headerHeight` | `--p-es-layout-header-height` | `3.5rem` | `3.5rem` | Высота шапки приложения | — |
|
|
89
|
+
| `es.spacing.menuList` | `--p-es-spacing-menu-list` | `0.5rem 0.5rem` | `0.5rem 0.5rem` | Внутренний отступ списка меню | `navigation.list.padding` |
|
|
90
|
+
| `es.spacing.menuItem` | `--p-es-spacing-menu-item` | `0.5rem 0.625rem` | `0.5rem 0.625rem` | Внутренний отступ пункта меню | `navigation.item.padding` |
|
|
91
|
+
<!-- tokens:es:end -->
|
|
92
|
+
|
|
93
|
+
### Выбранное, наведение и фокус
|
|
94
|
+
|
|
95
|
+
- **Выбранное** (пункт выпадающего списка, строка таблицы, активный пункт меню или навигации) — `es.highlight.background` и `es.highlight.color`: нейтральный серый, как всё в ч/б-палитре, без оттенка акцента.
|
|
96
|
+
- **Наведение** — `es.interactive.hoverBackground` (текстовые кнопки, пункты) или `es.surface.hover` (поверхности).
|
|
97
|
+
- **Выбранный элемент не меняет цвет ни при наведении, ни в фокусе.** Выбор — это состояние, наведение — только подсказка «сюда можно нажать»; если выбранное перекрашивается в цвет наведения, на мгновение пропадает то, что выбрано. В своём CSS наведение пишется для невыбранных элементов: `.item:not(.item--active):hover`.
|
|
98
|
+
- Фокус клавиатуры показывается кольцом фокуса (`es.focus.color`), а не сменой фона выбранного.
|
|
99
|
+
|
|
100
|
+
### Палитры
|
|
101
|
+
|
|
102
|
+
Палитры — сырьё, из которого собраны токены `es`. В приложении они не используются напрямую: нужен цвет — берите `es`-токен с подходящим смыслом. `surface` в светлой теме — slate, в тёмной — zinc (как в Aura).
|
|
103
|
+
|
|
104
|
+
<!-- tokens:palettes:start -->
|
|
105
|
+
#### primary
|
|
106
|
+
|
|
107
|
+
| Оттенок | CSS-переменная | Светлая | Тёмная |
|
|
108
|
+
| --- | --- | --- | --- |
|
|
109
|
+
| 50 | `--p-primary-50` | `#eeeef6` | `#eeeef6` |
|
|
110
|
+
| 100 | `--p-primary-100` | `#d4d4e8` | `#d4d4e8` |
|
|
111
|
+
| 200 | `--p-primary-200` | `#ababd1` | `#ababd1` |
|
|
112
|
+
| 300 | `--p-primary-300` | `#7878b5` | `#7878b5` |
|
|
113
|
+
| 400 | `--p-primary-400` | `#4040a0` | `#4040a0` |
|
|
114
|
+
| 500 | `--p-primary-500` | `#1a1a2e` | `#1a1a2e` |
|
|
115
|
+
| 600 | `--p-primary-600` | `#151528` | `#151528` |
|
|
116
|
+
| 700 | `--p-primary-700` | `#101020` | `#101020` |
|
|
117
|
+
| 800 | `--p-primary-800` | `#0b0b17` | `#0b0b17` |
|
|
118
|
+
| 900 | `--p-primary-900` | `#07070e` | `#07070e` |
|
|
119
|
+
| 950 | `--p-primary-950` | `#030307` | `#030307` |
|
|
120
|
+
|
|
121
|
+
#### surface
|
|
122
|
+
|
|
123
|
+
| Оттенок | CSS-переменная | Светлая | Тёмная |
|
|
124
|
+
| --- | --- | --- | --- |
|
|
125
|
+
| 0 | `--p-surface-0` | `#ffffff` | `#ffffff` |
|
|
126
|
+
| 50 | `--p-surface-50` | `#f8fafc` | `#fafafa` |
|
|
127
|
+
| 100 | `--p-surface-100` | `#f1f5f9` | `#f4f4f5` |
|
|
128
|
+
| 200 | `--p-surface-200` | `#e2e8f0` | `#e4e4e7` |
|
|
129
|
+
| 300 | `--p-surface-300` | `#cbd5e1` | `#d4d4d8` |
|
|
130
|
+
| 400 | `--p-surface-400` | `#94a3b8` | `#a1a1aa` |
|
|
131
|
+
| 500 | `--p-surface-500` | `#64748b` | `#71717a` |
|
|
132
|
+
| 600 | `--p-surface-600` | `#475569` | `#52525b` |
|
|
133
|
+
| 700 | `--p-surface-700` | `#334155` | `#3f3f46` |
|
|
134
|
+
| 800 | `--p-surface-800` | `#1e293b` | `#27272a` |
|
|
135
|
+
| 900 | `--p-surface-900` | `#0f172a` | `#18181b` |
|
|
136
|
+
| 950 | `--p-surface-950` | `#020617` | `#09090b` |
|
|
137
|
+
|
|
138
|
+
#### red
|
|
139
|
+
|
|
140
|
+
| Оттенок | CSS-переменная | Светлая | Тёмная |
|
|
141
|
+
| --- | --- | --- | --- |
|
|
142
|
+
| 50 | `--p-red-50` | `#fef2f2` | `#fef2f2` |
|
|
143
|
+
| 100 | `--p-red-100` | `#fee2e2` | `#fee2e2` |
|
|
144
|
+
| 200 | `--p-red-200` | `#fecaca` | `#fecaca` |
|
|
145
|
+
| 300 | `--p-red-300` | `#fca5a5` | `#fca5a5` |
|
|
146
|
+
| 400 | `--p-red-400` | `#f87171` | `#f87171` |
|
|
147
|
+
| 500 | `--p-red-500` | `#ef4444` | `#ef4444` |
|
|
148
|
+
| 600 | `--p-red-600` | `#dc2626` | `#dc2626` |
|
|
149
|
+
| 700 | `--p-red-700` | `#b91c1c` | `#b91c1c` |
|
|
150
|
+
| 800 | `--p-red-800` | `#991b1b` | `#991b1b` |
|
|
151
|
+
| 900 | `--p-red-900` | `#7f1d1d` | `#7f1d1d` |
|
|
152
|
+
| 950 | `--p-red-950` | `#450a0a` | `#450a0a` |
|
|
153
|
+
|
|
154
|
+
#### green
|
|
155
|
+
|
|
156
|
+
| Оттенок | CSS-переменная | Светлая | Тёмная |
|
|
157
|
+
| --- | --- | --- | --- |
|
|
158
|
+
| 50 | `--p-green-50` | `#f0fdf4` | `#f0fdf4` |
|
|
159
|
+
| 100 | `--p-green-100` | `#dcfce7` | `#dcfce7` |
|
|
160
|
+
| 200 | `--p-green-200` | `#bbf7d0` | `#bbf7d0` |
|
|
161
|
+
| 300 | `--p-green-300` | `#86efac` | `#86efac` |
|
|
162
|
+
| 400 | `--p-green-400` | `#4ade80` | `#4ade80` |
|
|
163
|
+
| 500 | `--p-green-500` | `#22c55e` | `#22c55e` |
|
|
164
|
+
| 600 | `--p-green-600` | `#16a34a` | `#16a34a` |
|
|
165
|
+
| 700 | `--p-green-700` | `#15803d` | `#15803d` |
|
|
166
|
+
| 800 | `--p-green-800` | `#166534` | `#166534` |
|
|
167
|
+
| 900 | `--p-green-900` | `#14532d` | `#14532d` |
|
|
168
|
+
| 950 | `--p-green-950` | `#052e16` | `#052e16` |
|
|
169
|
+
|
|
170
|
+
#### orange
|
|
171
|
+
|
|
172
|
+
| Оттенок | CSS-переменная | Светлая | Тёмная |
|
|
173
|
+
| --- | --- | --- | --- |
|
|
174
|
+
| 50 | `--p-orange-50` | `#fff7ed` | `#fff7ed` |
|
|
175
|
+
| 100 | `--p-orange-100` | `#ffedd5` | `#ffedd5` |
|
|
176
|
+
| 200 | `--p-orange-200` | `#fed7aa` | `#fed7aa` |
|
|
177
|
+
| 300 | `--p-orange-300` | `#fdba74` | `#fdba74` |
|
|
178
|
+
| 400 | `--p-orange-400` | `#fb923c` | `#fb923c` |
|
|
179
|
+
| 500 | `--p-orange-500` | `#f97316` | `#f97316` |
|
|
180
|
+
| 600 | `--p-orange-600` | `#ea580c` | `#ea580c` |
|
|
181
|
+
| 700 | `--p-orange-700` | `#c2410c` | `#c2410c` |
|
|
182
|
+
| 800 | `--p-orange-800` | `#9a3412` | `#9a3412` |
|
|
183
|
+
| 900 | `--p-orange-900` | `#7c2d12` | `#7c2d12` |
|
|
184
|
+
| 950 | `--p-orange-950` | `#431407` | `#431407` |
|
|
185
|
+
|
|
186
|
+
#### sky
|
|
187
|
+
|
|
188
|
+
| Оттенок | CSS-переменная | Светлая | Тёмная |
|
|
189
|
+
| --- | --- | --- | --- |
|
|
190
|
+
| 50 | `--p-sky-50` | `#f0f9ff` | `#f0f9ff` |
|
|
191
|
+
| 100 | `--p-sky-100` | `#e0f2fe` | `#e0f2fe` |
|
|
192
|
+
| 200 | `--p-sky-200` | `#bae6fd` | `#bae6fd` |
|
|
193
|
+
| 300 | `--p-sky-300` | `#7dd3fc` | `#7dd3fc` |
|
|
194
|
+
| 400 | `--p-sky-400` | `#38bdf8` | `#38bdf8` |
|
|
195
|
+
| 500 | `--p-sky-500` | `#0ea5e9` | `#0ea5e9` |
|
|
196
|
+
| 600 | `--p-sky-600` | `#0284c7` | `#0284c7` |
|
|
197
|
+
| 700 | `--p-sky-700` | `#0369a1` | `#0369a1` |
|
|
198
|
+
| 800 | `--p-sky-800` | `#075985` | `#075985` |
|
|
199
|
+
| 900 | `--p-sky-900` | `#0c4a6e` | `#0c4a6e` |
|
|
200
|
+
| 950 | `--p-sky-950` | `#082f49` | `#082f49` |
|
|
201
|
+
<!-- tokens:palettes:end -->
|
|
202
|
+
|
|
203
|
+
## Типографика
|
|
204
|
+
|
|
205
|
+
- Шрифт — **Inter**, начертания 300, 400, 500, 600, 700 и курсив (`es.fontFamily`). Других шрифтов нет.
|
|
206
|
+
- Шкала: `es.fontSize.md` (16px) — основной текст и заголовок страницы; `es.fontSize.sm` (14px) — второстепенный текст и **всё управляющее**: каждая кнопка, каждое поле ввода (InputText, InputNumber, DatePicker, Textarea, Select), меню, подсказки, вкладки, компоненты `size="small"`.
|
|
207
|
+
- PrimeVue жёстко задаёт `1rem` у `.p-button`, `.p-inputtext`, `.p-textarea`, `.p-select-label`; `styles.css` переводит их в `sm`, кроме `size="large"`. Токен `button.root.fontSize` поэтому не действует — не используйте его.
|
|
208
|
+
- Размер вне шкалы допустим только как осознанное исключение в конкретном компоненте (например, иконка пустого состояния 4rem).
|
|
209
|
+
|
|
210
|
+
## Иконки
|
|
211
|
+
|
|
212
|
+
- Только PrimeIcons (`pi pi-*`). Любая иконка по умолчанию 16×16 (`es.iconSize.sm`) без дополнительных классов.
|
|
213
|
+
- Крупнее — классы `es-icon-md` (24×24) и `es-icon-lg` (32×32): `<i class="pi pi-bars es-icon-md" />`.
|
|
214
|
+
- Одно действие — одна иконка во всех приложениях:
|
|
215
|
+
|
|
216
|
+
<!-- tokens:icons:start -->
|
|
217
|
+
| Действие | Иконка |
|
|
218
|
+
| --- | --- |
|
|
219
|
+
| Отмена | `pi pi-times` |
|
|
220
|
+
| Сохранить / Создать | `pi pi-check` |
|
|
221
|
+
| Назад; вернуться к шагу с ошибкой | `pi pi-arrow-left` |
|
|
222
|
+
| Далее | `pi pi-arrow-right`, `icon-pos="right"` |
|
|
223
|
+
| Выйти без сохранения | `pi pi-sign-out` |
|
|
224
|
+
| Остаться / Редактировать | `pi pi-pencil` |
|
|
225
|
+
| Удалить (сущность) | `pi pi-trash` |
|
|
226
|
+
| Убрать / очистить (строка формы, виджет, значение) | `pi pi-times` |
|
|
227
|
+
| Добавить / Создать новый | `pi pi-plus` |
|
|
228
|
+
| Открыть | `pi pi-external-link` |
|
|
229
|
+
| Предыдущая / следующая страница (только иконка) | `pi pi-arrow-left` / `pi pi-arrow-right` |
|
|
230
|
+
| На рабочий стол | `pi pi-desktop` |
|
|
231
|
+
| Повторить | `pi pi-refresh` |
|
|
232
|
+
| Войти / Войти снова / Войти другой учётной записью | `pi pi-sign-in` |
|
|
233
|
+
| Выйти (из системы) | `pi pi-sign-out` |
|
|
234
|
+
| Меню пользователя | `pi pi-chevron-down` |
|
|
235
|
+
| В начало (сброс к начальному состоянию) | `pi pi-home` |
|
|
236
|
+
| Раскрыть / Свернуть | `pi pi-chevron-down` / `pi pi-chevron-up` |
|
|
237
|
+
<!-- tokens:icons:end -->
|
|
238
|
+
|
|
239
|
+
Новое действие — новая строка в `scripts/tokens/action-icons.ts` дизайн-системы (из него собраны эта таблица и страница иконок витрины).
|
|
240
|
+
|
|
241
|
+
## Кнопки
|
|
242
|
+
|
|
243
|
+
- **У каждой кнопки есть иконка**, у текстовых тоже.
|
|
244
|
+
- Скругление — `es.radius.control` (8px). Кнопка только с иконкой не получает `rounded`: фон под курсором — скруглённый квадрат, не круг. Кнопки закрытия Toast, Message и Dialog скруглены так же.
|
|
245
|
+
- Кнопка шапки (переключатель темы, боковой панели) — класс `es-toolbar-button`: текстовая кнопка 36×36.
|
|
246
|
+
- Вторичная кнопка (`severity="secondary"`) — прозрачная с рамкой.
|
|
247
|
+
|
|
248
|
+
## Меню
|
|
249
|
+
|
|
250
|
+
- Отступы списка и пунктов любого меню PrimeVue (Menu, TieredMenu, ContextMenu…) задают `es.spacing.menuList` / `es.spacing.menuItem`; не переопределяйте `.p-menu-list` / `.p-menu-item-link` в компоненте.
|
|
251
|
+
- Деструктивный пункт (Удалить, Выйти) получает класс `ES_DANGER_MENU_ITEM_CLASS` в своём `MenuItem`: текст и иконка красные (`es.status.danger`) и под курсором, и в фокусе.
|
|
252
|
+
|
|
253
|
+
## Фокус
|
|
254
|
+
|
|
255
|
+
Любой индикатор фокуса — `es.focus.color`: в светлой теме цвет акцента, в тёмной — белый (тёмный акцент `#101020` не виден на тёмных поверхностях). Кольцо фокуса PrimeVue, граница поля в фокусе и фокус primary-кнопки уже его используют; новый индикатор фокуса — тоже.
|
|
256
|
+
|
|
257
|
+
## Тёмная тема
|
|
258
|
+
|
|
259
|
+
- Тёмная тема — класс `dark` на `<html>` (`DARK_MODE_CLASS`, `applyThemeMode(mode)`). `styles.css` ставит `color-scheme: light` на `html` и `color-scheme: dark` на `html.dark`: на них опираются классы PrimeFlex (`light-dark()`). Не удаляйте эти объявления и не переопределяйте `color-scheme`.
|
|
260
|
+
- **Тема у каждого приложения своя.** Приложения DSS открыты на одном origin шлюза и делят `localStorage`, поэтому каждое хранит выбор под своим ключом `<приложение>-ui:theme`: `storeThemeMode('projector-ui:theme', mode)`, `readStoredThemeMode('projector-ui:theme')`. Тёмная тема в одном приложении не меняет другое.
|
|
261
|
+
- Чтобы страница не мигала светлой темой при загрузке, в `<head>` приложения:
|
|
262
|
+
|
|
263
|
+
```html
|
|
264
|
+
<script>
|
|
265
|
+
try {
|
|
266
|
+
if (localStorage.getItem('projector-ui:theme') === 'dark') {
|
|
267
|
+
document.documentElement.classList.add('dark');
|
|
268
|
+
}
|
|
269
|
+
} catch {}
|
|
270
|
+
</script>
|
|
271
|
+
```
|
|
272
|
+
|
|
273
|
+
## PrimeFlex
|
|
274
|
+
|
|
275
|
+
PrimeFlex — классы раскладки (`flex`, `gap-2`, `p-3`…) и несколько цветовых классов. Цветовые классы, которые совпадают с токенами системы:
|
|
276
|
+
|
|
277
|
+
| Класс | Равен |
|
|
278
|
+
|---|---|
|
|
279
|
+
| `surface-card`, `surface-0`, `surface-overlay` | `es.surface.card` |
|
|
280
|
+
| `surface-border` | `es.border.default` |
|
|
281
|
+
| `text-color` | `es.text.default` |
|
|
282
|
+
| `text-color-secondary` | `es.text.muted` |
|
|
283
|
+
| `bg-primary`, `text-primary`, `border-primary` | `es.accent.color` (и `es.accent.contrast` для текста на `bg-primary`) |
|
|
284
|
+
|
|
285
|
+
Не используйте `surface-ground` и `surface-section` (в тёмной теме это `surface.950`, не цвет системы), `surface-hover` (у PrimeFlex он инвертирован), а также классы размера текста `text-xs` (12px).
|
|
286
|
+
|
|
287
|
+
## Компоненты PrimeVue в теме системы
|
|
288
|
+
|
|
289
|
+
Компоненты берут цвета из семантики, а она — из слоя `es`. Ниже — токены компонентов, которые система переопределяет сама; остальное у компонентов — от Aura через семантику. Другой вид компонента делается здесь, в дизайн-системе, переопределением его токена (со ссылкой на `es`-токен, где он есть).
|
|
290
|
+
|
|
291
|
+
<!-- tokens:components:start -->
|
|
292
|
+
#### tabs
|
|
293
|
+
|
|
294
|
+
| Токен | CSS-переменная | Светлая | Тёмная |
|
|
295
|
+
| --- | --- | --- | --- |
|
|
296
|
+
| `tabs.tab.activeColor` | `--p-tabs-tab-active-color` | `#1a1a2e` | `#ffffff` |
|
|
297
|
+
| `tabs.activeBar.background` | `--p-tabs-active-bar-background` | `#1a1a2e` | `#ffffff` |
|
|
298
|
+
|
|
299
|
+
#### toast
|
|
300
|
+
|
|
301
|
+
| Токен | CSS-переменная | Светлая | Тёмная |
|
|
302
|
+
| --- | --- | --- | --- |
|
|
303
|
+
| `toast.closeButton.borderRadius` | `--p-toast-close-button-border-radius` | `8px` | `8px` |
|
|
304
|
+
|
|
305
|
+
#### message
|
|
306
|
+
|
|
307
|
+
| Токен | CSS-переменная | Светлая | Тёмная |
|
|
308
|
+
| --- | --- | --- | --- |
|
|
309
|
+
| `message.closeButton.borderRadius` | `--p-message-close-button-border-radius` | `8px` | `8px` |
|
|
310
|
+
|
|
311
|
+
#### button
|
|
312
|
+
|
|
313
|
+
| Токен | CSS-переменная | Светлая | Тёмная |
|
|
314
|
+
| --- | --- | --- | --- |
|
|
315
|
+
| `button.root.borderRadius` | `--p-button-border-radius` | `8px` | `8px` |
|
|
316
|
+
| `button.root.primary.focusRing.color` | `--p-button-primary-focus-ring-color` | `#1a1a2e` | `#ffffff` |
|
|
317
|
+
| `button.root.secondary.background` | `--p-button-secondary-background` | `transparent` | `transparent` |
|
|
318
|
+
| `button.root.secondary.borderColor` | `--p-button-secondary-border-color` | `#cbd5e1` | `#52525b` |
|
|
319
|
+
| `button.root.secondary.color` | `--p-button-secondary-color` | `#334155` | `#d4d4d8` |
|
|
320
|
+
| `button.root.secondary.hoverBackground` | `--p-button-secondary-hover-background` | `#f8fafc` | `#27272a` |
|
|
321
|
+
| `button.root.secondary.hoverBorderColor` | `--p-button-secondary-hover-border-color` | `#94a3b8` | `#71717a` |
|
|
322
|
+
| `button.root.secondary.hoverColor` | `--p-button-secondary-hover-color` | `#1e293b` | `#f4f4f5` |
|
|
323
|
+
| `button.root.secondary.activeBackground` | `--p-button-secondary-active-background` | `#f1f5f9` | `#3f3f46` |
|
|
324
|
+
| `button.root.secondary.activeBorderColor` | `--p-button-secondary-active-border-color` | `#94a3b8` | `#71717a` |
|
|
325
|
+
| `button.root.secondary.activeColor` | `--p-button-secondary-active-color` | `#0f172a` | `#ffffff` |
|
|
326
|
+
<!-- tokens:components:end -->
|
|
327
|
+
|
|
328
|
+
## Версии Prime и лицензии
|
|
329
|
+
|
|
330
|
+
- Система стоит на последних MIT-версиях Prime: `primevue` 4.x, `@primeuix/themes` 2.x, `primeicons` 7.x, `primeflex` 4.x. `primevue` 5, `@primeuix/themes` 3 и `primeicons` 8 — под PrimeUI License (платно или по критериям организации, ключ лицензии, без OEM-лицензии их нельзя распространять в библиотеке); на них система не переходит.
|
|
331
|
+
- Версии Prime приложение получает только через систему: обновление PrimeVue — это новый релиз дизайн-системы, а затем обновление пакета в приложении.
|
|
332
|
+
- Сам пакет — MIT; лицензии встроенных шрифтов и CSS — в `THIRD_PARTY_NOTICES.md`.
|
|
333
|
+
|
|
334
|
+
## Как менять систему
|
|
335
|
+
|
|
336
|
+
Изменение в дизайн-системе меняет все приложения. Новый токен или новое значение — PR в репозиторий `Elegant-soft/Design-System`: правка пресета, описание токена, `npm run tokens`, проверка на витрине (`npm run dev`), запись в `CHANGELOG.md`, релиз. Приложения получают изменение, обновив пакет; их код не меняется.
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Elegant-soft
|
|
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.
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
# Third-party notices
|
|
2
|
+
|
|
3
|
+
`@elegant-soft/design-system` bundles the files below into `dist/styles.css` and `dist/assets`. Each is distributed under its own license, reproduced here.
|
|
4
|
+
|
|
5
|
+
| Component | Version | Files in the package | License |
|
|
6
|
+
|---|---|---|---|
|
|
7
|
+
| [Inter](https://github.com/rsms/inter) | Google Fonts static build (opsz 24) | `dist/assets/inter-*.woff2` (converted from TTF to WOFF2) | SIL Open Font License 1.1 |
|
|
8
|
+
| [PrimeIcons](https://github.com/primefaces/primeicons) | 7.0.0 | `dist/assets/primeicons.*`, its rules in `dist/styles.css` | MIT |
|
|
9
|
+
| [PrimeFlex](https://github.com/primefaces/primeflex) | 4.0.0 | its rules in `dist/styles.css` | MIT |
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## Inter — SIL Open Font License 1.1
|
|
14
|
+
|
|
15
|
+
```text
|
|
16
|
+
Copyright 2020 The Inter Project Authors (https://github.com/rsms/inter)
|
|
17
|
+
|
|
18
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
19
|
+
This license is copied below, and is also available with a FAQ at:
|
|
20
|
+
https://scripts.sil.org/OFL
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
-----------------------------------------------------------
|
|
24
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
25
|
+
-----------------------------------------------------------
|
|
26
|
+
|
|
27
|
+
PREAMBLE
|
|
28
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
29
|
+
development of collaborative font projects, to support the font creation
|
|
30
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
31
|
+
open framework in which fonts may be shared and improved in partnership
|
|
32
|
+
with others.
|
|
33
|
+
|
|
34
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
35
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
36
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
37
|
+
redistributed and/or sold with any software provided that any reserved
|
|
38
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
39
|
+
however, cannot be released under any other type of license. The
|
|
40
|
+
requirement for fonts to remain under this license does not apply
|
|
41
|
+
to any document created using the fonts or their derivatives.
|
|
42
|
+
|
|
43
|
+
DEFINITIONS
|
|
44
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
45
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
46
|
+
include source files, build scripts and documentation.
|
|
47
|
+
|
|
48
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
49
|
+
copyright statement(s).
|
|
50
|
+
|
|
51
|
+
"Original Version" refers to the collection of Font Software components as
|
|
52
|
+
distributed by the Copyright Holder(s).
|
|
53
|
+
|
|
54
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
55
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
56
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
57
|
+
new environment.
|
|
58
|
+
|
|
59
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
60
|
+
writer or other person who contributed to the Font Software.
|
|
61
|
+
|
|
62
|
+
PERMISSION & CONDITIONS
|
|
63
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
64
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
65
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
66
|
+
Software, subject to the following conditions:
|
|
67
|
+
|
|
68
|
+
1) Neither the Font Software nor any of its individual components,
|
|
69
|
+
in Original or Modified Versions, may be sold by itself.
|
|
70
|
+
|
|
71
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
72
|
+
redistributed and/or sold with any software, provided that each copy
|
|
73
|
+
contains the above copyright notice and this license. These can be
|
|
74
|
+
included either as stand-alone text files, human-readable headers or
|
|
75
|
+
in the appropriate machine-readable metadata fields within text or
|
|
76
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
77
|
+
|
|
78
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
79
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
80
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
81
|
+
presented to the users.
|
|
82
|
+
|
|
83
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
84
|
+
Software shall not be used to promote, endorse or advertise any
|
|
85
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
86
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
87
|
+
permission.
|
|
88
|
+
|
|
89
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
90
|
+
must be distributed entirely under this license, and must not be
|
|
91
|
+
distributed under any other license. The requirement for fonts to
|
|
92
|
+
remain under this license does not apply to any document created
|
|
93
|
+
using the Font Software.
|
|
94
|
+
|
|
95
|
+
TERMINATION
|
|
96
|
+
This license becomes null and void if any of the above conditions are
|
|
97
|
+
not met.
|
|
98
|
+
|
|
99
|
+
DISCLAIMER
|
|
100
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
101
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
102
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
103
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
104
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
105
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
106
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
107
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
108
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
---
|
|
112
|
+
|
|
113
|
+
## PrimeIcons 7.0.0 — MIT
|
|
114
|
+
|
|
115
|
+
```text
|
|
116
|
+
MIT License
|
|
117
|
+
|
|
118
|
+
Copyright (c) 2018-2021 PrimeTek
|
|
119
|
+
|
|
120
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
121
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
122
|
+
in the Software without restriction, including without limitation the rights
|
|
123
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
124
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
125
|
+
furnished to do so, subject to the following conditions:
|
|
126
|
+
|
|
127
|
+
The above copyright notice and this permission notice shall be included in all
|
|
128
|
+
copies or substantial portions of the Software.
|
|
129
|
+
|
|
130
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
131
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
132
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
133
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
134
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
135
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
136
|
+
SOFTWARE.
|
|
137
|
+
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
---
|
|
141
|
+
|
|
142
|
+
## PrimeFlex 4.0.0 — MIT
|
|
143
|
+
|
|
144
|
+
```text
|
|
145
|
+
The MIT License (MIT)
|
|
146
|
+
|
|
147
|
+
Copyright (c) 2016-2023 PrimeTek
|
|
148
|
+
|
|
149
|
+
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:
|
|
150
|
+
|
|
151
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
152
|
+
|
|
153
|
+
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.
|
|
154
|
+
```
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|