Skip to content

Commit 4bd639f

Browse files
author
ci-bot
committed
fix css var
1 parent f99be3c commit 4bd639f

File tree

4 files changed

+9
-23
lines changed

4 files changed

+9
-23
lines changed

apps/learneth/src/components/BackButton/index.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ a:hover {
4545
}
4646

4747
&:hover {
48-
border-color: var(--primary);
48+
border-color: var(--bs-primary);
4949
}
5050
}
5151

@@ -57,7 +57,7 @@ a:hover {
5757
&:hover, &:active, &:focus {
5858
background-color: var(--bs-body-bg) !important;
5959
color: var(--bs-body-color) !important;
60-
border-color: var(--primary) !important;
60+
border-color: var(--bs-primary) !important;
6161
box-shadow: none !important;
6262
}
6363

@@ -132,7 +132,7 @@ a:hover {
132132
bottom: 5px;
133133
left: 5px;
134134
width: 3px;
135-
background-color: var(--primary);
135+
background-color: var(--bs-primary);
136136
border-radius: 3px;
137137
}
138138
}

apps/learneth/src/components/RepoImporter/index.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
font-size: 0.625rem;
2525
font-weight: 700;
2626
text-transform: uppercase;
27-
color: var(--text-secondary);
2827
margin-bottom: 0.3rem;
2928
}
3029

@@ -41,6 +40,6 @@
4140
}
4241

4342
.hr-themed {
44-
border-color: var(--secondary);
43+
border-color: var(--bs-secondary);
4544
opacity: .25;
4645
}

apps/learneth/src/pages/StepList/index.scss

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22

33
.course-hero {
44
border-radius: .75rem;
5-
background: var(--dark);
6-
border: 1px solid var(--secondary);
5+
border: 1px solid var(--bs-secondary);
76
.card-body { padding: 1rem; }
87
.h4 {
98
font-size: 1.1rem;
@@ -43,7 +42,6 @@
4342
.no-wiggle-icon {
4443
width: 1em;
4544
text-align: center;
46-
color: var(--dark) !important;
4745
transform: translateY(1px);
4846
}
4947
.more-button {
@@ -56,15 +54,13 @@
5654
text-decoration: none !important;
5755
}
5856
.btn-cta {
59-
background-color: var(--primary);
60-
color: var(--dark) !important;
57+
background-color: var(--bs-primary);
6158
border-color: transparent;
6259
}
6360
.btn-cta:hover,
6461
.btn-cta:focus,
6562
.btn-cta:active {
66-
background-color: var(--primary);
67-
color: var(--dark) !important;
63+
background-color: var(--bs-primary);
6864
}
6965

7066
.stats-row {
@@ -101,23 +97,20 @@
10197
vertical-align: middle;
10298
font-size: calc(var(--stat-ico) - 2px);
10399
line-height: 1;
104-
color: var(--primary);
105100
opacity: .95;
106101
}
107102
.stat-label {
108103
font-size: .65rem;
109104
letter-spacing: .02em;
110-
color: var(--text-secondary);
111105
}
112106
.stat-value {
113-
color: var(--text-primary);
114107
font-size: .65rem;
115108
}
116109
}
117110

118111
.syllabus-list .list-group-item {
119112
background: rgba(255,255,255,0.02);
120-
border: 1px solid var(--secondary);
113+
border: 1px solid var(--bs-secondary-border-color);
121114
border-left: 0; border-right: 0;
122115
padding: .75rem .875rem;
123116
display: flex;
@@ -149,7 +142,6 @@ h1 {
149142
}
150143

151144
.hr-themed {
152-
border-color: var(--secondary);
153145
opacity: .4;
154146
}
155147

@@ -207,10 +199,8 @@ h1 {
207199
.stat-label {
208200
font-size: .75rem;
209201
letter-spacing: .02em;
210-
color: var(--text-secondary, rgba(255,255,255,.65));
211202
}
212203
.stat-value {
213-
color: var(--text-primary, #fff);
214204
font-size: .95rem;
215205
}
216206
.stat-svg {
@@ -222,7 +212,6 @@ h1 {
222212
}
223213
.stat-svg .chk {
224214
fill: none;
225-
stroke: var(--primary);
226215
stroke-width: 3;
227216
stroke-linecap: round;
228217
stroke-linejoin: round;
@@ -233,7 +222,6 @@ h1 {
233222

234223
.description-wrapper {
235224
line-height: 1.5;
236-
color: var(--text-secondary);
237225

238226
p:last-child, h1:last-child, h2:last-child, h3:last-child, ul:last-child, ol:last-child {
239227
margin-bottom: 0;

libs/remix-ui/plugin-manager/src/lib/components/PluginCard.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,11 @@ function PluginCard({ profile, isActive, isLoading, togglePlugin }: PluginCardPr
3636
<div className="toggle-container">
3737
<div
3838
data-id={`pluginManagerComponent${isActive ? 'Deactivate' : 'Activate'}Button${profile.name}`}
39-
onClick={() => togglePlugin(profile.name)}
4039
aria-label={`${isActive ? 'Deactivate' : 'Activate'} ${profile.displayName || profile.name}`}>
4140
<ToggleSwitch
4241
id={`toggleSwitch-${profile.name}`}
4342
isOn={isActive}
44-
onClick={()=>{}}
43+
onClick={() => togglePlugin(profile.name)}
4544
/>
4645
</div>
4746
</div>

0 commit comments

Comments
 (0)