Skip to content

Commit

Permalink
[WNMGDS-2838] Update all themes to make inline tool tips black (#3199)
Browse files Browse the repository at this point in the history
* Update all themes to make inline tool tips black

* Udpate playwright vrt snapshots

* Updating css snapshots

* Updated css themes and custom tooltip scss styling to maybe no avail

* setting tooltip color to match base color of surrounding text

* Restore weirdly changed snapshots curious if CI browser tests pass

* [WNMGDS-2875] Fix Release script take 2 (#3205)

* Export vars and function needed in release script

* Reorder imports and add new reviewers

* Add new utility functions used by bumpVersions

* Handle staging files properly

* Export correct function from versions

* export readJson so maybe we capture new line with read file'
'

* big refactor add comments break up inline for loop and associated functions

* Wrap removal of top level package json in try catch and uncomment woopsie

* Add maybe more helpful comment

* Further refactoring

* Looks like a big refactor but basically moved all code to a new file

* Adding functionality so we don't lose newline at end of json files

* [NO-TICKET] Automatically format json files (#3206)

* Run prettier on json files

* Update lint-staged config to format json files

* Undo new line addition when writing json

* Fix typo

* Move version number into our main function to make usage clearer

---------

Co-authored-by: Patrick Wolfert <patrick.wolfert@adhocteam.us>

* Undoing accidental hover styling change

---------

Co-authored-by: Patrick Wolfert <patrick.wolfert@adhocteam.us>
  • Loading branch information
jack-ryan-nava-pbc and pwolfert committed Sep 5, 2024
1 parent 2af3184 commit 341e5b5
Show file tree
Hide file tree
Showing 24 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ exports[`CSS snapshots variables in cmsgov-theme.css match snapshot 1`] = `
--text-input__padding: var(--spacer-1);
--tooltip-icon__color--inverse: var(--color-white);
--tooltip-icon__color: var(--color-primary);
--tooltip-trigger__color: var(--color-primary);
--tooltip-trigger__color: var(--color-base);
--tooltip__background-color: var(--color-background);
--tooltip__border-color--active: #0d249940;
--tooltip__border-color--inverse-active: #ffffff40;
Expand Down Expand Up @@ -950,7 +950,7 @@ exports[`CSS snapshots variables in core-theme.css match snapshot 1`] = `
--text-input__padding: var(--spacer-1);
--tooltip-icon__color--inverse: var(--color-white);
--tooltip-icon__color: var(--color-primary);
--tooltip-trigger__color: var(--color-primary);
--tooltip-trigger__color: var(--color-base);
--tooltip__background-color: var(--color-background);
--tooltip__border-color--active: #0071bc40;
--tooltip__border-color--inverse-active: #ffffff40;
Expand Down Expand Up @@ -1436,7 +1436,7 @@ exports[`CSS snapshots variables in healthcare-theme.css match snapshot 1`] = `
--text-input__padding: var(--spacer-1);
--tooltip-icon__color--inverse: var(--color-white);
--tooltip-icon__color: var(--color-primary);
--tooltip-trigger__color: var(--color-primary);
--tooltip-trigger__color: var(--color-base);
--tooltip__background-color: var(--color-background);
--tooltip__border-color--active: #04679140;
--tooltip__border-color--inverse-active: #ffffff40;
Expand Down
2 changes: 1 addition & 1 deletion packages/design-system-tokens/src/tokens/Theme.cmsgov.json
Original file line number Diff line number Diff line change
Expand Up @@ -4507,7 +4507,7 @@
},
"trigger": {
"color": {
"$value": "{theme.color.primary}",
"$value": "{theme.color.base}",
"$extensions": {
"com.figma": {
"hiddenFromPublishing": false,
Expand Down
2 changes: 1 addition & 1 deletion packages/design-system-tokens/src/tokens/Theme.core.json
Original file line number Diff line number Diff line change
Expand Up @@ -4506,7 +4506,7 @@
},
"trigger": {
"color": {
"$value": "{theme.color.primary}",
"$value": "{theme.color.base}",
"$extensions": {
"com.figma": {
"hiddenFromPublishing": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4507,7 +4507,7 @@
},
"trigger": {
"color": {
"$value": "{theme.color.primary}",
"$value": "{theme.color.base}",
"$extensions": {
"com.figma": {
"hiddenFromPublishing": false,
Expand Down
2 changes: 1 addition & 1 deletion packages/docs/static/themes/cmsgov-theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@
--tooltip__color: var(--color-base);
--tooltip-icon__color: var(--color-primary);
--tooltip-icon__color--inverse: var(--color-white);
--tooltip-trigger__color: var(--color-primary);
--tooltip-trigger__color: var(--color-base);
--vertical-nav-item__background-color--hover: var(--color-gray-lightest);
--vertical-nav-item__border-color: var(--color-gray-dark);
--vertical-nav-item__color--hover: var(--color-primary);
Expand Down
2 changes: 1 addition & 1 deletion packages/docs/static/themes/core-theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@
--tooltip__color: var(--color-base);
--tooltip-icon__color: var(--color-primary);
--tooltip-icon__color--inverse: var(--color-white);
--tooltip-trigger__color: var(--color-primary);
--tooltip-trigger__color: var(--color-base);
--vertical-nav-item__background-color--hover: var(--color-gray-lightest);
--vertical-nav-item__border-color: var(--color-gray-dark);
--vertical-nav-item__color--hover: var(--color-primary);
Expand Down
2 changes: 1 addition & 1 deletion packages/docs/static/themes/healthcare-theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@
--tooltip__color: var(--color-base);
--tooltip-icon__color: var(--color-primary);
--tooltip-icon__color--inverse: var(--color-white);
--tooltip-trigger__color: var(--color-primary);
--tooltip-trigger__color: var(--color-base);
--vertical-nav-item__background-color--hover: var(--color-gray-lightest);
--vertical-nav-item__border-color: var(--color-gray-dark);
--vertical-nav-item__color--hover: var(--color-primary);
Expand Down
6 changes: 3 additions & 3 deletions packages/ds-medicare-gov/src/styles/components/_Tooltip.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
.ds-c-tooltip__trigger-link {
color: var(--tooltip-trigger__color);
cursor: default;
text-decoration-color: var(--color-primary);
text-decoration-color: var(--tooltip-trigger__color);
text-decoration-style: dashed;
text-decoration-thickness: var(--link__text-decoration-thickness);
text-underline-offset: var(--link__text-decoration-offset);

&:hover {
color: var(--color-black);
text-decoration-color: var(--color-primary-darker);
color: var(--color-primary-darker);
text-decoration-color: var(--color-black);
text-decoration-thickness: var(--link__text-decoration-thickness--hover);
}
}
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 341e5b5

Please sign in to comment.