@pacem/pacem-theme-css 0.0.0-stage → 2.0.0-abel

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.
Files changed (153) hide show
  1. package/LICENSE +191 -0
  2. package/NOTICE +4 -0
  3. package/README.md +142 -3
  4. package/cli.js +26 -0
  5. package/pacem-themes.json +10 -0
  6. package/package.json +45 -6
  7. package/src/2d/index.css +44 -0
  8. package/src/3d/index.css +49 -0
  9. package/src/base/animations.css +82 -0
  10. package/src/base/attributes.css +19 -0
  11. package/src/base/backgrounds.css +37 -0
  12. package/src/base/body.css +199 -0
  13. package/src/base/content.css +4 -0
  14. package/src/base/icons.css +74 -0
  15. package/src/base/logging.css +5 -0
  16. package/src/base/overrides.css +3 -0
  17. package/src/base/preloader.css +17 -0
  18. package/src/base/reset.css +50 -0
  19. package/src/base/shell.css +3 -0
  20. package/src/base/text.css +184 -0
  21. package/src/basic/index.css +285 -0
  22. package/src/charts/generated/colors.css +49 -0
  23. package/src/charts/index.css +573 -0
  24. package/src/fx/index.css +230 -0
  25. package/src/layout/address.css +46 -0
  26. package/src/layout/animations.css +33 -0
  27. package/src/layout/borders.css +63 -0
  28. package/src/layout/box.css +271 -0
  29. package/src/layout/breadcrumbs.css +114 -0
  30. package/src/layout/cards.css +246 -0
  31. package/src/layout/coloring.css +862 -0
  32. package/src/layout/container.css +40 -0
  33. package/src/layout/corners.css +52 -0
  34. package/src/layout/datatable.css +324 -0
  35. package/src/layout/elevation.css +73 -0
  36. package/src/layout/fetch-feedback.css +125 -0
  37. package/src/layout/generated/borders.css +403 -0
  38. package/src/layout/generated/card-ribbon.css +94 -0
  39. package/src/layout/generated/card-sides.css +888 -0
  40. package/src/layout/generated/grid-system.css +308 -0
  41. package/src/layout/generated/grids.css +952 -0
  42. package/src/layout/generated/layout-stretch.css +132 -0
  43. package/src/layout/generated/positioning.css +323 -0
  44. package/src/layout/generated/sizing.css +478 -0
  45. package/src/layout/generated/spacing.css +1988 -0
  46. package/src/layout/generated/visibility.css +384 -0
  47. package/src/layout/grid-system.css +49 -0
  48. package/src/layout/grids.css +92 -0
  49. package/src/layout/index.css +39 -0
  50. package/src/layout/interactive.css +11 -0
  51. package/src/layout/layout.css +479 -0
  52. package/src/layout/lists.css +104 -0
  53. package/src/layout/other.css +25 -0
  54. package/src/layout/panels.css +337 -0
  55. package/src/layout/positioning.css +108 -0
  56. package/src/layout/scroll.css +85 -0
  57. package/src/layout/shapes.css +20 -0
  58. package/src/layout/shell.css +3 -0
  59. package/src/layout/sizing.css +25 -0
  60. package/src/layout/spacing.css +17 -0
  61. package/src/layout/superposition-system.css +116 -0
  62. package/src/layout/tokens-chips.css +15 -0
  63. package/src/layout/toolbar.css +30 -0
  64. package/src/layout/typography.css +106 -0
  65. package/src/layout/visibility.css +231 -0
  66. package/src/maps/index.css +20 -0
  67. package/src/media/index.css +6 -0
  68. package/src/media.css +18 -0
  69. package/src/pacem-content.css +24 -0
  70. package/src/pacem-shell.css +14 -0
  71. package/src/pacem.css +35 -0
  72. package/src/plus/carousel.css +327 -0
  73. package/src/plus/datagrid.css +68 -0
  74. package/src/plus/gallery.css +186 -0
  75. package/src/plus/icons.css +25 -0
  76. package/src/plus/index.css +7 -0
  77. package/src/plus/misc.css +194 -0
  78. package/src/scaffolding/calendar-picker.css +291 -0
  79. package/src/scaffolding/checkbox-radio.css +118 -0
  80. package/src/scaffolding/checkbox.css +200 -0
  81. package/src/scaffolding/childform.css +156 -0
  82. package/src/scaffolding/color.css +129 -0
  83. package/src/scaffolding/contenteditable.css +403 -0
  84. package/src/scaffolding/datepicker.css +126 -0
  85. package/src/scaffolding/elements.css +30 -0
  86. package/src/scaffolding/fieldset.css +346 -0
  87. package/src/scaffolding/form.css +36 -0
  88. package/src/scaffolding/formfield.css +364 -0
  89. package/src/scaffolding/generated/calendar-picker.css +40 -0
  90. package/src/scaffolding/generated/colors.css +115 -0
  91. package/src/scaffolding/generated/formfield.css +500 -0
  92. package/src/scaffolding/hierarchy.css +76 -0
  93. package/src/scaffolding/icons.css +64 -0
  94. package/src/scaffolding/image.css +195 -0
  95. package/src/scaffolding/index.css +40 -0
  96. package/src/scaffolding/input.css +163 -0
  97. package/src/scaffolding/inputs.css +77 -0
  98. package/src/scaffolding/latlng.css +173 -0
  99. package/src/scaffolding/markdown.css +14 -0
  100. package/src/scaffolding/password.css +7 -0
  101. package/src/scaffolding/pickers.css +150 -0
  102. package/src/scaffolding/radio.css +68 -0
  103. package/src/scaffolding/select.css +59 -0
  104. package/src/scaffolding/slider.css +236 -0
  105. package/src/scaffolding/snapshot.css +167 -0
  106. package/src/scaffolding/suggest.css +92 -0
  107. package/src/scaffolding/tags.css +132 -0
  108. package/src/scaffolding/textarea.css +45 -0
  109. package/src/scaffolding/upload.css +283 -0
  110. package/src/scaffolding/validators.css +29 -0
  111. package/src/tokens/colors.css +403 -0
  112. package/src/tokens/components.css +16 -0
  113. package/src/tokens/system.css +92 -0
  114. package/src/tokens/theme.css +221 -0
  115. package/src/traits.css +18 -0
  116. package/src/transforms/index.css +5 -0
  117. package/src/ui/anchor.css +55 -0
  118. package/src/ui/balloon.css +573 -0
  119. package/src/ui/binder.css +28 -0
  120. package/src/ui/blade.css +83 -0
  121. package/src/ui/bottom-sheet.css +53 -0
  122. package/src/ui/button.css +626 -0
  123. package/src/ui/calendar.css +415 -0
  124. package/src/ui/collapse.css +25 -0
  125. package/src/ui/dialog.css +230 -0
  126. package/src/ui/divider.css +42 -0
  127. package/src/ui/generated/calendar.css +363 -0
  128. package/src/ui/hidden.css +40 -0
  129. package/src/ui/icon.css +90 -0
  130. package/src/ui/image.css +140 -0
  131. package/src/ui/index.css +30 -0
  132. package/src/ui/led.css +84 -0
  133. package/src/ui/loader.css +174 -0
  134. package/src/ui/markdown.css +352 -0
  135. package/src/ui/marquee.css +41 -0
  136. package/src/ui/menu.css +386 -0
  137. package/src/ui/pager.css +133 -0
  138. package/src/ui/progressbar.css +137 -0
  139. package/src/ui/shell.css +4 -0
  140. package/src/ui/sidebar.css +103 -0
  141. package/src/ui/sticky-header.css +22 -0
  142. package/src/ui/tabs.css +355 -0
  143. package/src/ui/ticker.css +105 -0
  144. package/src/ui/timeline.css +106 -0
  145. package/src/ui/toast.css +182 -0
  146. package/src/ui/toc.css +58 -0
  147. package/src/ui/tuner.css +196 -0
  148. package/src/ui/view.css +30 -0
  149. package/src/ui/window.css +287 -0
  150. package/templates/theme.css +28 -0
  151. package/themebuilder.js +19 -0
  152. package/themes/dark.css +6 -0
  153. package/themes/light.css +97 -0
