@odoo/o-spreadsheet 19.1.0-alpha.10 → 19.1.0-alpha.12

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.
@@ -1,9 +1,9 @@
1
1
  <!--
2
2
  This file is generated by o-spreadsheet build tools. Do not edit it.
3
3
  @see https://github.com/odoo/o-spreadsheet
4
- @version 19.1.0-alpha.10
5
- @date 2025-10-30T12:27:22.089Z
6
- @hash d0b65e9
4
+ @version 19.1.0-alpha.12
5
+ @date 2025-11-12T14:18:00.954Z
6
+ @hash 6fefc9c
7
7
  -->
8
8
  <odoo>
9
9
  <t t-name="o-spreadsheet-ValidationMessages">
@@ -29,7 +29,7 @@
29
29
 
30
30
  <t t-name="o-spreadsheet-TopBar">
31
31
  <div
32
- class="o-spreadsheet-topbar d-flex flex-column user-select-none"
32
+ class="o-spreadsheet-topbar d-flex flex-column user-select-none bg-white"
33
33
  t-on-click="props.onClick">
34
34
  <div t-if="!env.isSmall" class="o-topbar-top d-flex justify-content-between">
35
35
  <!-- Menus -->
@@ -100,7 +100,7 @@
100
100
  </div>
101
101
  <div
102
102
  t-if="this.fingerprints.isEnabled"
103
- class="irregularity-map d-flex align-items-center justify-content-between">
103
+ class="topbar-banner irregularity-map d-flex align-items-center justify-content-between">
104
104
  <div
105
105
  t-on-click="() => this.fingerprints.disable()"
106
106
  role="button"
@@ -132,7 +132,7 @@
132
132
  popoverPositioning="'bottom-left'"
133
133
  />
134
134
  <Popover t-if="state.toolsPopoverState.isOpen" t-props="toolsPopoverProps">
135
- <div class="d-flex px-2 py-1 flex-wrap align-items-center" style="background-color:white;">
135
+ <div class="d-flex px-2 py-1 flex-wrap align-items-center bg-white">
136
136
  <t
137
137
  t-foreach="state.invisibleToolsCategories"
138
138
  t-as="category"
@@ -153,6 +153,21 @@
153
153
  </Popover>
154
154
  </t>
155
155
 
156
+ <div t-name="o-spreadsheet-TopBarZoom" t-ref="buttonRef" t-on-click.stop="">
157
+ <NumberEditor
158
+ currentValue="currentFontSize"
159
+ onValueChange.bind="this.setZoom"
160
+ class="props.class"
161
+ onToggle.bind="this.toggle"
162
+ onFocusInput.bind="this.onFocusInput"
163
+ valueIcon="'%'"
164
+ min="25"
165
+ max="300"
166
+ valueList="valueList"
167
+ title.translate="Zoom"
168
+ />
169
+ </div>
170
+
156
171
  <div t-name="o-spreadsheet-NumberFormatsTool" t-ref="buttonRef" t-on-click.stop="">
157
172
  <ActionButton
158
173
  action="formatNumberMenuItemSpec"
@@ -191,7 +206,7 @@
191
206
  class="props.class"
192
207
  />
193
208
  <Popover t-if="isActive" t-props="popoverProps">
194
- <div class="o-dropdown-content p-1" t-if="isActive" t-on-click.stop="">
209
+ <div class="o-dropdown-content p-1 bg-white" t-if="isActive" t-on-click.stop="">
195
210
  <div class="o-dropdown-line">
196
211
  <t t-foreach="props.childActions" t-as="action" t-key="action_index">
197
212
  <ActionButton action="action" class="props.childClass"/>
@@ -233,7 +248,7 @@
233
248
  <t t-name="o-spreadsheet-TableStylesPopover">
234
249
  <Popover t-if="props.popoverProps" t-props="props.popoverProps">
235
250
  <div
236
- class="o-table-style-popover d-flex flex-column py-3"
251
+ class="o-table-style-popover d-flex flex-column py-3 bg-white"
237
252
  t-ref="tableStyleList"
238
253
  t-on-contextmenu.prevent="">
239
254
  <div class="d-flex o-notebook ps-4 mb-3">
@@ -282,7 +297,7 @@
282
297
  <canvas t-ref="canvas" class="w-100 h-100"/>
283
298
  </div>
284
299
  <div
285
- class="o-table-style-edit-button position-absolute d-none"
300
+ class="o-table-style-edit-button position-absolute d-none bg-white"
286
301
  t-if="isStyleEditable"
287
302
  t-on-click="this.editTableStyle"
288
303
  title="Edit custom table style">
@@ -354,7 +369,7 @@
354
369
  <t t-name="o-spreadsheet-Spreadsheet">
355
370
  <div
356
371
  class="o-spreadsheet h-100 w-100"
357
- t-att-class="{'o-spreadsheet-mobile': env.isSmall}"
372
+ t-att-class="getSpreadSheetClasses()"
358
373
  t-ref="spreadsheet"
359
374
  t-att-style="getStyle()">
360
375
  <t t-if="env.isDashboard()">
@@ -396,7 +411,7 @@
396
411
  <RibbonMenu onClose="() => this.menuState.isOpen=false"/>
397
412
  </t>
398
413
  <t t-else="">
399
- <div class="o-small-composer px-2 py-2 position-relative">
414
+ <div class="o-small-composer px-2 py-2 position-relative bg-white">
400
415
  <div class="w-100" t-ref="bottombarComposer">
401
416
  <Composer t-props="composerProps"/>
402
417
  <span
@@ -675,7 +690,7 @@
675
690
  </t>
676
691
 
677
692
  <t t-name="o-spreadsheet-SidePanelExtended">
678
- <div class="o-sidePanel h-100">
693
+ <div class="o-sidePanel h-100 bg-white">
679
694
  <div class="o-sidePanelHeader d-flex align-items-center justify-content-between">
680
695
  <div
681
696
  t-if="props.onToggleCollapsePanel"
@@ -720,7 +735,9 @@
720
735
  </t>
721
736
 
722
737
  <t t-name="o-spreadsheet-SidePanelCollapsed">
723
- <div class="o-sidePanel collapsed w-100 h-100" t-on-click="props.onToggleCollapsePanel">
738
+ <div
739
+ class="o-sidePanel collapsed w-100 h-100 bg-white"
740
+ t-on-click="props.onToggleCollapsePanel">
724
741
  <div class="d-flex flex-column align-items-center">
725
742
  <div
726
743
  t-if="props.onToggleCollapsePanel"
@@ -957,24 +974,22 @@
957
974
  <div class="row mb-2 align-items-center">
958
975
  <div class="col-6">Max rows:</div>
959
976
  <div class="col-6 d-flex align-items-center">
960
- <input
961
- t-att-value="pivotStyle.numberOfRows ?? ''"
962
- type="number"
963
- class="o-pivot-n-of-rows o-input"
964
- placeholder="e.g. 10"
965
- t-on-change="(ev) => this.updatePivotStyleProperty('numberOfRows', ev.target.valueAsNumber)"
977
+ <NumberInput
978
+ value="pivotStyle.numberOfRows ?? ''"
979
+ class="'o-pivot-n-of-rows'"
980
+ placeholder.translate="e.g. 10"
981
+ onChange="(value) => this.updatePivotStyleNumberProperty(value, 'numberOfRows')"
966
982
  />
967
983
  </div>
968
984
  </div>
969
985
  <div class="row mb-2 align-items-center">
970
986
  <div class="col-6">Max columns:</div>
971
987
  <div class="col-6 d-flex align-items-center">
972
- <input
973
- t-att-value="pivotStyle.numberOfColumns ?? ''"
974
- type="number"
975
- class="o-pivot-n-of-columns o-input"
976
- placeholder="e.g. 5"
977
- t-on-change="(ev) => this.updatePivotStyleProperty('numberOfColumns', ev.target.valueAsNumber)"
988
+ <NumberInput
989
+ value="pivotStyle.numberOfColumns ?? ''"
990
+ class="'o-pivot-n-of-columns'"
991
+ placeholder.translate="e.g. 5"
992
+ onChange="(value) => this.updatePivotStyleNumberProperty(value, 'numberOfColumns')"
978
993
  />
979
994
  </div>
980
995
  </div>
@@ -1306,7 +1321,7 @@
1306
1321
 
1307
1322
  <t t-name="o-spreadsheet-PivotDimension">
1308
1323
  <div
1309
- class="py-1 px-2 d-flex flex-column shadow-sm pivot-dimension"
1324
+ class="py-1 px-2 d-flex flex-column shadow-sm pivot-dimension bg-white"
1310
1325
  t-att-class="{'pivot-dimension-invalid': !props.dimension.isValid}">
1311
1326
  <div class="d-flex flex-row justify-content-between align-items-center">
1312
1327
  <div class="d-flex align-items-center overflow-hidden text-nowrap">
@@ -1339,7 +1354,7 @@
1339
1354
  <button class="add-dimension o-button" t-on-click="togglePopover" t-ref="button">Add</button>
1340
1355
  <Popover t-if="popover.isOpen" t-props="popoverProps">
1341
1356
  <div
1342
- class="p-2 bg-white border-bottom d-flex sticky-top align-items-baseline pivot-dimension-search">
1357
+ class="p-2 bg-white border-bottom d-flex sticky-top align-items-baseline pivot-dimension-search bg-white">
1343
1358
  <i class="pe-1 pivot-dimension-search-field-icon text-muted">
1344
1359
  <t t-call="o-spreadsheet-Icon.SEARCH"/>
1345
1360
  </i>
@@ -1430,7 +1445,7 @@
1430
1445
  t-key="action.name(env)"
