This commit is contained in:
Ray 2025-04-28 15:47:43 +02:00 committed by GitHub
commit 0619d093a4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
40 changed files with 75 additions and 75 deletions

View file

@ -134,7 +134,7 @@ export const DEFAULT_ELEMENT_STROKE_COLOR_PALETTE = {
...COMMON_ELEMENT_SHADES,
} as const;
// ORDER matters for positioning in pallete (5x3 grid)s
// ORDER matters for positioning in palette (5x3 grid)s
export const DEFAULT_ELEMENT_BACKGROUND_COLOR_PALETTE = {
transparent: COLOR_PALETTE.transparent,
white: COLOR_PALETTE.white,

View file

@ -62,7 +62,7 @@ export const POINTER_EVENTS = {
enabled: "all",
disabled: "none",
// asserted as any so it can be freely assigned to React Element
// "pointerEnvets" CSS prop
// "pointerEvents" CSS prop
inheritFromUI: "var(--ui-pointerEvents)" as any,
} as const;
@ -365,8 +365,8 @@ export const ROUNDNESS = {
PROPORTIONAL_RADIUS: 2,
// Current default algorithm for rectangles, using fixed pixel radius.
// It's working similarly to a regular border-radius, but attemps to make
// radius visually similar across differnt element sizes, especially
// It's working similarly to a regular border-radius, but attempts to make
// radius visually similar across different element sizes, especially
// very large and very small elements.
//
// NOTE right now we don't allow configuration and use a constant radius