@m3ui-vue/m3ui-vue 0.8.0 → 0.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/README.md +9 -1
  2. package/dist/{MMenuItem-vSLbJGqe.js → MMenuItem-BAWmUTT3.js} +367 -189
  3. package/dist/MMenuItem-BAWmUTT3.js.map +1 -0
  4. package/dist/code-editor.js +1 -1
  5. package/dist/code-editor.js.map +1 -1
  6. package/dist/components/MButton.vue.d.ts +7 -0
  7. package/dist/components/MCalendar.vue.d.ts +0 -1
  8. package/dist/components/MCarousel.vue.d.ts +12 -14
  9. package/dist/components/MContextMenu.vue.d.ts +25 -4
  10. package/dist/components/MDatePicker.vue.d.ts +1 -3
  11. package/dist/components/MDatePickerModal.vue.d.ts +0 -1
  12. package/dist/components/MDateRangePicker.vue.d.ts +1 -3
  13. package/dist/components/MDateRangePickerModal.vue.d.ts +0 -1
  14. package/dist/components/MKanban.vue.d.ts +1 -0
  15. package/dist/components/MMenu.vue.d.ts +20 -2
  16. package/dist/components/MMenuDivider.vue.d.ts +13 -1
  17. package/dist/components/MMenuItem.vue.d.ts +3 -0
  18. package/dist/components/MScheduler.vue.d.ts +0 -1
  19. package/dist/components/MShape.vue.d.ts +51 -0
  20. package/dist/components/MShortNavigationBar.vue.d.ts +34 -0
  21. package/dist/components/MSimpleCarousel.vue.d.ts +45 -0
  22. package/dist/components/MToggleButton.vue.d.ts +29 -0
  23. package/dist/components/MTree.vue.d.ts +0 -1
  24. package/dist/components/MTreeTable.vue.d.ts +1 -0
  25. package/dist/index.d.ts +8 -1
  26. package/dist/m3ui-vue.css +1 -1
  27. package/dist/m3ui.js +5599 -3973
  28. package/dist/m3ui.js.map +1 -1
  29. package/dist/rich-text-editor.js +8 -8
  30. package/dist/styles/palettes.css +22 -22
  31. package/dist/styles.css +1 -1
  32. package/package.json +4 -1
  33. package/src/__tests__/MCarousel.test.ts +33 -0
  34. package/src/__tests__/MShape.test.ts +36 -0
  35. package/src/__tests__/MToggleButton.test.ts +27 -0
  36. package/src/components/MAutocomplete.vue +5 -1
  37. package/src/components/MButton.vue +15 -2
  38. package/src/components/MCalendar.vue +9 -5
  39. package/src/components/MCarousel.vue +123 -173
  40. package/src/components/MCodeEditor.vue +6 -1
  41. package/src/components/MCommandPalette.vue +4 -0
  42. package/src/components/MContextMenu.vue +287 -13
  43. package/src/components/MDatePicker.vue +12 -9
  44. package/src/components/MDatePickerModal.vue +9 -4
  45. package/src/components/MDateRangePicker.vue +12 -9
  46. package/src/components/MDateRangePickerModal.vue +9 -4
  47. package/src/components/MKanban.vue +5 -1
  48. package/src/components/MMenu.vue +308 -20
  49. package/src/components/MMenuDivider.vue +16 -0
  50. package/src/components/MMenuItem.vue +60 -18
  51. package/src/components/MMultiAutocomplete.vue +5 -1
  52. package/src/components/MMultiSelect.vue +5 -1
  53. package/src/components/MScheduler.vue +10 -6
  54. package/src/components/MSearchBar.vue +5 -1
  55. package/src/components/MSelect.vue +5 -1
  56. package/src/components/MShape.vue +107 -0
  57. package/src/components/MShortNavigationBar.vue +113 -0
  58. package/src/components/MSimpleCarousel.vue +325 -0
  59. package/src/components/MSpotlightSearch.vue +6 -0
  60. package/src/components/MToggleButton.vue +188 -0
  61. package/src/components/MTopAppBar.vue +6 -2
  62. package/src/components/MTree.vue +4 -2
  63. package/src/components/MTreeTable.vue +5 -1
  64. package/src/composables/useColorPalette.ts +1 -1
  65. package/src/index.ts +8 -1
  66. package/src/styles/palettes.css +22 -22
  67. package/dist/MMenuItem-vSLbJGqe.js.map +0 -1
