Skip to content

Commit

Permalink
final things
Browse files Browse the repository at this point in the history
Signed-off-by: Sarah Funkhouser <147884153+golanglemonade@users.noreply.github.com>
  • Loading branch information
golanglemonade committed Dec 19, 2024
1 parent dbcb7dd commit a0dde16
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ const colors = {
secondary: fullConfig.theme.colors.jade['500'],
yellow: fullConfig.theme.colors.saffron['400'],

surface: fullConfig.theme.colors.background,
surface: fullConfig.theme.colors.background['dark'],
background: fullConfig.theme.colors.background['dark'],
backgroundDim: fullConfig.theme.colors.background['secondary'],
borderColor: fullConfig.theme.colors['oxford-blue']['700'],
borderColor: fullConfig.theme.colors.border['dark'],
backgroundLight: fullConfig.theme.colors.jade['700'],
textColor: fullConfig.theme.colors.text,
textColor: fullConfig.theme.colors.text['light'],
textColorDim: fullConfig.theme.colors.text['light'],
inputPlaceholderColor: fullConfig.theme.colors.text['light'],
iconColor: fullConfig.theme.colors.button,
iconColor: fullConfig.theme.colors.button['muted'],
}

// https://github.com/surveyjs/survey-creator/blob/master/packages/survey-creator-core/src/themes/predefined-themes/default/dark.css
Expand Down Expand Up @@ -348,6 +348,10 @@ export const darkTheme: ITheme = {
// "--ctr-font-small-size": "var(--sjs-font-size-x150)",
// "--ctr-font-unit": "8px",
// "--ctr-image-gallery-item-corner-radius": "var(--sjs-corner-radius-x075)"
"--ctr-font-family-code": "var(--font-outfit)",
"--ctr-font-family": "var(--font-outfit)",
"--sjs-default-font-family": "var(--font-outfit)",
"--sjs-font-family": "var(--font-outfit)",
"--ctr-image-gallery-item-title-color": colors.textColor,
// "--ctr-label-padding-bottom": "var(--sjs-spacing-x1)",
// "--ctr-label-padding-left": "0px",
Expand Down
10 changes: 10 additions & 0 deletions packages/ui/src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,11 @@
--color-status-warning-muted: #FDE0AE;
--color-status-error-muted: #f5b8b8;
--color-status-info-muted: #5A9BD5;

/* JSON Editor */
.svc-json-editor-tab__content-area {
background-color: var(--color-bg);
}
}

/* Dark Mode Colors */
Expand Down Expand Up @@ -216,4 +221,9 @@
--color-status-warning-muted: #FBD079;
--color-status-error-muted: #f5b8b8;
--color-status-info-muted: #5A9BD5;

/* JSON Editor */
.svc-json-editor-tab__content-area {
background-color: var(--color-bg);
}
}

0 comments on commit a0dde16

Please sign in to comment.