mirror of
https://github.com/usebruno/bruno.git
synced 2026-07-02 17:08:32 +00:00
fix: colors (#6564)
This commit is contained in:
@@ -16,10 +16,6 @@ const StyledWrapper = styled.div`
|
||||
background-color: ${(props) => props.theme.examples.buttonColor};
|
||||
border: 1px solid ${(props) => props.theme.examples.buttonColor};
|
||||
color: white;
|
||||
|
||||
svg {
|
||||
color: ${(props) => props.theme.text} !important;
|
||||
}
|
||||
}
|
||||
|
||||
.secondary-btn {
|
||||
|
||||
@@ -142,7 +142,7 @@ const ResponseExampleTopBar = ({
|
||||
onClick={handleSave}
|
||||
data-testid="response-example-save-btn"
|
||||
>
|
||||
<IconDeviceFloppy size={16} color={theme.examples.buttonText} />
|
||||
<IconDeviceFloppy size={16} />
|
||||
Save
|
||||
</button>
|
||||
</div>
|
||||
@@ -188,6 +188,7 @@ const ResponseExampleTopBar = ({
|
||||
</button>
|
||||
<button
|
||||
className="secondary-btn flex items-center gap-1.5 px-4 py-2 rounded-md text-xs font-medium cursor-pointer border whitespace-nowrap"
|
||||
style={{ color: theme.examples.buttonText }}
|
||||
onClick={onEditToggle}
|
||||
data-testid="response-example-edit-btn"
|
||||
>
|
||||
|
||||
@@ -561,8 +561,8 @@ const catppuccinFrappeTheme = {
|
||||
examples: {
|
||||
buttonBg: 'rgba(202, 158, 230, 0.1)',
|
||||
buttonColor: colors.MAUVE,
|
||||
buttonText: colors.CRUST,
|
||||
buttonIconColor: colors.CRUST,
|
||||
buttonText: colors.TEXT,
|
||||
buttonIconColor: colors.TEXT,
|
||||
border: colors.SURFACE1,
|
||||
urlBar: {
|
||||
border: colors.SURFACE0,
|
||||
|
||||
@@ -561,8 +561,8 @@ const catppuccinMacchiatoTheme = {
|
||||
examples: {
|
||||
buttonBg: 'rgba(198, 160, 246, 0.1)',
|
||||
buttonColor: colors.MAUVE,
|
||||
buttonText: colors.CRUST,
|
||||
buttonIconColor: colors.CRUST,
|
||||
buttonText: colors.TEXT,
|
||||
buttonIconColor: colors.TEXT,
|
||||
border: colors.SURFACE1,
|
||||
urlBar: {
|
||||
border: colors.SURFACE0,
|
||||
|
||||
@@ -561,8 +561,8 @@ const catppuccinMochaTheme = {
|
||||
examples: {
|
||||
buttonBg: 'rgba(203, 166, 247, 0.1)',
|
||||
buttonColor: colors.MAUVE,
|
||||
buttonText: colors.CRUST,
|
||||
buttonIconColor: colors.CRUST,
|
||||
buttonText: colors.TEXT,
|
||||
buttonIconColor: colors.TEXT,
|
||||
border: colors.SURFACE1,
|
||||
urlBar: {
|
||||
border: colors.SURFACE0,
|
||||
|
||||
Reference in New Issue
Block a user