|
| 1 | +// Atlas UI compatible variable naming for data widgets |
| 2 | +// Background colors |
| 3 | +$dg-background-color: #fff !default; |
| 4 | +$dg-grid-bg-striped: #fafafb !default; |
| 5 | +$dg-grid-bg-hover: #f5f6f6 !default; |
| 6 | +$dg-hover-color: #f8f8f8 !default; |
| 7 | +$dg-selected-color: #dadcde !default; |
| 8 | + |
| 9 | +// Brand colors |
| 10 | +$dg-brand-primary: #264ae5 !default; |
| 11 | +$dg-brand-light: #e6eaff !default; |
| 12 | +$dg-grid-selected-row-background: $dg-brand-light !default; |
| 13 | + |
| 14 | +// Text and icon colors |
| 15 | +$dg-icon-color: #606671 !default; |
| 16 | +$dg-pagination-button-color: #3b4251 !default; |
| 17 | +$dg-pagination-caption-color: #0a1325 !default; |
| 18 | + |
| 19 | +// Border colors |
| 20 | +$dg-border-color: #ced0d3 !default; |
| 21 | +$dg-grid-border-color: #ced0d3 !default; |
| 22 | + |
| 23 | +// Sizing and spacing |
| 24 | +$dg-icon-size: 14px !default; |
| 25 | +$dg-spacing-small: 8px !default; |
| 26 | +$dg-spacing-medium: 16px !default; |
| 27 | +$dg-spacing-large: 24px !default; |
| 28 | +$dg-item-min-height: 32px !default; |
| 29 | + |
| 30 | +// Effects and animations |
| 31 | +$dg-dragging-color-effect: rgba(10, 19, 37, 0.8) !default; |
| 32 | +$dg-dragging-effect-size: 4px !default; |
| 33 | +$dg-skeleton-background: linear-gradient(90deg, rgba(194, 194, 194, 0.2) 0%, #d2d2d2 100%) !default; |
| 34 | + |
| 35 | +// Assets |
| 36 | +$dg-arrow: "resources/dropdown-arrow.svg" !default; |
| 37 | + |
| 38 | +:root { |
| 39 | + --dg-background-color: #{$dg-background-color}; |
| 40 | + --dg-icon-color: #{$dg-icon-color}; |
| 41 | + --dg-icon-size: #{$dg-icon-size}; |
| 42 | + --dg-pagination-button-color: #{$dg-pagination-button-color}; |
| 43 | + --dg-pagination-caption-color: #{$dg-pagination-caption-color}; |
| 44 | + --dg-dragging-color-effect: #{$dg-dragging-color-effect}; |
| 45 | + --dg-dragging-effect-size: #{$dg-dragging-effect-size}; |
| 46 | + --dg-grid-bg-striped: #{$dg-grid-bg-striped}; |
| 47 | + --dg-grid-bg-hover: #{$dg-grid-bg-hover}; |
| 48 | + --dg-spacing-small: #{$dg-spacing-small}; |
| 49 | + --dg-spacing-medium: #{$dg-spacing-medium}; |
| 50 | + --dg-spacing-large: #{$dg-spacing-large}; |
| 51 | + --dg-grid-border-color: #{$dg-grid-border-color}; |
| 52 | + --dg-brand-primary: #{$dg-brand-primary}; |
| 53 | + --dg-brand-light: #{$dg-brand-light}; |
| 54 | + --dg-grid-selected-row-background: #{$dg-grid-selected-row-background}; |
| 55 | + --dg-skeleton-background: #{$dg-skeleton-background}; |
| 56 | + --dg-hover-color: #{$dg-hover-color}; |
| 57 | + --dg-selected-color: #{$dg-selected-color}; |
| 58 | + --dg-border-color: #{$dg-border-color}; |
| 59 | + --dg-item-min-height: #{$dg-item-min-height}; |
| 60 | + --dg-arrow: #{$dg-arrow}; |
| 61 | +} |
0 commit comments