1431
1446
  t-att-data-name="action.name(env)"
1432
1447
  t-on-click="() => action.execute(env)"
1433
- class="w-100 d-flex align-items-center border-bottom format-preview">
1448
+ class="w-100 d-flex align-items-center border-bottom format-preview bg-white">
1434
1449
  <span class="ms-3 check-icon">
1435
1450
  <t t-if="action.isActive(env)" t-call="o-spreadsheet-Icon.CHECK"/>
1436
1451
  </span>
@@ -1917,7 +1932,8 @@
1917
1932
  <t t-call="o-spreadsheet-Icon.THIN_DRAG_HANDLE"/>
1918
1933
  </div>
1919
1934
  <t t-if="cf.rule.type==='IconSetRule'">
1920
- <div class="o-cf-preview-icon d-flex justify-content-around align-items-center me-2">
1935
+ <div
1936
+ class="o-cf-preview-icon d-flex justify-content-around align-items-center me-2 bg-white">
1921
1937
  <t t-call="o-spreadsheet-Icon.{{icons[cf.rule.icons.upper].template}}"/>
1922
1938
  <t t-call="o-spreadsheet-Icon.{{icons[cf.rule.icons.middle].template}}"/>
1923
1939
  <t t-call="o-spreadsheet-Icon.{{icons[cf.rule.icons.lower].template}}"/>
@@ -1926,7 +1942,7 @@
1926
1942
  <t t-else="">
1927
1943
  <div
1928
1944
  t-att-style="getPreviewImageStyle(cf.rule)"
1929
- class="o-cf-preview-icon d-flex justify-content-around align-items-center me-2">
1945
+ class="o-cf-preview-icon d-flex justify-content-around align-items-center me-2 bg-white">
1930
1946
  123
1931
1947
  </div>
1932
1948
  </t>
@@ -2176,7 +2192,7 @@
2176
2192
  <t t-name="o-spreadsheet-ColorScaleRuleEditor">
2177
2193
  <div class="o-cf-color-scale-editor">
2178
2194
  <div class="o-section-subtitle">Preview</div>
2179
- <div class="o-cf-preview-display mb-4" t-attf-style="{{getPreviewGradient()}}">
2195
+ <div class="o-cf-preview-display mb-4" t-attf-style="{{getColorScalePreviewStyle()}}">
2180
2196
  Preview text
2181
2197
  </div>
2182
2198
  <div class="o-section-subtitle">Minpoint</div>
@@ -2448,7 +2464,7 @@
2448
2464
  t-att-class="{'text-muted': props.disabled }"
2449
2465
  t-attf-class="{{props.className}}">
2450
2466
  <input
2451
- class="me-2"
2467
+ class="me-2 flex-shrink-0"
2452
2468
  type="checkbox"
2453
2469
  t-att-disabled="props.disabled"
2454
2470
  t-att-name="props.name"
@@ -2456,7 +2472,7 @@
2456
2472
  t-on-change="onChange"
2457
2473
  t-on-click.stop=""
2458
2474
  />
2459
- <t t-if="props.label" t-esc="props.label"/>
2475
+ <span class="text-truncate" t-if="props.label" t-esc="props.label"/>
2460
2476
  </label>
2461
2477
  </t>
2462
2478
 
@@ -3456,7 +3472,7 @@
3456
3472
  <Popover t-if="state.popoverProps" t-props="state.popoverProps">
3457
3473
  <div
3458
3474
  t-ref="popoverRef"
3459
- class="o-chart-select-popover px-3 pb-4"
3475
+ class="o-chart-select-popover px-3 pb-4 bg-white"
3460
3476
  t-att-style="state.popoverStyle">
3461
3477
  <t t-foreach="categories" t-as="category" t-key="category">
3462
3478
  <t t-if="chartTypeByCategories[category]">
@@ -3484,148 +3500,192 @@
3484
3500
 
3485
3501
  <t t-name="o-spreadsheet-ChartPreview.LINE_CHART">
3486
3502
  <svg viewBox="0 0 48 48" class="o-chart-preview" xmlns="http://www.w3.org/2000/svg">
3487
- <path fill="#444" d="M2,2 v44 h1 v-44 M3,45 h42 v1 h-42"/>
3488
- <path stroke="#eb6d00" style="fill:none" d="M6,40 l12,-12 l6,6 l18,-18"/>
3489
- <path stroke="#0074d9" style="fill:none" d="M6,25 l12,-12 l18,18 l6,-6"/>
3503
+ <path fill="var(--os-gray-600)" d="M2,2 v44 h1 v-44 M3,45 h42 v1 h-42"/>
3504
+ <path
3505
+ stroke="var(--os-chart-preview-orange-line)"
3506
+ style="fill:none"
3507
+ d="M6,40 l12,-12 l6,6 l18,-18"
3508
+ />
3509
+ <path
3510
+ stroke="var(--os-chart-preview-blue-line)"
3511
+ style="fill:none"
3512
+ d="M6,25 l12,-12 l18,18 l6,-6"
3513
+ />
3490
3514
  </svg>
3491
3515
  </t>
3492
3516
  <t t-name="o-spreadsheet-ChartPreview.STACKED_LINE_CHART">
3493
3517
  <svg viewBox="0 0 48 48" class="o-chart-preview" xmlns="http://www.w3.org/2000/svg">
3494
- <path stroke="#0074d9" style="fill:none" d="M3,30 l12,-12 l6,6 l18,-18"/>
3495
- <path stroke="#eb6d00" style="fill:none" d="M3,40 l12,-12 l6,6 l18,-12"/>
3496
- <path fill="#444" d="M2,2 v44 h1 v-44 M3,45 h42 v1 h-42"/>
3518
+ <path
3519
+ stroke="var(--os-chart-preview-blue-line)"
3520
+ style="fill:none"
3521
+ d="M3,30 l12,-12 l6,6 l18,-18"
3522
+ />
3523
+ <path
3524
+ stroke="var(--os-chart-preview-orange-line)"
3525
+ style="fill:none"
3526
+ d="M3,40 l12,-12 l6,6 l18,-12"
3527
+ />
3528
+ <path fill="var(--os-gray-600)" d="M2,2 v44 h1 v-44 M3,45 h42 v1 h-42"/>
3497
3529
  </svg>
3498
3530
  </t>
3499
3531
  <t t-name="o-spreadsheet-ChartPreview.AREA_CHART">
3500
3532
  <svg viewBox="0 0 48 48" class="o-chart-preview" xmlns="http://www.w3.org/2000/svg">
3501
- <path fill="#c4e4ff" d="M3,45 V25 l12,-12 l18,18 l6,-6 V45"/>
3502
- <path fill="#ffe1c8" d="M3,45 V40 l12,-12 l6,6 l18,-18 V45"/>
3503
- <path stroke="#eb6d00" style="fill:none" d="M3,40 l12,-12 l6,6 l18,-18"/>
3504
- <path stroke="#0074d9" style="fill:none" d="M3,25 l12,-12 l18,18 l6,-6"/>
3505
- <path fill="#444" d="M2,2 v44 h1 v-44 M3,45 h42 v1 h-42"/>
3533
+ <path fill="var(--os-chart-preview-blue-fill)" d="M3,45 V25 l12,-12 l18,18 l6,-6 V45"/>
3534
+ <path fill="var(--os-chart-preview-orange-fill)" d="M3,45 V40 l12,-12 l6,6 l18,-18 V45"/>
3535
+ <path
3536
+ stroke="var(--os-chart-preview-orange-line)"
3537
+ style="fill:none"
3538
+ d="M3,40 l12,-12 l6,6 l18,-18"
3539
+ />
3540
+ <path
3541
+ stroke="var(--os-chart-preview-blue-line)"
3542
+ style="fill:none"
3543
+ d="M3,25 l12,-12 l18,18 l6,-6"
3544
+ />
3545
+ <path fill="var(--os-gray-600)" d="M2,2 v44 h1 v-44 M3,45 h42 v1 h-42"/>
3506
3546
  </svg>
3507
3547
  </t>
3508
3548
  <t t-name="o-spreadsheet-ChartPreview.STACKED_AREA_CHART">
3509
3549
  <svg viewBox="0 0 48 48" class="o-chart-preview" xmlns="http://www.w3.org/2000/svg">
3510
- <path fill="#c4e4ff" d="M3,45 h36 v-39 l-18,18 l-6,-6 l-12,12"/>
3511
- <path stroke="#0074d9" style="fill:none" d="M3,30 l12,-12 l6,6 l18,-18"/>
3512
- <path fill="#ffe1c8" d="M3,45 h36 v-23 l-18,12 l-6,-6 l-12,12"/>
3513
- <path stroke="#eb6d00" style="fill:none" d="M3,40 l12,-12 l6,6 l18,-12"/>
3514
- <path fill="#444" d="M2,2 v44 h1 v-44 M3,45 h42 v1 h-42"/>
3550
+ <path fill="var(--os-chart-preview-blue-fill)" d="M3,45 h36 v-39 l-18,18 l-6,-6 l-12,12"/>
3551
+ <path
3552
+ stroke="var(--os-chart-preview-blue-line)"
3553
+ style="fill:none"
3554
+ d="M3,30 l12,-12 l6,6 l18,-18"
3555
+ />
3556
+ <path fill="var(--os-chart-preview-orange-fill)" d="M3,45 h36 v-23 l-18,12 l-6,-6 l-12,12"/>
3557
+ <path
3558
+ stroke="var(--os-chart-preview-orange-line)"
3559
+ style="fill:none"
3560
+ d="M3,40 l12,-12 l6,6 l18,-12"
3561
+ />
3562
+ <path fill="var(--os-gray-600)" d="M2,2 v44 h1 v-44 M3,45 h42 v1 h-42"/>
3515
3563
  </svg>
