@bagelink/vue 0.0.160 → 0.0.164

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 (82) hide show
  1. package/dist/components/Btn.vue.d.ts +2 -2
  2. package/dist/components/Btn.vue.d.ts.map +1 -1
  3. package/dist/components/Comments.vue.d.ts.map +1 -1
  4. package/dist/components/DropDown.vue.d.ts.map +1 -1
  5. package/dist/components/FileUploader.vue.d.ts.map +1 -1
  6. package/dist/components/LangText.vue.d.ts.map +1 -1
  7. package/dist/components/NavBar.vue.d.ts.map +1 -1
  8. package/dist/components/PersonPreview.vue.d.ts +1 -1
  9. package/dist/components/PersonPreview.vue.d.ts.map +1 -1
  10. package/dist/components/PersonPreviewFormkit.vue.d.ts +1 -1
  11. package/dist/components/PersonPreviewFormkit.vue.d.ts.map +1 -1
  12. package/dist/components/RTXEditor.vue.d.ts.map +1 -1
  13. package/dist/components/TableSchema.vue.d.ts.map +1 -1
  14. package/dist/components/charts/BarChart.vue.d.ts.map +1 -1
  15. package/dist/components/dashboard/Lineart.vue.d.ts +1 -1
  16. package/dist/components/dashboard/Lineart.vue.d.ts.map +1 -1
  17. package/dist/components/form/inputs/CheckInput.vue.d.ts.map +1 -1
  18. package/dist/components/form/inputs/Checkbox.vue.d.ts.map +1 -1
  19. package/dist/components/form/inputs/PasswordInput.vue.d.ts.map +1 -1
  20. package/dist/components/formkit/AddressArray.vue.d.ts.map +1 -1
  21. package/dist/components/formkit/BankDetailsArray.vue.d.ts.map +1 -1
  22. package/dist/components/formkit/ContactArrayFormKit.vue.d.ts.map +1 -1
  23. package/dist/components/formkit/FileUploader.vue.d.ts.map +1 -1
  24. package/dist/components/formkit/MiscFields.vue.d.ts.map +1 -1
  25. package/dist/index.cjs +60 -49
  26. package/dist/index.mjs +60 -49
  27. package/dist/style.css +1468 -1402
  28. package/package.json +2 -2
  29. package/src/components/Btn.vue +127 -132
  30. package/src/components/Comments.vue +155 -169
  31. package/src/components/DropDown.vue +73 -77
  32. package/src/components/FileUploader.vue +133 -141
  33. package/src/components/FormKitTable.vue +191 -205
  34. package/src/components/LangText.vue +14 -14
  35. package/src/components/NavBar.vue +264 -261
  36. package/src/components/PersonPreview.vue +123 -148
  37. package/src/components/PersonPreviewFormkit.vue +124 -148
  38. package/src/components/RTXEditor.vue +91 -91
  39. package/src/components/TableSchema.vue +150 -156
  40. package/src/components/charts/BarChart.vue +212 -227
  41. package/src/components/dashboard/Lineart.vue +117 -130
  42. package/src/components/form/inputs/CheckInput.vue +90 -90
  43. package/src/components/form/inputs/Checkbox.vue +38 -41
  44. package/src/components/form/inputs/PasswordInput.vue +56 -63
  45. package/src/components/formkit/AddressArray.vue +150 -173
  46. package/src/components/formkit/BankDetailsArray.vue +175 -198
  47. package/src/components/formkit/ContactArrayFormKit.vue +124 -142
  48. package/src/components/formkit/FileUploader.vue +256 -260
  49. package/src/components/formkit/MiscFields.vue +42 -42
  50. package/src/components/formkit/Toggle.vue +97 -97
  51. package/src/styles/bagel.css +1 -0
  52. package/src/styles/buttons.css +5 -0
  53. package/src/styles/dark.css +46 -0
  54. package/src/styles/fonts/Ploni.css +8 -8
  55. package/src/styles/inputs.css +57 -13
  56. package/src/styles/layout.css +43 -0
  57. package/src/styles/text.css +83 -10
  58. package/src/styles/theme.css +25 -155
  59. package/src/styles/fonts/Ploni/ploni-black.eot +0 -0
  60. package/src/styles/fonts/Ploni/ploni-black.woff +0 -0
  61. package/src/styles/fonts/Ploni/ploni-black.woff2 +0 -0
  62. package/src/styles/fonts/Ploni/ploni-bold.eot +0 -0
  63. package/src/styles/fonts/Ploni/ploni-bold.woff +0 -0
  64. package/src/styles/fonts/Ploni/ploni-bold.woff2 +0 -0
  65. package/src/styles/fonts/Ploni/ploni-demibold.eot +0 -0
  66. package/src/styles/fonts/Ploni/ploni-demibold.woff +0 -0
  67. package/src/styles/fonts/Ploni/ploni-demibold.woff2 +0 -0
  68. package/src/styles/fonts/Ploni/ploni-light.eot +0 -0
  69. package/src/styles/fonts/Ploni/ploni-light.woff +0 -0
  70. package/src/styles/fonts/Ploni/ploni-light.woff2 +0 -0
  71. package/src/styles/fonts/Ploni/ploni-medium.eot +0 -0
  72. package/src/styles/fonts/Ploni/ploni-medium.woff +0 -0
  73. package/src/styles/fonts/Ploni/ploni-medium.woff2 +0 -0
  74. package/src/styles/fonts/Ploni/ploni-regular.eot +0 -0
  75. package/src/styles/fonts/Ploni/ploni-regular.woff +0 -0
  76. package/src/styles/fonts/Ploni/ploni-regular.woff2 +0 -0
  77. package/src/styles/fonts/Ploni/ploni-ultrabold.eot +0 -0
  78. package/src/styles/fonts/Ploni/ploni-ultrabold.woff +0 -0
  79. package/src/styles/fonts/Ploni/ploni-ultrabold.woff2 +0 -0
  80. package/src/styles/fonts/Ploni/ploni-ultralight.eot +0 -0
  81. package/src/styles/fonts/Ploni/ploni-ultralight.woff +0 -0
  82. package/src/styles/fonts/Ploni/ploni-ultralight.woff2 +0 -0
