@inriver/inri 1.14.0 → 1.16.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.
Files changed (120) hide show
  1. package/.changeset/README.md +8 -0
  2. package/.changeset/config.json +11 -0
  3. package/.eslintrc.js +5 -5
  4. package/azure/pipelines/single-build-release.yml +20 -0
  5. package/azure/pipelines/templates/deployFramework.yml +30 -0
  6. package/azure/pipelines/templates/publishFramwork.yml +39 -0
  7. package/componentProperties.d.ts +8 -8
  8. package/configs/base-eslint-config.js +36 -36
  9. package/configs/base-tailwind-config.js +149 -149
  10. package/i18n.ts +11 -11
  11. package/index.ts +29 -29
  12. package/package.json +7 -2
  13. package/src/components/CAutoBreadcrumbs.vue +72 -72
  14. package/src/components/CBtn.vue +98 -98
  15. package/src/components/CColorPicker.vue +55 -55
  16. package/src/components/CContextMenu.vue +29 -29
  17. package/src/components/CDatePicker.vue +51 -51
  18. package/src/components/CDeleteTileBtn.vue +52 -52
  19. package/src/components/CDialog.vue +253 -253
  20. package/src/components/CDialogCloseBtn.vue +9 -9
  21. package/src/components/CDirtyCheck.vue +68 -68
  22. package/src/components/CDrawer.vue +44 -44
  23. package/src/components/CDrawerButton.vue +91 -91
  24. package/src/components/CExpansionItem.vue +57 -57
  25. package/src/components/CExpansionItemWithCheckbox.vue +41 -41
  26. package/src/components/CFileDropzone.vue +114 -114
  27. package/src/components/CGrid.vue +101 -101
  28. package/src/components/CHeader.vue +10 -10
  29. package/src/components/CHeaderLinks.vue +61 -61
  30. package/src/components/CHeaderMenuLink.vue +51 -51
  31. package/src/components/CHeaderSearch.vue +142 -142
  32. package/src/components/CIconBtn.vue +70 -70
  33. package/src/components/CMenuItem.vue +66 -66
  34. package/src/components/CPageContainer.vue +11 -11
  35. package/src/components/CPageError.vue +24 -24
  36. package/src/components/CPageSpinner.vue +18 -18
  37. package/src/components/CSearch.vue +45 -45
  38. package/src/components/CSection.vue +29 -29
  39. package/src/components/CSectionTitle.vue +8 -8
  40. package/src/components/CSelect.vue +208 -208
  41. package/src/components/CSlideEffect.vue +62 -62
  42. package/src/components/CSpinner.vue +107 -107
  43. package/src/components/CTableActions.vue +16 -16
  44. package/src/components/CTileBtn.vue +178 -178
  45. package/src/components/CTimePicker.vue +42 -42
  46. package/src/components/CToggleGridView.vue +26 -26
  47. package/src/components/CToggleSidebarBtn.vue +19 -19
  48. package/src/components/CTooltip.vue +44 -44
  49. package/src/components/CTreeNode.vue +39 -39
  50. package/src/components/cards/CBannerCard.vue +103 -103
  51. package/src/components/cards/CSmallCard.vue +149 -149
  52. package/src/components/internal-components/ConfirmDialog.vue +78 -78
  53. package/src/composables/useDialog.ts +46 -46
  54. package/src/composables/useDirtyCheck.ts +25 -25
  55. package/src/composables/useDoubleClickListener.ts +28 -28
  56. package/src/composables/useSelectable.ts +62 -62
  57. package/src/composables/useTruncateChips.ts +46 -46
  58. package/src/i18n/de/index.ts +17 -17
  59. package/src/i18n/en/index.ts +84 -84
  60. package/src/i18n/es/index.ts +7 -7
  61. package/src/i18n/fr/index.ts +7 -7
  62. package/src/init/initInriFramework.ts +37 -37
  63. package/src/init/useInriApp.ts +55 -55
  64. package/src/layouts/CLayoutBlank.vue +7 -7
  65. package/src/layouts/CLayoutWithBackButton.vue +50 -50
  66. package/src/layouts/CLayoutWithSidebars.vue +46 -46
  67. package/src/layouts/layout-fragments/CPageAutoBreadcrumbs.vue +6 -6
  68. package/src/layouts/layout-fragments/CPageBackButton.vue +18 -18
  69. package/src/layouts/layout-fragments/CPageBlank.vue +20 -20
  70. package/src/layouts/layout-fragments/CPageFlexCol.vue +5 -5
  71. package/src/layouts/layout-fragments/CPageLeftSidebar.vue +5 -5
  72. package/src/layouts/layout-fragments/CPageMainContent.vue +5 -5
  73. package/src/layouts/layout-fragments/CPageOuterWrapper.vue +5 -5
  74. package/src/layouts/layout-fragments/CPageRightSidebar.vue +5 -5
  75. package/src/layouts/layout-fragments/CPageTitle.vue +34 -34
  76. package/src/plugins/dialog.ts +45 -45
  77. package/src/plugins/errors/ErrorFactories.ts +59 -59
  78. package/src/plugins/errors/Errors.ts +156 -156
  79. package/src/plugins/errors/Exception.ts +6 -6
  80. package/src/plugins/errors/globalErrorHandler.ts +21 -21
  81. package/src/plugins/errors/handleError.ts +34 -34
  82. package/src/plugins/errors/logger.ts +16 -16
  83. package/src/plugins/errors/vueErrorHandler.ts +26 -26
  84. package/src/plugins/globalAppConfig.ts +25 -25
  85. package/src/plugins/i18n.ts +46 -46
  86. package/src/plugins/inriIcons.ts +58 -58
  87. package/src/plugins/inriverQuasarComponentConfigurations.ts +67 -67
  88. package/src/plugins/library.ts +119 -119
  89. package/src/plugins/notify.ts +153 -153
  90. package/src/plugins/quasar-user-options.ts +19 -19
  91. package/src/plugins/validationRules.ts +292 -292
  92. package/src/shims-vue.d.ts +6 -6
  93. package/src/stores/inriStore.ts +54 -54
  94. package/src/stores/interfaceLanguageStore.ts +27 -27
  95. package/src/styles/_css-variables.scss +101 -101
  96. package/src/styles/_reset.scss +67 -67
  97. package/src/styles/_transitions.scss +9 -9
  98. package/src/styles/_utils.scss +15 -15
  99. package/src/styles/components/_breadcrumbs.scss +3 -3
  100. package/src/styles/components/_checkboxes.scss +17 -17
  101. package/src/styles/components/_chips.scss +17 -17
  102. package/src/styles/components/_forms.scss +203 -203
  103. package/src/styles/components/_menu.scss +12 -12
  104. package/src/styles/components/_notifications.scss +24 -24
  105. package/src/styles/components/_q-editor.scss +14 -14
  106. package/src/styles/components/_radio-buttons.scss +17 -17
  107. package/src/styles/components/_tables.scss +92 -92
  108. package/src/styles/components/_tooltips.scss +5 -5
  109. package/src/styles/components/_tree.scss +86 -86
  110. package/src/styles/components/_truncated-chips.scss +39 -39
  111. package/src/styles/main.scss +45 -45
  112. package/src/styles/quasar.variables.scss +50 -50
  113. package/src/styles/tailwind/index.css +2 -2
  114. package/src/typings.d.ts +70 -70
  115. package/src/utils/colorUtils.ts +73 -73
  116. package/src/utils/errorUtils.ts +37 -37
  117. package/src/utils/fileUtils.ts +57 -57
  118. package/src/utils/helpers.ts +6 -6
  119. package/src/utils/routeUtils.ts +23 -23
  120. package/tsconfig.json +34 -34