3516
3564
  </t>
3517
3565
  <t t-name="o-spreadsheet-ChartPreview.COLUMN_CHART">
3518
3566
  <svg viewBox="0 0 48 48" class="o-chart-preview" xmlns="http://www.w3.org/2000/svg">
3519
- <path fill="#0074d9" d="M7,45 v-28 h6 v28"/>
3520
- <path fill="#c4e4ff" d="M8,45 v-27 h4 v27"/>
3521
- <path fill="#eb6d00" d="M14,45 v-14 h6 v14"/>
3522
- <path fill="#ffe1c8" d="M15,45 v-13 h4 v13"/>
3523
- <path fill="#0074d9" d="M26,45 v-22 h6 v22"/>
3524
- <path fill="#c4e4ff" d="M27,45 v-21 h4 v21"/>
3525
- <path fill="#eb6d00" d="M33,45 v-32 h6 v32"/>
3526
- <path fill="#ffe1c8" d="M34,45 v-31 h4 v31"/>
3527
- <path fill="#444" d="M2,2 v44 h1 v-44 M3,45 h42 v1 h-42"/>
3567
+ <path fill="var(--os-chart-preview-blue-line)" d="M7,45 v-28 h6 v28"/>
3568
+ <path fill="var(--os-chart-preview-blue-fill)" d="M8,45 v-27 h4 v27"/>
3569
+ <path fill="var(--os-chart-preview-orange-line)" d="M14,45 v-14 h6 v14"/>
3570
+ <path fill="var(--os-chart-preview-orange-fill)" d="M15,45 v-13 h4 v13"/>
3571
+ <path fill="var(--os-chart-preview-blue-line)" d="M26,45 v-22 h6 v22"/>
3572
+ <path fill="var(--os-chart-preview-blue-fill)" d="M27,45 v-21 h4 v21"/>
3573
+ <path fill="var(--os-chart-preview-orange-line)" d="M33,45 v-32 h6 v32"/>
3574
+ <path fill="var(--os-chart-preview-orange-fill)" d="M34,45 v-31 h4 v31"/>
3575
+ <path fill="var(--os-gray-600)" d="M2,2 v44 h1 v-44 M3,45 h42 v1 h-42"/>
3528
3576
  </svg>
3529
3577
  </t>
3530
3578
  <t t-name="o-spreadsheet-ChartPreview.STACKED_COLUMN_CHART">
3531
3579
  <svg viewBox="0 0 48 48" class="o-chart-preview" xmlns="http://www.w3.org/2000/svg">
3532
- <path fill="#0074d9" d="M7,45 v-12 h8 v12"/>
3533
- <path fill="#c4e4ff" d="M8,45 v-11 h6 v11"/>
3534
- <path fill="#eb6d00" d="M7,33 v-14 h8 v14"/>
3535
- <path fill="#ffe1c8" d="M8,33 v-13 h6 v13"/>
3580
+ <path fill="var(--os-chart-preview-blue-line)" d="M7,45 v-12 h8 v12"/>
3581
+ <path fill="var(--os-chart-preview-blue-fill)" d="M8,45 v-11 h6 v11"/>
3582
+ <path fill="var(--os-chart-preview-orange-line)" d="M7,33 v-14 h8 v14"/>
3583
+ <path fill="var(--os-chart-preview-orange-fill)" d="M8,33 v-13 h6 v13"/>
3536
3584
 
3537
- <path fill="#0074d9" d="M20,45 v-8 h8 v8"/>
3538
- <path fill="#c4e4ff" d="M21,45 v-7 h6 v7"/>
3539
- <path fill="#eb6d00" d="M20,37 v-9 h8 v9"/>
3540
- <path fill="#ffe1c8" d="M21,37 v-8 h6 v8"/>
3585
+ <path fill="var(--os-chart-preview-blue-line)" d="M20,45 v-8 h8 v8"/>
3586
+ <path fill="var(--os-chart-preview-blue-fill)" d="M21,45 v-7 h6 v7"/>
3587
+ <path fill="var(--os-chart-preview-orange-line)" d="M20,37 v-9 h8 v9"/>
3588
+ <path fill="var(--os-chart-preview-orange-fill)" d="M21,37 v-8 h6 v8"/>
3541
3589
 
3542
- <path fill="#0074d9" d="M33,45 v-18 h8 v18"/>
3543
- <path fill="#c4e4ff" d="M34,45 v-17 h6 v17"/>
3544
- <path fill="#eb6d00" d="M33,27 v-16 h8 v16"/>
3545
- <path fill="#ffe1c8" d="M34,27 v-15 h6 v15"/>
3590
+ <path fill="var(--os-chart-preview-blue-line)" d="M33,45 v-18 h8 v18"/>
3591
+ <path fill="var(--os-chart-preview-blue-fill)" d="M34,45 v-17 h6 v17"/>
3592
+ <path fill="var(--os-chart-preview-orange-line)" d="M33,27 v-16 h8 v16"/>
3593
+ <path fill="var(--os-chart-preview-orange-fill)" d="M34,27 v-15 h6 v15"/>
3546
3594
 
3547
- <path fill="#444" d="M2,2 v44 h1 v-44 M3,45 h42 v1 h-42"/>
3595
+ <path fill="var(--os-gray-600)" d="M2,2 v44 h1 v-44 M3,45 h42 v1 h-42"/>
3548
3596
  </svg>
3549
3597
  </t>
3550
3598
  <t t-name="o-spreadsheet-ChartPreview.BAR_CHART">
3551
3599
  <svg viewBox="0 0 48 48" class="o-chart-preview" xmlns="http://www.w3.org/2000/svg">
3552
3600
  <g transform="matrix(0 1 -1 0 48 3)">
3553
- <path fill="#0074d9" d="M7,45 v-28 h6 v28"/>
3554
- <path fill="#c4e4ff" d="M8,45 v-27 h4 v27"/>
3555
- <path fill="#eb6d00" d="M14,45 v-14 h6 v14"/>
3556
- <path fill="#ffe1c8" d="M15,45 v-13 h4 v13"/>
3557
- <path fill="#0074d9" d="M26,45 v-22 h6 v22"/>
3558
- <path fill="#c4e4ff" d="M27,45 v-21 h4 v21"/>
3559
- <path fill="#eb6d00" d="M33,45 v-32 h6 v32"/>
3560
- <path fill="#ffe1c8" d="M34,45 v-31 h4 v31"/>
3601
+ <path fill="var(--os-chart-preview-blue-line)" d="M7,45 v-28 h6 v28"/>
3602
+ <path fill="var(--os-chart-preview-blue-fill)" d="M8,45 v-27 h4 v27"/>
3603
+ <path fill="var(--os-chart-preview-orange-line)" d="M14,45 v-14 h6 v14"/>
3604
+ <path fill="var(--os-chart-preview-orange-fill)" d="M15,45 v-13 h4 v13"/>
3605
+ <path fill="var(--os-chart-preview-blue-line)" d="M26,45 v-22 h6 v22"/>
3606
+ <path fill="var(--os-chart-preview-blue-fill)" d="M27,45 v-21 h4 v21"/>
3607
+ <path fill="var(--os-chart-preview-orange-line)" d="M33,45 v-32 h6 v32"/>
3608
+ <path fill="var(--os-chart-preview-orange-fill)" d="M34,45 v-31 h4 v31"/>
3561
3609
  </g>
3562
- <path fill="#444" d="M2,2 v44 h1 v-44 M3,45 h42 v1 h-42"/>
3610
+ <path fill="var(--os-gray-600)" d="M2,2 v44 h1 v-44 M3,45 h42 v1 h-42"/>
3563
3611
  </svg>
3564
3612
  </t>
3565
3613
  <t t-name="o-spreadsheet-ChartPreview.STACKED_BAR_CHART">
3566
3614
  <svg viewBox="0 0 48 48" class="o-chart-preview" xmlns="http://www.w3.org/2000/svg">
3567
3615
  <g transform="matrix(0 1 -1 0 48 1)">
3568
- <path fill="#0074d9" d="M7,45 v-12 h8 v12"/>
3569
- <path fill="#c4e4ff" d="M8,45 v-11 h6 v11"/>
3570
- <path fill="#eb6d00" d="M7,33 v-14 h8 v14"/>
3571
- <path fill="#ffe1c8" d="M8,33 v-13 h6 v13"/>
3572
- <path fill="#0074d9" d="M20,45 v-8 h8 v8"/>
3573
- <path fill="#c4e4ff" d="M21,45 v-7 h6 v7"/>
3574
- <path fill="#eb6d00" d="M20,37 v-9 h8 v9"/>
3575
- <path fill="#ffe1c8" d="M21,37 v-8 h6 v8"/>
3576
- <path fill="#0074d9" d="M33,45 v-18 h8 v18"/>
3577
- <path fill="#c4e4ff" d="M34,45 v-17 h6 v17"/>
3578
- <path fill="#eb6d00" d="M33,27 v-16 h8 v16"/>
3579
- <path fill="#ffe1c8" d="M34,27 v-15 h6 v15"/>
3616
+ <path fill="var(--os-chart-preview-blue-line)" d="M7,45 v-12 h8 v12"/>
3617
+ <path fill="var(--os-chart-preview-blue-fill)" d="M8,45 v-11 h6 v11"/>
3618
+ <path fill="var(--os-chart-preview-orange-line)" d="M7,33 v-14 h8 v14"/>
3619
+ <path fill="var(--os-chart-preview-orange-fill)" d="M8,33 v-13 h6 v13"/>
3620
+ <path fill="var(--os-chart-preview-blue-line)" d="M20,45 v-8 h8 v8"/>
3621
+ <path fill="var(--os-chart-preview-blue-fill)" d="M21,45 v-7 h6 v7"/>
3622
+ <path fill="var(--os-chart-preview-orange-line)" d="M20,37 v-9 h8 v9"/>
3623
+ <path fill="var(--os-chart-preview-orange-fill)" d="M21,37 v-8 h6 v8"/>
3624
+ <path fill="var(--os-chart-preview-blue-line)" d="M33,45 v-18 h8 v18"/>
3625
+ <path fill="var(--os-chart-preview-blue-fill)" d="M34,45 v-17 h6 v17"/>
3626
+ <path fill="var(--os-chart-preview-orange-line)" d="M33,27 v-16 h8 v16"/>
3627
+ <path fill="var(--os-chart-preview-orange-fill)" d="M34,27 v-15 h6 v15"/>
3580
3628
  </g>