@@ -0,0 +1,15 @@
1
+ .pacem-chip {
2
+ padding: 0 var(--pacem-size--12);
3
+ height: var(--pacem-grid-spacing);
4
+ line-height: var(--pacem-grid-spacing);
5
+ border-radius: calc(var(--pacem-grid-spacing) / 2);
6
+ box-sizing: border-box;
7
+ display: inline-block;
8
+ }
9
+
10
+ .pacem-token {
11
+ padding: 0 2px;
12
+ border-radius: min(3px, var(--pacem-border-radius));
13
+ box-sizing: border-box;
14
+ display: inline-block;
15
+ }
@@ -0,0 +1,30 @@
1
+ .pacem-toolbar {
2
+ display: grid;
3
+ grid-gap: 0;
4
+ padding: calc(var(--pacem-grid-spacing) / 2) 0;
5
+ grid-template-columns: auto 1fr auto 1fr auto;
6
+ grid-template-areas: 'left . center . right';
7
+ white-space: nowrap;
8
+
9
+ .toolbar-left,
10
+ .toolbar-center,
11
+ .toolbar-right {
12
+ display: flex;
13
+ flex-direction: row;
14
+ }
15
+
16
+ .toolbar-left {
17
+ grid-area: left;
18
+ align-content: flex-start;
19
+ }
20
+
21
+ .toolbar-center {
22
+ grid-area: center;
23
+ align-content: center;
24
+ }
25
+
26
+ .toolbar-right {
27
+ grid-area: right;
28
+ align-content: flex-end;
29
+ }
30
+ }
@@ -0,0 +1,106 @@
1
+ body {
2
+ font-family: var(--pacem-font-std);
3
+ color: var(--pacem-color-default);
4
+ }
5
+
6
+ h1, h2, h3 {
7
+ margin: calc(var(--pacem-grid-spacing) / 3) 0;
8
+ }
9
+
10
+ h1, h2, h3, h4, h5, h6 {
11
+ font-weight: var(--pacem-font-main-weight);
12
+ font-family: var(--pacem-font-main);
13
+ line-height: 1.1;
14
+
15
+ &.pacem-title {
16
+ color: var(--pacem-color-title);
17
+ background-color: var(--pacem-color-title-inverse);
18
+ text-transform: var(--pacem-transform-title);
19
+ }
20
+ }
21
+
22
+ h1 {
23
+ font-size: calc(2rem * var(--pacem-font-main-rem-factor));
24
+ }
25
+
26
+ h2 {
27
+ font-size: calc(1.75rem * var(--pacem-font-main-rem-factor));
28
+ }
29
+
30
+ h3 {
31
+ font-size: calc(1.5rem * var(--pacem-font-main-rem-factor));
32
+ }
33
+
34
+ h4 {
35
+ font-size: calc(1.3333rem * var(--pacem-font-main-rem-factor));
36
+ }
37
+
38
+ h5 {
39
+ font-size: calc(1.25rem * var(--pacem-font-main-rem-factor));
40
+ }
41
+
42
+ h6 {
43
+ font-size: calc(1.1rem * var(--pacem-font-main-rem-factor));
44
+ }
45
+
46
+ p {
47
+ margin-bottom: .5rem;
48
+ }
49
+
50
+ small {
51
+ opacity: .8;
52
+ font-size: 0.86667em;
53
+ }
54
+
55
+ code,
56
+ samp,
57
+ kbd {
58
+ font-family: var(--pacem-font-tech);
59
+ font-size: calc(1rem * var(--pacem-font-tech-rem-factor));
60
+ padding: 0 calc(var(--pacem-grid-spacing) / 6);
61
+ }
62
+
63
+ samp,
64
+ code {
65
+ color: var(--pacem-color-code);
66
+ background: var(--pacem-color-code-back);
67
+ }
68
+
69
+ kbd {
70
+ color: var(--pacem-color-background);
71
+ font-family: var(--pacem-font-tech);
72
+ font-size: calc(.86667rem * var(--pacem-font-tech-rem-factor));
73
+ background: rgb(from var(--pacem-color-default) r g b / 90%);
74
+ border-radius: calc(var(--pacem-grid-spacing) / 12);
75
+ }
76
+
77
+ mark, .pacem-highlight {
78
+ background-color: var(--pacem-color-primary);
79
+ color: var(--pacem-theme-light);
80
+ }
81
+
82
+ blockquote {
83
+ border: 0;
84
+ padding: 1em 1em 1em 2em;
85
+ position: static;
86
+ text-align: inherit;
87
+ margin: 1em 0;
88
+ font-style: italic;
89
+ color: inherit;
90
+ border-left: calc(var(--pacem-grid-spacing) / 6) solid var(--pacem-color-border);
91
+ }
92
+
93
+ hr {
94
+ margin: calc(var(--pacem-grid-spacing) / 2) 0;
95
+ height: 0;
96
+ border: 0;
97
+ border-top: 1px solid rgb(from var(--pacem-color-default) r g b / 10%);
98
+
99
+ &.spacer {
100
+ margin-bottom: var(--pacem-grid-spacing);
101
+ }
102
+ }
103
+
104
+ a, a:hover, a:visited {
105
+ color: var(--pacem-color-link);
106
+ }
@@ -0,0 +1,231 @@
1
+ .full-width {
2
+ width: 100%;
3
+ }
4
+
5
+ .full-height {
6
+ height: 100%;
7
+ }
8
+
9
+ /* #region overflow-specific */
10
+
11
+ .overflow-visible {
12
+ overflow: visible !important;
13
+ }
14
+
15
+ .overflow-scroll {
16
+ overflow: scroll !important;
17
+ }
18
+
19
+ .overflow-auto {
20
+ overflow: auto !important;
21
+ }
22
+
23
+ .overflow-hidden {
24
+ overflow: hidden !important;
25
+ }
26
+
27
+ .overflow-y-scroll {
28
+ overflow-y: scroll !important;
29
+ }
30
+
31
+ .overflow-y-auto {
32
+ overflow-y: auto !important;
33
+ }
34
+
35
+ .overflow-x-auto {
36
+ overflow-x: auto !important;
37
+ }
38
+
39
+ .overflow-x-scroll {
40
+ overflow-x: scroll !important;
41
+ }
42
+
43
+ .overflow-y-hidden {
44
+ overflow-y: hidden !important;
45
+ }
46
+
47
+ .overflow-x-hidden {
48
+ overflow-x: hidden !important;
49
+ }
50
+
51
+ /* #endregion */
52
+
53
+ .hit-none,
54
+ .pacem-inert {
55
+ pointer-events: none !important;
56
+ }
57
+
58
+ .hit-auto {
59
+ pointer-events: auto !important;
60
+ }
61
+
62
+ .pacem-hide {
63
+ display: none;
64
+ }
65
+
66
+ .select-none,
67
+ .pacem-unselect {
68
+ user-select: none;
69
+ }
70
+
71
+ .pacem-invisibile {
72
+ visibility: hidden;
73
+ }
74
+
75
+ .pacem-show {
76
+ display: inherit;
77
+ }
78
+
79
+ .pacem-transparent {
80
+ opacity: 0 !important;
81
+ }
82
+
83
+ .display-block {
84
+ display: block !important;
85
+ }
86
+
87
+ .display-grid {
88
+ display: grid !important;
89
+ }
90
+
91
+ .display-inline-grid {
92
+ display: inline-grid !important;
93
+ }
94
+
95
+ .display-grid,
96
+ .display-inline-grid {
97
+
98
+ &.grid-right {
99
+ justify-content: right;
100
+ }
101
+
102
+ &.grid-end {
103
+ justify-content: end;
104
+ }
105
+
106
+ &.grid-left {
107
+ justify-content: left;
108
+ }
109
+
110
+ &.grid-start {
111
+ justify-content: start;
112
+ }
113
+
114
+ &.grid-center {
115
+ justify-content: center;
116
+ }
117
+
118
+ &.grid-top {
119
+ align-items: start;
120
+ }
121
+
122
+ &.grid-middle {
123
+ align-items: center;
124
+ }
125
+
126
+ &.grid-bottom {
127
+ align-items: end;
128
+ }
129
+ }
130
+
131
+ .display-inline-flex {
132
+ display: inline-flex !important;
133
+ }
134
+
135
+ .display-flex {
136
+ display: flex !important;
137
+ }
138
+
139
+ .display-flex,
140
+ .display-inline-flex {
141
+ flex-flow: row wrap;
142
+ align-content: stretch;
143
+ align-items: flex-start;
144
+
145
+ &.flex-nowrap {
146
+ flex-wrap: nowrap;
147
+ }
148
+
149
+ &.flex-fill {
150
+ align-items: stretch;
151
+
152
+ > * {
153
+ flex: 1 1 100%;
154
+
155
+ &.flex-auto,
156
+ &.self-auto {
157
+ flex: 0 0 auto;
158
+ }
159
+ }
160
+ }
161
+
162
+ > .flex-stretch,
163
+ > .self-stretch,
164
+ > .self-fill {
165
+ align-self: stretch;
166
+ }
167
+
168
+ &.flex-fill > .flex-noshrink,
169
+ > .flex-noshrink {
170
+ flex-shrink: 0;
171
+ }
172
+
173
+ &.flex-fill > .flex-nogrow,
174
+ > .flex-nogrow {
175
+ flex-grow: 0;
176
+ }
177
+
178
+ &.flex-vertical {
179
+ flex-direction: column;
180
+ }
181
+
182
+ &.flex-right {
183
+ justify-content: right;
184
+ }
185
+
186
+ &.flex-end {
187
+ justify-content: flex-end;
188
+ }
189
+
190
+ &.flex-left {
191
+ justify-content: left;
192
+ }
193
+
194
+ &.flex-start {
195
+ justify-content: flex-start;
196
+ }
197
+
198
+ &.flex-center {
199
+ justify-content: center;
200
+ }
201
+
202
+ &.flex-top {
203
+ align-items: flex-start;
204
+ }
205
+
206
+ &.flex-middle {
207
+ align-items: center;
208
+ }
209
+
210
+ &.flex-bottom {
211
+ align-items: flex-end;
212
+ }
213
+ }
214
+
215
+ .display-inline {
216
+ display: inline !important;
217
+
218
+ &.inline-middle {
219
+ vertical-align: middle;
220
+ }
221
+ }
222
+
223
+ .display-inline-block {
224
+ display: inline-block !important;
225
+
226
+ &.inline-block-middle {
227
+ vertical-align: middle;
228
+ }
229
+ }
230
+
231
+ /* responsive .hide-*, .show-* (media and container queries): generated/visibility.css */
@@ -0,0 +1,20 @@
1
+ /* maps (theme/less/pacem/maps): the map elements are configuration only; the adapters render into .pacem-map. */
2
+ pacem-map,
3
+ pacem-map-marker,
4
+ pacem-map-circle,
5
+ pacem-map-polygon,
6
+ pacem-map-polyline,
7
+ pacem-map-rectangle,
8
+ pacem-map-geocoder,
9
+ pacem-map-adapter-leaflet,
10
+ pacem-map-adapter-google,
11
+ pacem-map-adapter-azure {
12
+ font-size: 0;
13
+ display: none !important;
14
+ user-select: none;
15
+ }
16
+
17
+ .pacem-map > div {
18
+ min-height: calc(var(--pacem-grid-cell) * 3);
19
+ color: var(--pacem-color-map);
20
+ }
@@ -0,0 +1,6 @@
1
+ /* media (theme/less/pacem/media): non-UI components. */
2
+ pacem-media-recorder,
3
+ pacem-audio {
4
+ pointer-events: none !important;
5
+ display: none !important;
6
+ }
package/src/media.css ADDED
@@ -0,0 +1,18 @@
1
+ /* Breakpoints (were @threshold_* in theme-dark.less).
2
+ Custom properties cannot be used in media queries: these are resolved at build time by Lightning CSS. */
3
+ @custom-media --pacem-sm (width >= 768px);
4
+ @custom-media --pacem-md (width >= 992px);
5
+ @custom-media --pacem-lg (width >= 1200px);
6
+ @custom-media --pacem-xl (width >= 1824px);
7
+ @custom-media --pacem-hd (width >= 1920px);
8
+ @custom-media --pacem-2k (width >= 2048px);
9
+ @custom-media --pacem-4k (width >= 3840px);
10
+
11
+ /* `max-width: @threshold_* - 1` */
12
+ @custom-media --pacem-below-sm (width < 768px);
13
+ @custom-media --pacem-below-md (width < 992px);
14
+ @custom-media --pacem-below-lg (width < 1200px);
15
+ @custom-media --pacem-below-xl (width < 1824px);
16
+ @custom-media --pacem-below-hd (width < 1920px);
17
+ @custom-media --pacem-below-2k (width < 2048px);
18
+ @custom-media --pacem-below-4k (width < 3840px);
@@ -0,0 +1,24 @@
1
+ /* Pacem JS theme - content only (everything but the shell): was `shell_only=false, full_theme=false`. */
2
+ @layer pacem.tokens, pacem.styles;
3
+
4
+ @import "media.css";
5
+ @import "tokens/system.css";
6
+ @import "tokens/theme.css";
7
+ @import "tokens/colors.css";
8
+ @import "tokens/components.css";
9
+
10
+ @import "base/preloader.css" layer(pacem.styles);
11
+ @import "base/content.css" layer(pacem.styles);
12
+ @import "basic/index.css" layer(pacem.styles);
13
+ @import "layout/index.css" layer(pacem.styles);
14
+ @import "ui/index.css" layer(pacem.styles);
15
+ @import "scaffolding/index.css" layer(pacem.styles);
16
+ @import "maps/index.css" layer(pacem.styles);
17
+ @import "3d/index.css" layer(pacem.styles);
18
+ @import "2d/index.css" layer(pacem.styles);
19
+ @import "media/index.css" layer(pacem.styles);
20
+ @import "plus/index.css" layer(pacem.styles);
21
+ @import "charts/index.css" layer(pacem.styles);
22
+ @import "fx/index.css" layer(pacem.styles);
23
+ @import "transforms/index.css" layer(pacem.styles);
24
+ @import "base/overrides.css" layer(pacem.styles);
@@ -0,0 +1,14 @@
1
+ /* Pacem JS theme - shell only (reset, layout, loader, menu, sidebar): was `shell_only=true`. */
2
+ @layer pacem.tokens, pacem.styles;
3
+
4
+ @import "media.css";
5
+ @import "tokens/system.css";
6
+ @import "tokens/theme.css";
7
+ @import "tokens/colors.css";
8
+ @import "tokens/components.css";
9
+
10
+ @import "base/reset.css" layer(pacem.styles);
11
+ @import "base/preloader.css" layer(pacem.styles);
12
+ @import "base/shell.css" layer(pacem.styles);
13
+ @import "layout/shell.css" layer(pacem.styles);
14
+ @import "ui/shell.css" layer(pacem.styles);
package/src/pacem.css ADDED
@@ -0,0 +1,35 @@
1
+ /* Pacem JS theme - full stylesheet (shell + content). Theme-agnostic: dark is the default,
2
+ load themes/*.css (or themes/all.css) and toggle html[light|dark] or [data-theme] to switch.
3
+
4
+ Layers: tokens first, then every style rule in one layer, in the same order as the Less theme
5
+ (a single layer keeps the original specificity-based cascade among Pacem's own rules, while
6
+ any unlayered stylesheet of the application overrides them). */
7
+ @layer pacem.tokens, pacem.styles;
8
+
9
+ @import "media.css";
10
+ @import "tokens/system.css";
11
+ @import "tokens/theme.css";
12
+ @import "tokens/colors.css";
13
+ @import "tokens/components.css";
14
+
15
+ @import "base/reset.css" layer(pacem.styles);
16
+ @import "base/preloader.css" layer(pacem.styles);
17
+ /* shell */
18
+ @import "base/shell.css" layer(pacem.styles);
19
+ @import "layout/shell.css" layer(pacem.styles);
20
+ @import "ui/shell.css" layer(pacem.styles);
21
+ /* content */
22
+ @import "base/content.css" layer(pacem.styles);
23
+ @import "basic/index.css" layer(pacem.styles);
24
+ @import "layout/index.css" layer(pacem.styles);
25
+ @import "ui/index.css" layer(pacem.styles);
26
+ @import "scaffolding/index.css" layer(pacem.styles);
27
+ @import "maps/index.css" layer(pacem.styles);
28
+ @import "3d/index.css" layer(pacem.styles);
29
+ @import "2d/index.css" layer(pacem.styles);
30
+ @import "media/index.css" layer(pacem.styles);
31
+ @import "plus/index.css" layer(pacem.styles);
32
+ @import "charts/index.css" layer(pacem.styles);
33
+ @import "fx/index.css" layer(pacem.styles);
34
+ @import "transforms/index.css" layer(pacem.styles);
35
+ @import "base/overrides.css" layer(pacem.styles);