@odoo/o-spreadsheet 19.1.0-alpha.11 → 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.11
5
- @date 2025-11-03T12:35:22.290Z
6
- @hash d9230f3
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"
@@ -206,7 +206,7 @@
206
206
  class="props.class"
207
207
  />
208
208
  <Popover t-if="isActive" t-props="popoverProps">
209
- <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="">
210
210
  <div class="o-dropdown-line">
211
211
  <t t-foreach="props.childActions" t-as="action" t-key="action_index">
212
212
  <ActionButton action="action" class="props.childClass"/>
@@ -248,7 +248,7 @@
248
248
  <t t-name="o-spreadsheet-TableStylesPopover">
249
249
  <Popover t-if="props.popoverProps" t-props="props.popoverProps">
250
250
  <div
251
- 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"
252
252
  t-ref="tableStyleList"
253
253
  t-on-contextmenu.prevent="">
254
254
  <div class="d-flex o-notebook ps-4 mb-3">
@@ -297,7 +297,7 @@
297
297
  <canvas t-ref="canvas" class="w-100 h-100"/>
298
298
  </div>
299
299
  <div
300
- class="o-table-style-edit-button position-absolute d-none"
300
+ class="o-table-style-edit-button position-absolute d-none bg-white"
301
301
  t-if="isStyleEditable"
302
302
  t-on-click="this.editTableStyle"
303
303
  title="Edit custom table style">
@@ -369,7 +369,7 @@
369
369
  <t t-name="o-spreadsheet-Spreadsheet">
370
370
  <div
371
371
  class="o-spreadsheet h-100 w-100"
372
- t-att-class="{'o-spreadsheet-mobile': env.isSmall}"
372
+ t-att-class="getSpreadSheetClasses()"
373
373
  t-ref="spreadsheet"
374
374
  t-att-style="getStyle()">
375
375
  <t t-if="env.isDashboard()">
@@ -411,7 +411,7 @@
411
411
  <RibbonMenu onClose="() => this.menuState.isOpen=false"/>
412
412
  </t>
413
413
  <t t-else="">
414
- <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">
415
415
  <div class="w-100" t-ref="bottombarComposer">
416
416
  <Composer t-props="composerProps"/>
417
417
  <span
@@ -690,7 +690,7 @@
690
690
  </t>
691
691
 
692
692
  <t t-name="o-spreadsheet-SidePanelExtended">
693
- <div class="o-sidePanel h-100">
693
+ <div class="o-sidePanel h-100 bg-white">
694
694
  <div class="o-sidePanelHeader d-flex align-items-center justify-content-between">
695
695
  <div
696
696
  t-if="props.onToggleCollapsePanel"
@@ -735,7 +735,9 @@
735
735
  </t>
736
736
 
737
737
  <t t-name="o-spreadsheet-SidePanelCollapsed">
738
- <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">
739
741
  <div class="d-flex flex-column align-items-center">
740
742
  <div
741
743
  t-if="props.onToggleCollapsePanel"
@@ -972,24 +974,22 @@
972
974
  <div class="row mb-2 align-items-center">
973
975
  <div class="col-6">Max rows:</div>
974
976
  <div class="col-6 d-flex align-items-center">
975
- <input
976
- t-att-value="pivotStyle.numberOfRows ?? ''"
977
- type="number"
978
- class="o-pivot-n-of-rows o-input"
979
- placeholder="e.g. 10"
980
- 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')"
981
982
  />
982
983
  </div>
983
984
  </div>
984
985
  <div class="row mb-2 align-items-center">
985
986
  <div class="col-6">Max columns:</div>
986
987
  <div class="col-6 d-flex align-items-center">
987
- <input
988
- t-att-value="pivotStyle.numberOfColumns ?? ''"
989
- type="number"
990
- class="o-pivot-n-of-columns o-input"
991
- placeholder="e.g. 5"
992
- 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')"
993
993
  />
994
994
  </div>
995
995
  </div>
@@ -1321,7 +1321,7 @@
1321
1321
 
1322
1322
  <t t-name="o-spreadsheet-PivotDimension">
1323
1323
  <div
1324
- 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"
1325
1325
  t-att-class="{'pivot-dimension-invalid': !props.dimension.isValid}">
1326
1326
  <div class="d-flex flex-row justify-content-between align-items-center">
1327
1327
  <div class="d-flex align-items-center overflow-hidden text-nowrap">
@@ -1354,7 +1354,7 @@
1354
1354
  <button class="add-dimension o-button" t-on-click="togglePopover" t-ref="button">Add</button>
1355
1355
  <Popover t-if="popover.isOpen" t-props="popoverProps">
1356
1356
  <div
1357
- 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">
1358
1358
  <i class="pe-1 pivot-dimension-search-field-icon text-muted">
1359
1359
  <t t-call="o-spreadsheet-Icon.SEARCH"/>