3581
- <path fill="#444" d="M2,2 v44 h1 v-44 M3,45 h42 v1 h-42"/>
3629
+ <path fill="var(--os-gray-600)" d="M2,2 v44 h1 v-44 M3,45 h42 v1 h-42"/>
3582
3630
  </svg>
3583
3631
  </t>
3584
3632
  <t t-name="o-spreadsheet-ChartPreview.COMBO_CHART">
3585
3633
  <svg viewBox="0 0 48 48" class="o-chart-preview" xmlns="http://www.w3.org/2000/svg">
3586
- <path fill="#0074d9" d="M7,45 v-14 h6 v14"/>
3587
- <path fill="#c4e4ff" d="M8,45 v-13 h4 v13"/>
3588
- <path fill="#eb6d00" d="M14,45 v-28 h6 v28"/>
3589
- <path fill="#ffe1c8" d="M15,45 v-27 h4 v27"/>
3590
- <path fill="#0074d9" d="M26,45 v-22 h6 v22"/>
3591
- <path fill="#c4e4ff" d="M27,45 v-21 h4 v21"/>
3592
- <path fill="#eb6d00" d="M33,45 v-32 h6 v32"/>
3593
- <path fill="#ffe1c8" d="M34,45 v-31 h4 v31"/>
3594
- <path stroke="#888" style="fill:none;stroke-width:1.5;" d="M4,40 l14,-12 l6,6 l20,-18"/>
3595
- <path fill="#444" d="M2,2 v44 h1 v-44 M3,45 h42 v1 h-42"/>
3634
+ <path fill="var(--os-chart-preview-blue-line)" d="M7,45 v-14 h6 v14"/>
3635
+ <path fill="var(--os-chart-preview-blue-fill)" d="M8,45 v-13 h4 v13"/>
3636
+ <path fill="var(--os-chart-preview-orange-line)" d="M14,45 v-28 h6 v28"/>
3637
+ <path fill="var(--os-chart-preview-orange-fill)" d="M15,45 v-27 h4 v27"/>
3638
+ <path fill="var(--os-chart-preview-blue-line)" d="M26,45 v-22 h6 v22"/>
3639
+ <path fill="var(--os-chart-preview-blue-fill)" d="M27,45 v-21 h4 v21"/>
3640
+ <path fill="var(--os-chart-preview-orange-line)" d="M33,45 v-32 h6 v32"/>
3641
+ <path fill="var(--os-chart-preview-orange-fill)" d="M34,45 v-31 h4 v31"/>
3642
+ <path
3643
+ stroke="var(--os-gray-500)"
3644
+ style="fill:none;stroke-width:1.5;"
3645
+ d="M4,40 l14,-12 l6,6 l20,-18"
3646
+ />
3647
+ <path fill="var(--os-gray-600)" d="M2,2 v44 h1 v-44 M3,45 h42 v1 h-42"/>
3596
3648
  </svg>
3597
3649
  </t>
3598
3650
  <t t-name="o-spreadsheet-ChartPreview.PIE_CHART">
3599
3651
  <svg viewBox="0 0 48 48" class="o-chart-preview" xmlns="http://www.w3.org/2000/svg">
3600
- <path fill="#ffe1c8" stroke="#eb6d00" d="M41.32, 34 A20 20, 0, 1, 1, 24, 4 v20"/>
3601
- <path fill="#c4e4ff" stroke="#0074d9" d="M24,24 v-20 A20 20, 0, 0, 1, 41.32, 34 L24,24"/>
3652
+ <path
3653
+ fill="var(--os-chart-preview-orange-fill)"
3654
+ stroke="var(--os-chart-preview-orange-line)"
3655
+ d="M41.32, 34 A20 20, 0, 1, 1, 24, 4 v20"
3656
+ />
3657
+ <path
3658
+ fill="var(--os-chart-preview-blue-fill)"
3659
+ stroke="var(--os-chart-preview-blue-line)"
3660
+ d="M24,24 v-20 A20 20, 0, 0, 1, 41.32, 34 L24,24"
3661
+ />
3602
3662
  </svg>
3603
3663
  </t>
3604
3664
  <t t-name="o-spreadsheet-ChartPreview.DOUGHNUT_CHART">
3605
3665
  <svg viewBox="0 0 48 48" class="o-chart-preview" xmlns="http://www.w3.org/2000/svg">
3606
3666
  <path
3607
- fill="#ffe1c8"
3608
- stroke="#eb6d00"
3667
+ fill="var(--os-chart-preview-orange-fill)"
3668
+ stroke="var(--os-chart-preview-orange-line)"
3609
3669
  d="M41.32, 34 A20 20, 0, 1, 1, 24, 4 v8 A12,12,0,1,0,34.4,30"
3610
3670
  />
3611
3671
  <path
3612
- fill="#c4e4ff"
3613
- stroke="#0074d9"
3672
+ fill="var(--os-chart-preview-blue-fill)"
3673
+ stroke="var(--os-chart-preview-blue-line)"
3614
3674
  d="M24,12 v-8 A20 20, 0, 0, 1, 41.32, 34 L34.4,30 A12,12,0,0,0,24,12"
3615
3675
  />
3616
3676
  </svg>
3617
3677
  </t>
3618
3678
  <t t-name="o-spreadsheet-ChartPreview.SCATTER_CHART">
3619
3679
  <svg viewBox="0 0 48 48" class="o-chart-preview" xmlns="http://www.w3.org/2000/svg">
3620
- <circle fill="#0074d9" cx="10" cy="10" r="2"/>
3621
- <circle fill="#0074d9" cx="15" cy="30" r="2"/>
3622
- <circle fill="#0074d9" cx="25" cy="36" r="2"/>
3623
- <circle fill="#0074d9" cx="32" cy="15" r="2"/>
3624
- <circle fill="#eb6d00" cx="10" cy="40" r="2"/>
3625
- <circle fill="#eb6d00" cx="18" cy="20" r="2"/>
3626
- <circle fill="#eb6d00" cx="30" cy="25" r="2"/>
3627
- <circle fill="#eb6d00" cx="40" cy="33" r="2"/>
3628
- <path fill="#444" d="M2,2 v44 h1 v-44 M3,45 h42 v1 h-42"/>
3680
+ <circle fill="var(--os-chart-preview-blue-line)" cx="10" cy="10" r="2"/>
3681
+ <circle fill="var(--os-chart-preview-blue-line)" cx="15" cy="30" r="2"/>
3682
+ <circle fill="var(--os-chart-preview-blue-line)" cx="25" cy="36" r="2"/>
3683
+ <circle fill="var(--os-chart-preview-blue-line)" cx="32" cy="15" r="2"/>
3684
+ <circle fill="var(--os-chart-preview-orange-line)" cx="10" cy="40" r="2"/>
3685
+ <circle fill="var(--os-chart-preview-orange-line)" cx="18" cy="20" r="2"/>
3686
+ <circle fill="var(--os-chart-preview-orange-line)" cx="30" cy="25" r="2"/>
3687
+ <circle fill="var(--os-chart-preview-orange-line)" cx="40" cy="33" r="2"/>
3688
+ <path fill="var(--os-gray-600)" d="M2,2 v44 h1 v-44 M3,45 h42 v1 h-42"/>
3629
3689
  </svg>
3630
3690
  </t>
3631
3691
  <t t-name="o-spreadsheet-ChartPreview.GAUGE_CHART">
@@ -3633,9 +3693,9 @@
3633
3693
  viewBox="0 0 48 48"
3634
3694
  class="o-chart-preview user-select-none"
3635
3695
  xmlns="http://www.w3.org/2000/svg">
3636
- <path fill="#ccc" d="M2,32 A22,22,0,0,1,46,32 h-6 A16,16,0,0,0,8,32"/>
3696
+ <path fill="var(--os-gray-400)" d="M2,32 A22,22,0,0,1,46,32 h-6 A16,16,0,0,0,8,32"/>
3637
3697
  <path fill="#6aa84f" d="M2,32 A22,22,0,0,1,35,13 L32,18.2 A16,16,0,0,0,8,32"/>
3638
- <text x="17" y="32" style="font-size:12px;">62</text>
3698
+ <text fill="currentColor" x="17" y="32" style="font-size:12px;">62</text>
3639
3699
  </svg>
3640
3700
  </t>
3641
3701
  <t t-name="o-spreadsheet-ChartPreview.SCORECARD_CHART">
@@ -3643,61 +3703,72 @@
3643
3703
  viewBox="0 0 48 48"
3644
3704
  class="o-chart-preview user-select-none"
3645
3705
  xmlns="http://www.w3.org/2000/svg">