@@ -0,0 +1,188 @@
1
+ <script setup lang="ts">
2
+ import { computed, onMounted, onUnmounted, ref, watch } from 'vue'
3
+ import MIcon from './MIcon.vue'
4
+
5
+ const props = withDefaults(
6
+ defineProps<{
7
+ /** Whether the toggle button is checked/selected — v-model. */
8
+ checked: boolean
9
+ variant?: 'filled' | 'tonal' | 'outlined' | 'elevated'
10
+ disabled?: boolean
11
+ icon?: string
12
+ size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl'
13
+ }>(),
14
+ {
15
+ variant: 'filled',
16
+ disabled: false,
17
+ size: 'sm',
18
+ },
19
+ )
20
+
21
+ const emit = defineEmits<{ 'update:checked': [boolean] }>()
22
+
23
+ // Same 5-tier expressive sizing as MButton — ToggleButton.kt reuses the exact same
24
+ // Button{XSmall,Small,Medium,Large,XLarge}Tokens (ContainerHeight/IconSize/IconLabelSpace all
25
+ // verbatim identical), confirmed against the real source rather than assumed. Padding is
26
+ // deliberately reused from MButton's own (already-audited) px values rather than porting
27
+ // ToggleButtonDefaults' own separate ToggleButtonStartPadding/EndPadding constants, which
28
+ // resolve to the same pixel values at every tier this library implements.
29
+ // pillRadius is each tier's exact half-height (32/40/56/96/136 ÷ 2), not an arbitrarily huge
30
+ // stand-in like 9999 — CSS clamps border-radius at 50% of the box's smaller dimension anyway,
31
+ // so anything past that is wasted, invisible spring travel. With 9999 as the target, unchecking
32
+ // (small radius → 9999) spent its entire *visible* range right at the start of the trajectory,
33
+ // exactly where a spring aimed at something 9987px away is accelerating hardest — it blew
34
+ // through the visible range in a couple of frames and looked like a snap instead of a spring.
35
+ // Checking happened to look fine only because its visible range fell in the spring's slow,
36
+ // already-decelerating tail. Using the real clamp value makes the whole trajectory visible and
37
+ // symmetric in both directions.
38
+ const sizeMap = {
39
+ xs: { h: 'h-8', text: 'text-label-large', icon: 20, gap: 'gap-1', px: 'px-3', checkedRadius: 12, pressedRadius: 8, pillRadius: 16 },
40
+ sm: { h: 'h-10', text: 'text-label-large', icon: 20, gap: 'gap-2', px: 'px-4', checkedRadius: 12, pressedRadius: 6, pillRadius: 20 },
41
+ md: { h: 'h-14', text: 'text-title-medium', icon: 24, gap: 'gap-2', px: 'px-6', checkedRadius: 16, pressedRadius: 12, pillRadius: 28 },
42
+ lg: { h: 'h-24', text: 'text-headline-small', icon: 32, gap: 'gap-3', px: 'px-12', checkedRadius: 28, pressedRadius: 16, pillRadius: 48 },
43
+ xl: { h: 'h-[136px]', text: 'text-headline-large', icon: 40, gap: 'gap-4', px: 'px-16', checkedRadius: 28, pressedRadius: 16, pillRadius: 68 },
44
+ }
45
+
46
+ const s = computed(() => sizeMap[props.size] ?? sizeMap.sm)
47
+ const sizeClasses = computed(() => `${s.value.h} ${s.value.text} ${s.value.gap} ${s.value.px}`)
48
+
49
+ const base =
50
+ 'relative inline-flex items-center justify-center font-medium ' +
51
+ 'whitespace-nowrap overflow-hidden transition-[box-shadow,background-color,color] duration-150 select-none cursor-pointer ' +
52
+ 'disabled:cursor-not-allowed disabled:shadow-none disabled:text-on-surface/38 ' +
53
+ "before:content-[''] before:pointer-events-none before:absolute before:inset-0 " +
54
+ 'before:bg-current before:opacity-0 before:transition-opacity before:duration-150 ' +
55
+ 'enabled:hover:before:opacity-[0.08] enabled:active:before:opacity-[0.12]'
56
+
57
+ // FilledButtonTokens/TonalButtonTokens/ElevatedButtonTokens/OutlinedButtonTokens: unchecked
58
+ // containers are neutral (SurfaceContainer / SecondaryContainer / SurfaceContainerLow /
59
+ // transparent-with-border), NOT the same tone the checked state uses — despite the class doc
60
+ // comment loosely saying it "switches between primary and tonal colors", the actual unchecked
61
+ // token for the filled variant is SurfaceContainer, not a tonal color at all. Checked outlined
62
+ // is the odd one out: it fills solid with InverseSurface/InverseOnSurface, not Primary.
63
+ const containerClasses = computed(() => {
64
+ switch (props.variant) {
65
+ case 'filled':
66
+ return props.checked
67
+ ? 'bg-primary text-on-primary'
68
+ : 'bg-surface-container text-on-surface-variant'
69
+ case 'tonal':
70
+ return props.checked
71
+ ? 'bg-secondary text-on-secondary'
72
+ : 'bg-secondary-container text-on-secondary-container'
73
+ case 'elevated':
74
+ return props.checked
75
+ ? 'bg-primary text-on-primary shadow-elevation-1 enabled:hover:shadow-elevation-2'
76
+ : 'bg-surface-container-low text-primary shadow-elevation-1 enabled:hover:shadow-elevation-2'
77
+ case 'outlined':
78
+ return props.checked
79
+ ? 'bg-inverse-surface text-inverse-on-surface'
80
+ : 'border border-outline-variant text-on-surface-variant'
81
+ default:
82
+ return ''
83
+ }
84
+ })
85
+
86
+ // DisabledContainerOpacity = 0.1 across every variant's tokens. OutlinedButtonTokens has no
87
+ // container color at all when unchecked (border-only), so its disabled treatment dims the
88
+ // border instead — same distinction MButton's own outlined variant already makes.
89
+ const disabledContainerClasses = computed(() => {
90
+ if (props.variant === 'outlined' && !props.checked) return 'disabled:border-outline-variant/10'
91
+ return 'disabled:bg-on-surface/10'
92
+ })
93
+
94
+ const rootEl = ref<HTMLElement | null>(null)
95
+ const pressed = ref(false)
96
+
97
+ function onPointerDown(e: PointerEvent) {
98
+ if (props.disabled) return
99
+ pressed.value = true
100
+ createRipple(e)
101
+ }
102
+ function onPointerUp() { pressed.value = false }
103
+
104
+ function createRipple(event: PointerEvent) {
105
+ const button = event.currentTarget as HTMLElement
106
+ const rect = button.getBoundingClientRect()
107
+ const d = Math.max(rect.width, rect.height) * 2
108
+ const el = document.createElement('span')
109
+ el.className = 'm3-ripple'
110
+ el.style.cssText = `width:${d}px;height:${d}px;top:${event.clientY - rect.top - d / 2}px;left:${event.clientX - rect.left - d / 2}px`
111
+ button.appendChild(el)
112
+ el.addEventListener('animationend', () => el.remove(), { once: true })
113
+ }
114
+
115
+ function toggle() {
116
+ if (props.disabled) return
117
+ emit('update:checked', !props.checked)
118
+ }
119
+
120
+ // Real per-frame spring, not a CSS transition — matches this library's established convention
121
+ // (MShape, MProgressBar, MTabs, etc.) for anything the real M3 source drives with an actual
122
+ // spring. ToggleButton.kt isn't gated behind @ExperimentalMaterial3ExpressiveApi (it's a stable,
123
+ // non-experimental composable despite belonging to the Expressive redesign), so its shape-morph
124
+ // spec is MotionSchemeKeyTokens.FastSpatial resolved from the *Standard* scheme: dampingRatio
125
+ // 0.9, stiffness 1400. damping = 2 × dampingRatio × √stiffness ≈ 67.5.
126
+ const STIFFNESS = 1400
127
+ const DAMPING = 2 * 0.9 * Math.sqrt(STIFFNESS)
128
+
129
+ const targetRadius = computed(() => {
130
+ if (pressed.value) return s.value.pressedRadius
131
+ return props.checked ? s.value.checkedRadius : s.value.pillRadius
132
+ })
133
+
134
+ let currentRadius = targetRadius.value
135
+ let velocity = 0
136
+ let rafId = 0
137
+
138
+ function applyRadius() {
139
+ if (rootEl.value) rootEl.value.style.borderRadius = `${currentRadius}px`
140
+ }
141
+
142
+ function animate() {
143
+ if (rafId) return
144
+ let last = performance.now()
145
+ const step = (now: number) => {
146
+ const dt = Math.min((now - last) / 1000, 1 / 30)
147
+ last = now
148
+ const target = targetRadius.value
149
+ const force = STIFFNESS * (target - currentRadius)
150
+ const friction = DAMPING * velocity
151
+ velocity += (force - friction) * dt
152
+ currentRadius += velocity * dt
153
+ if (Math.abs(target - currentRadius) < 0.1 && Math.abs(velocity) < 0.1) {
154
+ currentRadius = target
155
+ velocity = 0
156
+ applyRadius()
157
+ rafId = 0
158
+ return
159
+ }
160
+ applyRadius()
161
+ rafId = requestAnimationFrame(step)
162
+ }
163
+ rafId = requestAnimationFrame(step)
164
+ }
165
+
166
+ watch(targetRadius, animate)
167
+ onMounted(applyRadius)
168
+ onUnmounted(() => cancelAnimationFrame(rafId))
169
+ </script>
170
+
171
+ <template>
172
+ <button
173
+ ref="rootEl"
174
+ type="button"
175
+ role="button"
176
+ :aria-pressed="checked"
177
+ :disabled="disabled"
178
+ :class="[base, sizeClasses, containerClasses, disabledContainerClasses]"
179
+ @pointerdown="onPointerDown"
180
+ @pointerup="onPointerUp"
181
+ @pointerleave="onPointerUp"
182
+ @pointercancel="onPointerUp"
183
+ @click="toggle"
184
+ >
185
+ <MIcon v-if="icon" :name="icon" :size="s.icon" />
186
+ <slot />
187
+ </button>
188
+ </template>
@@ -30,8 +30,12 @@ const locale = useLocale()
30
30
  bordered ? 'border-b border-outline-variant' : '',