1360
1360
  </i>
@@ -1445,7 +1445,7 @@
1445
1445
  t-key="action.name(env)"
1446
1446
  t-att-data-name="action.name(env)"
1447
1447
  t-on-click="() => action.execute(env)"
1448
- 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">
1449
1449
  <span class="ms-3 check-icon">
1450
1450
  <t t-if="action.isActive(env)" t-call="o-spreadsheet-Icon.CHECK"/>
1451
1451
  </span>
@@ -1932,7 +1932,8 @@
1932
1932
  <t t-call="o-spreadsheet-Icon.THIN_DRAG_HANDLE"/>
1933
1933
  </div>
1934
1934
  <t t-if="cf.rule.type==='IconSetRule'">
1935
- <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">
1936
1937
  <t t-call="o-spreadsheet-Icon.{{icons[cf.rule.icons.upper].template}}"/>
1937
1938
  <t t-call="o-spreadsheet-Icon.{{icons[cf.rule.icons.middle].template}}"/>
1938
1939
  <t t-call="o-spreadsheet-Icon.{{icons[cf.rule.icons.lower].template}}"/>
@@ -1941,7 +1942,7 @@
1941
1942
  <t t-else="">
1942
1943
  <div
1943
1944
  t-att-style="getPreviewImageStyle(cf.rule)"
1944
- 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">
1945
1946
  123
1946
1947
  </div>
1947
1948
  </t>
@@ -2191,7 +2192,7 @@
2191
2192
  <t t-name="o-spreadsheet-ColorScaleRuleEditor">
2192
2193
  <div class="o-cf-color-scale-editor">
2193
2194
  <div class="o-section-subtitle">Preview</div>
2194
- <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()}}">
2195
2196
  Preview text
2196
2197
  </div>
2197
2198
  <div class="o-section-subtitle">Minpoint</div>
@@ -2463,7 +2464,7 @@
2463
2464
  t-att-class="{'text-muted': props.disabled }"
2464
2465
  t-attf-class="{{props.className}}">
2465
2466
  <input
2466
- class="me-2"
2467
+ class="me-2 flex-shrink-0"
2467
2468
  type="checkbox"
2468
2469
  t-att-disabled="props.disabled"
2469
2470
  t-att-name="props.name"
@@ -2471,7 +2472,7 @@
2471
2472
  t-on-change="onChange"
2472
2473
  t-on-click.stop=""
2473
2474
  />
2474
- <t t-if="props.label" t-esc="props.label"/>
2475
+ <span class="text-truncate" t-if="props.label" t-esc="props.label"/>
2475
2476
  </label>
2476
2477
  </t>
2477
2478
 
@@ -3471,7 +3472,7 @@
3471
3472
  <Popover t-if="state.popoverProps" t-props="state.popoverProps">
3472
3473
  <div
3473
3474
  t-ref="popoverRef"
3474
- class="o-chart-select-popover px-3 pb-4"
3475
+ class="o-chart-select-popover px-3 pb-4 bg-white"
3475
3476
  t-att-style="state.popoverStyle">
3476
3477
  <t t-foreach="categories" t-as="category" t-key="category">
3477
3478
  <t t-if="chartTypeByCategories[category]">
@@ -3499,148 +3500,192 @@
3499
3500
 
3500
3501
  <t t-name="o-spreadsheet-ChartPreview.LINE_CHART">
3501
3502
  <svg viewBox="0 0 48 48" class="o-chart-preview" xmlns="http://www.w3.org/2000/svg">
3502
- <path fill="#444" d="M2,2 v44 h1 v-44 M3,45 h42 v1 h-42"/>
3503
- <path stroke="#eb6d00" style="fill:none" d="M6,40 l12,-12 l6,6 l18,-18"/>
3504
- <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
+ />
3505
3514
  </svg>
3506
3515
  </t>
3507
3516
  <t t-name="o-spreadsheet-ChartPreview.STACKED_LINE_CHART">
3508
3517
  <svg viewBox="0 0 48 48" class="o-chart-preview" xmlns="http://www.w3.org/2000/svg">
3509
- <path stroke="#0074d9" style="fill:none" d="M3,30 l12,-12 l6,6 l18,-18"/>
3510
- <path stroke="#eb6d00" style="fill:none" d="M3,40 l12,-12 l6,6 l18,-12"/>
3511
- <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"/>
3512
3529
  </svg>
3513
3530
  </t>
3514
3531
  <t t-name="o-spreadsheet-ChartPreview.AREA_CHART">
3515
3532
  <svg viewBox="0 0 48 48" class="o-chart-preview" xmlns="http://www.w3.org/2000/svg">
