104 lines
4.7 KiB
TypeScript
104 lines
4.7 KiB
TypeScript
|
|
import type { CustomThemeConfig } from '@skeletonlabs/tw-plugin';
|
|
|
|
export const myCustomTheme: CustomThemeConfig = {
|
|
name: 'my-custom-theme',
|
|
properties: {
|
|
// =~= Theme Properties =~=
|
|
"--theme-font-family-base": `Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'`,
|
|
"--theme-font-family-heading": `Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'`,
|
|
"--theme-font-color-base": "0 0 0",
|
|
"--theme-font-color-dark": "255 255 255",
|
|
"--theme-rounded-base": "16px",
|
|
"--theme-rounded-container": "8px",
|
|
"--theme-border-base": "1px",
|
|
// =~= Theme On-X Colors =~=
|
|
"--on-primary": "0 0 0",
|
|
"--on-secondary": "0 0 0",
|
|
"--on-tertiary": "0 0 0",
|
|
"--on-success": "0 0 0",
|
|
"--on-warning": "0 0 0",
|
|
"--on-error": "0 0 0",
|
|
"--on-surface": "0 0 0",
|
|
// =~= Theme Colors =~=
|
|
// primary | #62a0ea
|
|
"--color-primary-50": "231 241 252", // #e7f1fc
|
|
"--color-primary-100": "224 236 251", // #e0ecfb
|
|
"--color-primary-200": "216 231 250", // #d8e7fa
|
|
"--color-primary-300": "192 217 247", // #c0d9f7
|
|
"--color-primary-400": "145 189 240", // #91bdf0
|
|
"--color-primary-500": "98 160 234", // #62a0ea
|
|
"--color-primary-600": "88 144 211", // #5890d3
|
|
"--color-primary-700": "74 120 176", // #4a78b0
|
|
"--color-primary-800": "59 96 140", // #3b608c
|
|
"--color-primary-900": "48 78 115", // #304e73
|
|
// secondary | #99c1f1
|
|
"--color-secondary-50": "240 246 253", // #f0f6fd
|
|
"--color-secondary-100": "235 243 252", // #ebf3fc
|
|
"--color-secondary-200": "230 240 252", // #e6f0fc
|
|
"--color-secondary-300": "214 230 249", // #d6e6f9
|
|
"--color-secondary-400": "184 212 245", // #b8d4f5
|
|
"--color-secondary-500": "153 193 241", // #99c1f1
|
|
"--color-secondary-600": "138 174 217", // #8aaed9
|
|
"--color-secondary-700": "115 145 181", // #7391b5
|
|
"--color-secondary-800": "92 116 145", // #5c7491
|
|
"--color-secondary-900": "75 95 118", // #4b5f76
|
|
// tertiary | #f8e45c
|
|
"--color-tertiary-50": "254 251 231", // #fefbe7
|
|
"--color-tertiary-100": "254 250 222", // #fefade
|
|
"--color-tertiary-200": "253 248 214", // #fdf8d6
|
|
"--color-tertiary-300": "252 244 190", // #fcf4be
|
|
"--color-tertiary-400": "250 236 141", // #faec8d
|
|
"--color-tertiary-500": "248 228 92", // #f8e45c
|
|
"--color-tertiary-600": "223 205 83", // #dfcd53
|
|
"--color-tertiary-700": "186 171 69", // #baab45
|
|
"--color-tertiary-800": "149 137 55", // #958937
|
|
"--color-tertiary-900": "122 112 45", // #7a702d
|
|
// success | #33d17a
|
|
"--color-success-50": "224 248 235", // #e0f8eb
|
|
"--color-success-100": "214 246 228", // #d6f6e4
|
|
"--color-success-200": "204 244 222", // #ccf4de
|
|
"--color-success-300": "173 237 202", // #adedca
|
|
"--color-success-400": "112 223 162", // #70dfa2
|
|
"--color-success-500": "51 209 122", // #33d17a
|
|
"--color-success-600": "46 188 110", // #2ebc6e
|
|
"--color-success-700": "38 157 92", // #269d5c
|
|
"--color-success-800": "31 125 73", // #1f7d49
|
|
"--color-success-900": "25 102 60", // #19663c
|
|
// warning | #ffa348
|
|
"--color-warning-50": "255 241 228", // #fff1e4
|
|
"--color-warning-100": "255 237 218", // #ffedda
|
|
"--color-warning-200": "255 232 209", // #ffe8d1
|
|
"--color-warning-300": "255 218 182", // #ffdab6
|
|
"--color-warning-400": "255 191 127", // #ffbf7f
|
|
"--color-warning-500": "255 163 72", // #ffa348
|
|
"--color-warning-600": "230 147 65", // #e69341
|
|
"--color-warning-700": "191 122 54", // #bf7a36
|
|
"--color-warning-800": "153 98 43", // #99622b
|
|
"--color-warning-900": "125 80 35", // #7d5023
|
|
// error | #f66151
|
|
"--color-error-50": "254 231 229", // #fee7e5
|
|
"--color-error-100": "253 223 220", // #fddfdc
|
|
"--color-error-200": "253 216 212", // #fdd8d4
|
|
"--color-error-300": "251 192 185", // #fbc0b9
|
|
"--color-error-400": "249 144 133", // #f99085
|
|
"--color-error-500": "246 97 81", // #f66151
|
|
"--color-error-600": "221 87 73", // #dd5749
|
|
"--color-error-700": "185 73 61", // #b9493d
|
|
"--color-error-800": "148 58 49", // #943a31
|
|
"--color-error-900": "121 48 40", // #793028
|
|
// surface | #deddda
|
|
"--color-surface-50": "250 250 249", // #fafaf9
|
|
"--color-surface-100": "248 248 248", // #f8f8f8
|
|
"--color-surface-200": "247 247 246", // #f7f7f6
|
|
"--color-surface-300": "242 241 240", // #f2f1f0
|
|
"--color-surface-400": "232 231 229", // #e8e7e5
|
|
"--color-surface-500": "222 221 218", // #deddda
|
|
"--color-surface-600": "200 199 196", // #c8c7c4
|
|
"--color-surface-700": "167 166 164", // #a7a6a4
|
|
"--color-surface-800": "133 133 131", // #858583
|
|
"--color-surface-900": "109 108 107", // #6d6c6b
|
|
|
|
}
|
|
}
|