@@ -1,74 +1,74 @@
1
1
  <template>
2
- <div class="misc-wrap">
3
- <Btn
4
- class="add-btn"
5
- color="gray"
6
- flat
7
- @click="addToField(field)"
8
- v-for="(field, i) in fields.filter(
2
+ <div class="misc-wrap">
3
+ <Btn
4
+ class="add-btn"
5
+ color="gray"
6
+ flat
7
+ @click="addToField(field)"
8
+ v-for="(field, i) in fields.filter(
9
9
  (field: any) => field.value?.length === 0,
10
10
  )"
11
- :key="i"
12
- thin
13
- >
14
- {{ addBtnLabel }} {{ field.context?.label }}
15
- </Btn>
16
- </div>
11
+ :key="i"
12
+ thin
13
+ >
14
+ {{ addBtnLabel }} {{ field.context?.label }}
15
+ </Btn>
16
+ </div>
17
17
  </template>
18
18
 
19
19
  <script lang="ts" setup>
20
- import { Btn } from '@bagelink/vue';
20
+ import { Btn } from "@bagelink/vue";
21
21
 
22
22
  const props = defineProps<{
23
- context: Record<string, any>;
24
- addBtnLabel: string
23
+ context: Record<string, any>;
24
+ addBtnLabel: string;
25
25
  }>();
26
26
 
27
27
  const fields = $computed(() => props.context?.node?.parent?.children || []);
28
28
 
29
29
  const addToField = (field: any) => {
30
- field.input([{}]);
31
- console.log(fields);
30
+ field.input([{}]);
31
+ console.log(fields);
32
32
  };
33
33
  </script>
34
34
 
35
35
  <style scoped>
36
36
  .misc-wrap {
37
- display: flex;
38
- gap: 1rem;
39
- border-top: 1px solid var(--border-color);
40
- padding-top: 0.5rem;
41
- margin-bottom: auto;
37
+ display: flex;
38
+ gap: 1rem;
39
+ border-top: 1px solid var(--border-color);
40
+ padding-top: 0.5rem;
41
+ margin-bottom: auto;
42
42
  }