3516
- <path fill="#c4e4ff" d="M3,45 V25 l12,-12 l18,18 l6,-6 V45"/>
3517
- <path fill="#ffe1c8" d="M3,45 V40 l12,-12 l6,6 l18,-18 V45"/>
3518
- <path stroke="#eb6d00" style="fill:none" d="M3,40 l12,-12 l6,6 l18,-18"/>
3519
- <path stroke="#0074d9" style="fill:none" d="M3,25 l12,-12 l18,18 l6,-6"/>
3520
- <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"/>
3521
3546
  </svg>
3522
3547
  </t>
3523
3548
  <t t-name="o-spreadsheet-ChartPreview.STACKED_AREA_CHART">
3524
3549
  <svg viewBox="0 0 48 48" class="o-chart-preview" xmlns="http://www.w3.org/2000/svg">
3525
- <path fill="#c4e4ff" d="M3,45 h36 v-39 l-18,18 l-6,-6 l-12,12"/>
3526
- <path stroke="#0074d9" style="fill:none" d="M3,30 l12,-12 l6,6 l18,-18"/>
3527
- <path fill="#ffe1c8" d="M3,45 h36 v-23 l-18,12 l-6,-6 l-12,12"/>
3528
- <path stroke="#eb6d00" style="fill:none" d="M3,40 l12,-12 l6,6 l18,-12"/>
3529
- <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"/>
3530
3563
  </svg>
3531
3564
  </t>
3532
3565
  <t t-name="o-spreadsheet-ChartPreview.COLUMN_CHART">
3533
3566
  <svg viewBox="0 0 48 48" class="o-chart-preview" xmlns="http://www.w3.org/2000/svg">
3534
- <path fill="#0074d9" d="M7,45 v-28 h6 v28"/>
3535
- <path fill="#c4e4ff" d="M8,45 v-27 h4 v27"/>
3536
- <path fill="#eb6d00" d="M14,45 v-14 h6 v14"/>
3537
- <path fill="#ffe1c8" d="M15,45 v-13 h4 v13"/>
3538
- <path fill="#0074d9" d="M26,45 v-22 h6 v22"/>
3539
- <path fill="#c4e4ff" d="M27,45 v-21 h4 v21"/>
3540
- <path fill="#eb6d00" d="M33,45 v-32 h6 v32"/>
3541
- <path fill="#ffe1c8" d="M34,45 v-31 h4 v31"/>
3542
- <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"/>
3543
3576
  </svg>
3544
3577
  </t>
3545
3578
  <t t-name="o-spreadsheet-ChartPreview.STACKED_COLUMN_CHART">
3546
3579
  <svg viewBox="0 0 48 48" class="o-chart-preview" xmlns="http://www.w3.org/2000/svg">
3547
- <path fill="#0074d9" d="M7,45 v-12 h8 v12"/>
3548
- <path fill="#c4e4ff" d="M8,45 v-11 h6 v11"/>
3549
- <path fill="#eb6d00" d="M7,33 v-14 h8 v14"/>
3550
- <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"/>
3551
3584
 
3552
- <path fill="#0074d9" d="M20,45 v-8 h8 v8"/>
3553
- <path fill="#c4e4ff" d="M21,45 v-7 h6 v7"/>
3554
- <path fill="#eb6d00" d="M20,37 v-9 h8 v9"/>
3555
- <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"/>
3556
3589
 
3557
- <path fill="#0074d9" d="M33,45 v-18 h8 v18"/>
3558
- <path fill="#c4e4ff" d="M34,45 v-17 h6 v17"/>
3559
- <path fill="#eb6d00" d="M33,27 v-16 h8 v16"/>
3560
- <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"/>
3561
3594
 
3562
- <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"/>
3563
3596
  </svg>
3564
3597
  </t>
3565
3598
  <t t-name="o-spreadsheet-ChartPreview.BAR_CHART">
3566
3599
  <svg viewBox="0 0 48 48" class="o-chart-preview" xmlns="http://www.w3.org/2000/svg">
3567
3600
  <g transform="matrix(0 1 -1 0 48 3)">
3568
- <path fill="#0074d9" d="M7,45 v-28 h6 v28"/>
3569
- <path fill="#c4e4ff" d="M8,45 v-27 h4 v27"/>
3570
- <path fill="#eb6d00" d="M14,45 v-14 h6 v14"/>
3571
- <path fill="#ffe1c8" d="M15,45 v-13 h4 v13"/>
3572
- <path fill="#0074d9" d="M26,45 v-22 h6 v22"/>
3573
- <path fill="#c4e4ff" d="M27,45 v-21 h4 v21"/>
3574
- <path fill="#eb6d00" d="M33,45 v-32 h6 v32"/>
3575
- <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"/>
3576
3609
  </g>
3577
- <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"/>
3578
3611
  </svg>
3579
3612
  </t>
3580
3613
  <t t-name="o-spreadsheet-ChartPreview.STACKED_BAR_CHART">