@@ -1,92 +1,92 @@
1
- .c-table {
2
- th {
3
- padding: 7px 12px;
4
- font-size: 14px;
5
- font-weight: 500;
6
- white-space: nowrap;
7
- }
8
-
9
- td {
10
- padding: 7px 12px;
11
- border-bottom: none !important;
12
- border-top: 1px solid var(--color-border);
13
- }
14
-
15
- thead tr th {
16
- position: sticky;
17
- z-index: 1;
18
- }
19
-
20
- thead tr:first-child th {
21
- top: 0;
22
- background: var(--table-header-bg-color);
23
- }
24
-
25
- tbody tr:first-child td {
26
- border-color: transparent;
27
- }
28
-
29
- tbody tr.selected {
30
- background-color: var(--item-selected-bg-color);
31
-
32
- td {
33
- border-color: transparent;
34
- }
35
-
36
- td::after {
37
- background: transparent;
38
- }
39
-
40
- // Also hide the border from the next sibling
41
- & + tr {
42
- td {
43
- border-color: transparent;
44
- }
45
- }
46
- }
47
-
48
- // Hide the border on hovered items
49
- tbody tr:hover {
50
- td {
51
- border-color: transparent;
52
- }
53
-
54
- // Also hide the border from the next sibling
55
- & + tr {
56
- td {
57
- border-color: transparent;
58
- }
59
- }
60
- }
61
- }
62
-
63
- // This will align the content to the top instead of being centered
64
- .c-table.align-top {
65
- td {
66
- padding: 14px 12px 13px;
67
- }
68
-
69
- td {
70
- vertical-align: top;
71
- }
72
- }
73
-
74
- // If the items are selectable then we want to hide the default checkboxes
75
- .c-table.hide-checkboxes {
76
- th:first-child,
77
- td:first-child {
78
- display: none;
79
- }
80
-
81
- th:first-child + th,
82
- td:first-child + td {
83
- border-left: 0;
84
- }
85
- }
86
-
87
- .c-table.with-action-buttons {
88
- th:last-child,
89
- td:last-child {
90
- border-left: 0;
91
- }
92
- }
1
+ .c-table {
2
+ th {
3
+ padding: 7px 12px;
4
+ font-size: 14px;
5
+ font-weight: 500;
6
+ white-space: nowrap;
7
+ }
8
+
9
+ td {
10
+ padding: 7px 12px;
11
+ border-bottom: none !important;
12
+ border-top: 1px solid var(--color-border);
13
+ }
14
+
15
+ thead tr th {
16
+ position: sticky;
17
+ z-index: 1;
18
+ }
19
+
20
+ thead tr:first-child th {
21
+ top: 0;
22
+ background: var(--table-header-bg-color);
23
+ }
24
+
25
+ tbody tr:first-child td {
26
+ border-color: transparent;
27
+ }
28
+
29
+ tbody tr.selected {
30
+ background-color: var(--item-selected-bg-color);
31
+
32
+ td {
33
+ border-color: transparent;
34
+ }
35
+
36
+ td::after {
37
+ background: transparent;
38
+ }
39
+
40
+ // Also hide the border from the next sibling
41
+ & + tr {
42
+ td {
43
+ border-color: transparent;
44
+ }
45
+ }
46
+ }
47
+
48
+ // Hide the border on hovered items
49
+ tbody tr:hover {
50
+ td {
51
+ border-color: transparent;
52
+ }
53
+
54
+ // Also hide the border from the next sibling
55
+ & + tr {
56
+ td {
57
+ border-color: transparent;
58
+ }
59
+ }
60
+ }
61
+ }
62
+
63
+ // This will align the content to the top instead of being centered
64
+ .c-table.align-top {
65
+ td {
66
+ padding: 14px 12px 13px;
67
+ }
68
+
69
+ td {
70
+ vertical-align: top;
71
+ }
72
+ }
73
+
74
+ // If the items are selectable then we want to hide the default checkboxes
75
+ .c-table.hide-checkboxes {
76
+ th:first-child,
77
+ td:first-child {
78
+ display: none;
79
+ }
80
+
81
+ th:first-child + th,
82
+ td:first-child + td {
83
+ border-left: 0;
84
+ }
85
+ }
86
+
87
+ .c-table.with-action-buttons {
88
+ th:last-child,
89
+ td:last-child {
90
+ border-left: 0;
91
+ }
92
+ }
@@ -1,5 +1,5 @@
1
- // More is defined in quasar.variables.scss
2
-
3
- .q-tooltip {
4
- border: 1px solid var(--tooltip-border-color);
5
- }
1
+ // More is defined in quasar.variables.scss
2
+
3
+ .q-tooltip {
4
+ border: 1px solid var(--tooltip-border-color);
5
+ }
@@ -1,86 +1,86 @@
1
- .c-tree.q-tree {
2
- .q-icon {
3
- font-size: 20px;
4
- width: 12px;
5
- margin-right: 8px;
6
- color: var(--tree-icon-color);
7
-
8
- &:hover {
9
- color: var(--tree-text-color);
10
- }
11
- }
12
-
13
- & > .q-tree__node--child > .q-tree__node-header {
14
- padding-left: 36px !important;
15
- }
16
-
17
- // Remove the top margin on the first item in the list
18
- & > .q-tree__node:first-child > .q-tree__node-header {
19
- margin-top: 0;
20
- }
21
-
22
- // Make item content be on top of the q-focus-helper instead of below
23
- .q-tree__node-header > * {
24
- z-index: 1;
25
- }
26
-
27
- .q-tree__node {
28
- padding-bottom: 0;
29
- }
30
-
31
- // Override relative to that we can extend the focus background to go from edge to edge
32
- .q-tree__node.relative-position,
33
- .q-tree__node-header.relative-position {
34
- position: static;
35
- }
36
-
37
- .q-tree__node-header {
38
- border-radius: 0;
39
- margin-top: 8px;
40
- padding: 2px 16px;
41
- min-height: 32px;
42
-
43
- &:hover .q-focus-helper,
44
- &:focus .q-focus-helper {
45
- opacity: 1 !important;
46
- }
47
- }
48
-
49
- .q-tree__node-header-content {
50
- color: var(--tree-text-color);
51
- padding-left: 4px;
52
- }
53
-
54
- .q-tree__node-header-content div:first-child {
55
- overflow: hidden;
56
- text-overflow: ellipsis;
57
- white-space: nowrap;
58
- }
59
-
60
- // Do some overrides on the focus effect
61
- .q-focus-helper {
62
- background: var(--item-hover-bg-color) !important;
63
- height: 32px !important;
64
- top: auto !important;
65
-
66
- &::before,
67
- &::after {
68
- opacity: 0 !important;
69
- }
70
- }
71
-
72
- // Selected item
73
- .q-tree__node--selected {
74
- font-weight: 600;
75
-
76
- .q-focus-helper {
77
- background: var(--item-selected-bg-color) !important;
78
- opacity: 1;
79
- }
80
-
81
- .q-icon {
82
- pointer-events: all;
83
- color: var(--tree-text-color);
84
- }
85
- }
86
- }
1
+ .c-tree.q-tree {
2
+ .q-icon {
3
+ font-size: 20px;
4
+ width: 12px;
5
+ margin-right: 8px;
6
+ color: var(--tree-icon-color);
7
+
8
+ &:hover {
9
+ color: var(--tree-text-color);
10
+ }
11
+ }
12
+
13
+ & > .q-tree__node--child > .q-tree__node-header {
14
+ padding-left: 36px !important;
15
+ }
16
+
17
+ // Remove the top margin on the first item in the list
18
+ & > .q-tree__node:first-child > .q-tree__node-header {
19
+ margin-top: 0;
20
+ }
21
+
22
+ // Make item content be on top of the q-focus-helper instead of below
23
+ .q-tree__node-header > * {
24
+ z-index: 1;
25
+ }
26
+
27
+ .q-tree__node {
28
+ padding-bottom: 0;
29
+ }
30
+
31
+ // Override relative to that we can extend the focus background to go from edge to edge
32
+ .q-tree__node.relative-position,
33
+ .q-tree__node-header.relative-position {
34
+ position: static;
35
+ }
36
+
37
+ .q-tree__node-header {
38
+ border-radius: 0;
39
+ margin-top: 8px;
40
+ padding: 2px 16px;
41
+ min-height: 32px;
42
+
43
+ &:hover .q-focus-helper,
44
+ &:focus .q-focus-helper {
45
+ opacity: 1 !important;
46
+ }
47
+ }
48
+
49
+ .q-tree__node-header-content {
50
+ color: var(--tree-text-color);
51
+ padding-left: 4px;
52
+ }
53
+
54
+ .q-tree__node-header-content div:first-child {
55
+ overflow: hidden;
56
+ text-overflow: ellipsis;
57
+ white-space: nowrap;
58
+ }
59
+
60
+ // Do some overrides on the focus effect
61
+ .q-focus-helper {
62
+ background: var(--item-hover-bg-color) !important;
63
+ height: 32px !important;
64
+ top: auto !important;
65
+
66
+ &::before,
67
+ &::after {
68
+ opacity: 0 !important;
69
+ }
70
+ }
71
+
72
+ // Selected item
73
+ .q-tree__node--selected {
74
+ font-weight: 600;
75
+
76
+ .q-focus-helper {
77
+ background: var(--item-selected-bg-color) !important;
78
+ opacity: 1;
79
+ }
80
+
81
+ .q-icon {
82
+ pointer-events: all;
83
+ color: var(--tree-text-color);
84
+ }
85
+ }
86
+ }
@@ -1,39 +1,39 @@
1
- // This is used when having chips/tags in tables. If there are more chips than fits the cell then hide chips and show some icons.
2
- // It is used together with the useTruncateChips composable function.
3
-
4
- // Only shown when more chips than fits in the cell
5
- .truncated-chips__ellipsis,
6
- .truncated-chips__show-more-btn {
7
- display: none;
8
- }
9
-
10
- // This is the wrapper for all the chips
11
- .truncated-chips {
12
- overflow: hidden;
13
- max-width: 1px;
14
- padding-left: 6px !important;
15
- }
16
-
17
- // When a chip is overflown truncate it and all the sibling chips. Toggle the status of some buttons/icons.
18
- .truncated-chip {
19
- display: none !important;
20
-
21
- & ~ .q-chip {
22
- display: none;
23
- }
24
-
25
- & ~ .truncated-chips__show-more-btn {
26
- display: inline-flex;
27
- }
28
-
29
- & ~ .truncated-chips__edit-btn {
30
- display: none;
31
- }
32
-
33
- & ~ .truncated-chips__ellipsis {
34
- display: inline-flex;
35
- color: var(--color-grey);
36
- position: relative;
37
- top: 8px;
38
- }
39
- }
1
+ // This is used when having chips/tags in tables. If there are more chips than fits the cell then hide chips and show some icons.
2
+ // It is used together with the useTruncateChips composable function.
3
+
4
+ // Only shown when more chips than fits in the cell
5
+ .truncated-chips__ellipsis,
6
+ .truncated-chips__show-more-btn {
7
+ display: none;
8
+ }
9
+
10
+ // This is the wrapper for all the chips
11
+ .truncated-chips {
12
+ overflow: hidden;
13
+ max-width: 1px;
14
+ padding-left: 6px !important;
15
+ }
16
+
17
+ // When a chip is overflown truncate it and all the sibling chips. Toggle the status of some buttons/icons.
18
+ .truncated-chip {
19
+ display: none !important;
20
+
21
+ & ~ .q-chip {
22
+ display: none;
23
+ }
24
+
25
+ & ~ .truncated-chips__show-more-btn {
26
+ display: inline-flex;
27
+ }
28
+
29
+ & ~ .truncated-chips__edit-btn {
30
+ display: none;
31
+ }
32
+
33
+ & ~ .truncated-chips__ellipsis {
34
+ display: inline-flex;
35
+ color: var(--color-grey);
36
+ position: relative;
37
+ top: 8px;
38
+ }
39
+ }
@@ -1,45 +1,45 @@
1
- @import 'css-variables';
2
- @import './quasar.variables.scss';
3
- @import 'quasar/dist/quasar.sass';
4
- @import 'transitions';
5
- @import 'reset';
6
- @import 'components/forms';
7
- @import 'components/chips';
8
- @import 'components/checkboxes';
9
- @import 'components/radio-buttons';
10
- @import 'components/tables';
11
- @import 'components/q-editor';
12
- @import 'components/tree';
13
- @import 'components/tooltips';
14
- @import 'components/notifications';
15
- @import 'components/breadcrumbs';
16
- @import 'components/menu';
17
- @import 'components/truncated-chips';
18
- @import 'utils';
19
-
20
- @font-face {
21
- font-family: 'Wallop';
22
- src: url('/fonts/Wallop-Regular.woff2') format("woff2");
23
- font-display: swap;
24
- }
25
-
26
- @font-face {
27
- font-family: 'Wallop';
28
- src: url('/fonts/Wallop-Medium.woff2') format("woff2");
29
- font-weight: 500;
30
- font-display: swap;
31
- }
32
-
33
- @font-face {
34
- font-family: 'Wallop';
35
- src: url('/fonts/Wallop-SemiBold.woff2') format("woff2");
36
- font-weight: 600;
37
- font-display: swap;
38
- }
39
-
40
- @font-face {
41
- font-family: 'Wallop';
42
- src: url('/fonts/Wallop-Bold.woff2') format("woff2");
43
- font-weight: 700;
44
- font-display: swap;
45
- }
1
+ @import 'css-variables';
2
+ @import './quasar.variables.scss';
3
+ @import 'quasar/dist/quasar.sass';
4
+ @import 'transitions';
5
+ @import 'reset';
6
+ @import 'components/forms';
7
+ @import 'components/chips';
8
+ @import 'components/checkboxes';
9
+ @import 'components/radio-buttons';
10
+ @import 'components/tables';
11
+ @import 'components/q-editor';
12
+ @import 'components/tree';
13
+ @import 'components/tooltips';
14
+ @import 'components/notifications';
15
+ @import 'components/breadcrumbs';
16
+ @import 'components/menu';
17
+ @import 'components/truncated-chips';
18
+ @import 'utils';
19
+
20
+ @font-face {
21
+ font-family: 'Wallop';
22
+ src: url('/fonts/Wallop-Regular.woff2') format("woff2");
23
+ font-display: swap;
24
+ }
25
+
26
+ @font-face {
27
+ font-family: 'Wallop';
28
+ src: url('/fonts/Wallop-Medium.woff2') format("woff2");
29
+ font-weight: 500;
30
+ font-display: swap;
31
+ }
32
+
33
+ @font-face {
34
+ font-family: 'Wallop';
35
+ src: url('/fonts/Wallop-SemiBold.woff2') format("woff2");
36
+ font-weight: 600;
37
+ font-display: swap;
38
+ }
39
+
40
+ @font-face {
41
+ font-family: 'Wallop';
42
+ src: url('/fonts/Wallop-Bold.woff2') format("woff2");
43
+ font-weight: 700;
44
+ font-display: swap;
45
+ }
@@ -1,50 +1,50 @@
1
- $primary : #000;
2
- $secondary : var(--color-grey-lighter);
3
- $accent : var(--color-green);
4
-
5
- $dark : #1d1d1d;
6
-
7
- $positive : var(--color-green);
8
- $negative : var(--color-red);
9
- $info : var(--color-blue);
10
- $warning : var(--color-yellow);
11
-
12
- $typography-font-family: var(--font-family);
13
-
14
- $h1: (size: 24px, line-height: 1.45, letter-spacing: normal, weight: 600) !default;
15
- $h2: (size: 22px, line-height: 1.45, letter-spacing: normal, weight: 600) !default;
16
- $h3: (size: 18px, line-height: 1.45, letter-spacing: normal, weight: 600) !default;
17
- $h4: (size: 16px, line-height: 1.45, letter-spacing: normal, weight: 600) !default;
18
-
19
- // These should not be used but are always bundled by Quasar. Let's give them fallback sizes just in case (h4 clones)
20
- $h5: (size: 16px, line-height: 1.45, letter-spacing: normal, weight: 600) !default;
21
- $h6: (size: 16px, line-height: 1.45, letter-spacing: normal, weight: 600) !default;
22
-
23
- $body1: (size: 14px, line-height: 1, letter-spacing: normal, weight: 400) !default;
24
- $body2: (size: 12px, line-height: 1, letter-spacing: normal, weight: 400) !default;
25
-
26
- $separator-color: var(--color-border);
27
-
28
- $input-text-color: var(--color-grey-darker);
29
-
30
- $editor-border-color: var(--color-grey);
31
-
32
- $generic-border-radius: 0;
33
-
34
- $menu-box-shadow: 0;
35
-
36
- // Tooltips
37
- $tooltip-color: var(--tooltip-text-color);
38
- $tooltip-background: var(--tooltip-bg-color);
39
- $tooltip-fontsize: 14px;
40
- $tooltip-border-radius: 5px;
41
- $tooltip-padding: 4px 10px;
42
-
43
- // Override Quasar color palette
44
- $grey: var(--color-grey);
45
- $blue: var(--color-blue);
46
- $purple: var(--color-purple);
47
- $red: var(--color-red);
48
- $orange: var(--color-orange);
49
- $yellow: var(--color-yellow);
50
- $green: var(--color-green);
1
+ $primary : #000;
2
+ $secondary : var(--color-grey-lighter);
3
+ $accent : var(--color-green);
4
+
5
+ $dark : #1d1d1d;
6
+
7
+ $positive : var(--color-green);
8
+ $negative : var(--color-red);
9
+ $info : var(--color-blue);
10
+ $warning : var(--color-yellow);
11
+
12
+ $typography-font-family: var(--font-family);
13
+
14
+ $h1: (size: 24px, line-height: 1.45, letter-spacing: normal, weight: 600) !default;
15
+ $h2: (size: 22px, line-height: 1.45, letter-spacing: normal, weight: 600) !default;
16
+ $h3: (size: 18px, line-height: 1.45, letter-spacing: normal, weight: 600) !default;
17
+ $h4: (size: 16px, line-height: 1.45, letter-spacing: normal, weight: 600) !default;
18
+
19
+ // These should not be used but are always bundled by Quasar. Let's give them fallback sizes just in case (h4 clones)
20
+ $h5: (size: 16px, line-height: 1.45, letter-spacing: normal, weight: 600) !default;
21
+ $h6: (size: 16px, line-height: 1.45, letter-spacing: normal, weight: 600) !default;
22
+
23
+ $body1: (size: 14px, line-height: 1, letter-spacing: normal, weight: 400) !default;
24
+ $body2: (size: 12px, line-height: 1, letter-spacing: normal, weight: 400) !default;
25
+
26
+ $separator-color: var(--color-border);
27
+
28
+ $input-text-color: var(--color-grey-darker);
29
+
30
+ $editor-border-color: var(--color-grey);
31
+
32
+ $generic-border-radius: 0;
33
+
34
+ $menu-box-shadow: 0;
35
+
36
+ // Tooltips
37
+ $tooltip-color: var(--tooltip-text-color);
38
+ $tooltip-background: var(--tooltip-bg-color);
39
+ $tooltip-fontsize: 14px;
40
+ $tooltip-border-radius: 5px;
41
+ $tooltip-padding: 4px 10px;
42
+
43
+ // Override Quasar color palette
44
+ $grey: var(--color-grey);
45
+ $blue: var(--color-blue);
46
+ $purple: var(--color-purple);
47
+ $red: var(--color-red);
48
+ $orange: var(--color-orange);
49
+ $yellow: var(--color-yellow);
50
+ $green: var(--color-green);
@@ -1,3 +1,3 @@
1
- @tailwind base;
2
- @tailwind components;
1
+ @tailwind base;
2
+ @tailwind components;
3
3
  @tailwind utilities;