3646
- <path fill="#ddd" d="M1,8 h46 v32 h-46"/>
3647
- <path fill="#eee" d="M2,9 h44 v30 h-44"/>
3648
- <text x="9" y="32" style="font-size:18px;">123</text>
3706
+ <path fill="var(--os-gray-300)" d="M1,8 h46 v32 h-46"/>
3707
+ <path fill="var(--os-gray-200)" d="M2,9 h44 v30 h-44"/>
3708
+ <text fill="currentColor" x="9" y="32" style="font-size:18px;">123</text>
3649
3709
  </svg>
3650
3710
  </t>
3651
3711
  <t t-name="o-spreadsheet-ChartPreview.WATERFALL_CHART">
3652
3712
  <svg viewBox="0 0 48 48" class="o-chart-preview" xmlns="http://www.w3.org/2000/svg">
3653
- <path fill="#444" d="M5,45 v-26 h6 v26"/>
3654
- <path fill="#fff" d="M6,45 v-25 h4 v25"/>
3655
- <path fill="#eb6d00" d="M13,19 v7 h6 v-7"/>
3656
- <path fill="#ffe1c8" d="M14,20 v5 h4 v-5"/>
3657
- <path fill="#eb6d00" d="M21,25 v10 h6 v-10"/>
3658
- <path fill="#ffe1c8" d="M22,26 v8 h4 v-8"/>
3659
- <path fill="#0074d9" d="M29,35 v-24 h6 v24"/>
3660
- <path fill="#c4e4ff" d="M30,34 v-22 h4 v22"/>
3661
- <path fill="#444" d="M37,45 v-34 h6 v34"/>
3662
- <path fill="#fff" d="M38,45 v-33 h4 v33"/>
3663
- <path fill="#444" d="M11,20 v-1 h2 v1 M19,26 v-1 h2 v1 M27,35 v-1 h2 v1 M35,12 v-1 h2 v1"/>
3664
- <path fill="#444" d="M2,2 v44 h1 v-44 M3,45 h42 v1 h-42"/>
3713
+ <path fill="var(--os-gray-600)" d="M5,45 v-26 h6 v26"/>
3714
+ <path fill="var(--os-white-bg)" d="M6,45 v-25 h4 v25"/>
3715
+ <path fill="var(--os-chart-preview-orange-line)" d="M13,19 v7 h6 v-7"/>
3716
+ <path fill="var(--os-chart-preview-orange-fill)" d="M14,20 v5 h4 v-5"/>
3717
+ <path fill="var(--os-chart-preview-orange-line)" d="M21,25 v10 h6 v-10"/>
3718
+ <path fill="var(--os-chart-preview-orange-fill)" d="M22,26 v8 h4 v-8"/>
3719
+ <path fill="var(--os-chart-preview-blue-line)" d="M29,35 v-24 h6 v24"/>
3720
+ <path fill="var(--os-chart-preview-blue-fill)" d="M30,34 v-22 h4 v22"/>
3721
+ <path fill="var(--os-gray-600)" d="M37,45 v-34 h6 v34"/>
3722
+ <path fill="var(--os-white-bg)" d="M38,45 v-33 h4 v33"/>
3723
+ <path
3724
+ fill="var(--os-gray-600)"
3725
+ d="M11,20 v-1 h2 v1 M19,26 v-1 h2 v1 M27,35 v-1 h2 v1 M35,12 v-1 h2 v1"
3726
+ />
3727
+ <path fill="var(--os-gray-600)" d="M2,2 v44 h1 v-44 M3,45 h42 v1 h-42"/>
3665
3728
  </svg>
3666
3729
  </t>
3667
3730
  <t t-name="o-spreadsheet-ChartPreview.POPULATION_PYRAMID_CHART">
3668
3731
  <svg viewBox="0 0 48 48" class="o-chart-preview" xmlns="http://www.w3.org/2000/svg">
3669
- <path fill="#eb6d00" d="M23,43 v-6 h22 v6"/>
3670
- <path fill="#ffe1c8" d="M23,42 v-4 h21 v4"/>
3671
- <path fill="#eb6d00" d="M23,36 v-6 h18 v6"/>
3672
- <path fill="#ffe1c8" d="M23,35 v-4 h17 v4"/>
3673
- <path fill="#eb6d00" d="M23,29 v-6 h12 v6"/>
3674
- <path fill="#ffe1c8" d="M23,28 v-4 h11 v4"/>
3675
- <path fill="#eb6d00" d="M23,22 v-6 h8 v6"/>
3676
- <path fill="#ffe1c8" d="M23,21 v-4 h7 v4"/>
3677
- <path fill="#eb6d00" d="M23,15 v-6 h4 v6"/>
3678
- <path fill="#ffe1c8" d="M23,14 v-4 h3 v4"/>
3679
-
3680
- <path fill="#0074d9" d="M24,43 v-6 h-20 v6"/>
3681
- <path fill="#c4e4ff" d="M24,42 v-4 h-19 v4"/>
3682
- <path fill="#0074d9" d="M24,36 v-6 h-18 v6"/>
3683
- <path fill="#c4e4ff" d="M24,35 v-4 h-17 v4"/>
3684
- <path fill="#0074d9" d="M24,29 v-6 h-12 v6"/>
3685
- <path fill="#c4e4ff" d="M24,28 v-4 h-11 v4"/>
3686
- <path fill="#0074d9" d="M24,22 v-6 h-6 v6"/>
3687
- <path fill="#c4e4ff" d="M24,21 v-4 h-5 v4"/>
3688
- <path fill="#0074d9" d="M24,15 v-6 h-4 v6"/>
3689
- <path fill="#c4e4ff" d="M24,14 v-4 h-3 v4"/>
3690
-
3691
- <path fill="#444" d="M23,2 v43 h1 v-43 M2,45 h44 v1 h-44"/>
3732
+ <path fill="var(--os-chart-preview-orange-line)" d="M23,43 v-6 h22 v6"/>
3733
+ <path fill="var(--os-chart-preview-orange-fill)" d="M23,42 v-4 h21 v4"/>
3734
+ <path fill="var(--os-chart-preview-orange-line)" d="M23,36 v-6 h18 v6"/>
3735
+ <path fill="var(--os-chart-preview-orange-fill)" d="M23,35 v-4 h17 v4"/>
3736
+ <path fill="var(--os-chart-preview-orange-line)" d="M23,29 v-6 h12 v6"/>
3737
+ <path fill="var(--os-chart-preview-orange-fill)" d="M23,28 v-4 h11 v4"/>
3738
+ <path fill="var(--os-chart-preview-orange-line)" d="M23,22 v-6 h8 v6"/>
3739
+ <path fill="var(--os-chart-preview-orange-fill)" d="M23,21 v-4 h7 v4"/>
3740
+ <path fill="var(--os-chart-preview-orange-line)" d="M23,15 v-6 h4 v6"/>
3741
+ <path fill="var(--os-chart-preview-orange-fill)" d="M23,14 v-4 h3 v4"/>
3742
+
3743
+ <path fill="var(--os-chart-preview-blue-line)" d="M24,43 v-6 h-20 v6"/>
3744
+ <path fill="var(--os-chart-preview-blue-fill)" d="M24,42 v-4 h-19 v4"/>
3745
+ <path fill="var(--os-chart-preview-blue-line)" d="M24,36 v-6 h-18 v6"/>
3746
+ <path fill="var(--os-chart-preview-blue-fill)" d="M24,35 v-4 h-17 v4"/>
3747
+ <path fill="var(--os-chart-preview-blue-line)" d="M24,29 v-6 h-12 v6"/>
3748
+ <path fill="var(--os-chart-preview-blue-fill)" d="M24,28 v-4 h-11 v4"/>
3749
+ <path fill="var(--os-chart-preview-blue-line)" d="M24,22 v-6 h-6 v6"/>
3750
+ <path fill="var(--os-chart-preview-blue-fill)" d="M24,21 v-4 h-5 v4"/>
3751
+ <path fill="var(--os-chart-preview-blue-line)" d="M24,15 v-6 h-4 v6"/>
3752
+ <path fill="var(--os-chart-preview-blue-fill)" d="M24,14 v-4 h-3 v4"/>
3753
+
3754
+ <path fill="var(--os-gray-600)" d="M23,2 v43 h1 v-43 M2,45 h44 v1 h-44"/>
3692
3755
  </svg>
3693
3756
  </t>
3694
3757
  <t t-name="o-spreadsheet-ChartPreview.RADAR_CHART">
3695
3758
  <svg viewBox="0 0 48 48" class="o-chart-preview" xmlns="http://www.w3.org/2000/svg">
3696
- <path fill="none" stroke="#0074d9" d="m24 16 14.27 3.36-1.93 21.63-18.22-8.9-3.63-11.18Z"/>
3697
- <path fill="none" stroke="#eb6d00" d="m24 4 7.61 17.53-4.67 6.52-12.34 8.89-7.72-18.5Z"/>
3698
3759
  <path
3699
3760
  fill="none"
3700
- stroke="#444"
3761
+ stroke="var(--os-chart-preview-blue-line)"
3762
+ d="m24 16 14.27 3.36-1.93 21.63-18.22-8.9-3.63-11.18Z"
3763
+ />
3764
+ <path
3765
+ fill="none"
3766
+ stroke="var(--os-chart-preview-orange-line)"
3767
+ d="m24 4 7.61 17.53-4.67 6.52-12.34 8.89-7.72-18.5Z"
3768
+ />
3769
+ <path
3770
+ fill="none"
3771
+ stroke="var(--os-gray-600)"
3701
3772
  d="M24 2v22l20.92-6.8L24 24l12.93 17.8L24 24 11.07 41.8 24 24 3.08 17.2"
