New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@zohodesk/theme

Package Overview
Dependencies
Maintainers
31
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zohodesk/theme

Unified Component Library - Theme

  • 1.0.9
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
31
Weekly downloads
 
Created
Source

How to handle zoom in application level.

To provide customization used sizes in UCL components.

I have decied rename the themeProvider as ThemeProvider.

  1. CSS Transform scale tried

  2. https://www.youtube.com/watch?v=4-wjP0JCUSU&t=232s - working trail. Looking At How Browser Zoom Affects CSS Media Queries And Pixel-Density https://www.bennadel.com/blog/3811-looking-at-how-browser-zoom-affects-css-media-queries-and-pixel-density.htm

  3. Discussion with BK Zoom:- zd_baseSize Border => X ( more than 1 ). ==> padding, margin, width, height ==> top,left,right,bottom , box-shadow => X ===> zd_baseFontSize will changed based on Zoom

--zd_size26: calc((26 / var(--zd_baseSize)) * var(--zd_baseUnit));

  1. https://usability.yale.edu/web-accessibility/articles/zoom-resizing-text How Browsers Zoom and Resize Text Avoid Clipped, Truncated, Obscured, and Overlapping Text Avoid Horizontal Scrolling Development Best Practices

https://www.w3schools.com/accessibility/accessibility_page_zoom.php

  1. Page zoom often triggers mobile view on responsive sites, which is good.

  2. All content and functionality is available No content should be hidden when zoomed.

  3. https://www.w3schools.com/accessibility/accessibility_page_zoom.php

  4. Accessiblity Level Rules https://www.boia.org/blog/give-yourself-an-accessibility-test-zoom-your-page-to-200

https://www.w3.org/WAI/WCAG21/Understanding/reflow.html

  1. meta viewport allows for zoom https://www.w3.org/WAI/standards-guidelines/act/rules/meta-viewport-b4f0c3/

  2. What is pixel devicePixelRatio and PPI on Zooming. window.devicePixelRatio

Keywords

FAQs

Package last updated on 26 Oct 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc