🎯 Major Achievements: - Standardized 193+ SCSS imports across all libraries - Created 12 independent Git repositories with clean submodule structure - Eliminated relative path dependencies for true library portability - Added comprehensive consumer integration documentation 📦 Libraries Successfully Published: • ui-design-system (foundation) • ui-essentials (components) • shared-utils (utilities) • auth-client (authentication) • ui-landing-pages (marketing components) • ui-code-display (syntax highlighting) • ui-accessibility (WCAG compliance) • hcl-studio (color management) • ui-animations (CSS animations) • ui-backgrounds (background effects) • ui-font-manager (typography) • ui-data-utils (data manipulation) 🔧 Technical Improvements: - All SCSS imports now use standardized 'ui-design-system/' paths - Libraries work independently as Git submodules - Consumer projects can selectively include only needed libraries - Professional Git history with initial commits for each library - Updated integration guides with step-by-step workflows 📋 Documentation Added: - CONSUMER_INTEGRATION_GUIDE.md - Complete setup instructions - Updated SUBMODULE_INTEGRATION_GUIDE.md - Enhanced with dependency info - Library-specific README files for all repositories 🚀 Ready for Production: - All libraries pushed to https://git.sky-ai.com/jules/* - Clean separation of concerns across library boundaries - Independent versioning and release cycles possible - Optimal structure for LLM analysis and maintenance This completes the monorepo-to-submodule transformation, making the SSuite library ecosystem ready for professional distribution and consumption. 🤖 Generated with Claude Code (https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
157 lines
5.3 KiB
SCSS
157 lines
5.3 KiB
SCSS
@use 'ui-design-system/src/styles/semantic' as *;
|
|
|
|
.demo-container {
|
|
padding: $semantic-spacing-component-lg;
|
|
|
|
.demo-section {
|
|
margin-bottom: $semantic-spacing-layout-section-lg;
|
|
|
|
h3 {
|
|
font-family: map-get($semantic-typography-heading-h3, font-family);
|
|
font-size: map-get($semantic-typography-heading-h3, font-size);
|
|
font-weight: map-get($semantic-typography-heading-h3, font-weight);
|
|
line-height: map-get($semantic-typography-heading-h3, line-height);
|
|
color: $semantic-color-text-primary;
|
|
margin-bottom: $semantic-spacing-component-md;
|
|
}
|
|
|
|
.demo-split-container {
|
|
height: 400px;
|
|
margin-bottom: $semantic-spacing-component-lg;
|
|
border: $semantic-border-width-1 solid $semantic-color-border-secondary;
|
|
border-radius: $semantic-border-radius-md;
|
|
}
|
|
|
|
.demo-panel-content {
|
|
padding: $semantic-spacing-component-md;
|
|
background: $semantic-color-surface-primary;
|
|
height: 100%;
|
|
|
|
h4 {
|
|
font-family: map-get($semantic-typography-heading-h4, font-family);
|
|
font-size: map-get($semantic-typography-heading-h4, font-size);
|
|
font-weight: map-get($semantic-typography-heading-h4, font-weight);
|
|
line-height: map-get($semantic-typography-heading-h4, line-height);
|
|
color: $semantic-color-text-primary;
|
|
margin-bottom: $semantic-spacing-component-sm;
|
|
}
|
|
|
|
p {
|
|
font-family: map-get($semantic-typography-body-medium, font-family);
|
|
font-size: map-get($semantic-typography-body-medium, font-size);
|
|
font-weight: map-get($semantic-typography-body-medium, font-weight);
|
|
line-height: map-get($semantic-typography-body-medium, line-height);
|
|
color: $semantic-color-text-secondary;
|
|
margin-bottom: $semantic-spacing-content-paragraph;
|
|
}
|
|
|
|
&--primary {
|
|
background: $semantic-color-surface-primary;
|
|
}
|
|
|
|
&--secondary {
|
|
background: $semantic-color-surface-secondary;
|
|
}
|
|
|
|
&--elevated {
|
|
background: $semantic-color-surface-elevated;
|
|
box-shadow: $semantic-shadow-elevation-1;
|
|
}
|
|
}
|
|
|
|
.demo-controls {
|
|
display: flex;
|
|
gap: $semantic-spacing-component-sm;
|
|
margin-bottom: $semantic-spacing-component-md;
|
|
flex-wrap: wrap;
|
|
|
|
button {
|
|
padding: $semantic-spacing-interactive-button-padding-y $semantic-spacing-interactive-button-padding-x;
|
|
background: $semantic-color-primary;
|
|
color: $semantic-color-on-primary;
|
|
border: none;
|
|
border-radius: $semantic-border-button-radius;
|
|
cursor: pointer;
|
|
font-family: map-get($semantic-typography-button-medium, font-family);
|
|
font-size: map-get($semantic-typography-button-medium, font-size);
|
|
font-weight: map-get($semantic-typography-button-medium, font-weight);
|
|
line-height: map-get($semantic-typography-button-medium, line-height);
|
|
transition: all $semantic-motion-duration-fast $semantic-motion-easing-ease;
|
|
|
|
&:hover {
|
|
background: $semantic-color-primary;
|
|
box-shadow: $semantic-shadow-button-hover;
|
|
opacity: $semantic-opacity-hover;
|
|
}
|
|
|
|
&:focus-visible {
|
|
outline: 2px solid $semantic-color-focus;
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
&--secondary {
|
|
background: $semantic-color-secondary;
|
|
color: $semantic-color-on-secondary;
|
|
}
|
|
|
|
&--success {
|
|
background: $semantic-color-success;
|
|
color: $semantic-color-on-success;
|
|
}
|
|
|
|
&--danger {
|
|
background: $semantic-color-danger;
|
|
color: $semantic-color-on-danger;
|
|
}
|
|
}
|
|
}
|
|
|
|
.demo-info {
|
|
padding: $semantic-spacing-component-md;
|
|
background: $semantic-color-surface-container;
|
|
border: $semantic-border-width-1 solid $semantic-color-border-subtle;
|
|
border-radius: $semantic-border-radius-sm;
|
|
margin-top: $semantic-spacing-component-md;
|
|
|
|
p {
|
|
font-family: map-get($semantic-typography-body-small, font-family);
|
|
font-size: map-get($semantic-typography-body-small, font-size);
|
|
font-weight: map-get($semantic-typography-body-small, font-weight);
|
|
line-height: map-get($semantic-typography-body-small, line-height);
|
|
color: $semantic-color-text-secondary;
|
|
margin-bottom: $semantic-spacing-content-line-tight;
|
|
|
|
&:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
|
|
strong {
|
|
color: $semantic-color-text-primary;
|
|
font-weight: $semantic-typography-font-weight-semibold;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (max-width: $semantic-breakpoint-md - 1) {
|
|
.demo-container {
|
|
padding: $semantic-spacing-component-md;
|
|
|
|
.demo-section .demo-split-container {
|
|
height: 300px;
|
|
}
|
|
|
|
.demo-section .demo-controls {
|
|
gap: $semantic-spacing-component-xs;
|
|
|
|
button {
|
|
padding: $semantic-spacing-component-xs $semantic-spacing-component-sm;
|
|
font-family: map-get($semantic-typography-button-small, font-family);
|
|
font-size: map-get($semantic-typography-button-small, font-size);
|
|
font-weight: map-get($semantic-typography-button-small, font-weight);
|
|
line-height: map-get($semantic-typography-button-small, line-height);
|
|
}
|
|
}
|
|
}
|
|
} |