3702
3773
  />
3703
3774
  </svg>
@@ -3705,14 +3776,20 @@
3705
3776
  <t t-name="o-spreadsheet-ChartPreview.FILLED_RADAR_CHART">
3706
3777
  <svg viewBox="0 0 48 48" class="o-chart-preview" xmlns="http://www.w3.org/2000/svg">
3707
3778
  <path
3708
- fill="#0074d944"
3709
- stroke="#0074d9"
3779
+ fill="var(--os-chart-preview-blue-line)"
3780
+ fill-opacity="0.25"
3781
+ stroke="var(--os-chart-preview-blue-line)"
3710
3782
  d="m24 16 14.27 3.36-1.93 21.63-18.22-8.9-3.63-11.18Z"
3711
3783
  />
3712
- <path fill="#eb6d0044" stroke="#eb6d00" d="m24 4 7.61 17.53-4.67 6.52-12.34 8.89-7.72-18.5Z"/>
3784
+ <path
3785
+ fill="var(--os-chart-preview-orange-line)"
3786
+ fill-opacity="0.25"
3787
+ stroke="var(--os-chart-preview-orange-line)"
3788
+ d="m24 4 7.61 17.53-4.67 6.52-12.34 8.89-7.72-18.5Z"
3789
+ />
3713
3790
  <path
3714
3791
  fill="none"
3715
- stroke="#444"
3792
+ stroke="var(--os-gray-600)"
3716
3793
  d="M24 2v22l20.92-6.8L24 24l12.93 17.8L24 24 11.07 41.8 24 24 3.08 17.2"
3717
3794
  />
3718
3795
  </svg>
@@ -3725,60 +3802,76 @@
3725
3802
  fill="none"
3726
3803
  stroke-width="0.5"
3727
3804
  stroke-linejoin="round">
3728
- <circle cx="16" cy="16" r="13" fill="#c4e4ff"/>
3805
+ <circle cx="16" cy="16" r="13" fill="var(--os-chart-preview-blue-fill)"/>
3729
3806
  <path
3730
- stroke="#eb6d00"
3731
- fill="#ffe1c8"
3807
+ stroke="var(--os-chart-preview-orange-line)"
3808
+ fill="var(--os-chart-preview-orange-fill)"
3732
3809
  d="M12.225 16.293c0 6.8 4 9 5 9 3.5 0 2-5.293 3.5-6.793s5-.707 5-4.207-2-5-5-5c-5 0-8.5 1.5-8.5 7z"
3733
3810
  />
3734
3811
  <path
3735
- fill="#ffe1c8"
3812
+ fill="var(--os-chart-preview-orange-fill)"
3736
3813
  d="M21.5 4.4c0 1.167-1.735 1.5-3 1.5-5.217 0-10.705 3.48-11.421 8.004C6.992 14.549 6.552 15 6 15H3.07 A 13 13 0 0 1 21.5 4.2
3737
3814
  M3.8 20.5c.785.262 2.126 1.285 3.44 1.517.57.101 1.153.464 1.299 1.023.303 1.16.548 1.992-.239 3.58 A 13 13 0 0 1 3.8 20.5"
3738
3815
  />
3739
3816
  <path
3740
- stroke="#eb6d00"
3817
+ stroke="var(--os-chart-preview-orange-line)"
3741
3818
  d="M21.5 4.4c0 1.167-1.735 1.5-3 1.5-5.217 0-10.705 3.48-11.421 8.004C6.992 14.549 6.552 15 6 15H3.07
3742
3819
  M3.8 20.5c.785.262 2.126 1.285 3.44 1.517.57.101 1.153.464 1.299 1.023.303 1.16.548 1.992-.239 3.58"
3743
3820
  />
3744
- <circle cx="16" cy="16" r="13" stroke="#444"/>
3821
+ <circle cx="16" cy="16" r="13" stroke="var(--os-gray-600)"/>
3745
3822
  </svg>
3746
3823
  </t>
3747
3824
  <t t-name="o-spreadsheet-ChartPreview.FUNNEL_CHART">
3748
3825
  <svg viewBox="0 0 48 48" class="o-chart-preview" xmlns="http://www.w3.org/2000/svg">
3749
- <path stroke="#0074d9" fill="#c4e4ff" d="M2.5,6.5 h44 l-5,7 h-34 l-5,-7 h1"/>
3750
- <path stroke="#eb6d00" fill="#ffe1c8" d="M9.5,16.5 h30 l-3,7 h-25 l-3,-7 h1"/>
3751
- <path stroke="#0074d9" fill="#c4e4ff" d="M12.5,26.5 h23 l-8,7 h-7 l-8,-7 h1"/>
3752
- <path stroke="#eb6d00" fill="#ffe1c8" d="M21.5,35.5 h5 l-2.5,7 l-2.5,-7 h1"/>
3826
+ <path
3827
+ stroke="var(--os-chart-preview-blue-line)"
3828
+ fill="var(--os-chart-preview-blue-fill)"
3829
+ d="M2.5,6.5 h44 l-5,7 h-34 l-5,-7 h1"
3830
+ />
3831
+ <path
3832
+ stroke="var(--os-chart-preview-orange-line)"
3833
+ fill="var(--os-chart-preview-orange-fill)"
3834
+ d="M9.5,16.5 h30 l-3,7 h-25 l-3,-7 h1"
3835
+ />
3836
+ <path
3837
+ stroke="var(--os-chart-preview-blue-line)"
3838
+ fill="var(--os-chart-preview-blue-fill)"
3839
+ d="M12.5,26.5 h23 l-8,7 h-7 l-8,-7 h1"
3840
+ />
3841
+ <path
3842
+ stroke="var(--os-chart-preview-orange-line)"
3843
+ fill="var(--os-chart-preview-orange-fill)"
3844
+ d="M21.5,35.5 h5 l-2.5,7 l-2.5,-7 h1"
3845
+ />
3753
3846
  </svg>
3754
3847
  </t>
3755
3848
  <t t-name="o-spreadsheet-ChartPreview.SUNBURST_CHART">
3756
3849
  <svg viewBox="0 0 48 48" class="o-chart-preview" xmlns="http://www.w3.org/2000/svg">
3757
3850
  <path
3758
- fill="#ffe1c8"
3759
- stroke="#eb6d00"
3851
+ fill="var(--os-chart-preview-orange-fill)"
3852
+ stroke="var(--os-chart-preview-orange-line)"
3760
3853
  d="M24,12 v8A4,4,0,1,0,27.46,26 L41.32, 34 A20,20,0,0,1,8.679,36.856 L14.807,31.713 A12,12,0,0,1,24,12 M34.4,30 A12,12,0,0,1,14.807,31.713"
3761
3854
  />
3762
3855
  <path
3763
- fill="#c4e4ff"
3764
- stroke="#0074d9"
3856
+ fill="var(--os-chart-preview-blue-fill)"
3857
+ stroke="var(--os-chart-preview-blue-line)"
3765
3858
  d="M24,20 v-16 A20 20, 0, 0, 1, 41.32, 34 L27.46,26 A4,4,0,0,0,24,20 M24,12 A12,12,0,0,1,34.4,30 M33.193,16.287 L39.321,11.144 M36,24 L44,24"
3766
3859
  />
3767
3860
  </svg>
3768
3861
  </t>
3769
3862
  <t t-name="o-spreadsheet-ChartPreview.TREE_MAP_CHART">
3770
3863
  <svg viewBox="0 0 48 48" class="o-chart-preview" xmlns="http://www.w3.org/2000/svg">
3771
- <path fill="#444" d="M2,4 h44 v5 h-44"/>
3772
- <path fill="#444" d="M2,10 h28 v5 h-28"/>
3773
- <path fill="#444" d="M31,10 h15 v5 h-15"/>
3774
- <path fill="#0074d9" d="M2,16 h28 v14 h-28"/>
3775
- <path fill="#c4e4ff" d="M3,17 h26 v12 h-26"/>
3776
- <path fill="#0074d9" d="M2,31 h15 v12 h-15"/>
3777
- <path fill="#c4e4ff" d="M3,32 h13 v10 h-13"/>
3778
- <path fill="#0074d9" d="M18,31 h12 v12 h-12"/>
3779
- <path fill="#c4e4ff" d="M19,32 h10 v10 h-10"/>
3780
- <path fill="#eb6d00" d="M31,16 h15 v27 h-15"/>
3781
- <path fill="#ffe1c8" d="M32,17 h13 v25 h-13"/>
3864
+ <path fill="var(--os-gray-600)" d="M2,4 h44 v5 h-44"/>
3865
+ <path fill="var(--os-gray-600)" d="M2,10 h28 v5 h-28"/>
3866
+ <path fill="var(--os-gray-600)" d="M31,10 h15 v5 h-15"/>
3867
+ <path fill="var(--os-chart-preview-blue-line)" d="M2,16 h28 v14 h-28"/>
3868
+ <path fill="var(--os-chart-preview-blue-fill)" d="M3,17 h26 v12 h-26"/>
3869
+ <path fill="var(--os-chart-preview-blue-line)" d="M2,31 h15 v12 h-15"/>
3870
+ <path fill="var(--os-chart-preview-blue-fill)" d="M3,32 h13 v10 h-13"/>
3871
+ <path fill="var(--os-chart-preview-blue-line)" d="M18,31 h12 v12 h-12"/>
3872
+ <path fill="var(--os-chart-preview-blue-fill)" d="M19,32 h10 v10 h-10"/>
3873
+ <path fill="var(--os-chart-preview-orange-line)" d="M31,16 h15 v27 h-15"/>
3874
+ <path fill="var(--os-chart-preview-orange-fill)" d="M32,17 h13 v25 h-13"/>
3782
3875
  </svg>
