添加项目文件。

This commit is contained in:
2026-04-26 22:50:03 +08:00
parent 8d38f95be0
commit 013c60e7bf
5 changed files with 259 additions and 0 deletions

38
Constants/UIConstants.cs Normal file
View File

@@ -0,0 +1,38 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace Acdiu.AspNetCore.Mvc.Commons.Constants
{
/// <summary>
/// 全局 UI 常量定义
/// </summary>
public static class UIConstants
{
/// <summary>
/// 资源路径常量
/// </summary>
public static class Paths
{
/// <summary>
/// 默认 Bootstrap Icons SVG Sprite 文件路径
/// </summary>
public const string DefaultIconSprite = "/lib/bootstrap-icons-1.13.1/bootstrap-icons.svg";
}
/// <summary>
/// BS SVG 图标默认需要添加的 CSS 类名
/// </summary>
public static class Classes
{
/// <summary>
/// 默认宽度类名适配响应式根字号1rem。如果用户未指定宽度则默认添加这些类名以确保图标大小适中且响应式。用户可以通过添加其他类名覆盖这些默认值。
/// </summary>
public const string DefaultWidth = "w-1r";
/// <summary>
/// 默认高度类名适配响应式根字号1rem。如果用户未指定高度则默认添加这些类名以确保图标大小适中且响应式。用户可以通过添加其他类名覆盖这些默认值。
/// </summary>
public const string DefaultHeight = "h-1r";
}
}
}