3581
3614
  <svg viewBox="0 0 48 48" class="o-chart-preview" xmlns="http://www.w3.org/2000/svg">
3582
3615
  <g transform="matrix(0 1 -1 0 48 1)">
3583
- <path fill="#0074d9" d="M7,45 v-12 h8 v12"/>
3584
- <path fill="#c4e4ff" d="M8,45 v-11 h6 v11"/>
3585
- <path fill="#eb6d00" d="M7,33 v-14 h8 v14"/>
3586
- <path fill="#ffe1c8" d="M8,33 v-13 h6 v13"/>
3587
- <path fill="#0074d9" d="M20,45 v-8 h8 v8"/>
3588
- <path fill="#c4e4ff" d="M21,45 v-7 h6 v7"/>
3589
- <path fill="#eb6d00" d="M20,37 v-9 h8 v9"/>
3590
- <path fill="#ffe1c8" d="M21,37 v-8 h6 v8"/>
3591
- <path fill="#0074d9" d="M33,45 v-18 h8 v18"/>
3592
- <path fill="#c4e4ff" d="M34,45 v-17 h6 v17"/>
3593
- <path fill="#eb6d00" d="M33,27 v-16 h8 v16"/>
3594
- <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"/>
3595
3628
  </g>
3596
- <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"/>
3597
3630
  </svg>
3598
3631
  </t>
3599
3632
  <t t-name="o-spreadsheet-ChartPreview.COMBO_CHART">
3600
3633
  <svg viewBox="0 0 48 48" class="o-chart-preview" xmlns="http://www.w3.org/2000/svg">
3601
- <path fill="#0074d9" d="M7,45 v-14 h6 v14"/>
3602
- <path fill="#c4e4ff" d="M8,45 v-13 h4 v13"/>
3603
- <path fill="#eb6d00" d="M14,45 v-28 h6 v28"/>
3604
- <path fill="#ffe1c8" d="M15,45 v-27 h4 v27"/>
3605
- <path fill="#0074d9" d="M26,45 v-22 h6 v22"/>
3606
- <path fill="#c4e4ff" d="M27,45 v-21 h4 v21"/>
3607
- <path fill="#eb6d00" d="M33,45 v-32 h6 v32"/>
3608
- <path fill="#ffe1c8" d="M34,45 v-31 h4 v31"/>
3609
- <path stroke="#888" style="fill:none;stroke-width:1.5;" d="M4,40 l14,-12 l6,6 l20,-18"/>
3610
- <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"/>
3611
3648
  </svg>
3612
3649
  </t>
3613
3650
  <t t-name="o-spreadsheet-ChartPreview.PIE_CHART">
3614
3651
  <svg viewBox="0 0 48 48" class="o-chart-preview" xmlns="http://www.w3.org/2000/svg">
3615
- <path fill="#ffe1c8" stroke="#eb6d00" d="M41.32, 34 A20 20, 0, 1, 1, 24, 4 v20"/>
3616
- <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
+ />
3617
3662
  </svg>
3618
3663
  </t>
3619
3664
  <t t-name="o-spreadsheet-ChartPreview.DOUGHNUT_CHART">
3620
3665
  <svg viewBox="0 0 48 48" class="o-chart-preview" xmlns="http://www.w3.org/2000/svg">
3621
3666
  <path
3622
- fill="#ffe1c8"
3623
- stroke="#eb6d00"
3667
+ fill="var(--os-chart-preview-orange-fill)"
3668
+ stroke="var(--os-chart-preview-orange-line)"
3624
3669
  d="M41.32, 34 A20 20, 0, 1, 1, 24, 4 v8 A12,12,0,1,0,34.4,30"
3625
3670
  />
3626
3671
  <path
3627
- fill="#c4e4ff"
3628
- stroke="#0074d9"
3672
+ fill="var(--os-chart-preview-blue-fill)"
3673
+ stroke="var(--os-chart-preview-blue-line)"
3629
3674
  d="M24,12 v-8 A20 20, 0, 0, 1, 41.32, 34 L34.4,30 A12,12,0,0,0,24,12"
3630
3675
  />
3631
3676
  </svg>
3632
3677
  </t>
3633
3678
  <t t-name="o-spreadsheet-ChartPreview.SCATTER_CHART">
3634
3679
  <svg viewBox="0 0 48 48" class="o-chart-preview" xmlns="http://www.w3.org/2000/svg">
3635
- <circle fill="#0074d9" cx="10" cy="10" r="2"/>
3636
- <circle fill="#0074d9" cx="15" cy="30" r="2"/>
3637
- <circle fill="#0074d9" cx="25" cy="36" r="2"/>
3638
- <circle fill="#0074d9" cx="32" cy="15" r="2"/>
3639
- <circle fill="#eb6d00" cx="10" cy="40" r="2"/>
3640
- <circle fill="#eb6d00" cx="18" cy="20" r="2"/>
3641
- <circle fill="#eb6d00" cx="30" cy="25" r="2"/>
3642
- <circle fill="#eb6d00" cx="40" cy="33" r="2"/>
3643
- <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"/>
3644
3689
  </svg>
