@dolanske/vui 1.4.0 → 1.4.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.
Files changed (214) hide show
  1. package/dist/components/Accordion/Accordion.vue.d.ts +48 -0
  2. package/dist/components/Accordion/AccordionGroup.vue.d.ts +21 -0
  3. package/dist/components/Alert/Alert.vue.d.ts +36 -0
  4. package/dist/components/Avatar/Avatar.vue.d.ts +25 -0
  5. package/dist/components/Badge/Badge.vue.d.ts +22 -0
  6. package/dist/components/Breadcrumbs/BreadcrumbItem.vue.d.ts +22 -0
  7. package/dist/components/Breadcrumbs/Breadcrumbs.vue.d.ts +18 -0
  8. package/dist/components/Button/Button.vue.d.ts +32 -0
  9. package/dist/components/ButtonGroup/ButtonGroup.vue.d.ts +22 -0
  10. package/dist/components/Calendar/Calendar.vue.d.ts +27 -0
  11. package/dist/components/Card/Card.vue.d.ts +26 -0
  12. package/dist/components/Checkbox/Checkbox.vue.d.ts +33 -0
  13. package/dist/components/CopyClipboard/CopyClipboard.vue.d.ts +46 -0
  14. package/dist/components/Divider/Divider.vue.d.ts +23 -0
  15. package/dist/components/Drawer/Drawer.vue.d.ts +53 -0
  16. package/dist/components/Dropdown/Dropdown.vue.d.ts +177 -0
  17. package/dist/components/Dropdown/DropdownItem.vue.d.ts +23 -0
  18. package/dist/components/Dropdown/DropdownTitle.vue.d.ts +21 -0
  19. package/dist/components/Flex/Flex.vue.d.ts +41 -0
  20. package/dist/components/Grid/Grid.vue.d.ts +35 -0
  21. package/dist/components/Input/Color.vue.d.ts +11 -0
  22. package/dist/components/Input/Counter.vue.d.ts +19 -0
  23. package/dist/components/Input/Dropzone.vue.d.ts +193 -0
  24. package/dist/components/Input/File.vue.d.ts +8 -0
  25. package/dist/components/Input/Input.vue.d.ts +56 -0
  26. package/dist/components/Input/Password.vue.d.ts +6 -0
  27. package/dist/components/Input/Textarea.vue.d.ts +31 -0
  28. package/dist/components/Kbd/Kbd.vue.d.ts +23 -0
  29. package/dist/components/Kbd/KbdGroup.vue.d.ts +19 -0
  30. package/dist/components/Modal/Confirm.vue.d.ts +43 -0
  31. package/dist/components/Modal/Modal.vue.d.ts +58 -0
  32. package/dist/components/OTP/OTP.vue.d.ts +44 -0
  33. package/dist/components/OTP/OTPItem.vue.d.ts +5 -0
  34. package/dist/components/Pagination/Pagination.vue.d.ts +46 -0
  35. package/dist/components/Pagination/pagination.d.ts +12 -0
  36. package/dist/components/Popout/Popout.vue.d.ts +36 -0
  37. package/dist/components/Progress/Progress.vue.d.ts +33 -0
  38. package/dist/components/Radio/Radio.vue.d.ts +29 -0
  39. package/dist/components/Radio/RadioGroup.vue.d.ts +27 -0
  40. package/dist/components/Select/Select.vue.d.ts +35 -0
  41. package/dist/components/Sheet/Sheet.vue.d.ts +47 -0
  42. package/dist/components/Sidebar/Sidebar.vue.d.ts +70 -0
  43. package/dist/components/Skeleton/Skeleton.vue.d.ts +8 -0
  44. package/dist/components/Spinner/Spinner.vue.d.ts +6 -0
  45. package/dist/components/Switch/Switch.vue.d.ts +28 -0
  46. package/dist/components/Table/Cell.vue.d.ts +22 -0
  47. package/dist/components/Table/Head.vue.d.ts +30 -0
  48. package/dist/components/Table/Root.vue.d.ts +41 -0
  49. package/dist/components/Table/SelectAll.vue.d.ts +2 -0
  50. package/dist/components/Table/SelectRow.vue.d.ts +6 -0
  51. package/dist/components/Table/index.d.ts +6 -0
  52. package/dist/components/Table/table.d.ts +68 -0
  53. package/dist/components/Tabs/Tab.vue.d.ts +22 -0
  54. package/dist/components/Tabs/Tabs.vue.d.ts +34 -0
  55. package/dist/components/Toast/Toasts.vue.d.ts +2 -0
  56. package/dist/components/Toast/toast.d.ts +287 -0
  57. package/dist/components/Tooltip/Tooltip.vue.d.ts +33 -0
  58. package/dist/fonts/GeistMono-Regular.ttf +0 -0
  59. package/dist/fonts/GeistMono-SemiBold.ttf +0 -0
  60. package/dist/fonts/Inter_18pt-Black.ttf +0 -0
  61. package/dist/fonts/Inter_18pt-Bold.ttf +0 -0
  62. package/dist/fonts/Inter_18pt-ExtraBold.ttf +0 -0
  63. package/dist/fonts/Inter_18pt-Light.ttf +0 -0
  64. package/dist/fonts/Inter_18pt-Medium.ttf +0 -0
  65. package/dist/fonts/Inter_18pt-Regular.ttf +0 -0
  66. package/dist/fonts/Inter_18pt-SemiBold.ttf +0 -0
  67. package/dist/index.d.ts +56 -0
  68. package/dist/internal/Backdrop/Backdrop.vue.d.ts +21 -0
  69. package/dist/shared/helpers.d.ts +34 -0
  70. package/dist/shared/slots.d.ts +20 -0
  71. package/dist/shared/theme.d.ts +3 -0
  72. package/dist/shared/types.d.ts +24 -0
  73. package/dist/vui.css +1 -0
  74. package/dist/vui.js +16215 -0
  75. package/package.json +1 -2
  76. package/src/App.vue +0 -103
  77. package/src/components/Accordion/Accordion.vue +0 -98
  78. package/src/components/Accordion/AccordionGroup.vue +0 -49
  79. package/src/components/Accordion/accordion.scss +0 -97
  80. package/src/components/Alert/Alert.vue +0 -59
  81. package/src/components/Alert/alert.scss +0 -162
  82. package/src/components/Avatar/Avatar.vue +0 -53
  83. package/src/components/Avatar/avatar.scss +0 -52
  84. package/src/components/Badge/Badge.vue +0 -21
  85. package/src/components/Badge/badge.scss +0 -210
  86. package/src/components/Breadcrumbs/BreadcrumbItem.vue +0 -26
  87. package/src/components/Breadcrumbs/Breadcrumbs.vue +0 -29
  88. package/src/components/Breadcrumbs/breadcrumbs.scss +0 -31
  89. package/src/components/Button/Button.vue +0 -86
  90. package/src/components/Button/button.scss +0 -292
  91. package/src/components/ButtonGroup/ButtonGroup.vue +0 -28
  92. package/src/components/ButtonGroup/button-group.scss +0 -51
  93. package/src/components/Calendar/Calendar.vue +0 -66
  94. package/src/components/Calendar/calendar.scss +0 -88
  95. package/src/components/Card/Card.vue +0 -48
  96. package/src/components/Card/card.scss +0 -55
  97. package/src/components/Checkbox/Checkbox.vue +0 -54
  98. package/src/components/Checkbox/checkbox.scss +0 -80
  99. package/src/components/CopyClipboard/CopyClipboard.vue +0 -98
  100. package/src/components/CopyClipboard/copy-clipboard.scss +0 -25
  101. package/src/components/Divider/Divider.vue +0 -38
  102. package/src/components/Divider/divider.scss +0 -37
  103. package/src/components/Drawer/Drawer.vue +0 -102
  104. package/src/components/Drawer/drawer.scss +0 -37
  105. package/src/components/Dropdown/Dropdown.vue +0 -120
  106. package/src/components/Dropdown/DropdownItem.vue +0 -33
  107. package/src/components/Dropdown/DropdownTitle.vue +0 -14
  108. package/src/components/Dropdown/dropdown-item.scss +0 -84
  109. package/src/components/Dropdown/dropdown.scss +0 -53
  110. package/src/components/Flex/Flex.vue +0 -113
  111. package/src/components/Grid/Grid.vue +0 -87
  112. package/src/components/Input/Color.vue +0 -26
  113. package/src/components/Input/Counter.vue +0 -66
  114. package/src/components/Input/Dropzone.vue +0 -65
  115. package/src/components/Input/File.vue +0 -15
  116. package/src/components/Input/Input.vue +0 -123
  117. package/src/components/Input/Password.vue +0 -35
  118. package/src/components/Input/Textarea.vue +0 -78
  119. package/src/components/Input/input.scss +0 -302
  120. package/src/components/Kbd/Kbd.vue +0 -48
  121. package/src/components/Kbd/KbdGroup.vue +0 -28
  122. package/src/components/Kbd/kbd.scss +0 -19
  123. package/src/components/Modal/Confirm.vue +0 -56
  124. package/src/components/Modal/Modal.vue +0 -103
  125. package/src/components/Modal/modal.scss +0 -54
  126. package/src/components/OTP/OTP.vue +0 -133
  127. package/src/components/OTP/OTPItem.vue +0 -37
  128. package/src/components/OTP/otp.scss +0 -84
  129. package/src/components/Pagination/Pagination.vue +0 -92
  130. package/src/components/Pagination/pagination.ts +0 -78
  131. package/src/components/Popout/Popout.vue +0 -73
  132. package/src/components/Popout/popout.scss +0 -16
  133. package/src/components/Progress/Progress.vue +0 -103
  134. package/src/components/Progress/progress.scss +0 -47
  135. package/src/components/Radio/Radio.vue +0 -38
  136. package/src/components/Radio/RadioGroup.vue +0 -34
  137. package/src/components/Radio/radio.scss +0 -78
  138. package/src/components/Select/Select.vue +0 -212
  139. package/src/components/Select/select.scss +0 -82
  140. package/src/components/Sheet/Sheet.vue +0 -106
  141. package/src/components/Sheet/sheet.scss +0 -71
  142. package/src/components/Sidebar/Sidebar.vue +0 -116
  143. package/src/components/Sidebar/sidebar.scss +0 -124
  144. package/src/components/Skeleton/Skeleton.vue +0 -43
  145. package/src/components/Skeleton/skeleton.scss +0 -14
  146. package/src/components/Spinner/Spinner.vue +0 -42
  147. package/src/components/Spinner/spinner.scss +0 -47
  148. package/src/components/Switch/Switch.vue +0 -31
  149. package/src/components/Switch/switch.scss +0 -93
  150. package/src/components/Table/Cell.vue +0 -23
  151. package/src/components/Table/Head.vue +0 -66
  152. package/src/components/Table/Root.vue +0 -66
  153. package/src/components/Table/SelectAll.vue +0 -23
  154. package/src/components/Table/SelectRow.vue +0 -30
  155. package/src/components/Table/index.ts +0 -7
  156. package/src/components/Table/table.scss +0 -155
  157. package/src/components/Table/table.ts +0 -248
  158. package/src/components/Tabs/Tab.vue +0 -25
  159. package/src/components/Tabs/Tabs.vue +0 -90
  160. package/src/components/Tabs/tabs.scss +0 -87
  161. package/src/components/Toast/Toasts.vue +0 -52
  162. package/src/components/Toast/toast.scss +0 -45
  163. package/src/components/Toast/toast.ts +0 -75
  164. package/src/components/Tooltip/Tooltip.vue +0 -78
  165. package/src/components/Tooltip/tooltip.scss +0 -5
  166. package/src/examples/ExampleAccordions.vue +0 -69
  167. package/src/examples/ExampleAlerts.vue +0 -78
  168. package/src/examples/ExampleAvatars.vue +0 -44
  169. package/src/examples/ExampleBadges.vue +0 -48
  170. package/src/examples/ExampleBreadcrumbs.vue +0 -46
  171. package/src/examples/ExampleButtons.vue +0 -148
  172. package/src/examples/ExampleCalendars.vue +0 -40
  173. package/src/examples/ExampleCards.vue +0 -94
  174. package/src/examples/ExampleCheckboxes.vue +0 -123
  175. package/src/examples/ExampleCopyClipboard.vue +0 -47
  176. package/src/examples/ExampleDividers.vue +0 -39
  177. package/src/examples/ExampleDrawers.vue +0 -67
  178. package/src/examples/ExampleDropdowns.vue +0 -114
  179. package/src/examples/ExampleFlexGrid.vue +0 -124
  180. package/src/examples/ExampleInputs.vue +0 -236
  181. package/src/examples/ExampleKBD.vue +0 -65
  182. package/src/examples/ExampleModals.vue +0 -143
  183. package/src/examples/ExamplePalette.vue +0 -165
  184. package/src/examples/ExamplePopouts.vue +0 -41
  185. package/src/examples/ExampleSheets.vue +0 -77
  186. package/src/examples/ExampleSidebars.vue +0 -276
  187. package/src/examples/ExampleSkeletons.vue +0 -26
  188. package/src/examples/ExampleSpinners.vue +0 -80
  189. package/src/examples/ExampleTables.vue +0 -359
  190. package/src/examples/ExampleTabs.vue +0 -142
  191. package/src/examples/ExampleToasts.vue +0 -96
  192. package/src/examples/ExampleTooltips.vue +0 -70
  193. package/src/examples/shared/ExampleColor.vue +0 -28
  194. package/src/index.ts +0 -116
  195. package/src/internal/Backdrop/Backdrop.vue +0 -22
  196. package/src/internal/Backdrop/backdrop.scss +0 -34
  197. package/src/main.ts +0 -5
  198. package/src/shared/helpers.ts +0 -124
  199. package/src/shared/slots.ts +0 -61
  200. package/src/shared/theme.ts +0 -22
  201. package/src/shared/types.ts +0 -29
  202. package/src/style/animation.scss +0 -50
  203. package/src/style/core.scss +0 -133
  204. package/src/style/fonts.scss +0 -73
  205. package/src/style/layout.scss +0 -179
  206. package/src/style/media-query.scss +0 -29
  207. package/src/style/reset.scss +0 -135
  208. package/src/style/text.scss +0 -137
  209. package/src/style/theme.scss +0 -195
  210. package/src/style/tooltip.scss +0 -146
  211. package/src/style/typography.scss +0 -435
  212. package/src/style/utils.scss +0 -36
  213. package/src/style.scss +0 -1
  214. package/src/vite-env.d.ts +0 -1