3783
3876
  </t>
3784
3877
 
@@ -4190,6 +4283,7 @@
4190
4283
  updateStyle.bind="updateAxisTitleStyle"
4191
4284
  name="editor_label"
4192
4285
  style="axisTitleStyle"
4286
+ placeholder.translate="Add a Title"
4193
4287
  defaultStyle="{align: 'center', color: '', fontSize: defaultFontSize}"
4194
4288
  />
4195
4289
  </t>
@@ -4246,7 +4340,7 @@
4246
4340
  <div class="o-section pb-1 pt-0">
4247
4341
  <div class="o-section-title">Carousel Sections</div>
4248
4342
  </div>
4249
- <div class="o-carousel-preview-list overflow-auto" t-ref="previewList">
4343
+ <div class="o-carousel-preview-list overflow-auto bg-white" t-ref="previewList">
4250
4344
  <t t-foreach="carouselItems" t-as="item" t-key="getItemId(item)">
4251
4345
  <div
4252
4346
  class="o-carousel-preview border-bottom pe-2 position-relative w-100 d-flex align-items-center"
@@ -4474,9 +4568,49 @@
4474
4568
  />
4475
4569
  </t>
4476
4570
 
4571
+ <t t-name="o-spreadsheet-NumberEditor">
4572
+ <div class="o-dropdown" t-ref="NumberEditor">
4573
+ <div
4574
+ class="o-number-editor d-flex align-items-center"
4575
+ t-att-class="props.class"
4576
+ t-att-title="props.title"
4577
+ t-on-click="this.toggleList">
4578
+ <input
4579
+ type="number"
4580
+ t-att-min="props.min"
4581
+ t-att-max="props.max"
4582
+ class="o-font-size o-number-input bg-transparent border-0"
4583
+ t-on-keydown="onInputKeydown"
4584
+ t-on-wheel.prevent.stop=""
4585
+ t-on-click.stop="props.onFocusInput"
4586
+ t-on-focus.stop="onInputFocused"
4587
+ t-on-change="setValueFromInput"
4588
+ t-ref="inputNumber"
4589
+ />
4590
+ <t t-esc="props.valueIcon"/>
4591
+ <span>
4592
+ <t t-call="o-spreadsheet-Icon.CARET_DOWN"/>
4593
+ </span>
4594
+ </div>
4595
+ <Popover t-if="dropdown.isOpen" t-props="popoverProps">
4596
+ <div class="o-text-options bg-white" t-on-click.stop="" t-ref="numberList">
4597
+ <t t-foreach="props.valueList" t-as="value" t-key="value">
4598
+ <div t-att-data-size="value" t-on-click="() => this.setValueFromList(value)">
4599
+ <t t-esc="value"/>
4600
+ <t t-esc="props.valueIcon"/>
4601
+ </div>
4602
+ </t>
4603
+ </div>
4604
+ </Popover>
4605
+ </div>
4606
+ </t>
4607
+
4477
4608
  <t t-name="o-spreadsheet-Menu-Popover">
4478
4609
  <Popover t-if="props.menuItems" t-props="popoverProps">
4479
- <div t-ref="menu" class="o-menu-wrapper" t-on-mouseover="() => this.onMouseOverMainMenu()">
4610
+ <div
4611
+ t-ref="menu"
4612
+ class="o-menu-wrapper bg-white"
4613
+ t-on-mouseover="() => this.onMouseOverMainMenu()">
4480
4614
  <Menu t-props="menuProps"/>
4481
4615
  </div>
4482
4616
  <MenuPopover
@@ -4498,7 +4632,7 @@
4498
4632
  <t t-name="o-spreadsheet-Menu">
4499
4633
  <div
4500
4634
  t-ref="menu"
4501
- class="o-menu"
4635
+ class="o-menu bg-white"
4502
4636
  t-att-style="menuStyle"
4503
4637
  t-on-scroll="props.onScroll"
4504
4638
  t-on-wheel.stop=""
@@ -4555,7 +4689,7 @@
4555
4689
 
4556
4690
  <t t-name="o-spreadsheet-LinkEditor">
4557
4691
  <div
4558
- class="o-link-editor"
4692
+ class="o-link-editor bg-white"
4559
4693
  t-on-click.stop="() => this.menu.isOpen=false"
4560
4694
  t-on-keydown="onKeyDown">
4561
4695
  <div class="o-section">
@@ -4597,7 +4731,7 @@
4597
4731
  <button
4598
4732
  t-if="!link.url"
4599
4733
  t-on-click.stop="openMenu"
4600
- class="o-special-link o-button-icon"
4734
+ class="o-special-link o-button-icon bg-white"
4601
4735
  t-ref="linkEditorMenuButton">
4602
4736
  <t t-call="o-spreadsheet-Icon.LIST"/>
4603
4737
  </button>
@@ -4620,7 +4754,7 @@
4620
4754
  </t>
4621
4755
 
4622
4756
  <t t-name="o-spreadsheet-LinkDisplay">
4623
- <div class="o-link-tool d-flex align-items-center">
4757
+ <div class="o-link-tool d-flex align-items-center bg-white">
4624
4758
  <!-- t-key to prevent owl from re-using the previous img element when the link changes.
4625
4759
  The wrong/previous image would be displayed while the new one loads -->
4626
4760
  <img
@@ -5410,6 +5544,11 @@
5410
5544
  <i class="fa fa-search"/>
5411
5545
  </div>
5412
5546
  </t>
5547
+ <t t-name="o-spreadsheet-Icon.ZOOM">
5548
+ <div class="o-icon">
5549
+ <i class="fa fa-search-plus"/>
5550
+ </div>
5551
+ </t>
5413
5552
  <t t-name="o-spreadsheet-Icon.CHECK">
5414
5553
  <svg class="o-icon" viewBox="0 0 24 24">
5415
5554
  <path
@@ -5608,6 +5747,7 @@
5608
5747
  <div class="o-icon">
5609
5748
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 224 256">
5610
5749
  <path
5750
+ fill="currentColor"
5611
5751
  d="M201.4 342.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 274.7 86.6 137.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"
5612
5752
  transform="translate(0, 9) scale(0.5,0.5)"
5613
5753
  />
@@ -5711,9 +5851,14 @@
5711
5851
  />
5712
5852
  </svg>
5713
5853
  </t>
5854
+ <t t-name="o-spreadsheet-Icon.DARK_MODE">
5855
+ <div class="o-icon">
5856
+ <i class="fa fa-moon-o"/>
5857
+ </div>
5858
+ </t>
5714
5859
 
5715
5860
  <t t-name="o-spreadsheet-IconPicker">
5716
- <div class="o-icon-picker">
5861
+ <div class="o-icon-picker bg-white">
5717
5862
  <t t-foreach="iconSets" t-as="iconSet" t-key="iconSet">
5718
5863
  <div class="o-cf-icon-line">
5719
5864
  <div
@@ -5873,7 +6018,7 @@
5873
6018
 
5874
6019
  <t t-name="o-spreadsheet-RowResizer">
5875
6020
  <div
5876
- class="o-row-resizer"
6021
+ class="o-row-resizer o-zoomable"
5877
6022
  t-ref="rowResizer"
5878
6023
  t-on-pointermove.self="onMouseMove"
5879
6024
  t-on-mouseleave="onMouseLeave"
@@ -5917,7 +6062,7 @@
5917
6062
 
5918
6063
  <t t-name="o-spreadsheet-ColResizer">
5919
6064
  <div
5920
- class="o-col-resizer d-flex"
6065
+ class="o-col-resizer d-flex o-zoomable"
5921
6066
  t-ref="colResizer"
5922
6067
  t-on-pointermove.self="onMouseMove"
5923
6068
  t-on-mouseleave="onMouseLeave"
@@ -6076,7 +6221,7 @@
6076
6221
  </div>
6077
6222
  <div
6078
6223
  t-ref="gridOverlay"
6079
- class="o-grid-overlay overflow-hidden"
6224
+ class="o-grid-overlay overflow-hidden o-zoomable"
6080
6225
  t-att-class="{'o-paint-format-cursor': isPaintingFormat}"
6081
6226
  t-att-style="style"
6082
6227
  t-on-pointerdown="onPointerDown"
@@ -6121,7 +6266,7 @@
6121
6266
 
6122
6267
  <t t-name="o-spreadsheet-Grid">
6123
6268
  <div
6124
- class="o-grid w-100 h-100"
6269
+ class="o-grid w-100 h-100 o-zoomable"
6125
6270
  tabindex="-1"
6126
6271
  composerFocusableElement="true"
6127
6272
  t-on-click="focusDefaultElement"
@@ -6222,40 +6367,17 @@
6222
6367
  </t>
6223
6368
 
6224
6369
  <t t-name="o-spreadsheet-FontSizeEditor">