3645
3690
  </t>
3646
3691
  <t t-name="o-spreadsheet-ChartPreview.GAUGE_CHART">
@@ -3648,9 +3693,9 @@
3648
3693
  viewBox="0 0 48 48"
3649
3694
  class="o-chart-preview user-select-none"
3650
3695
  xmlns="http://www.w3.org/2000/svg">
3651
- <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"/>
3652
3697
  <path fill="#6aa84f" d="M2,32 A22,22,0,0,1,35,13 L32,18.2 A16,16,0,0,0,8,32"/>
3653
- <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>
3654
3699
  </svg>
3655
3700
  </t>
3656
3701
  <t t-name="o-spreadsheet-ChartPreview.SCORECARD_CHART">
@@ -3658,61 +3703,72 @@
3658
3703
  viewBox="0 0 48 48"
3659
3704
  class="o-chart-preview user-select-none"
3660
3705
  xmlns="http://www.w3.org/2000/svg">
3661
- <path fill="#ddd" d="M1,8 h46 v32 h-46"/>
3662
- <path fill="#eee" d="M2,9 h44 v30 h-44"/>
3663
- <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>
3664
3709
  </svg>
3665
3710
  </t>
3666
3711
  <t t-name="o-spreadsheet-ChartPreview.WATERFALL_CHART">
3667
3712
  <svg viewBox="0 0 48 48" class="o-chart-preview" xmlns="http://www.w3.org/2000/svg">
3668
- <path fill="#444" d="M5,45 v-26 h6 v26"/>
3669
- <path fill="#fff" d="M6,45 v-25 h4 v25"/>
3670
- <path fill="#eb6d00" d="M13,19 v7 h6 v-7"/>
3671
- <path fill="#ffe1c8" d="M14,20 v5 h4 v-5"/>
3672
- <path fill="#eb6d00" d="M21,25 v10 h6 v-10"/>
3673
- <path fill="#ffe1c8" d="M22,26 v8 h4 v-8"/>
3674
- <path fill="#0074d9" d="M29,35 v-24 h6 v24"/>
3675
- <path fill="#c4e4ff" d="M30,34 v-22 h4 v22"/>
3676
- <path fill="#444" d="M37,45 v-34 h6 v34"/>
3677
- <path fill="#fff" d="M38,45 v-33 h4 v33"/>
3678
- <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"/>
3679
- <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"/>
3680
3728
  </svg>
3681
3729
  </t>
3682
3730
  <t t-name="o-spreadsheet-ChartPreview.POPULATION_PYRAMID_CHART">
3683
3731
  <svg viewBox="0 0 48 48" class="o-chart-preview" xmlns="http://www.w3.org/2000/svg">
3684
- <path fill="#eb6d00" d="M23,43 v-6 h22 v6"/>
3685
- <path fill="#ffe1c8" d="M23,42 v-4 h21 v4"/>
3686
- <path fill="#eb6d00" d="M23,36 v-6 h18 v6"/>
3687
- <path fill="#ffe1c8" d="M23,35 v-4 h17 v4"/>
3688
- <path fill="#eb6d00" d="M23,29 v-6 h12 v6"/>
3689
- <path fill="#ffe1c8" d="M23,28 v-4 h11 v4"/>
3690
- <path fill="#eb6d00" d="M23,22 v-6 h8 v6"/>
3691
- <path fill="#ffe1c8" d="M23,21 v-4 h7 v4"/>
3692
- <path fill="#eb6d00" d="M23,15 v-6 h4 v6"/>
3693
- <path fill="#ffe1c8" d="M23,14 v-4 h3 v4"/>
3694
-
3695
- <path fill="#0074d9" d="M24,43 v-6 h-20 v6"/>
3696
- <path fill="#c4e4ff" d="M24,42 v-4 h-19 v4"/>
3697
- <path fill="#0074d9" d="M24,36 v-6 h-18 v6"/>
3698
- <path fill="#c4e4ff" d="M24,35 v-4 h-17 v4"/>
3699
- <path fill="#0074d9" d="M24,29 v-6 h-12 v6"/>
3700
- <path fill="#c4e4ff" d="M24,28 v-4 h-11 v4"/>
3701
- <path fill="#0074d9" d="M24,22 v-6 h-6 v6"/>
3702
- <path fill="#c4e4ff" d="M24,21 v-4 h-5 v4"/>
3703
- <path fill="#0074d9" d="M24,15 v-6 h-4 v6"/>
3704
- <path fill="#c4e4ff" d="M24,14 v-4 h-3 v4"/>
3705
-
3706
- <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"/>
3707
3755
  </svg>