43
43
 
44
44
  .gray.thin.btn-txt.btn.add-btn {
45
- display: flex;
46
- gap: 0.5rem;
47
- align-items: center;
48
- padding-left: 0;
49
- padding-right: 0;
50
- transition: var(--bgl-transition);
45
+ display: flex;
46
+ gap: 0.5rem;
47
+ align-items: center;
48
+ padding-left: 0;
49
+ padding-right: 0;
50
+ transition: var(--bgl-transition);
51
51
  }
52
52
 
53
53
  .add-btn:active {
54
- background: none !important;
54
+ background: none !important;
55
55
  }
56
56
 
57
57
  .add-btn::before {
58
- content: '+';
59
- font-size: 10px;
60
- background: var(--bgl-gray-light);
61
- border-radius: 100%;
62
- height: 14px;
63
- width: 14px;
64
- display: flex;
65
- align-items: center;
66
- justify-content: center;
67
- color: var(--bgl-gray);
58
+ content: "+";
59
+ font-size: 10px;
60
+ background: var(--bgl-gray-light);
61
+ border-radius: 100%;
62
+ height: 14px;
63
+ width: 14px;
64
+ display: flex;
65
+ align-items: center;
66
+ justify-content: center;
67
+ color: var(--bgl-gray);
68
68
  }
69
69
 
70
70
  .add-btn:hover::before {
71
- background: var(--bgl-blue);
72
- color: var(--bgl-white);
71
+ background: var(--bgl-primary);
72
+ color: var(--bgl-white);
73
73
  }
74
74
  </style>
@@ -1,164 +1,164 @@
1
1
  <template>
2
- <div
3
- class="bagel-input checkbox"
4
- :class="{ check: context?.attrs.isCheckbox }"
5
- :title="context?.help"
6
- >
7
- <label class="switch">
8
- <input
9
- @change="() => props.context?.node.input(inputVal)"
10
- type="checkbox"
11
- v-model="inputVal"
12
- :id="context?.id"
13
- >
14
- <span class="slider round" />
15
- </label>
16
- </div>
2
+ <div
3
+ class="bagel-input checkbox"
4
+ :class="{ check: context?.attrs.isCheckbox }"
5
+ :title="context?.help"
6
+ >
7
+ <label class="switch">
8
+ <input
9
+ @change="() => props.context?.node.input(inputVal)"
10
+ type="checkbox"
11
+ v-model="inputVal"
12
+ :id="context?.id"
13
+ />
14
+ <span class="slider round" />
15
+ </label>
16
+ </div>
17
17
  </template>
18
18
 
19
19
  <script setup lang="ts">
20
- import { watch } from 'vue';
20
+ import { watch } from "vue";
21
21
 
22
22
  const props = defineProps({
23
- context: Object,
23
+ context: Object,
24
24
  });
25
25
 
26
26
  let inputVal = $ref(false);
27
27
 
28
28
  watch(
29
- () => props.context?.value,
30
- (newVal) => {
31
- inputVal = newVal;
32
- },
33
- { immediate: true },
29
+ () => props.context?.value,
30
+ (newVal) => {
31
+ inputVal = newVal;
32
+ },
33
+ { immediate: true }
34
34
  );
35
35
  </script>
36
36
 
37
37
  <style>
38
38
  .checkbox-label {
39
- display: flex;
40
- gap: 0.5rem;
41
- flex-direction: row-reverse;
42
- justify-content: flex-end;
43
- align-items: center;
44
- cursor: pointer;
39
+ display: flex;
40
+ gap: 0.5rem;
41
+ flex-direction: row-reverse;
42
+ justify-content: flex-end;
43
+ align-items: center;
44
+ cursor: pointer;
45
45
  }
46
46
  </style>
47
47
 
48
48
  <style scoped>
49
49
  .no-edit {
50
- pointer-events: none;
50
+ pointer-events: none;
51
51
  }
52
52
 
