Skip to content

Commit 84e1483

Browse files
committed
fix: fix themed color picker 's reset button color
1 parent 5caefbc commit 84e1483

File tree

1 file changed

+38
-26
lines changed

1 file changed

+38
-26
lines changed

src/style-settings/_index.scss

Lines changed: 38 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -108,38 +108,50 @@ body.css-settings-manager:not(.color-use-default) {
108108

109109
/* #region Controls */
110110

111-
.style-settings-container .themed-color-wrapper {
112-
display: flex;
113-
& > div {
114-
gap: var(--size-4-2);
111+
.pcr-app {
112+
border-radius: var(--radius-m);
113+
.pcr-interaction input {
114+
border-radius: var(--radius-s);
115+
}
116+
}
115117

116-
& + div {
117-
margin-top: 0;
118+
.style-settings-container {
119+
.themed-color-wrapper {
120+
display: flex;
121+
& > div {
122+
background-color: transparent;
123+
gap: var(--size-4-2);
124+
125+
& + div {
126+
margin-top: 0;
127+
}
118128
}
119-
120-
.pickr > button {
121-
width: var(--input-height);
122-
height: var(--input-height);
129+
}
130+
.pickr > button {
131+
width: var(--input-height);
132+
height: var(--input-height);
133+
border-radius: var(--button-radius);
134+
border: 1px solid var(--background-modifier-border);
135+
&::before,
136+
&::after {
123137
border-radius: var(--button-radius);
124-
&::before,
125-
&::after {
126-
border-radius: var(--button-radius);
127-
}
128138
}
139+
}
129140

130-
.pickr-reset > button {
131-
cursor: pointer;
132-
margin: 0;
133-
width: var(--input-height);
134-
height: var(--input-height);
135-
position: relative;
141+
.pickr-reset > button {
142+
cursor: pointer;
143+
margin: 0;
144+
width: var(--input-height);
145+
height: var(--input-height);
146+
position: relative;
147+
background-color: var(--color-base-10);
148+
color: var(--color-base-70);
136149

137-
svg {
138-
position: absolute;
139-
top: 50%;
140-
left: 50%;
141-
translate: -50% -50%;
142-
}
150+
svg {
151+
position: absolute;
152+
top: 50%;
153+
left: 50%;
154+
translate: -50% -50%;
143155
}
144156
}
145157
}

0 commit comments

Comments
 (0)