发布于: 2024-8-18最后更新: 2024-9-9字数 00 分钟

type
status
date
slug
summary
tags
category
icon
url
sync
Simple Icons CDN is a CDN service that provides SVG icons, allowing users to access various brand icons through URLs. It supports custom colors and dark mode colors, and offers a viewbox parameter to adjust the display scale of the icons. The project is licensed under MIT and provides detailed usage instructions and examples.

Detailed Introduction

  • Project Overview: Simple Icons CDN is a public project maintained by LitoMore, offering a convenient interface to obtain brand SVG icons.
  • Usage: Users can fetch icons through a specific URL format, including optional parameters such as the icon name (slug), color, and dark mode color.
  • Parameter Description:
    • icon_slug: A unique identifier for the icon, which can be obtained from simpleicons.org.
    • color: An optional parameter to customize the icon color, supporting hexadecimal colors and CSS keywords.
    • dark_mode_color: An optional color parameter for dark mode.
    • viewbox: An optional parameter to adjust the display scale of the icon.
  • Examples: The documentation provides multiple URL examples showing how to obtain icons in different colors and sizes.
  • Adaptive Size: An example code is provided to demonstrate how to use the viewbox parameter to maintain consistent icon sizes across different scenarios.
  • Other Uses: The use of Simple Icons CDN in applications such as Raycast and Notion is introduced.
  • Domain Aliases: Two domain aliases are provided for easy access by users.

Loading...
NotionIntegrations.com

NotionIntegrations.com

A compilation of community-made Notion integrations and upcoming integrations.

Butn.one

Butn.one

A call-to-action button generator for Notion.