53
53
  .radio-wrap p {
54
- display: inline-block;
55
- color: var(--input-bg);
56
- font-size: var(--input-font-size);
57
- margin-inline-end: 10px;
54
+ display: inline-block;
55
+ color: var(--input-bg);
56
+ font-size: var(--input-font-size);
57
+ margin-inline-end: 10px;
58
58
  }
59
59
 
60
60
  .radio-wrap label {
61
- padding: 3px 5px;
62
- display: inline-block;
63
- border-radius: var(--input-border-radius);
64
- font-size: var(--input-font-size);
65
- background: var(--input-bg);
66
- color: var(--bgl-black);
67
- text-align: center;
68
- margin: 8px 5px;
69
- cursor: pointer;
70
- user-select: none;
61
+ padding: 3px 5px;
62
+ display: inline-block;
63
+ border-radius: var(--input-border-radius);
64
+ font-size: var(--input-font-size);
65
+ background: var(--input-bg);
66
+ color: var(--bgl-black);
67
+ text-align: center;
68
+ margin: 8px 5px;
69
+ cursor: pointer;
70
+ user-select: none;
71
71
  }
72
72
 
73
73
  .bagel-input .radio-wrap label::after {
74
- background: transparent;
74
+ background: transparent;
75
75
  }
76
76
 
77
77
  .radio-wrap input {
78
- display: none;
78
+ display: none;
79
79
  }
80
80
 
