← Back to list

styling
by InKCre
Design system and any other design stuff of InKCre
⭐ 0🍴 0📅 Jan 16, 2026
SKILL.md
name: styling description: Use @inkcre/web-design styling system with design tokens, SCSS mixins, and theming.
Styling System
Use this skill when working with the @inkcre/web-design styling system.
Overview
The design system provides:
- Design tokens (colors, spacing, typography, etc.)
- SCSS mixins and functions
- Theme support (light/dark modes)
- CSS custom properties
Import SCSS Utilities
@use "@inkcre/web-design/styles/mixins" as *;
@use "@inkcre/web-design/styles/functions" as fn;
@use "@inkcre/web-design/tokens/ref" as ref;
@use "@inkcre/web-design/tokens/sys" as sys;
@use "@inkcre/web-design/tokens/comp" as comp;
Design Tokens
Token Layers
- Reference Tokens (
ref): Primitive values - System Tokens (
sys): Semantic tokens - Component Tokens (
comp): Component-specific tokens
Token Categories
- Colors:
ref.$color,sys.$color-light,sys.$color-dark - Spacing:
ref.$space(xs, sm, md, lg, xl, etc.) - Typography:
ref.$typo(font sizes, weights, line heights) - Border Radius:
ref.$radius - Elevation:
ref.$elevation(shadows) - Breakpoints:
ref.$breakpoint(sm, md, lg, xl) - Opacity:
ref.$opacity
Usage Examples
.my-component {
// Use system tokens
color: fn.map-deep-get(sys.$color-light, "text", "base");
padding: fn.map-deep-get(ref.$space, "md");
border-radius: fn.map-deep-get(ref.$radius, "sm");
// Use component tokens
background: fn.map-deep-get(comp.$light, "button", "bg-primary");
}
Theme Support
// Light mode
[data-theme="light"] {
--color-text-base: #{fn.map-deep-get(sys.$color-light, "text", "base")};
}
// Dark mode
[data-theme="dark"] {
--color-text-base: #{fn.map-deep-get(sys.$color-dark, "text", "base")};
}
UnoCSS Configuration
// uno.config.ts
export default defineConfig({
safelist: [
'i-mdi-menu',
'i-mdi-loading',
'i-mdi-refresh',
'i-mdi-chevron-right',
'i-mdi-chevron-down',
'i-mdi-alert-circle-outline',
'i-mdi-inbox-outline',
'animate-spin'
]
})
Score
Total Score
55/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
✓最近の活動
1ヶ月以内に更新
+10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
✓タグ
1つ以上のタグが設定されている
+5
Reviews
💬
Reviews coming soon


