@massimo-cassandro/minimo 0.1.10 → 0.1.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@massimo-cassandro/minimo",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
4
4
  "description": "Light css framework",
5
5
  "type": "module",
6
6
  "homepage": "https://github.com/massimo-cassandro/minimo#readme",
@@ -178,7 +178,7 @@ select.form-control, .form-select {
178
178
 
179
179
  padding: var(--form-btns-padding-y) var(--indicator-padding-right) var(--form-btns-padding-y) var(--form-btns-padding-x);
180
180
  appearance: none;
181
- background-image: url('./select-indicator.svg?cssInline');
181
+ background-image: var(--form-select-indicator);
182
182
  background-repeat: no-repeat;
183
183
  background-position: right var(--indicator-padding-right) center;
184
184
  background-size: 16px 12px;
@@ -1,3 +1,3 @@
1
- <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'>
2
- <path fill='none' stroke='rgb(5, 48, 56)' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/>
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
2
+ <path fill="none" stroke="rgb(5, 48, 56)" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m2 5 6 6 6-6"/>
3
3
  </svg>
@@ -125,6 +125,10 @@
125
125
  --form-btns-focus-color: hsl(205 69% 45% / .508);
126
126
  --form-btns-outline-width: 3px;
127
127
 
128
+ /* TODO importazione automatica SVG (NB problemi con svgo) */
129
+ /* url('./css/forms/select-indicator.svg?cssInline'); */
130
+ --form-select-indicator: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22rgb(5%2C%2048%2C%2056)%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%20d%3D%22m2%205%206%206%206-6%22%2F%3E%3C%2Fsvg%3E');
131
+
128
132
  --btn-primary-bg-color: linear-gradient(45deg, var(--primary), color-mix(in srgb, var(--primary) 95%, #000));
129
133
  --btn-primary-fg-color: var(--primary-fg);
130
134
  --btn-primary-border-color: var(--primary);