|
| 1 | +/* ---ONLY FOR LOCAL DEV--- */ |
| 2 | +/* ---final version is in mashlib--- */ |
| 3 | + |
| 4 | + |
| 5 | +/* |
| 6 | +** Light Theme (Default) |
| 7 | +** Default color scheme for SolidOS |
| 8 | +*/ |
| 9 | + |
| 10 | +:root { |
| 11 | + /* Background and Text */ |
| 12 | + --color-background: white; |
| 13 | + --color-text: ##1A1A1A; |
| 14 | + --color-text-secondary: #666; |
| 15 | + --color-text-light: #aaa; |
| 16 | + --color-text-link: #3B5998; |
| 17 | + --color-text-link-visited: #3B5998; |
| 18 | + --color-text-link-hover: #3B5998; |
| 19 | + --color-text-link-active: #888; |
| 20 | + --color-text-answer: #00c; |
| 21 | + --color-text-muted: #444; |
| 22 | + --color-text-dark-gray: #202; |
| 23 | + --color-text-blue: #004; |
| 24 | + --color-text-brown: #440; |
| 25 | + |
| 26 | + /* Borders */ |
| 27 | + --color-border: #ccc; |
| 28 | + --color-border-dark: #777; |
| 29 | + --color-border-darker: #444; |
| 30 | + --color-border-light: #aaa; |
| 31 | + --color-border-pale: #eee; |
| 32 | + |
| 33 | + /* Status Colors */ |
| 34 | + --color-selected-bg: #8F3; |
| 35 | + --color-warning: red; |
| 36 | + --color-success-bg: #dfd; |
| 37 | + --color-success-border: green; |
| 38 | + --color-failure-bg: white; |
| 39 | + --color-failure-border: red; |
| 40 | + |
| 41 | + /* Info and Alert Colors */ |
| 42 | + --color-info-bg: #ccccff; |
| 43 | + --color-info-border: #3399ff; |
| 44 | + --color-alert-bg: #ffffdd; |
| 45 | + --color-alert-border: yellow; |
| 46 | + --color-fetch-bg: #eeffee; |
| 47 | + --color-request-bg: yellow; |
| 48 | + --color-error-bg: white; |
| 49 | + --color-error-notice-bg: #fee; |
| 50 | + --color-unparseable-bg: #ffcc00; |
| 51 | + |
| 52 | + /* Component Colors */ |
| 53 | + --color-container-border: black; |
| 54 | + --color-iframe-bg: white; |
| 55 | + --color-main-block-bg: #fff; |
| 56 | + --color-nav-block-bg: #eee; |
| 57 | + --color-nav-block-border: gray; |
| 58 | + --color-category-bg: #f8fff8; |
| 59 | + --color-category-border: #777777; |
| 60 | + --color-category-class-bg: #efe; |
| 61 | + --color-category-class-border: green; |
| 62 | + --color-pubs-pane-bg: #F2F6DA; |
| 63 | + --color-pubs-pane-border: #777777; |
| 64 | + --color-cv-pane-bg: LightSkyBlue; |
| 65 | + |
| 66 | + /* Data Content Pane */ |
| 67 | + --color-data-pane-border-top: black; |
| 68 | + --color-data-pane-border-side: #777; |
| 69 | + --color-table-header-bg: #ddf; |
| 70 | + --color-table-result-bg: #fff; |
| 71 | + --color-table-border-dark: #777; |
| 72 | + |
| 73 | + /* Notification Colors */ |
| 74 | + --color-log-normal: black; |
| 75 | + --color-log-info: black; |
| 76 | + --color-log-warn: black; |
| 77 | + --color-log-warn-bg: #ffd; |
| 78 | + --color-log-error: black; |
| 79 | + --color-log-error-bg: #fdd; |
| 80 | + --color-log-message: green; |
| 81 | + --color-log-debug: black; |
| 82 | + --color-log-debug-bg: #ddf; |
| 83 | + |
| 84 | + /* Suggestion List */ |
| 85 | + --color-suggestion-bg: white; |
| 86 | + --color-suggestion-border: navy; |
| 87 | + --color-suggestion-link: navy; |
| 88 | + --color-suggestion-selected-bg: navy; |
| 89 | + --color-suggestion-selected-text: white; |
| 90 | + |
| 91 | + /* Photo Pane */ |
| 92 | + --color-photo-border: #AAAAAA; |
| 93 | + --color-photo-tag-highlight: #DDEEFF; |
| 94 | + --color-photo-tag-highlight-border: #DDBB99; |
| 95 | + --color-photo-thumb-border: #CCCCCC; |
| 96 | + |
| 97 | + /* Menu and Tab Colors */ |
| 98 | + --color-menu-bg: #FFFFFF; |
| 99 | + --color-menu-item-text: #654d6c; |
| 100 | + --color-menu-item-active: #D1C6DA; |
| 101 | + --color-view-tab-bg: #fff; |
| 102 | + --color-view-window-bg: #ccc; |
| 103 | + --color-query-select-bg: #ccc; |
| 104 | + --color-tab-inactive-bg: #eee; |
| 105 | + --color-tab-inactive-border: #ddd; |
| 106 | + --color-tab-inactive-border-light: #aaa; |
| 107 | + --color-tab-inactive-text: #99f; |
| 108 | + --color-tab-active-bg: #ccc; |
| 109 | + --color-tab-active-border: #ddd; |
| 110 | + --color-tab-active-border-light: #aaa; |
| 111 | + --color-tab-active-text: #22f; |
| 112 | + |
| 113 | + /* Special Highlights */ |
| 114 | + --color-source-highlight: yellow; |
| 115 | + --color-hover-visibility: visible; |
| 116 | + --color-hidden-visibility: hidden; |
| 117 | + --color-mild-notice-bg: #ffe; |
| 118 | + --color-bottom-border-highlight: rgb(100%,65%,0%); |
| 119 | + --color-col-close: #aaa; |
| 120 | + --color-sort-arrow: #aaa; |
| 121 | + --color-pending-edit: #bbb; |
| 122 | + |
| 123 | + /* Typography */ |
| 124 | + --font-family-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; |
| 125 | + --font-family-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; |
| 126 | + --font-size-base: 100%; |
| 127 | + --font-size-strong: 120%; |
| 128 | + --font-weight-normal: normal; |
| 129 | + --font-weight-bold: bold; |
| 130 | + --line-height-base: 1.5; |
| 131 | + --line-height-tight: 1.4; |
| 132 | + --line-height-loose: 1.6; |
| 133 | + --letter-spacing-wide: 0.025em; |
| 134 | + --font-size-sm: 0.875rem; |
| 135 | + --font-size-lg: 1.125rem; |
| 136 | + --font-size-xl: 1.25rem; |
| 137 | + |
| 138 | + /* Spacing and Sizing */ |
| 139 | + --spacing-tiny: 0.05em; |
| 140 | + --spacing-small: 0.1em; |
| 141 | + --spacing-xs: 0.5rem; |
| 142 | + --spacing-sm: 0.75em; |
| 143 | + --spacing-base: 0.5em; |
| 144 | + --spacing-md: 1em; |
| 145 | + --spacing-lg: 1.5em; |
| 146 | + --spacing-xl: 2em; |
| 147 | + --spacing-2xl: 3em; |
| 148 | + --border-width-thin: 1px; |
| 149 | + --border-width-medium: 2px; |
| 150 | + --border-width-bold: 5px; |
| 151 | + --border-radius-base: 0.5em; |
| 152 | + --border-radius-lg: 0.75em; |
| 153 | + --border-radius-full: 1em; |
| 154 | + |
| 155 | + /* Primary/Accent Colors */ |
| 156 | + --color-primary: #7C4DFF; |
| 157 | + --color-primary-alpha: rgba(124, 77, 255, 0.25); |
| 158 | + --color-primary-alpha-light: rgba(124, 77, 255, 0.1); |
| 159 | + --color-secondary: #0077B6; |
| 160 | + --color-accent: #FFD600; |
| 161 | + --color-error: #B00020; |
| 162 | + --color-success: #00C853; |
| 163 | + |
| 164 | + /* Card/Section Backgrounds */ |
| 165 | + --color-card-bg: #FFFFFF; |
| 166 | + --color-section-bg: #F5F5F5; |
| 167 | + --color-zebra-stripe: rgba(0, 0, 0, 0.02); |
| 168 | + --color-hover-bg: rgba(0, 0, 0, 0.05); |
| 169 | + |
| 170 | + /* Shadows */ |
| 171 | + --box-shadow: 0 2px 8px rgba(124,77,255,0.08); |
| 172 | + --box-shadow-sm: 0 1px 4px rgba(124,77,255,0.12); |
| 173 | + |
| 174 | + /* Accessibility */ |
| 175 | + --min-touch-target: 44px; |
| 176 | + --focus-ring-width: 2px; |
| 177 | + --focus-indicator-width: 3px; |
| 178 | + --animation-duration: 0.2s; |
| 179 | + --animation-duration-slow: 0.3s; |
| 180 | + --min-font-size: 14px; |
| 181 | + --min-line-height: 1.4; |
| 182 | + --high-contrast-ratio: 7:1; /* WCAG AAA standard */ |
| 183 | + |
| 184 | + /* Overlay and Modal */ |
| 185 | + --overlay-bg: rgba(0, 0, 0, 0.5); |
| 186 | + --z-index-modal: 9999; |
| 187 | + --z-index-skip-links: 1000; |
| 188 | + |
| 189 | + /* Opacity */ |
| 190 | + --opacity-disabled: 0.6; |
| 191 | + |
| 192 | + /* Layout Values */ |
| 193 | + --max-width-readable: 65ch; |
| 194 | + --max-width-readable-wide: 70ch; |
| 195 | + --grid-min-column: 30em; |
| 196 | + |
| 197 | + /* Outline Offsets */ |
| 198 | + --outline-offset-sm: 2px; |
| 199 | + |
| 200 | + /* Success Alpha */ |
| 201 | + --color-success-alpha: rgba(0, 200, 83, 0.1); |
| 202 | +} |
0 commit comments