Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
val defaultText: Color,
val inactiveText: Color,
val linkText: Color,
val lightText: Color,
val emptyText: Color,

Check warning on line 20 in plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/webview/theme/AmazonQTheme.kt

View check run for this annotation

Codecov / codecov/patch

plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/webview/theme/AmazonQTheme.kt#L19-L20

Added lines #L19 - L20 were not covered by tests

val background: Color,
val border: Color,
Expand All @@ -31,6 +33,8 @@
val buttonBackground: Color,
val secondaryButtonForeground: Color,
val secondaryButtonBackground: Color,
val inputBorderFocused: Color,
val inputBorderUnfocused: Color,

Check warning on line 37 in plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/webview/theme/AmazonQTheme.kt

View check run for this annotation

Codecov / codecov/patch

plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/webview/theme/AmazonQTheme.kt#L36-L37

Added lines #L36 - L37 were not covered by tests

val info: Color,
val success: Color,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
TextColorAlt("--mynah-color-text-alternate"),
TextColorStrong("--mynah-color-text-strong"),
TextColorWeak("--mynah-color-text-weak"),
TextColorLight("--mynah-color-light"),

Check warning on line 19 in plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/webview/theme/CssVariable.kt

View check run for this annotation

Codecov / codecov/patch

plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/webview/theme/CssVariable.kt#L19

Added line #L19 was not covered by tests
TextColorLink("--mynah-color-text-link"),
TextColorInput("--mynah-color-text-input"),
TextColorDisabled("--mynah-color-text-disabled"),
Expand All @@ -27,6 +28,8 @@
ColorDeep("--mynah-color-deep"),
ColorDeepReverse("--mynah-color-deep-reverse"),
BorderDefault("--mynah-color-border-default"),
BorderFocused("--mynah-color-text-input-border-focused"),
BorderUnfocused("--mynah-color-text-input-border"),

Check warning on line 32 in plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/webview/theme/CssVariable.kt

View check run for this annotation

Codecov / codecov/patch

plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/webview/theme/CssVariable.kt#L31-L32

Added lines #L31 - L32 were not covered by tests
InputBackground("--mynah-input-bg"),

SyntaxBackground("--mynah-color-syntax-bg"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,10 @@
editorString = currentScheme.foregroundColor(DefaultLanguageHighlighterColors.STRING),
editorProperty = currentScheme.foregroundColor(DefaultLanguageHighlighterColors.INSTANCE_FIELD),
editorClassName = currentScheme.foregroundColor(DefaultLanguageHighlighterColors.CLASS_NAME),
lightText = themeColor("TextField.inactiveForeground", default = 0xA8ADBD, darkDefault = 0x5A5D63),
emptyText = themeColor("TextField.inactiveForeground", default = 0xA8ADBD, darkDefault = 0x5A5D63),
inputBorderFocused = themeColor("ActionButton.focusedBorderColor", default = 0x4682FA, darkDefault = 0x3574f0),
inputBorderUnfocused = themeColor("TextField.borderColor", default = 0xEBECF0, darkDefault = 0x4E5157),

Check warning on line 130 in plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/webview/theme/EditorThemeAdapter.kt

View check run for this annotation

Codecov / codecov/patch

plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/webview/theme/EditorThemeAdapter.kt#L127-L130

Added lines #L127 - L130 were not covered by tests
)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,17 @@
append(CssVariable.TextColorStrong, theme.textFieldForeground)
append(CssVariable.TextColorInput, theme.textFieldForeground)
append(CssVariable.TextColorLink, theme.linkText)
append(CssVariable.TextColorWeak, theme.inactiveText)
append(CssVariable.TextColorWeak, theme.emptyText)
append(CssVariable.TextColorLight, theme.emptyText)

Check warning on line 44 in plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/webview/theme/ThemeBrowserAdapter.kt

View check run for this annotation

Codecov / codecov/patch

plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/webview/theme/ThemeBrowserAdapter.kt#L43-L44

Added lines #L43 - L44 were not covered by tests
append(CssVariable.TextColorDisabled, theme.inactiveText)

append(CssVariable.Background, bg)
append(CssVariable.BackgroundAlt, altBg)
append(CssVariable.CardBackground, bg)
append(CssVariable.CardBackgroundAlt, altBg)
append(CssVariable.BorderDefault, theme.border)
append(CssVariable.BorderFocused, theme.inputBorderFocused)
append(CssVariable.BorderUnfocused, theme.inputBorderUnfocused)

Check warning on line 53 in plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/webview/theme/ThemeBrowserAdapter.kt

View check run for this annotation

Codecov / codecov/patch

plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/webview/theme/ThemeBrowserAdapter.kt#L52-L53

Added lines #L52 - L53 were not covered by tests
append(CssVariable.TabActive, theme.activeTab)

append(CssVariable.InputBackground, inputBg)
Expand Down
Loading