awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
styled-components avatar

styled-components/polished

0
View on GitHub↗
7,661 星标·212 分支·JavaScript·MIT·4 次浏览polished.js.org↗

Polished

Polished is a specialized toolkit for programmatically managing color palettes, converting CSS units, and optimizing style execution at build time. It provides a set of functions for manipulating colors, sizes, and spacing within JavaScript styles to maintain consistent visual themes.

The toolset includes a color manipulation library for adjusting lightness, saturation, and transparency, as well as a CSS unit converter for calculating size values between pixels and rems. It also functions as a static style compiler that resolves static styling function calls during the build process to eliminate runtime performance overhead.

The library covers broader styling and theming capabilities, including color palette management and responsive unit conversion to ensure consistent scaling across screens.

Features

  • CSS-in-JS Implementations - Provides a toolkit for managing visual styles and dynamic calculations directly within JavaScript.
  • Unit Converters - Offers a utility to convert size values between measurement units for consistent scaling.
  • Color Value Transformations - Provides operations to programmatically adjust color properties such as lightness and saturation.
  • Color Scheme Manipulators - Includes functions to programmatically adjust color lightness, saturation, and hue to create cohesive UI palettes.
  • Color Space Converters - Provides mathematical logic to convert colors between different formats like RGB and HSL for UI styling.
  • CSS Unit Converters - Ships a tool for calculating and converting size values between units like pixels and rems.
  • CSS Unit Math - Provides the mathematical logic required to transform numeric values independently of specific CSS units.
  • Color Manipulation Utilities - Provides utilities for mixing, lightening, darkening, and interpolating colors in various formats.
  • Responsive Scaling Conversions - Converts size values between pixels and rems to maintain consistent scaling across different screen sizes.
  • Color Palette Management - Provides utilities to manage and maintain consistent color palettes and theme variables across an interface.
  • Build-Time Optimization - Shifts computationally expensive style transformations from runtime to the build phase for better performance.
  • Constant Folding - Evaluates static styling functions during the build process to replace complex expressions with literal values.
  • Static Style Generators - Compiles dynamic style function calls into static values during the build process to reduce runtime overhead.

Star 历史

styled-components/polished 的 Star 历史图表styled-components/polished 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

Polished 的开源替代方案

相似的开源项目,按与 Polished 的功能重合度排序。
  • qix-/colorQix- 的头像

    Qix-/color

    4,937在 GitHub 上查看↗

    This is a JavaScript color manipulation library used for converting color spaces, formatting CSS strings, and computing luminosity ratios. It provides tools to transform color values between different mathematical models, including RGB, HSL, and CMYK. The library includes a web accessibility contrast calculator to compute luminosity and contrast ratios, ensuring text readability meets accessibility standards. It also features a CSS color formatter that exports values as hex strings, numeric arrays, or CSS-compatible strings. The toolkit covers broader capabilities for frontend color manageme

    JavaScript
    在 GitHub 上查看↗4,937
  • patriciogonzalezvivo/lygiapatriciogonzalezvivo 的头像

    patriciogonzalezvivo/lygia

    3,274在 GitHub 上查看↗

    Lygia is a GLSL shader library providing a specialized suite of tools for color science, image filtering, noise generation, and implicit surface geometry. It serves as a collection of reusable functions for fragment shaders to handle color space conversion, image processing, and geometric rendering. The project is distinguished by its focus on cross-language shader management, allowing reusable functions to be synchronized across different shading languages to ensure consistent graphics behavior across multiple engines. It also implements a system for remote shader dependency resolution, fetc

    GLSLcudadirectxglsl
    在 GitHub 上查看↗3,274
  • bgrins/tinycolorbgrins 的头像

    bgrins/TinyColor

    5,248在 GitHub 上查看↗

    TinyColor is a JavaScript color manipulation library used for parsing, converting, and modifying colors across various formats and color spaces. It functions as a color space conversion tool and a web accessibility contrast checker to ensure compliance with readability standards. The library provides a color palette generator for creating monochromatic, analogous, and complementary color schemes from a starting color. It also translates colors between hex, RGB, HSL, HSV, and named formats. Additional capabilities include color parsing and normalization, programmatic manipulation of brightnes

    JavaScript
    在 GitHub 上查看↗5,248
  • sharkdp/pastelsharkdp 的头像

    sharkdp/pastel

    6,243在 GitHub 上查看↗
    Rustclicolor-convertercolor-space
    在 GitHub 上查看↗6,243
查看 Polished 的所有 30 个替代方案→

常见问题解答

styled-components/polished 是做什么的?

Polished is a specialized toolkit for programmatically managing color palettes, converting CSS units, and optimizing style execution at build time. It provides a set of functions for manipulating colors, sizes, and spacing within JavaScript styles to maintain consistent visual themes.

styled-components/polished 的主要功能有哪些?

styled-components/polished 的主要功能包括:CSS-in-JS Implementations, Unit Converters, Color Value Transformations, Color Scheme Manipulators, Color Space Converters, CSS Unit Converters, CSS Unit Math, Color Manipulation Utilities。

styled-components/polished 有哪些开源替代品?

styled-components/polished 的开源替代品包括: qix-/color — This is a JavaScript color manipulation library used for converting color spaces, formatting CSS strings, and… sharkdp/pastel. bgrins/tinycolor — TinyColor is a JavaScript color manipulation library used for parsing, converting, and modifying colors across various… patriciogonzalezvivo/lygia — Lygia is a GLSL shader library providing a specialized suite of tools for color science, image filtering, noise… edeneast/nightfox.nvim — nightfox.nvim is a customizable Lua-based color scheme for Neovim and Vim. It provides a comprehensive visual theme… nvim-mini/mini.nvim — mini.nvim is a comprehensive library of independent modules designed to extend Neovim with a wide array of navigation,…