3708
3756
  </t>
3709
3757
  <t t-name="o-spreadsheet-ChartPreview.RADAR_CHART">
3710
3758
  <svg viewBox="0 0 48 48" class="o-chart-preview" xmlns="http://www.w3.org/2000/svg">
3711
- <path fill="none" stroke="#0074d9" d="m24 16 14.27 3.36-1.93 21.63-18.22-8.9-3.63-11.18Z"/>
3712
- <path fill="none" stroke="#eb6d00" d="m24 4 7.61 17.53-4.67 6.52-12.34 8.89-7.72-18.5Z"/>
3713
3759
  <path
3714
3760
  fill="none"
3715
- 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)"
3716
3772
  d="M24 2v22l20.92-6.8L24 24l12.93 17.8L24 24 11.07 41.8 24 24 3.08 17.2"
3717
3773
  />
3718
3774
  </svg>
@@ -3720,14 +3776,20 @@
3720
3776
  <t t-name="o-spreadsheet-ChartPreview.FILLED_RADAR_CHART">
3721
3777
  <svg viewBox="0 0 48 48" class="o-chart-preview" xmlns="http://www.w3.org/2000/svg">
3722
3778
  <path
3723
- fill="#0074d944"
3724
- stroke="#0074d9"
3779
+ fill="var(--os-chart-preview-blue-line)"
3780
+ fill-opacity="0.25"
3781
+ stroke="var(--os-chart-preview-blue-line)"
3725
3782
  d="m24 16 14.27 3.36-1.93 21.63-18.22-8.9-3.63-11.18Z"
3726
3783
  />
3727
- <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
+ />
3728
3790
  <path
3729
3791
  fill="none"
3730
- stroke="#444"
3792
+ stroke="var(--os-gray-600)"
3731
3793
  d="M24 2v22l20.92-6.8L24 24l12.93 17.8L24 24 11.07 41.8 24 24 3.08 17.2"
3732
3794
  />
3733
3795
  </svg>
@@ -3740,60 +3802,76 @@
3740
3802
  fill="none"
3741
3803
  stroke-width="0.5"
3742
3804
  stroke-linejoin="round">
3743
- <circle cx="16" cy="16" r="13" fill="#c4e4ff"/>
3805
+ <circle cx="16" cy="16" r="13" fill="var(--os-chart-preview-blue-fill)"/>
3744
3806
  <path
3745
- stroke="#eb6d00"
3746
- fill="#ffe1c8"
3807
+ stroke="var(--os-chart-preview-orange-line)"
3808
+ fill="var(--os-chart-preview-orange-fill)"
3747
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"
3748
3810
  />
3749
3811
  <path
3750
- fill="#ffe1c8"
3812
+ fill="var(--os-chart-preview-orange-fill)"
3751
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
3752
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"
3753
3815
  />
3754
3816
  <path
3755
- stroke="#eb6d00"
3817
+ stroke="var(--os-chart-preview-orange-line)"
3756
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
3757
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"
3758
3820
  />
3759
- <circle cx="16" cy="16" r="13" stroke="#444"/>
3821
+ <circle cx="16" cy="16" r="13" stroke="var(--os-gray-600)"/>
3760
3822
  </svg>
3761
3823
  </t>
3762
3824
  <t t-name="o-spreadsheet-ChartPreview.FUNNEL_CHART">
3763
3825
  <svg viewBox="0 0 48 48" class="o-chart-preview" xmlns="http://www.w3.org/2000/svg">
3764
- <path stroke="#0074d9" fill="#c4e4ff" d="M2.5,6.5 h44 l-5,7 h-34 l-5,-7 h1"/>
3765
- <path stroke="#eb6d00" fill="#ffe1c8" d="M9.5,16.5 h30 l-3,7 h-25 l-3,-7 h1"/>
3766
- <path stroke="#0074d9" fill="#c4e4ff" d="M12.5,26.5 h23 l-8,7 h-7 l-8,-7 h1"/>
3767
- <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
+ />
3768
3846
  </svg>
3769
3847
  </t>
3770
3848
  <t t-name="o-spreadsheet-ChartPreview.SUNBURST_CHART">
3771
3849
  <svg viewBox="0 0 48 48" class="o-chart-preview" xmlns="http://www.w3.org/2000/svg">
3772
3850
  <path
3773
- fill="#ffe1c8"
3774
- stroke="#eb6d00"
3851
+ fill="var(--os-chart-preview-orange-fill)"
3852
+ stroke="var(--os-chart-preview-orange-line)"
3775
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"
3776
3854
  />
3777
3855
  <path
3778
- fill="#c4e4ff"
3779
- stroke="#0074d9"
3856
+ fill="var(--os-chart-preview-blue-fill)"
3857
+ stroke="var(--os-chart-preview-blue-line)"
3780
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"
3781
3859
  />