81
- .radio-wrap input:checked:checked+label {
82
- background: var(--bgl-blue);
83
- color: var(--bgl-white);
81
+ .radio-wrap input:checked:checked + label {
82
+ background: var(--bgl-primary);
83
+ color: var(--bgl-white);
84
84
  }
85
85
 
86
86
  .checkbox {
87
- position: relative;
87
+ position: relative;
88
88
  }
89
89
 
90
90
  .switch {
91
- position: relative;
92
- display: inline-block;
93
- height: calc(var(--input-height) / 2);
94
- width: var(--input-height);
95
- border-radius: var(--input-height);
91
+ position: relative;
92
+ display: inline-block;
93
+ height: calc(var(--input-height) / 2);
94
+ width: var(--input-height);
95
+ border-radius: var(--input-height);
96
96
  }
97
97
 
98
98
  .switch input {
99
- opacity: 0;
100
- width: 0;
101
- height: 0;
99
+ opacity: 0;
100
+ width: 0;
101
+ height: 0;
102
102
  }
103
103
 
104
104
  .bagel-input.checkbox.check {
105
- margin: 0;
105
+ margin: 0;
106
106
  }
107
107
 
108
108
  .bagel-input.checkbox.check .switch {
109
- width: calc(var(--input-height) / 2);
110
- height: calc(var(--input-height) / 2);
111
- transition: 0.2s;
109
+ width: calc(var(--input-height) / 2);
110
+ height: calc(var(--input-height) / 2);
111
+ transition: 0.2s;
112
112
  }
113
113
 
114
114
  .bagel-input.checkbox.check .slider:before {
115
- position: absolute;
116
- font-family: 'Material Symbols Outlined', serif;
117
- content: '';
118
- color: var(--bgl-white);
119
- background: transparent;
120
- display: flex;
121
- align-items: center;
122
- justify-content: center;
115
+ position: absolute;
116
+ font-family: "Material Symbols Outlined", serif;
117
+ content: "";
118
+ color: var(--bgl-white);
119
+ background: transparent;
120
+ display: flex;
121
+ align-items: center;
122
+ justify-content: center;
123
123
  }
124
124
 
125
- .bagel-input.checkbox.check input:checked+.slider:before {
126
- transform: none;
127
- content: 'check';
125
+ .bagel-input.checkbox.check input:checked + .slider:before {
126
+ transform: none;
127
+ content: "check";
128
128
  }
129
129
 
130
130
  .slider {
131
- position: absolute;
132
- cursor: pointer;
133
- top: 0;
134
- left: 0;
135
- right: 0;
136
- bottom: 0;
137
- background: var(--input-bg);
138
- -webkit-transition: 0.4s;
139
- transition: 0.4s;
140
- border-radius: calc(var(--input-height) / 2);
141
- box-shadow: inset 0 0 10px #00000020;
131
+ position: absolute;
132
+ cursor: pointer;
133
+ top: 0;
134
+ left: 0;
135
+ right: 0;
136
+ bottom: 0;
137
+ background: var(--input-bg);
138
+ -webkit-transition: 0.4s;
139
+ transition: 0.4s;
140
+ border-radius: calc(var(--input-height) / 2);
141
+ box-shadow: inset 0 0 10px #00000020;
142
142
  }
143
143
 
144
144
  .slider:before {
145
- position: absolute;
146
- content: '';
147
- height: calc(var(--input-height) / 2 - 4px);
148
- width: calc(var(--input-height) / 2 - 4px);
149
- left: 2px;
150
- bottom: 2px;
151
- border-radius: 50%;
152
- background: var(--bgl-white);
153
- -webkit-transition: 0.4s;
154
- transition: 0.4s;
145
+ position: absolute;
146
+ content: "";
147
+ height: calc(var(--input-height) / 2 - 4px);
148
+ width: calc(var(--input-height) / 2 - 4px);
149
+ left: 2px;
150
+ bottom: 2px;
151
+ border-radius: 50%;
152
+ background: var(--bgl-white);
153
+ -webkit-transition: 0.4s;
154
+ transition: 0.4s;
155
155
  }
156
156
 
157
- input:checked+.slider {
158
- background: var(--bgl-blue);
157
+ input:checked + .slider {
158
+ background: var(--bgl-primary);
159
159
  }
160
160
 
161
- input:checked+.slider:before {
162
- transform: translateX(calc(var(--input-height) / 2));
161
+ input:checked + .slider:before {
162
+ transform: translateX(calc(var(--input-height) / 2));
163
163
  }
164
164
  </style>
@@ -4,6 +4,7 @@
4
4
  @import "text.css";
5
5
  @import "scrollbar.css";
6
6
  @import "theme.css";
7
+ @import "dark.css";
7
8
  @import "transitions.css";
8
9
  @import "./fonts/Ploni.css";
9
10
 
@@ -49,6 +49,11 @@ button,
49
49
  }
50
50
 
51
51
 
52
+ .btn.thin {
53
+ height: calc(var(--btn-height) * 0.7);
54
+ line-height: calc(var(--btn-height) * 0.7);
55
+ }
56
+
52
57
  @media screen and (max-width: 910px) {
53
58
  .btn {
54
59
  padding: 0 20px;
@@ -0,0 +1,46 @@
1
+ [theme="dark"] {
2
+ --bgl-blue-20: rgba(46, 91, 255, 20%);
3
+ --bgl-blue-dark: #191c30;
4
+ --bgl-blue-light: #20262f;
5
+ --bgl-black: #dbdcdc;
6
+ --bgl-black-tint: #686868;
7
+ --bgl-white: #212121;
8
+ --bgl-gray: #606060;
9
+ --bgl-gray-light: #252729;
10
+ --bgl-gray-80: #e8ecef;
11
+ --bgl-gray-20: rgba(183, 183, 183, 0.2);
12
+ --bgl-pink: #f1416c;
13
+ --bgl-red: #9b403f;
14
+ --bgl-red-tint: #392828;
15
+ --bgl-yellow: #ffbb00;
16
+ --bgl-yellow-light: #fff6d5;
17
+ --bgl-green: #52875b;
18
+ --border-color: #292b2e;
19
+ --bgl-bg: #24252a;
20
+ --bgl-shadow: #4c577d26;
21
+ --input-bg: #252729;
22
+ --input-color: #929394;
23
+ --label-color: #92939480;
24
+ --placeholder-color: #92939440;
25
+ --input-height: 40px;
26
+ --bgl-hover-filter: brightness(120%);
27
+ --bgl-active-filter: brightness(100%);
28
+ }
29
+
30
+ [theme="dark"] .formkit-outer input:focus-visible,
31
+ [theme="dark"] .formkit-outer select:focus-visible,
32
+ [theme="dark"] .formkit-outer textarea:focus-visible,
33
+ .input.active {
34
+ outline: none;
35
+ box-shadow: inset 0 0 10px #181212;
36
+ }
37
+
38
+ /* use this is to override the nav color */
39
+ [theme="dark"] .nav {
40
+ --bgl-white: var(--bgl-black) !important;
41
+ /* --bgl-primary: #081851; */
42
+ }
43
+
44
+ [theme="dark"]input::-webkit-calendar-picker-indicator {
45
+ filter: invert(48%);
46
+ }
@@ -4,7 +4,7 @@
4
4
  font-weight: 200;
5
5
  font-stretch: 100%;
6
6
  font-display: swap;
7
- src: url(./Ploni/ploni-ultralight.woff2) format('woff2'), url(./Ploni/ploni-ultralight.woff) format('woff'), url(./Ploni/ploni-ultralight.eot) format('eot')
7
+ src: url(https://bagel.sfo2.cdn.digitaloceanspaces.com/Fonts/ploni/ploni-ultralight-aaa.woff2) format('woff2'), url(https://bagel.sfo2.cdn.digitaloceanspaces.com/Fonts/ploni/ploni-ultralight-aaa.woff) format('woff'), url(https://bagel.sfo2.cdn.digitaloceanspaces.com/Fonts/ploni/ploni-ultralight-aaa.eot) format('eot')
8
8
  }
9
9
 
10
10
  @font-face {
@@ -13,7 +13,7 @@
13
13
  font-weight: 300;
14
14
  font-stretch: 100%;
15
15
  font-display: swap;
16
- src: url(./Ploni/ploni-light.woff2) format('woff2'), url(./Ploni/ploni-light.woff) format('woff'), url(./Ploni/ploni-light.eot) format('eot')
16
+ src: url(https://bagel.sfo2.cdn.digitaloceanspaces.com/Fonts/ploni/ploni-light-aaa.woff2) format('woff2'), url(https://bagel.sfo2.cdn.digitaloceanspaces.com/Fonts/ploni/ploni-light-aaa.woff) format('woff'), url(https://bagel.sfo2.cdn.digitaloceanspaces.com/Fonts/ploni/ploni-light-aaa.eot) format('eot')
17
17
  }
18
18
 
19
19
  @font-face {
@@ -22,7 +22,7 @@
22
22
  font-weight: 400;
23
23
  font-stretch: 100%;
24
24
  font-display: swap;
25
- src: url(./Ploni/ploni-regular.woff2) format('woff2'), url(./Ploni/ploni-regular.woff) format('woff'), url(./Ploni/ploni-regular.eot) format('eot')
25
+ src: url(https://bagel.sfo2.cdn.digitaloceanspaces.com/Fonts/ploni/ploni-regular-aaa.woff2) format('woff2'), url(https://bagel.sfo2.cdn.digitaloceanspaces.com/Fonts/ploni/ploni-regular-aaa.woff) format('woff'), url(https://bagel.sfo2.cdn.digitaloceanspaces.com/Fonts/ploni/ploni-regular-aaa.eot) format('eot')
26
26
  }
27
27
 
28
28
  @font-face {
@@ -31,7 +31,7 @@
31
31
  font-weight: 500;
32
32
  font-stretch: 100%;
33
33
  font-display: swap;
34
- src: url(./Ploni/ploni-medium.woff2) format('woff2'), url(./Ploni/ploni-medium.woff) format('woff'), url(./Ploni/ploni-medium.eot) format('eot')
34
+ src: url(https://bagel.sfo2.cdn.digitaloceanspaces.com/Fonts/ploni/ploni-medium-aaa.woff2) format('woff2'), url(https://bagel.sfo2.cdn.digitaloceanspaces.com/Fonts/ploni/ploni-medium-aaa.woff) format('woff'), url(https://bagel.sfo2.cdn.digitaloceanspaces.com/Fonts/ploni/ploni-medium-aaa.eot) format('eot')
35
35
  }
36
36
 
37
37
  @font-face {
@@ -40,7 +40,7 @@
40
40
  font-weight: 600;
41
41
  font-stretch: 100%;
42
42
  font-display: swap;
43
- src: url(./Ploni/ploni-demibold.woff2) format('woff2'), url(./Ploni/ploni-demibold.woff) format('woff'), url(./Ploni/ploni-demibold.eot) format('eot')
43
+ src: url(https://bagel.sfo2.cdn.digitaloceanspaces.com/Fonts/ploni/ploni-demibold-aaa.woff2) format('woff2'), url(https://bagel.sfo2.cdn.digitaloceanspaces.com/Fonts/ploni/ploni-demibold-aaa.woff) format('woff'), url(https://bagel.sfo2.cdn.digitaloceanspaces.com/Fonts/ploni/ploni-demibold-aaa.eot) format('eot')
44
44
  }
45
45
 
46
46
  @font-face {
@@ -49,7 +49,7 @@
49
49
  font-weight: 700;
50
50
  font-stretch: 100%;
51
51
  font-display: swap;
52
- src: url(./Ploni/ploni-bold.woff2) format('woff2'), url(./Ploni/ploni-bold.woff) format('woff'), url(./Ploni/ploni-bold.eot) format('eot')
52
+ src: url(https://bagel.sfo2.cdn.digitaloceanspaces.com/Fonts/ploni/ploni-bold-aaa.woff2) format('woff2'), url(https://bagel.sfo2.cdn.digitaloceanspaces.com/Fonts/ploni/ploni-bold-aaa.woff) format('woff'), url(https://bagel.sfo2.cdn.digitaloceanspaces.com/Fonts/ploni/ploni-bold-aaa.eot) format('eot')
53
53
  }
54
54
 
55
55
  @font-face {
@@ -58,7 +58,7 @@
58
58
  font-weight: 800;
59
59
  font-stretch: 100%;
60
60
  font-display: swap;
61
- src: url(./Ploni/ploni-ultrabold.woff2) format('woff2'), url(./Ploni/ploni-ultrabold.woff) format('woff'), url(./Ploni/ploni-ultrabold.eot) format('eot')
61
+ src: url(https://bagel.sfo2.cdn.digitaloceanspaces.com/Fonts/ploni/ploni-ultrabold-aaa.woff2) format('woff2'), url(https://bagel.sfo2.cdn.digitaloceanspaces.com/Fonts/ploni/ploni-ultrabold-aaa.woff) format('woff'), url(https://bagel.sfo2.cdn.digitaloceanspaces.com/Fonts/ploni/ploni-ultrabold-aaa.eot) format('eot')
62
62
  }
63
63
 
64
64
  @font-face {
@@ -67,5 +67,5 @@
67
67
  font-weight: 900;
68
68
  font-stretch: 100%;
69
69
  font-display: swap;
70
- src: url(./Ploni/ploni-black.woff2) format('woff2'), url(./Ploni/ploni-black.woff) format('woff'), url(./Ploni/ploni-black.eot) format('eot')
70
+ src: url(https://bagel.sfo2.cdn.digitaloceanspaces.com/Fonts/ploni/ploni-black-aaa.woff2) format('woff2'), url(https://bagel.sfo2.cdn.digitaloceanspaces.com/Fonts/ploni/ploni-black-aaa.woff) format('woff'), url(https://bagel.sfo2.cdn.digitaloceanspaces.com/Fonts/ploni/ploni-black-aaa.eot) format('eot')
71
71
  }
@@ -12,16 +12,25 @@ select {
12
12
  text-align: start;
13
13
  margin-bottom: 0.5rem;
14
14
  width: 100%;
15
+ color: var(--bgl-black);
15
16
  }
16
17
 
17
- .bagel-input label {
18
+ .bagel-input::placeholder .bagel-input label {
18
19
  display: block;
19
20
  font-size: var(--input-font-size);
20
21
  margin-bottom: 2px;
21
22
  line-height: 1.3;
22
- color: var(--input-color);
23
23
  }
24
24
 
25
+ .bagel-input::placeholder {
26
+ color: var(--placeholder-color);
27
+ }
28
+
29
+ .bagel-input label {
30
+ color: var(--label-color);
31
+ }
32
+
33
+
25
34
  .bagel-input input,
26
35
  .bagel-input select,
27
36
  .custom-select .input {
@@ -42,6 +51,13 @@ select {
42
51
  width: 100%;
43
52
  }
44
53
 
54
+ .bagel-input input::placeholder,
55
+ .bagel-input textarea::placeholder,
56
+ .bagel-input select::placeholder,
57
+ .custom-select .input::placeholder {
58
+ color: var(--placeholder-color);
59
+ }
60
+
45
61
  .bagel-input.search-wrap {
46
62
  display: flex;
47
63
  flex-direction: row;
@@ -84,11 +100,7 @@ select {
84
100
  }
85
101
 
86
102
  .bagel-input:focus-within label {
87
- color: var(--bgl-blue);
88
- }
89
-
90
- .bagel-input:focus-within label {
91
- color: var(--bgl-blue);
103
+ color: var(--bgl-primary);
92
104
  }
93
105
 
94
106
  .bagel-input select.no-edit,
@@ -105,7 +117,7 @@ input[type='number']::-webkit-outer-spin-button {
105
117
  }
106
118
 
107
119
  label.active {
108
- color: var(--bgl-blue);
120
+ color: var(--bgl-primary);
109
121
  }
110
122
 
111
123
  .inline-80 {
@@ -130,7 +142,7 @@ label.active {
130
142
  }
131
143
 
132
144
  button.formkit-input {
133
- background: var(--bgl-blue);
145
+ background: var(--bgl-primary);
134
146
  color: var(--bgl-white);
135
147
  border: none;
136
148
  padding: 0 1.5rem;
@@ -182,7 +194,7 @@ button.formkit-input:active {
182
194
  font-size: var(--input-font-size);
183
195
  margin-bottom: 2px;
184
196
  line-height: 1.3;
185
- color: var(--input-color);
197
+ color: var(--label-color);
186
198
  }
187
199
 
188
200
  .formkit-outer input,
@@ -256,11 +268,11 @@ button.formkit-input:active {
256
268
  }
257
269
 
258
270
  .formkit-outer:focus-within label {
259
- color: var(--bgl-blue);
271
+ color: var(--bgl-primary);
260
272
  }
261
273
 
262
274
  .formkit-outer:focus-within label {
263
- color: var(--bgl-blue);
275
+ color: var(--bgl-primary);
264
276
  }
265
277
 
266
278
  .formkit-outer select.no-edit,
@@ -277,7 +289,7 @@ input[type='number']::-webkit-outer-spin-button {
277
289
  }
278
290
 
279
291
  label.active {
280
- color: var(--bgl-blue);
292
+ color: var(--bgl-primary);
281
293
  }
282
294
 
283
295
  .label-count-0 label {
@@ -297,6 +309,38 @@ label.active {
297
309
  display: none;
298
310
  }
299
311
 
312
+ input[type="color"] {
313
+ padding: 0.025rem 0.05rem;
314
+ display: block;
315
+ width: var(--input-height);
316
+ height: var(--input-height);
317
+ border: none;
318
+ -webkit-appearance: none;
319
+ -moz-appearance: none;
320
+ appearance: none;
321
+ cursor: pointer;
322
+ }
323
+
324
+ input[type="color"]::-webkit-color-swatch {
325
+ border-radius: var(--input-border-radius);
326
+ border: none;
327
+ transition: box-shadow 200ms ease;
328
+ }
329
+
330
+ input[type="color"]::-moz-color-swatch {
331
+ border-radius: var(--input-border-radius);
332
+ border: none;
333
+ transition: box-shadow 200ms ease;
334
+ }
335
+
336
+ input[type="color"]::-webkit-color-swatch:hover {
337
+ box-shadow: inset 0 0 10px #00000050;
338
+ }
339
+
340
+ input[type="color"]::-moz-color-swatch:hover {
341
+ box-shadow: inset 0 0 10px #00000050;
342
+ }
343
+
300
344
  @media screen and (max-width: 910px) {
301
345
  .bagel-input.wider input {
302
346
  min-width: 120px;