Skip to content

Commit d45de34

Browse files
LianaHusAniket-Engg
authored andcommitted
theme fixes for dropdown classes
1 parent 679cb75 commit d45de34

File tree

4 files changed

+12
-11
lines changed

4 files changed

+12
-11
lines changed

apps/contract-verification/src/app/components/SearchableChainDropdown.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export const SearchableChainDropdown: React.FC<DropdownProps> = ({ label, id, se
101101
placeholder={intl.formatMessage({ id: "contract-verification.searchableChainDropdown", defaultMessage: "Select a chain" })}
102102
className="form-control"
103103
/>
104-
<ul className="dropdown-menu show w-100 bg-light" style={{ maxHeight: '400px', overflowY: 'auto', display: isOpen ? 'initial' : 'none' }}>
104+
<ul className="dropdown-menu show w-100" style={{ maxHeight: '400px', overflowY: 'auto', display: isOpen ? 'initial' : 'none' }}>
105105
{filteredOptions.map((chain) => (
106106
<li
107107
key={chain.chainId}

apps/remix-ide/src/assets/css/themes/remix-black_undtds.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
--light: #1f2020;
2424
--dark: #1a1a1a;
2525
--text: #babbcc;
26+
--text-background: #28292a;
2627
--body-bg: #1a1a1a;
2728
--custom-select: #252525;
2829
--brand-dark-blue: #222496;
@@ -2891,10 +2892,10 @@ input[type="submit"].btn-block {
28912892
padding: 0.25rem 1.5rem;
28922893
clear: both;
28932894
font-weight: 400;
2894-
color: #212529;
2895+
color: var(--text);
28952896
text-align: inherit;
28962897
white-space: nowrap;
2897-
background-color: transparent;
2898+
background-color: var(--text-background);
28982899
border: 0;
28992900
}
29002901
.dropdown-item:focus,

apps/remix-ide/src/assets/css/themes/remix-dark_tvx1s2.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2738,10 +2738,10 @@ input[type="submit"].btn-block {
27382738
padding: 0.5rem 0;
27392739
margin: 0.125rem 0 0;
27402740
font-size: 1rem;
2741-
color: #fff;
2741+
color: var(--text);
27422742
text-align: left;
27432743
list-style: none;
2744-
background-color: #fff;
2744+
background-color: var(--text-background);
27452745
background-clip: padding-box;
27462746
border: 1px solid rgba(0, 0, 0, 0.15);
27472747
border-radius: 2px;
@@ -2886,10 +2886,10 @@ input[type="submit"].btn-block {
28862886
padding: 0.25rem 1.5rem;
28872887
clear: both;
28882888
font-weight: 400;
2889-
color: #212529;
2889+
color: var(--text);
28902890
text-align: inherit;
28912891
white-space: nowrap;
2892-
background-color: transparent;
2892+
background-color: var(--text-background);
28932893
border: 0;
28942894
}
28952895
.dropdown-item:focus,

apps/remix-ide/src/assets/css/themes/remix-hacker_owl.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2751,10 +2751,10 @@ input[type="submit"].btn-block {
27512751
padding: 0.5rem 0;
27522752
margin: 0.125rem 0 0;
27532753
font-size: 1rem;
2754-
color: #fff;
2754+
color: var(--text);
27552755
text-align: left;
27562756
list-style: none;
2757-
background-color: #fff;
2757+
background-color: var(--text-background);
27582758
background-clip: padding-box;
27592759
border: 1px solid rgba(0, 0, 0, 0.15);
27602760
border-radius: 2px;
@@ -2899,10 +2899,10 @@ input[type="submit"].btn-block {
28992899
padding: 0.25rem 1.5rem;
29002900
clear: both;
29012901
font-weight: 400;
2902-
color: #212529;
2902+
color: var(--text);
29032903
text-align: inherit;
29042904
white-space: nowrap;
2905-
background-color: transparent;
2905+
background-color: var(--text-background);
29062906
border: 0;
29072907
}
29082908
.dropdown-item:focus,

0 commit comments

Comments
 (0)