3782
3860
  </svg>
3783
3861
  </t>
3784
3862
  <t t-name="o-spreadsheet-ChartPreview.TREE_MAP_CHART">
3785
3863
  <svg viewBox="0 0 48 48" class="o-chart-preview" xmlns="http://www.w3.org/2000/svg">
3786
- <path fill="#444" d="M2,4 h44 v5 h-44"/>
3787
- <path fill="#444" d="M2,10 h28 v5 h-28"/>
3788
- <path fill="#444" d="M31,10 h15 v5 h-15"/>
3789
- <path fill="#0074d9" d="M2,16 h28 v14 h-28"/>
3790
- <path fill="#c4e4ff" d="M3,17 h26 v12 h-26"/>
3791
- <path fill="#0074d9" d="M2,31 h15 v12 h-15"/>
3792
- <path fill="#c4e4ff" d="M3,32 h13 v10 h-13"/>
3793
- <path fill="#0074d9" d="M18,31 h12 v12 h-12"/>
3794
- <path fill="#c4e4ff" d="M19,32 h10 v10 h-10"/>
3795
- <path fill="#eb6d00" d="M31,16 h15 v27 h-15"/>
3796
- <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"/>
3797
3875
  </svg>
3798
3876
  </t>
3799
3877
 
@@ -4205,6 +4283,7 @@
4205
4283
  updateStyle.bind="updateAxisTitleStyle"
4206
4284
  name="editor_label"
4207
4285
  style="axisTitleStyle"
4286
+ placeholder.translate="Add a Title"
4208
4287
  defaultStyle="{align: 'center', color: '', fontSize: defaultFontSize}"
4209
4288
  />
4210
4289
  </t>
@@ -4261,7 +4340,7 @@
4261
4340
  <div class="o-section pb-1 pt-0">
4262
4341
  <div class="o-section-title">Carousel Sections</div>
4263
4342
  </div>
4264
- <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">
4265
4344
  <t t-foreach="carouselItems" t-as="item" t-key="getItemId(item)">
4266
4345
  <div
4267
4346
  class="o-carousel-preview border-bottom pe-2 position-relative w-100 d-flex align-items-center"
@@ -4528,7 +4607,10 @@
4528
4607
 
4529
4608
  <t t-name="o-spreadsheet-Menu-Popover">
4530
4609
  <Popover t-if="props.menuItems" t-props="popoverProps">
4531
- <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()">
4532
4614
  <Menu t-props="menuProps"/>
4533
4615
  </div>
4534
4616
  <MenuPopover
@@ -4550,7 +4632,7 @@
4550
4632
  <t t-name="o-spreadsheet-Menu">
4551
4633
  <div
4552
4634
  t-ref="menu"
4553
- class="o-menu"
4635
+ class="o-menu bg-white"
4554
4636
  t-att-style="menuStyle"
4555
4637
  t-on-scroll="props.onScroll"
4556
4638
  t-on-wheel.stop=""
@@ -4607,7 +4689,7 @@
4607
4689
 
4608
4690
  <t t-name="o-spreadsheet-LinkEditor">
4609
4691
  <div
4610
- class="o-link-editor"
4692
+ class="o-link-editor bg-white"
4611
4693
  t-on-click.stop="() => this.menu.isOpen=false"
4612
4694
  t-on-keydown="onKeyDown">
4613
4695
  <div class="o-section">
@@ -4649,7 +4731,7 @@
4649
4731
  <button
4650
4732
  t-if="!link.url"
4651
4733
  t-on-click.stop="openMenu"
4652
- class="o-special-link o-button-icon"
4734
+ class="o-special-link o-button-icon bg-white"
4653
4735
  t-ref="linkEditorMenuButton">
4654
4736
  <t t-call="o-spreadsheet-Icon.LIST"/>
4655
4737
  </button>
@@ -4672,7 +4754,7 @@
4672
4754
  </t>
4673
4755
 
4674
4756
  <t t-name="o-spreadsheet-LinkDisplay">
4675
- <div class="o-link-tool d-flex align-items-center">
4757
+ <div class="o-link-tool d-flex align-items-center bg-white">
4676
4758
  <!-- t-key to prevent owl from re-using the previous img element when the link changes.
4677
4759
  The wrong/previous image would be displayed while the new one loads -->
4678
4760
  <img
@@ -5665,6 +5747,7 @@
5665
5747
  <div class="o-icon">
5666
5748
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 224 256">
5667
5749
  <path
5750
+ fill="currentColor"
5668
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"
5669
5752
  transform="translate(0, 9) scale(0.5,0.5)"
5670
5753
  />
@@ -5768,9 +5851,14 @@
5768
5851
  />
5769
5852
  </svg>
5770
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>
5771
5859
 
5772
5860
  <t t-name="o-spreadsheet-IconPicker">
