Skip to content

[v12] [Web] Update theme in v12#25650

Merged
rudream merged 1 commit intobranch/v12from
yassine/12/theme-updates
May 5, 2023
Merged

[v12] [Web] Update theme in v12#25650
rudream merged 1 commit intobranch/v12from
yassine/12/theme-updates

Conversation

@rudream
Copy link
Copy Markdown
Contributor

@rudream rudream commented May 4, 2023

e counterpart: https://github.com/gravitational/teleport.e/pull/1300

Purpose

In #23539, the theme was refactored in preparation for implementing the new themes that would be added in v13. However, when implementing the themes, a few further changes had to be made to the theme definitions.

This PR updates the theme definitions in v12 so that all the colour fields defined in the v13+ theme are included. This is in order to make components written in v13+ easier to backport to this version. The new fields added in this PR (such as spotBackground) are not currently in use anywhere in this version, but are here to make backporting future components that might use them easier. The fields that have been renamed (such as the text colors) have had their usages in this version updated to match the new names.

@github-actions github-actions Bot requested review from kimlisa, ravicious and zmb3 May 4, 2023 18:38
@rudream rudream changed the title [v12] [Web] Update v12 theme definitions [v12] [Web] Update theme in v12 May 4, 2023
Copy link
Copy Markdown
Member

@ravicious ravicious left a comment

Choose a reason for hiding this comment

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

I went through Connect stories and the places for which we don't have stories (mostly access requests and some of the panels in the top bar) and everything looks ok!

@public-teleport-github-review-bot public-teleport-github-review-bot Bot removed the request for review from zmb3 May 5, 2023 13:36
@rudream rudream added this pull request to the merge queue May 5, 2023
@rudream rudream removed this pull request from the merge queue due to a manual request May 5, 2023
@rudream rudream force-pushed the yassine/12/theme-updates branch from c1cd3ec to 60928be Compare May 5, 2023 17:06
@rudream rudream enabled auto-merge May 5, 2023 17:06
@rudream rudream added this pull request to the merge queue May 5, 2023
@rudream rudream removed this pull request from the merge queue due to a manual request May 5, 2023
@rudream rudream added this pull request to the merge queue May 5, 2023
Merged via the queue into branch/v12 with commit f4ef8dc May 5, 2023
@rudream rudream deleted the yassine/12/theme-updates branch May 5, 2023 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants