|
| 1 | +/* |
| 2 | +* * * * * ============================== |
| 3 | +* * * * * ============================== |
| 4 | +* * * * * ============================== |
| 5 | +* * * * * ============================== |
| 6 | +======================================== |
| 7 | +======================================== |
| 8 | +======================================== |
| 9 | +---------------------------------------- |
| 10 | +USWDS 2.3.1 |
| 11 | +---------------------------------------- |
| 12 | +COLOR SETTINGS |
| 13 | +---------------------------------------- |
| 14 | +Read more about settings and |
| 15 | +USWDS color tokens in the documentation: |
| 16 | +https://v2.designsystem.digital.gov/style-tokens/color |
| 17 | +---------------------------------------- |
| 18 | +*/ |
| 19 | + |
| 20 | +/* |
| 21 | +---------------------------------------- |
| 22 | +Theme palette colors |
| 23 | +---------------------------------------- |
| 24 | +*/ |
| 25 | + |
| 26 | +// Base colors |
| 27 | +$theme-color-base-family: "gray-cool"; |
| 28 | +$theme-color-base-lightest: "gray-5"; |
| 29 | +$theme-color-base-lighter: "gray-cool-10"; |
| 30 | +$theme-color-base-light: "gray-cool-30"; |
| 31 | +$theme-color-base: "gray-cool-50"; |
| 32 | +$theme-color-base-dark: "gray-cool-60"; |
| 33 | +$theme-color-base-darker: "gray-cool-70"; |
| 34 | +$theme-color-base-darkest: "gray-90"; |
| 35 | +$theme-color-base-ink: "gray-90"; |
| 36 | + |
| 37 | +// Primary colors |
| 38 | +$theme-color-primary-family: "blue"; |
| 39 | +$theme-color-primary-lightest: false; |
| 40 | +$theme-color-primary-lighter: "blue-10"; |
| 41 | +$theme-color-primary-light: "blue-30"; |
| 42 | +$theme-color-primary: "blue-60v"; |
| 43 | +$theme-color-primary-vivid: "blue-warm-60v"; |
| 44 | +$theme-color-primary-dark: "blue-warm-70v"; |
| 45 | +$theme-color-primary-darker: "blue-warm-80v"; |
| 46 | +$theme-color-primary-darkest: false; |
| 47 | + |
| 48 | +// Secondary colors |
| 49 | +$theme-color-secondary-family: "red"; |
| 50 | +$theme-color-secondary-lightest: false; |
| 51 | +$theme-color-secondary-lighter: "red-cool-10"; |
| 52 | +$theme-color-secondary-light: "red-30"; |
| 53 | +$theme-color-secondary: "red-50"; |
| 54 | +$theme-color-secondary-vivid: "red-cool-50v"; |
| 55 | +$theme-color-secondary-dark: "red-60v"; |
| 56 | +$theme-color-secondary-darker: "red-70v"; |
| 57 | +$theme-color-secondary-darkest: false; |
| 58 | + |
| 59 | +// Accent warm colors |
| 60 | +$theme-color-accent-warm-family: "orange"; |
| 61 | +$theme-color-accent-warm-lightest: false; |
| 62 | +$theme-color-accent-warm-lighter: "orange-10"; |
| 63 | +$theme-color-accent-warm-light: "orange-20v"; |
| 64 | +$theme-color-accent-warm: "orange-30v"; |
| 65 | +$theme-color-accent-warm-dark: "orange-50v"; |
| 66 | +$theme-color-accent-warm-darker: "orange-60"; |
| 67 | +$theme-color-accent-warm-darkest: false; |
| 68 | + |
| 69 | +// Accent cool colors |
| 70 | +$theme-color-accent-cool-family: "blue-cool"; |
| 71 | +$theme-color-accent-cool-lightest: false; |
| 72 | +$theme-color-accent-cool-lighter: "blue-cool-5v"; |
| 73 | +$theme-color-accent-cool-light: "blue-cool-20v"; |
| 74 | +$theme-color-accent-cool: "cyan-30v"; |
| 75 | +$theme-color-accent-cool-dark: "blue-cool-40v"; |
| 76 | +$theme-color-accent-cool-darker: "blue-cool-60v"; |
| 77 | +$theme-color-accent-cool-darkest: false; |
| 78 | + |
| 79 | +/* |
| 80 | +---------------------------------------- |
| 81 | +State palette colors |
| 82 | +---------------------------------------- |
| 83 | +*/ |
| 84 | + |
| 85 | +// Error colors |
| 86 | +$theme-color-error-family: "red-warm"; |
| 87 | +$theme-color-error-lighter: "red-warm-10"; |
| 88 | +$theme-color-error-light: "red-warm-30v"; |
| 89 | +$theme-color-error: "red-warm-50v"; |
| 90 | +$theme-color-error-dark: "red-60v"; |
| 91 | +$theme-color-error-darker: "red-70"; |
| 92 | + |
| 93 | +// Warning colors |
| 94 | +$theme-color-warning-family: "gold"; |
| 95 | +$theme-color-warning-lighter: "yellow-5"; |
| 96 | +$theme-color-warning-light: "yellow-10v"; |
| 97 | +$theme-color-warning: "gold-20v"; |
| 98 | +$theme-color-warning-dark: "gold-30v"; |
| 99 | +$theme-color-warning-darker: "gold-50v"; |
| 100 | + |
| 101 | +// Success colors |
| 102 | +$theme-color-success-family: "green-cool"; |
| 103 | +$theme-color-success-lighter: "green-cool-5"; |
| 104 | +$theme-color-success-light: "green-cool-20v"; |
| 105 | +$theme-color-success: "green-cool-40v"; |
| 106 | +$theme-color-success-dark: "green-cool-50"; |
| 107 | +$theme-color-success-darker: "green-cool-60"; |
| 108 | + |
| 109 | +// Info colors |
| 110 | +$theme-color-info-family: "cyan"; |
| 111 | +$theme-color-info-lighter: "cyan-5"; |
| 112 | +$theme-color-info-light: "cyan-20"; |
| 113 | +$theme-color-info: "cyan-30v"; |
| 114 | +$theme-color-info-dark: "cyan-40v"; |
| 115 | +$theme-color-info-darker: "blue-cool-60"; |
| 116 | + |
| 117 | +// Disabled colors |
| 118 | +$theme-color-disabled-family: "gray"; |
| 119 | +$theme-color-disabled-light: "gray-10"; |
| 120 | +$theme-color-disabled: "gray-20"; |
| 121 | +$theme-color-disabled-dark: "gray-30"; |
| 122 | + |
| 123 | +/* |
| 124 | +---------------------------------------- |
| 125 | +General colors |
| 126 | +---------------------------------------- |
| 127 | +*/ |
| 128 | + |
| 129 | +// Links |
| 130 | +$theme-link-color: "primary"; |
| 131 | +$theme-link-visited-color: "violet-70v"; |
| 132 | +$theme-link-hover-color: "primary-dark"; |
| 133 | +$theme-link-active-color: "primary-darker"; |
0 commit comments