5773
- <div class="o-icon-picker">
5861
+ <div class="o-icon-picker bg-white">
5774
5862
  <t t-foreach="iconSets" t-as="iconSet" t-key="iconSet">
5775
5863
  <div class="o-cf-icon-line">
5776
5864
  <div
@@ -6354,8 +6442,9 @@
6354
6442
  name="value.toString()"
6355
6443
  value="this.props.isChecked"
6356
6444
  onChange="this.props.onClick"
6357
- className="'p-2 w-100 pe-auto text-truncate'"
6445
+ className="'p-2 w-100 pe-auto'"
6358
6446
  label="value.toString()"
6447
+ title="value.toString()"
6359
6448
  />
6360
6449
  </div>
6361
6450
  </t>
@@ -6744,7 +6833,7 @@
6744
6833
  </t>
6745
6834
 
6746
6835
  <t t-name="o-spreadsheet-ErrorToolTip">
6747
- <div class="o-error-tooltip">
6836
+ <div class="o-error-tooltip bg-white">
6748
6837
  <t t-if="evaluationError">
6749
6838
  <div class="o-error-tooltip-title fw-bold text-danger">Error</div>
6750
6839
  <div class="o-error-tooltip-message">
@@ -6882,7 +6971,7 @@
6882
6971
  <t t-name="o-spreadsheet-FunctionDescriptionProvider">
6883
6972
  <div class="o-formula-assistant-container user-select-none shadow">
6884
6973
  <t t-set="context" t-value="getContext()"/>
6885
- <div class="o-formula-assistant" t-if="context.functionDescription.name">
6974
+ <div class="o-formula-assistant bg-white" t-if="context.functionDescription.name">
6886
6975
  <div class="o-formula-assistant-head d-flex flex-row justify-content-between">
6887
6976
  <div>
6888
6977
  <t t-foreach="formulaHeaderContent" t-as="part" t-key="part_index">
@@ -7001,7 +7090,7 @@
7001
7090
  t-on-click="closeAssistant"
7002
7091
  class="fa-stack position-absolute top-0 start-100 translate-middle fs-4">
7003
7092
  <i class="fa fa-circle fa-stack-1x fa-inverse"/>
7004
- <i class="fa fa-times-circle fa-stack-1x text-muted"/>
7093
+ <i class="fa fa-times-circle fa-stack-1x"/>
7005
7094
  </span>
7006
7095
  <div class="o-composer-assistant overflow-auto" t-att-style="assistantStyle">
7007
7096
  <FunctionDescriptionProvider
@@ -7035,7 +7124,7 @@
7035
7124
  <div
7036
7125
  t-ref="autoCompleteList"
7037
7126
  t-att-class="{
7038
- 'o-autocomplete-dropdown': props.proposals.length}">
7127
+ 'o-autocomplete-dropdown bg-white': props.proposals.length}">
7039
7128
  <t t-foreach="props.proposals" t-as="proposal" t-key="proposal.text + proposal_index">
7040
7129
  <div
7041
7130
  class="d-flex flex-column text-start"
@@ -7088,7 +7177,7 @@
7088
7177
 
7089
7178
  <t t-name="o-spreadsheet-ColorPicker">
7090
7179
  <Popover t-props="popoverProps">
7091
- <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">
7092
7181
  <div class="o-color-picker-section-name">Standard</div>
7093
7182
  <div class="colors-grid">
7094
7183
  <div
@@ -7114,7 +7203,7 @@
7114
7203
  <span>Custom</span>
7115
7204
  </div>
7116
7205
  <div class="colors-grid o-color-picker-toggler" t-on-click.stop="toggleColorPicker">
7117
- <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">
7118
7207
  <div class="o-color-picker-toggler-sign">
7119
7208
  <t t-call="o-spreadsheet-Icon.PLUS"/>
7120
7209
  </div>
@@ -7371,7 +7460,7 @@
7371
7460
  <t t-set="border_color">Border Color</t>
7372
7461
  <Popover t-props="popoverProps">
7373
7462
  <div
7374
- class="d-flex o-border-selector"
7463
+ class="d-flex o-border-selector bg-white"
7375
7464
  t-on-click.stop=""
7376
7465
  t-att-class="props.class ? props.class : ''">
7377
7466
  <div class="o-border-selector-section">
@@ -7420,7 +7509,7 @@
7420
7509
  <Popover
7421
7510
  t-props="lineStylePickerPopoverProps"
7422
7511
  t-if="state.activeTool === 'borderTypeTool'">
7423
- <div class="o-border-style-dropdown">
7512
+ <div class="o-border-style-dropdown bg-white">
7424
7513
  <t t-foreach="borderStyles" t-as="borderStyle" t-key="borderStyle">
7425
7514
  <div
7426
7515
  t-att-title="borderStyle"