@@ -1,179 +0,0 @@
1
- // Container layout styling
2
- $containers: 'xs', 's', 'm', 'l', 'xl', 'xxl';
3
-
4
- .container {
5
- display: block;
6
- margin-inline: auto;
7
- width: 100%;
8
- padding-inline: var(--space-m);
9
- max-width: var(--container-l);
10
-
11
- @each $container in $containers {
12
- &.container-#{$container} {
13
- max-width: var(--container-#{$container});
14
- }
15
- }
16
-
17
- &.container-full {
18
- max-width: 100%;
19
- }
20
- }
21
-
22
- $sizes: 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70, 75, 80, 85, 90, 95, 100;
23
-
24
- @each $size in $sizes {
25
- $extra: '%';
26
- .w-#{$size} {
27
- width: #{$size + $extra} !important;
28
- }
29
-
30
- .h-#{$size} {
31
- height: #{$size + $extra} !important;
32
- }
33
- }
34
-
35
- .w-full {
36
- width: 100%;
37
- }
38
-
39
- .w-auto {
40
- width: auto;
41
- }
42
-
43
- // Layout
44
- .block {
45
- display: block;
46
- }
47
-
48
- .inline-block {
49
- display: inline-block;
50
- }
51
-
52
- .inline {
53
- display: inline;
54
- }
55
-
56
- // Flex alignment classes
57
- .flex-1 {
58
- flex: 1;
59
- }
60
-
61
- // Horizontal alignment (x-axis)
62
- .x-start {
63
- justify-self: start;
64
- }
65
-
66
- .x-end {
67
- justify-self: end;
68
- }
69
-
70
- .x-center {
71
- justify-self: center;
72
- }
73
-
74
- .x-stretch {
75
- justify-self: stretch;
76
- }
77
-
78
- // Vertical alignment (y-axis)
79
- .y-start {
80
- align-self: start;
81
- }
82
-
83
- .y-end {
84
- align-self: end;
85
- }
86
-
87
- .y-center {
88
- align-self: center;
89
- }
90
-
91
- .y-stretch {
92
- align-self: stretch;
93
- }
94
-
95
- // Sizes
96
- // Paddings & margins
97
- .mx-auto {
98
- margin-inline: auto;
99
- }
100
-
101
- .my-auto {
102
- margin-block: auto;
103
- }
104
-
105
- .m-auto {
106
- margin: auto;
107
- }
108
-
109
- // Generate layout classes from size styles
110
- $sizes: 0, 'xxs', 'xs', 's', 'm', 'l', 'xl', 'xxl', 'xxxl';
111
-
112
- @each $size in $sizes {
113
- // Margin
114
- .mb-#{$size} {
115
- margin-bottom: var(--space-#{$size});
116
- }
117
-
118
- .mr-#{$size} {
119
- margin-right: var(--space-#{$size});
120
- }
121
-
122
- .ml-#{$size} {
123
- margin-left: var(--space-#{$size});
124
- }
125
-
126
- .mt-#{$size} {
127
- margin-top: var(--space-#{$size});
128
- }
129
-
130
- .mx-#{$size} {
131
- margin-inline: var(--space-#{$size});
132
- }
133
-
134
- .my-#{$size} {
135
- margin-block: var(--space-#{$size});
136
- }
137
-
138
- .m-#{$size} {
139
- margin: var(--space-#{$size});
140
- }
141
-
142
- // Padding
143
- .pb-#{$size} {
144
- padding-bottom: var(--space-#{$size});
145
- }
146
-
147
- .pr-#{$size} {
148
- padding-right: var(--space-#{$size});
149
- }
150
-
151
- .pl-#{$size} {
152
- padding-left: var(--space-#{$size});
153
- }
154
-
155
- .pt-#{$size} {
156
- padding-top: var(--space-#{$size});
157
- }
158
-
159
- .px-#{$size} {
160
- padding-inline: var(--space-#{$size});
161
- }
162
-
163
- .py-#{$size} {
164
- padding-block: var(--space-#{$size});
165
- }
166
-
167
- .p-#{$size} {
168
- padding: var(--space-#{$size});
169
- }
170
- }
171
-
172
- // Z-index
173
- $zindexes: 0, 10, 20, 30, 40, 50, auto;
174
-
175
- @each $zindex in $zindexes {
176
- .z-#{$zindex} {
177
- z-index: $zindex;
178
- }
179
- }
@@ -1,29 +0,0 @@
1
- // Mobile phones
2
- @media screen and (max-width: 572px) {
3
- :root {
4
- --space-xs: 5px;
5
- --space-s: 8px;
6
- --space-m: 12px;
7
- --space-l: 20px;
8
- --space-xl: 32px;
9
- --space-xxl: 44px;
10
- }
11
-
12
- // Typography changes
13
- h1 {
14
- font-size: 3.2rem;
15
- }
16
-
17
- h2 {
18
- font-size: 2.8rem;
19
- }
20
-
21
- h3 {
22
- font-size: 2.2rem;
23
- }
24
-
25
- .vui-tabs .vui-tab {
26
- font-size: var(--font-size-s);
27
- padding: 0 var(--space-xs);
28
- }
29
- }
@@ -1,135 +0,0 @@
1
- html,
2
- body,
3
- div,
4
- span,
5
- applet,
6
- object,
7
- iframe,
8
- h1,
9
- h2,
10
- h3,
11
- h4,
12
- h5,
13
- h6,
14
- p,
15
- blockquote,
16
- pre,
17
- a,
18
- abbr,
19
- acronym,
20
- address,
21
- big,
22
- cite,
23
- code,
24
- del,
25
- dfn,
26
- em,
27
- img,
28
- ins,
29
- kbd,
30
- q,
31
- s,
32
- samp,
33
- small,
34
- strike,
35
- strong,
36
- sub,
37
- sup,
38
- tt,
39
- var,
40
- b,
41
- u,
42
- i,
43
- center,
44
- dl,
45
- dt,
46
- dd,
47
- ol,
48
- ul,
49
- li,
50
- fieldset,
51
- form,
52
- label,
53
- legend,
54
- table,
55
- caption,
56
- tbody,
57
- tfoot,
58
- thead,
59
- tr,
60
- th,
61
- td,
62
- article,
63
- aside,
64
- canvas,
65
- details,
66
- embed,
67
- figure,
68
- figcaption,
69
- footer,
70
- header,
71
- hgroup,
72
- menu,
73
- nav,
74
- output,
75
- ruby,
76
- section,
77
- summary,
78
- time,
79
- mark,
80
- audio,
81
- video {
82
- margin: 0;
83
- padding: 0;
84
- border: 0;
85
- font-size: 100%;
86
- font: inherit;
87
- vertical-align: baseline;
88
- }
89
- /* HTML5 display-role reset for older browsers */
90
- article,
91
- aside,
92
- details,
93
- figcaption,
94
- figure,
95
- footer,
96
- header,
97
- hgroup,
98
- menu,
99
- nav,
100
- section {
101
- display: block;
102
- }
103
- body {
104
- line-height: 1;
105
- }
106
- ol,
107
- ul {
108
- list-style: none;
109
- }
110
- blockquote,
111
- q {
112
- quotes: none;
113
- }
114
- blockquote:before,
115
- blockquote:after,
116
- q:before,
117
- q:after {
118
- content: '';
119
- content: none;
120
- }
121
- table {
122
- border-collapse: collapse;
123
- border-spacing: 0;
124
- }
125
- button {
126
- border: none;
127
- background-color: unset;
128
- margin: 0;
129
- font-family: var(--global-font);
130
- }
131
-
132
- hr {
133
- border: none;
134
- border-bottom: 1px solid var(--color-border);
135
- }
@@ -1,137 +0,0 @@
1
- $sizes: 'xxs', 'xs', 's', 'ms', 'm', 'l', 'xl', 'xxl', 'xxxl', 'xxxxl';
2
-
3
- @each $size in $sizes {
4
- .text-#{$size} {
5
- font-size: var(--font-size-#{$size});
6
- }
7
- }
8
-
9
- $colors: 'light', 'lighter', 'lightest', 'red', 'green', 'yellow', 'blue';
10
-
11
- @each $color in $colors {
12
- .text-color-#{$color} {
13
- color: var(--color-text-#{$color});
14
- }
15
- }
16
-
17
- // Font weights
18
-
19
- .text-light {
20
- font-weight: 300;
21
- }
22
-
23
- .text-regular {
24
- font-weight: 400;
25
- }
26
-
27
- .text-medium {
28
- font-weight: 500;
29
- }
30
-
31
- .text-semibold {
32
- font-weight: 600;
33
- }
34
-
35
- .text-bold {
36
- font-weight: 700;
37
- }
38
-
39
- .text-extra-bold {
40
- font-weight: 800;
41
- }
42
-
43
- .text-black {
44
- font-weight: 900;
45
- }
46
-
47
- // Text align
48
- .text-left {
49
- text-align: left;
50
- }
51
-
52
- .text-center {
53
- text-align: center;
54
- }
55
-
56
- .text-right {
57
- text-align: right;
58
- }
59
-
60
- // Line truncating
61
-
62
- .text-overflow {
63
- white-space: nowrap;
64
- overflow: hidden;
65
- text-overflow: ellipsis;
66
- }
67
-
68
- $lines: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10;
69
-
70
- @each $line in $lines {
71
- .text-overflow-#{$line} {
72
- display: -webkit-box;
73
- overflow: hidden;
74
- text-overflow: ellipsis;
75
- line-clamp: $line;
76
- -webkit-box-orient: vertical;
77
- -webkit-line-clamp: $line;
78
- }
79
- }
80
-
81
- // White space
82
-
83
- .ws-wrap {
84
- white-space: wrap;
85
- }
86
-
87
- .ws-pre {
88
- white-space: pre;
89
- }
90
-
91
- .ws-prewrap {
92
- white-space: pre-wrap;
93
- }
94
-
95
- .ws-nowrap {
96
- white-space: nowrap;
97
- }
98
-
99
- .color-text {
100
- color: var(--color-text);
101
- }
102
-
103
- .color-text-light {
104
- color: var(--color-text-light);
105
- }
106
-
107
- .color-text-lighter {
108
- color: var(--color-text-lighter);
109
- }
110
-
111
- .color-text-lightest {
112
- color: var(--color-text-lightest);
113
- }
114
-
115
- .color-text-invert {
116
- color: var(--color-text-invert);
117
- }
118
-
119
- .color-text-red {
120
- color: var(--color-text-red);
121
- }
122
-
123
- .color-text-green {
124
- color: var(--color-text-green);
125
- }
126
-
127
- .color-text-yellow {
128
- color: var(--color-text-yellow);
129
- }
130
-
131
- .color-text-blue {
132
- color: var(--color-text-blue);
133
- }
134
-
135
- .color-accent {
136
- color: var(--color-accent);
137
- }
@@ -1,195 +0,0 @@
1
- // Light theme
2
- :root {
3
- --light-color-bg: rgb(246, 246, 246);
4
- --light-color-bg-medium: rgb(236, 236, 236);
5
- --light-color-bg-raised: rgb(222, 222, 222);
6
- --light-color-bg-lowered: rgb(255, 255, 255);
7
-
8
- --light-color-text: rgb(8, 8, 8);
9
- --light-color-text-light: rgb(64, 64, 64);
10
- --light-color-text-lighter: rgb(92, 92, 92);
11
- --light-color-text-lightest: rgb(128, 128, 128);
12
- --light-color-text-invert: rgb(248, 248, 248);
13
-
14
- --light-color-button-gray: rgb(224, 224, 224);
15
- --light-color-button-gray-hover: rgb(198, 198, 198);
16
-
17
- --light-color-button-fill: rgb(12, 12, 12);
18
- --light-color-button-fill-hover: rgb(52, 52, 52);
19
-
20
- --light-color-text-red: rgb(209, 60, 52);
21
- --light-color-bg-red-lowered: rgb(172, 45, 45);
22
- --light-color-bg-red-raised: rgb(220, 38, 38);
23
-
24
- --light-color-text-green: rgb(77, 160, 29);
25
- --light-color-bg-green-lowered: rgb(42, 114, 19);
26
- --light-color-bg-green-raised: rgb(61, 146, 35);
27
-
28
- --light-color-text-yellow: rgb(176, 129, 15);
29
- --light-color-bg-yellow-lowered: rgb(230, 205, 137);
30
- --light-color-bg-yellow-raised: rgb(253, 200, 86);
31
-
32
- --light-color-text-blue: rgb(85, 141, 245);
33
- --light-color-bg-blue-lowered: rgb(196, 214, 255);
34
- --light-color-bg-blue-raised: rgb(136, 178, 255);
35
-
36
- --light-color-border: rgb(200, 200, 200);
37
- --light-color-border-strong: rgb(152, 152, 152);
38
- --light-color-border-weak: rgb(224, 224, 224);
39
-
40
- --light-color-accent: rgb(193, 118, 255);
41
- --light-color-bg-accent-lowered: hsla(from var(--light-color-accent) h s l / 0.6);
42
- --light-color-bg-accent-raised: hsla(from var(--light-color-accent) h s l / 0.75);
43
-
44
- --light-box-shadow: 0 2px 12px rgba(8, 8, 8, 0.085);
45
- --light-box-shadow-strong: 0 4px 15px rgba(8, 8, 8, 0.2);
46
- }
47
-
48
- // Dark theme
49
- :root {
50
- --dark-color-bg: rgb(17, 17, 17);
51
- --dark-color-bg-medium: rgb(22, 22, 22);
52
- --dark-color-bg-raised: rgb(28, 28, 28);
53
- --dark-color-bg-lowered: rgb(12, 12, 12);
54
-
55
- --dark-color-text: rgb(231, 231, 231);
56
- --dark-color-text-light: rgb(180, 180, 180);
57
- --dark-color-text-lighter: rgb(90, 90, 90);
58
- --dark-color-text-lightest: rgb(65, 65, 65);
59
- --dark-color-text-invert: rgb(17, 17, 17);
60
-
61
- --dark-color-button-gray: rgb(46, 46, 46);
62
- --dark-color-button-gray-hover: rgb(38, 38, 38);
63
-
64
- --dark-color-button-fill: rgb(250, 250, 250);
65
- --dark-color-button-fill-hover: rgb(210, 210, 210);
66
-
67
- --dark-color-text-red: rgb(243, 78, 70);
68
- --dark-color-bg-red-lowered: rgb(104, 24, 24);
69
- --dark-color-bg-red-raised: rgb(127, 29, 29);
70
-
71
- --dark-color-text-green: rgb(106, 207, 48);
72
- --dark-color-bg-green-lowered: rgb(40, 95, 8);
73
- --dark-color-bg-green-raised: rgb(26, 122, 13);
74
-
75
- --dark-color-text-yellow: rgb(255, 193, 7);
76
- --dark-color-bg-yellow-lowered: rgb(78, 52, 0);
77
- --dark-color-bg-yellow-raised: rgb(152, 104, 0);
78
-
79
- --dark-color-text-blue: rgb(85, 141, 245);
80
- --dark-color-bg-blue-lowered: rgb(13, 32, 74);
81
- --dark-color-bg-blue-raised: rgb(26, 59, 119);
82
-
83
- --dark-color-border: rgb(40, 40, 40);
84
- --dark-color-border-strong: rgb(54, 54, 54);
85
- --dark-color-border-weak: rgb(36, 36, 36);
86
-
87
- --dark-color-accent: rgb(193, 118, 255);
88
- --dark-color-bg-accent-lowered: hsla(from var(--dark-color-accent) h s l / 0.45);
89
- --dark-color-bg-accent-raised: hsla(from var(--dark-color-accent) h s l / 0.6);
90
-
91
- --dark-box-shadow: 0 2px 12px rgba(8, 8, 8, 0.2);
92
- --dark-box-shadow-strong: 0 4px 15px rgba(8, 8, 8, 0.4);
93
- }
94
-
95
- :root.light {
96
- color-scheme: light;
97
-
98
- --color-bg: var(--light-color-bg);
99
- --color-bg-medium: var(--light-color-bg-medium);
100
- --color-bg-raised: var(--light-color-bg-raised);
101
- --color-bg-lowered: var(--light-color-bg-lowered);
102
-
103
- --color-text: var(--light-color-text);
104
- --color-text-light: var(--light-color-text-light);
105
- --color-text-lighter: var(--light-color-text-lighter);
106
- --color-text-lightest: var(--light-color-text-lightest);
107
- --color-text-invert: var(--light-color-text-invert);
108
-
109
- --color-button-gray: var(--light-color-button-gray);
110
- --color-button-gray-hover: var(--light-color-button-gray-hover);
111
-
112
- --color-button-fill: var(--light-color-button-fill);
113
- --color-button-fill-hover: var(--light-color-button-fill-hover);
114
-
115
- --color-text-red: var(--light-color-text-red);
116
- --color-bg-red-lowered: var(--light-color-bg-red-lowered);
117
- --color-bg-red-raised: var(--light-color-bg-red-raised);
118
- --color-border-red: var(--light-color-border-red);
119
-
120
- --color-text-green: var(--light-color-text-green);
121
- --color-bg-green-lowered: var(--light-color-bg-green-lowered);
122
- --color-bg-green-raised: var(--light-color-bg-green-raised);
123
-
124
- --color-text-yellow: var(--light-color-text-yellow);
125
- --color-bg-yellow-lowered: var(--light-color-bg-yellow-lowered);
126
- --color-bg-yellow-raised: var(--light-color-bg-yellow-raised);
127
- --color-border-yellow: var(--light-color-border-yellow);
128
-
129
- --color-text-blue: var(--light-color-text-blue);
130
- --color-bg-blue-lowered: var(--light-color-bg-blue-lowered);
131
- --color-bg-blue-raised: var(--light-color-bg-blue-raised);
132
- --color-border-blue: var(--light-color-border-blue);
133
-
134
- --color-border: var(--light-color-border);
135
- --color-border-strong: var(--light-color-border-strong);
136
- --color-border-weak: var(--light-color-border-weak);
137
-
138
- --color-accent: var(--light-color-accent);
139
- --color-bg-accent-lowered: var(--light-color-bg-accent-lowered);
140
- --color-bg-accent-raised: var(--light-color-bg-accent-raised);
141
-
142
- --box-shadow: var(--light-box-shadow);
143
- --box-shadow-strong: var(--light-box-shadow-strong);
144
- }
145
-
146
- :root.dark {
147
- color-scheme: dark;
148
-
149
- --color-bg: var(--dark-color-bg);
150
- --color-bg-medium: var(--dark-color-bg-medium);
151
- --color-bg-raised: var(--dark-color-bg-raised);
152
- --color-bg-lowered: var(--dark-color-bg-lowered);
153
-
154
- --color-text: var(--dark-color-text);
155
- --color-text-light: var(--dark-color-text-light);
156
- --color-text-lighter: var(--dark-color-text-lighter);
157
- --color-text-lightest: var(--dark-color-text-lightest);
158
- --color-text-invert: var(--dark-color-text-invert);
159
-
160
- --color-button-gray: var(--dark-color-button-gray);
161
- --color-button-gray-hover: var(--dark-color-button-gray-hover);
162
-
163
- --color-button-fill: var(--dark-color-button-fill);
164
- --color-button-fill-hover: var(--dark-color-button-fill-hover);
165
-
166
- --color-text-red: var(--dark-color-text-red);
167
- --color-bg-red-lowered: var(--dark-color-bg-red-lowered);
168
- --color-bg-red-raised: var(--dark-color-bg-red-raised);
169
- --color-border-red: var(--dark-color-border-red);
170
-
171
- --color-text-green: var(--dark-color-text-green);
172
- --color-bg-green-lowered: var(--dark-color-bg-green-lowered);
173
- --color-bg-green-raised: var(--dark-color-bg-green-raised);
174
-
175
- --color-text-yellow: var(--dark-color-text-yellow);
176
- --color-bg-yellow-lowered: var(--dark-color-bg-yellow-lowered);
177
- --color-bg-yellow-raised: var(--dark-color-bg-yellow-raised);
178
- --color-border-yellow: var(--dark-color-border-yellow);
179
-
180
- --color-text-blue: var(--dark-color-text-blue);
181
- --color-bg-blue-lowered: var(--dark-color-bg-blue-lowered);
182
- --color-bg-blue-raised: var(--dark-color-bg-blue-raised);
183
- --color-border-blue: var(--dark-color-border-blue);
184
-
185
- --color-border: var(--dark-color-border);
186
- --color-border-strong: var(--dark-color-border-strong);
187
- --color-border-weak: var(--dark-color-border-weak);
188
-
189
- --color-accent: var(--dark-color-accent);
190
- --color-bg-accent-lowered: var(--dark-color-bg-accent-lowered);
191
- --color-bg-accent-raised: var(--dark-color-bg-accent-raised);
192
-
193
- --box-shadow: var(--dark-box-shadow);
194
- --box-shadow-strong: var(--dark-box-shadow-strong);
195
- }