Skip to content

Commit

Permalink
fix: APPS-3040 bold is not working in FTVA RichText (#645)
Browse files Browse the repository at this point in the history
update ftvaRichText css, stories & design-tokens
  • Loading branch information
jendiamond authored Oct 29, 2024
1 parent 94cd2ed commit 202f70a
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 9 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"sass": "^1.79.5",
"storybook": "^7.4.1",
"typescript": "^5.6.3",
"ucla-library-design-tokens": "^5.27.0",
"ucla-library-design-tokens": "^5.27.1",
"video.js": "^8.5.2",
"vite": "^5.4.8",
"vite-svg-loader": "^5.1.0",
Expand Down
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/stories/mock/RichText.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 7 additions & 3 deletions src/styles/ftva/_rich-text.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,20 @@
color: $body-grey;
}

:deep(strong) {
font-weight: 600;
}

:deep(a) {
color: $body-grey;
-webkit-text-decoration-color: $grey-blue;
text-decoration-color: $grey-blue;
text-decoration-color: $grey-blue;
text-decoration-thickness: 3px;
text-underline-offset: 4px;

&:hover {
-webkit-text-decoration-color: $bright-blue;
text-decoration-color: $bright-blue;
text-decoration-color: $bright-blue;
}
}

Expand Down Expand Up @@ -101,7 +105,7 @@
background-position: left;
padding: .15rem;
-webkit-filter: invert(98%) sepia(131%) saturate(1029%) hue-rotate(196deg) brightness(130%) contrast(68%);
filter: invert(98%) sepia(131%) saturate(1029%) hue-rotate(196deg) brightness(130%) contrast(68%);
filter: invert(98%) sepia(131%) saturate(1029%) hue-rotate(196deg) brightness(130%) contrast(68%);
}

:deep(table) {
Expand Down

1 comment on commit 202f70a

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

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

Please sign in to comment.