31
31
  ]"
32
32
  >
33
- <!-- Top row — 64dp per M3's TopAppBarSmall/collapsed-Medium/collapsed-Large tokens -->
34
- <div class="flex h-16 shrink-0 items-center gap-1 px-1">
33
+ <!-- Top row — 64dp per M3's TopAppBarSmall/collapsed-Medium/collapsed-Large tokens.
34
+ px-2: TopAppBarHorizontalPadding (4dp) + the 4dp IconButton() gets for free from
35
+ Modifier.minimumInteractiveComponentSize() centering its 40dp visible container inside
36
+ a 48dp touch target — MIconButton doesn't implement that invisible expansion, so it's
37
+ folded into this row padding instead to land the icon glyph at the real 16dp inset. -->
38
+ <div class="flex h-16 shrink-0 items-center gap-1 px-2">
35
39
  <!-- Navigation -->
36
40
  <slot name="navigation">
37
41
  <MIconButton
@@ -2,6 +2,7 @@
2
2
  import { computed, provide, ref, type Ref } from 'vue'
3
3
  import MTreeNode from './_MTreeNode.vue'
4
4
  import MIcon from './MIcon.vue'
5
+ import { useLocale } from '../composables/useLocale'
5
6
 
6
7
  // ── Public types ────────────────────────────────────────────────────────────
