Skip to content

Align content area CSS variables to --ck-content-* prefix.#18749

Merged
Witoso merged 8 commits intomasterfrom
ck/18735
Jun 24, 2025
Merged

Align content area CSS variables to --ck-content-* prefix.#18749
Witoso merged 8 commits intomasterfrom
ck/18735

Conversation

@Witoso
Copy link
Copy Markdown
Member

@Witoso Witoso commented Jun 23, 2025

Suggested merge commit message (convention)

Other (highlight, image, list, table, theme): Align content area CSS variables to --ck-content-* prefix. Closes #18735.

Other (table): Fix the table's CSS variables, which had -selector- string in their name.

MAJOR BREAKING CHANGE: Content area CSS variables have been renamed to use the --ck-content-* prefix for better consistency in Highlight, Image, List, Table features. This requires action if you have overridden the variables. See the update guide for details.

MAJOR BREAKING CHANGE: Table-related CSS variables with improper *-selector-* naming have been renamed to use *-table-* for better clarity. This requires action if you have overridden the variables. See the update guide for details.


Additional information

See #18710.

Comment on lines +41 to +42
| `--ck-color-selector-caption-background` | `--ck-content-color-selector-caption-background` |
| `--ck-color-selector-caption-text` | `--ck-content-color-selector-caption-text` |
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pszczesniak WDYT about renaming these? add some table word

@Witoso Witoso requested review from godai78 and pszczesniak June 23, 2025 12:20
godai78
godai78 previously approved these changes Jun 24, 2025
Copy link
Copy Markdown
Contributor

@godai78 godai78 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM except for the placement.

godai78
godai78 previously approved these changes Jun 24, 2025
godai78
godai78 previously approved these changes Jun 24, 2025
pszczesniak
pszczesniak previously approved these changes Jun 24, 2025
Copy link
Copy Markdown
Contributor

@pszczesniak pszczesniak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@Witoso Witoso dismissed stale reviews from pszczesniak and godai78 via fbaad04 June 24, 2025 06:52
@Witoso Witoso requested review from godai78 and pszczesniak June 24, 2025 06:53
@Witoso Witoso merged commit 3d63633 into master Jun 24, 2025
10 checks passed
@Witoso Witoso deleted the ck/18735 branch June 24, 2025 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Align naming of content style's variables

3 participants