Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid using underlines for emphasis #2765

Merged
merged 2 commits into from
May 22, 2024
Merged

Conversation

psybers
Copy link
Contributor

@psybers psybers commented May 16, 2024

Closes #2655.

@trafico-bot trafico-bot bot added the 🔍 Ready for Review Pull Request is not reviewed yet label May 16, 2024
@github-actions github-actions bot changed the title Avoid using underlines for emphasis [WIP] Avoid using underlines for emphasis May 16, 2024
Copy link

netlify bot commented May 16, 2024

Deploy Preview for actualbudget ready!

Name Link
🔨 Latest commit f3c73bb
🔍 Latest deploy log https://app.netlify.com/sites/actualbudget/deploys/6645aab97bee5c0008ad7339
😎 Deploy Preview https://deploy-preview-2765.demo.actualbudget.org
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@trafico-bot trafico-bot bot added 🚧 WIP Still work-in-progress, please don't review and don't merge and removed 🔍 Ready for Review Pull Request is not reviewed yet labels May 16, 2024
Copy link
Contributor

Bundle Stats — desktop-client

Hey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle.

As this PR is updated, I'll keep you updated on how the bundle size is impacted.

Total

Files count Total bundle size % Changed
9 4.71 MB → 4.71 MB (+2 B) +0.00%
Changeset
File Δ Size
src/components/modals/CreateAccountModal.tsx 📈 +2 B (+0.02%) 8.09 kB → 8.09 kB
View detailed bundle breakdown

Added

No assets were added

Removed

No assets were removed

Bigger

Asset File Size % Changed
static/js/index.js 3 MB → 3 MB (+2 B) +0.00%

Smaller

No assets were smaller

Unchanged

Asset File Size % Changed
static/js/indexeddb-main-thread-worker-e59fee74.js 13.5 kB 0%
static/js/resize-observer.js 18.37 kB 0%
static/js/BackgroundImage.js 122.29 kB 0%
static/js/narrow.js 59.97 kB 0%
static/js/usePreviewTransactions.js 790 B 0%
static/js/AppliedFilters.js 20.54 kB 0%
static/js/wide.js 261.78 kB 0%
static/js/ReportRouter.js 1.23 MB 0%

Copy link
Contributor

Bundle Stats — loot-core

Hey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle.

As this PR is updated, I'll keep you updated on how the bundle size is impacted.

Total

Files count Total bundle size % Changed
1 1.2 MB 0%

Changeset

No files were changed

View detailed bundle breakdown

Added

No assets were added

Removed

No assets were removed

Bigger

No assets were bigger

Smaller

No assets were smaller

Unchanged

Asset File Size % Changed
kcab.worker.js 1.2 MB 0%

@psybers psybers changed the title [WIP] Avoid using underlines for emphasis Avoid using underlines for emphasis May 16, 2024
@trafico-bot trafico-bot bot added 🔍 Ready for Review Pull Request is not reviewed yet and removed 🚧 WIP Still work-in-progress, please don't review and don't merge labels May 16, 2024
@psybers
Copy link
Contributor Author

psybers commented May 16, 2024

image

Copy link
Contributor

@joel-jeremy joel-jeremy left a comment

Choose a reason for hiding this comment

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

LGTM! This is good but we can also choose to just apply the <strong> tag to the emphasized text

@trafico-bot trafico-bot bot added ✅ Approved Pull Request has been approved and can be merged and removed 🔍 Ready for Review Pull Request is not reviewed yet labels May 16, 2024
@psybers
Copy link
Contributor Author

psybers commented May 16, 2024

This text is emphasized inside a <strong> tag. It is bold and in italics.

@youngcw youngcw merged commit 8415e7c into actualbudget:master May 22, 2024
19 checks passed
@trafico-bot trafico-bot bot added ✨ Merged Pull Request has been merged successfully and removed ✅ Approved Pull Request has been approved and can be merged labels May 22, 2024
VoltaicGRiD pushed a commit to VoltaicGRiD/actual that referenced this pull request May 31, 2024
# This is the 1st commit message:

Avoid using underlines for emphasis (actualbudget#2765)

* Avoid using underlines for emphasis

* add release note
# This is the commit message actualbudget#2:

Updated tooltip / floating menu style to add a border for ease-of-visibility and accessibility (actualbudget#2779)

Changed:
- /packages/desktop-client/stc/style/style.ts
- /packages/desktop-client/src/components/tooltips.tsx

Updated to include a border:
- color: theme.menuItemBackgroundHover
  - Used this color since its clean and maches the overall theming regardless of color palette
- width: 2px
  - Not too thin, not too thick
- style: solid
  - So it actually displays

Changed color of tooltip to be more "vocal" against the background on all themes

Uses `theme.menuItemTextHeader` color now

Added whole style for 'tooltipXYZ' for each theme to add definition to colors (actualbudget#2779)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ Merged Pull Request has been merged successfully
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] Avoid underlined text when not a link
3 participants