7
8
 
@@ -50,10 +51,11 @@ const props = withDefaults(
50
51
  checked: () => [],
51
52
  checkable: false,
52
53
  defaultExpanded: 'none',
53
- emptyText: 'Sin elementos',
54
54
  },
55
55
  )
56
56
 
57
+ const locale = useLocale()
58
+
57
59
  const emit = defineEmits<{
58
60
  'update:selected': [string | number | null]
59
61
  'update:checked': [(string | number)[]]
@@ -158,7 +160,7 @@ defineExpose({ expandAll, collapseAll })
158
160
 
159
161
  <div v-else class="flex flex-col items-center gap-2 py-10 text-on-surface-variant">
160
162
  <MIcon name="account_tree" :size="32" class="opacity-30" />
161
- <p class="text-body-medium">{{ emptyText }}</p>
163
+ <p class="text-body-medium">{{ emptyText ?? locale.noItems }}</p>
162
164
  </div>
163
165
  </div>
164
166
  </template>
@@ -1,6 +1,7 @@
1
1
  <script setup lang="ts">
2
2
  import { computed, ref } from 'vue'
3
3
  import MIcon from './MIcon.vue'
4
+ import { useLocale } from '../composables/useLocale'
4
5
 
5
6
  export interface TreeTableColumn {
6
7
  key: string
@@ -21,6 +22,7 @@ const props = withDefaults(defineProps<{
21
22
  defaultExpanded?: boolean
22
23
  indent?: number
23
24
  dense?: boolean
25
+ emptyText?: string
24
26
  }>(), {
25
27
  rowKey: 'id',
26
28
  defaultExpanded: false,
@@ -28,6 +30,8 @@ const props = withDefaults(defineProps<{
28
30
  dense: false,
29
31
  })
30
32
 
33
+ const locale = useLocale()
34
+
31
35
  const emit = defineEmits<{ rowClick: [TreeTableRow] }>()
32
36
 
33
37
  const expanded = ref<Set<any>>(new Set(
@@ -149,7 +153,7 @@ function alignClass(a?: string) { return a === 'center' ? 'text-center' : a ===
149
153
  <tr v-if="!flatRows.length">
150
154
  <td :colspan="columns.length" class="border-t border-outline-variant px-4 py-10 text-center">
151
155
  <MIcon name="account_tree" :size="36" class="mb-2 text-on-surface-variant opacity-30" />
152
- <p class="text-body-medium text-on-surface-variant">Sin datos</p>
156
+ <p class="text-body-medium text-on-surface-variant">{{ emptyText ?? locale.noResults }}</p>
153
157
  </td>
154
158
  </tr>
155
159
  </tbody>
@@ -37,7 +37,7 @@ export const palettes: Palette[] = [
37
37
  { id: 'smoke', label: 'Smoke', seed: '#4D5C66' },
38
38
  { id: 'stone', label: 'Stone', seed: '#68635A' },
39
39
  { id: 'zinc', label: 'Zinc', seed: '#585B5E' },
40
- { id: 'monochrome', label: 'Monochrome', seed: '#1A1A1A' },
40
+ { id: 'monochrome', label: 'Monochrome', seed: '#000000' },
41
41
  { id: 'rust', label: 'Rust', seed: '#9C441E' },
42
42
  { id: 'gold', label: 'Gold', seed: '#715C00' },
43
43
  { id: 'emerald', label: 'Emerald', seed: '#006D39' },
package/src/index.ts CHANGED
@@ -37,6 +37,7 @@ export type { ButtonGroupOption } from './components/MButtonGroup.vue'
37
37
  export { default as MCalendar } from './components/MCalendar.vue'
38
38
  export { default as MCard } from './components/MCard.vue'
39
39
  export { default as MCarousel } from './components/MCarousel.vue'
40
+ export type { CarouselItem } from './components/MCarousel.vue'
40
41
  export { default as MCenter } from './components/MCenter.vue'
41
42
  // MChart — import from '@m3ui-vue/m3ui-vue/chart'
42
43
  export { default as MChatBubble } from './components/MChatBubble.vue'
@@ -127,8 +128,14 @@ export { default as MSelect } from './components/MSelect.vue'
127
128
  export type { SelectOption } from './components/MSelect.vue'
128
129
  export { default as MShader } from './components/MShader.vue'
129
130
  export type { ShaderRenderer, ShaderStatus } from './components/MShader.vue'
131
+ export { default as MShape, shapeNames } from './components/MShape.vue'
132
+ export type { ShapeName } from './components/MShape.vue'
133
+ export { default as MShortNavigationBar } from './components/MShortNavigationBar.vue'
134
+ export type { ShortNavBarItem } from './components/MShortNavigationBar.vue'
130
135
  export { default as MSideSheet } from './components/MSideSheet.vue'
131
136
  export { default as MSignaturePad } from './components/MSignaturePad.vue'
137
+ export { default as MSimpleCarousel } from './components/MSimpleCarousel.vue'
138
+ export type { SimpleCarouselItem } from './components/MSimpleCarousel.vue'
132
139
  export { default as MSkeleton } from './components/MSkeleton.vue'
133
140
  export { default as MSlider } from './components/MSlider.vue'
134
141
  export { default as MSnackbar } from './components/MSnackbar.vue'
@@ -154,6 +161,7 @@ export { default as MTimeline } from './components/MTimeline.vue'
154
161
  export { default as MTimePicker } from './components/MTimePicker.vue'
155
162
  export { default as MTimePickerModal } from './components/MTimePickerModal.vue'
156
163
  export { default as MTitle } from './components/MTitle.vue'
164
+ export { default as MToggleButton } from './components/MToggleButton.vue'
157
165
  export { default as MTooltip } from './components/MTooltip.vue'
158
166
  export { default as MToolbar } from './components/MToolbar.vue'
159
167
  export { default as MTopAppBar } from './components/MTopAppBar.vue'
@@ -170,7 +178,6 @@ export { emojiCategories, allEmojis, randomEmoji } from './data/emojis'
170
178
  export type { Placement } from './components/MAbsolute.vue'
171
179
  export type { BadgePosition, BadgeOverlap } from './components/MBadge.vue'
172
180
  export type { CalendarEvent } from './components/MCalendar.vue'
173
- export type { CarouselItem } from './components/MCarousel.vue'
174
181
  export type { DataTableColumn, DataTableFetchParams } from './components/MDataTable.vue'
175
182
  export type { DateRange } from './components/MDateRangePicker.vue'
176
183
  export type { DragDropItem } from './components/MDragDropList.vue'
@@ -1914,10 +1914,10 @@
1914
1914
 
1915
1915
  /* ─── Monochrome ───────────────────────────────────────────────────────── */
1916
1916
  [data-palette='monochrome'] {
1917
- --color-primary: #1A1A1A;
1917
+ --color-primary: #000000;
1918
1918
  --color-on-primary: #ffffff;
1919
1919
  --color-primary-container: #E4E4E4;
1920
- --color-on-primary-container: #1A1A1A;
1920
+ --color-on-primary-container: #000000;
1921
1921
  --color-secondary: #454545;
1922
1922
  --color-on-secondary: #ffffff;
1923
1923
  --color-secondary-container: #E8E8E8;
@@ -1926,30 +1926,30 @@
1926
1926
  --color-on-tertiary: #ffffff;
1927
1927
  --color-tertiary-container: #ECECEC;
1928
1928
  --color-on-tertiary-container: #383838;
1929
- --color-surface: #FAFAFA;
1930
- --color-on-surface: #1A1A1A;
1929
+ --color-surface: #ffffff;
1930
+ --color-on-surface: #000000;
1931
1931
  --color-surface-variant: #E1E1E1;
1932
1932
  --color-on-surface-variant: #454545;
1933
1933
  --color-surface-dim: #DBDBDB;
1934
- --color-surface-bright: #FAFAFA;
1934
+ --color-surface-bright: #ffffff;
1935
1935
  --color-surface-container-lowest: #ffffff;
1936
1936
  --color-surface-container-low: #F5F5F5;
1937
1937
  --color-surface-container: #EFEFEF;
1938
1938
  --color-surface-container-high: #E9E9E9;
1939
1939
  --color-surface-container-highest: #E3E3E3;
1940
- --color-background: #FAFAFA;
1941
- --color-on-background: #1A1A1A;
1940
+ --color-background: #ffffff;
1941
+ --color-on-background: #000000;
1942
1942
  --color-outline: #767676;
1943
1943
  --color-outline-variant: #C6C6C6;
1944
- --color-inverse-surface: #2E2E2E;
1945
- --color-inverse-on-surface: #F5F5F5;
1946
- --color-inverse-primary: #E4E4E4;
1944
+ --color-inverse-surface: #000000;
1945
+ --color-inverse-on-surface: #ffffff;
1946
+ --color-inverse-primary: #ffffff;
1947
1947
  }
1948
1948
  [data-palette='monochrome'].dark {
1949
- --color-primary: #E8E8E8;
1950
- --color-on-primary: #1A1A1A;
1949
+ --color-primary: #ffffff;
1950
+ --color-on-primary: #000000;
1951
1951
  --color-primary-container: #3D3D3D;
1952
- --color-on-primary-container: #EFEFEF;
1952
+ --color-on-primary-container: #ffffff;
1953
1953
  --color-secondary: #C6C6C6;
1954
1954
  --color-on-secondary: #2B2B2B;
1955
1955
  --color-secondary-container: #404040;
@@ -1958,24 +1958,24 @@
1958
1958
  --color-on-tertiary: #303030;
1959
1959
  --color-tertiary-container: #444444;
1960
1960
  --color-on-tertiary-container: #E0E0E0;
1961
- --color-surface: #121212;
1962
- --color-on-surface: #E6E6E6;
1961
+ --color-surface: #000000;
1962
+ --color-on-surface: #ffffff;
1963
1963
  --color-surface-variant: #454545;
1964
1964
  --color-on-surface-variant: #C6C6C6;
1965
- --color-surface-dim: #121212;
1965
+ --color-surface-dim: #000000;
1966
1966
  --color-surface-bright: #383838;
1967
- --color-surface-container-lowest: #0C0C0C;
1967
+ --color-surface-container-lowest: #000000;
1968
1968
  --color-surface-container-low: #1A1A1A;
1969
1969
  --color-surface-container: #1E1E1E;
1970
1970
  --color-surface-container-high: #282828;
1971
1971
  --color-surface-container-highest: #333333;
1972
- --color-background: #121212;
1973
- --color-on-background: #E6E6E6;
1972
+ --color-background: #000000;
1973
+ --color-on-background: #ffffff;
1974
1974
  --color-outline: #909090;
1975
1975
  --color-outline-variant: #454545;
1976
- --color-inverse-surface: #E6E6E6;
1977
- --color-inverse-on-surface: #1A1A1A;
1978
- --color-inverse-primary: #1A1A1A;
1976
+ --color-inverse-surface: #ffffff;
1977
+ --color-inverse-on-surface: #000000;
1978
+ --color-inverse-primary: #000000;
1979
1979
  }
1980
1980
  /* ─── Rust ─────────────────────────────────────────────────────────────── */
1981
1981
  [data-palette='rust'] {