-
Notifications
You must be signed in to change notification settings - Fork 89
Semantic Tokens
Semantic and Semantic tier tokens define design patterns shared across the system. The calcite component background scale color.foreground.1, color.foreground.2, color.foreground.3 is an example of Semantic tokens. While Semantic and Semantic tokens can be considered somewhat interchangeable, only Semantic tokens have compound values for specific context-modes like "light" and "dark". Semantic tokens always have a single value that is a reference to either a Semantic or Core token. The most common use case is for setting the system defaults. Semantic and Semantic tokens are used throughout the Calcite components either directly or through component tokens like button.color.background.
corner-radius.default = corner-radius.none
That way, if the system ever needs to adjust the exact value of corner-radius.default we can do so without causing major breaking changes.
Due to the cascade of effects changes to Semantic tier tokens will cause, updates must go through a long approval process. Please loop in Matt, Skye, and Franco.
- Monorepo
- Global Config
- Coding Conventions
- Testing Conventions
- Patching Packages
- Deprecation Guidance
- Continuous Integration
- GitHub Secrets
- Troubleshoot Build Errors
- Tips and Tricks
- NPM FAQ
- Issue Verification
- Wiki Conventions
- Styling Conventions
- CSS Transitions
- Restricting User Input
- ItemHidden Property
- What Happens When You Scale Vector-Based Icons
- Internationalization
- Introduction
- Getting Started
- Naming Schema
- Semantic Tokens
- Component Tokens
- Web Platform
- Build
- Documentation
- Testing
- Contributing