6225
- <div class="o-dropdown" t-ref="FontSizeEditor">
6226
- <div
6227
- class=" o-font-size-editor d-flex align-items-center"
6228
- t-att-class="props.class"
6229
- title="Font Size"
6230
- t-on-click="this.toggleFontList">
6231
- <input
6232
- type="number"
6233
- min="1"
6234
- max="400"
6235
- class="o-font-size o-number-input bg-transparent border-0"
6236
- t-on-keydown="onInputKeydown"
6237
- t-on-wheel.prevent.stop=""
6238
- t-on-click.stop="props.onFocusInput"
6239
- t-on-focus.stop="onInputFocused"
6240
- t-on-change="setSizeFromInput"
6241
- t-ref="inputFontSize"
6242
- />
6243
- <span>
6244
- <t t-call="o-spreadsheet-Icon.CARET_DOWN"/>
6245
- </span>
6246
- </div>
6247
- <Popover t-if="dropdown.isOpen" t-props="popoverProps">
6248
- <div class="o-text-options bg-white" t-on-click.stop="" t-ref="fontSizeList">
6249
- <t t-foreach="fontSizes" t-as="fontSize" t-key="fontSize">
6250
- <div
6251
- t-esc="fontSize"
6252
- t-att-data-size="fontSize"
6253
- t-on-click="() => this.setSizeFromList(fontSize)"
6254
- />
6255
- </t>
6256
- </div>
6257
- </Popover>
6258
- </div>
6370
+ <NumberEditor
6371
+ currentValue="props.currentFontSize"
6372
+ onValueChange="props.onFontSizeChanged"
6373
+ class="props.class"
6374
+ onToggle="props.onToggle"
6375
+ onFocusInput="props.onFocusInput"
6376
+ min="1"
6377
+ max="400"
6378
+ valueList="fontSizes"
6379
+ title.translate="Font Size"
6380
+ />
6259
6381
  </t>
6260
6382
 
6261
6383
  <t t-name="o-spreadsheet-FilterMenuValueList">
@@ -6320,8 +6442,9 @@
6320
6442
  name="value.toString()"
6321
6443
  value="this.props.isChecked"
6322
6444
  onChange="this.props.onClick"
6323
- className="'p-2 w-100 pe-auto text-truncate'"
6445
+ className="'p-2 w-100 pe-auto'"
6324
6446
  label="value.toString()"
6447
+ title="value.toString()"
6325
6448
  />
6326
6449
  </div>
6327
6450
  </t>
@@ -6710,7 +6833,7 @@
6710
6833
  </t>
6711
6834
 
6712
6835
  <t t-name="o-spreadsheet-ErrorToolTip">
6713
- <div class="o-error-tooltip">
6836
+ <div class="o-error-tooltip bg-white">
6714
6837
  <t t-if="evaluationError">
6715
6838
  <div class="o-error-tooltip-title fw-bold text-danger">Error</div>
6716
6839
  <div class="o-error-tooltip-message">
@@ -6848,24 +6971,15 @@
6848
6971
  <t t-name="o-spreadsheet-FunctionDescriptionProvider">
6849
6972
  <div class="o-formula-assistant-container user-select-none shadow">
6850
6973
  <t t-set="context" t-value="getContext()"/>
6851
- <div class="o-formula-assistant" t-if="context.functionDescription.name">
6974
+ <div class="o-formula-assistant bg-white" t-if="context.functionDescription.name">
6852
6975
  <div class="o-formula-assistant-head d-flex flex-row justify-content-between">
6853
6976
  <div>
6854
- <span t-esc="context.functionDescription.name"/>
6855
- (
6856
- <t t-foreach="context.functionDescription.args" t-as="arg" t-key="arg.name">
6857
- <span t-if="arg_index > '0'" t-esc="formulaArgSeparator"/>
6977
+ <t t-foreach="formulaHeaderContent" t-as="part" t-key="part_index">
6858
6978
  <span
6859
- t-att-class="{ 'o-formula-assistant-focus': context.argsToFocus.includes(arg_index) }">
6860
- <span>
6861
- <span t-if="arg.optional || arg.repeating || arg.default">[</span>
6862
- <span t-esc="arg.name"/>
6863
- <span t-if="arg.repeating">, ...</span>
6864
- <span t-if="arg.optional || arg.repeating || arg.default">]</span>
6865
- </span>
6866
- </span>
6979
+ t-esc="part.content"
6980
+ t-att-class="part.focused ? 'o-formula-assistant-focus' : ''"
6981
+ />
6867
6982
  </t>
6868
- )
6869
6983
  </div>
6870
6984
  <div
6871
6985
  class="collapsor px-2 d-flex align-items-center rounded"
@@ -6883,22 +6997,29 @@
6883
6997
  <div t-esc="context.functionDescription.description"/>
6884
6998
  </div>
6885
6999
 
7000
+ <t
7001
+ t-set="firstRepeatableGroupOptional"
7002
+ t-value="context.functionDescription.args.some(arg => arg.repeating and arg.optional)"
7003
+ />
7004
+
6886
7005
  <t t-foreach="context.functionDescription.args" t-as="arg" t-key="arg.name">
6887
7006
  <div
6888
7007
  class="o-formula-assistant-arg p-3 pt-0 display-flex flex-column"
6889
- t-att-class="{
6890
- 'o-formula-assistant-gray': context.argsToFocus.length > 0,
6891
- 'o-formula-assistant-focus': context.argsToFocus.includes(arg_index),
6892
- }">
6893
- <div>
6894
- <span t-esc="arg.name"/>
7008
+ t-att-class="{'o-formula-assistant-gray': context.argsToFocus.length > 0}">
7009
+ <div
7010
+ t-att-class="{'o-formula-assistant-focus': context.argsToFocus.includes(arg_index)}">
7011
+ <span t-if="arg.repeating">
7012
+ <span t-esc="arg.name + (context.repeatingArgGroupIndex + 1)"/>
7013
+ </span>
7014
+ <span t-else="">
7015
+ <span t-esc="arg.name"/>
7016
+ </span>
6895
7017
  <span
6896
- t-if="arg.optional || arg.repeating || arg.default ">&#xA0;- [optional]&#xA0;</span>
7018
+ t-if="arg.optional || arg.default || (arg.repeating and (firstRepeatableGroupOptional or context.repeatingArgGroupIndex > 0))">&#xA0;- [optional]&#xA0;</span>
6897
7019
  <span t-if="arg.default">
6898
7020
  <span>default:&#xA0;</span>
6899
7021
  <t t-esc="arg.defaultValue"/>
6900
7022
  </span>
6901
- <span t-if="arg.repeating">repeatable</span>
6902
7023
  </div>
6903
7024
  <div class="o-formula-assistant-arg-description" t-esc="arg.description"/>
6904
7025
  </div>
@@ -6969,13 +7090,14 @@
6969
7090
  t-on-click="closeAssistant"
6970
7091
  class="fa-stack position-absolute top-0 start-100 translate-middle fs-4">
6971
7092
  <i class="fa fa-circle fa-stack-1x fa-inverse"/>
6972
- <i class="fa fa-times-circle fa-stack-1x text-muted"/>
7093
+ <i class="fa fa-times-circle fa-stack-1x"/>
6973
7094
  </span>
6974
7095
  <div class="o-composer-assistant overflow-auto" t-att-style="assistantStyle">
6975
7096
  <FunctionDescriptionProvider
6976
7097
  t-if="functionDescriptionState.showDescription"
6977
7098
  functionDescription="functionDescriptionState.functionDescription"
6978
7099
  argsToFocus="functionDescriptionState.argsToFocus"
7100
+ repeatingArgGroupIndex="functionDescriptionState.repeatingArgGroupIndex"
6979
7101
  />
6980
7102
  <div
6981
7103
  t-if="functionDescriptionState.showDescription and autoCompleteProposals.length"
@@ -7002,7 +7124,7 @@
7002
7124
  <div
7003
7125
  t-ref="autoCompleteList"
7004
7126
  t-att-class="{
7005
- 'o-autocomplete-dropdown': props.proposals.length}">
7127
+ 'o-autocomplete-dropdown bg-white': props.proposals.length}">
7006
7128
  <t t-foreach="props.proposals" t-as="proposal" t-key="proposal.text + proposal_index">
7007
7129
  <div
7008
7130
  class="d-flex flex-column text-start"
@@ -7055,7 +7177,7 @@
7055
7177
 
7056
7178
  <t t-name="o-spreadsheet-ColorPicker">
7057
7179
  <Popover t-props="popoverProps">
7058
- <div class="o-color-picker" t-on-click.stop="" t-att-style="colorPickerStyle">
7180
+ <div class="o-color-picker bg-white" t-on-click.stop="" t-att-style="colorPickerStyle">
7059
7181
  <div class="o-color-picker-section-name">Standard</div>
7060
7182
  <div class="colors-grid">
7061
7183
  <div
@@ -7081,7 +7203,7 @@
7081
7203
  <span>Custom</span>
7082
7204
  </div>
7083
7205
  <div class="colors-grid o-color-picker-toggler" t-on-click.stop="toggleColorPicker">
7084
- <div class="o-color-picker-line-item o-color-picker-toggler-button">
7206
+ <div class="o-color-picker-line-item bg-white o-color-picker-toggler-button">
7085
7207
  <div class="o-color-picker-toggler-sign">
7086
7208
  <t t-call="o-spreadsheet-Icon.PLUS"/>
7087
7209
  </div>
@@ -7338,7 +7460,7 @@
7338
7460
  <t t-set="border_color">Border Color</t>
7339
7461
  <Popover t-props="popoverProps">
7340
7462
  <div
7341
- class="d-flex o-border-selector"
7463
+ class="d-flex o-border-selector bg-white"
7342
7464
  t-on-click.stop=""
7343
7465
  t-att-class="props.class ? props.class : ''">
7344
7466
  <div class="o-border-selector-section">
@@ -7387,7 +7509,7 @@
7387
7509
  <Popover
7388
7510
  t-props="lineStylePickerPopoverProps"
7389
7511
  t-if="state.activeTool === 'borderTypeTool'">
7390
- <div class="o-border-style-dropdown">
7512
+ <div class="o-border-style-dropdown bg-white">
7391
7513
  <t t-foreach="borderStyles" t-as="borderStyle" t-key="borderStyle">
7392
7514
  <div
7393
7515
  t-att-title="borderStyle"