Skip to content

Commit c2dddc3

Browse files
committed
update styles and copy
1 parent 3f99cdb commit c2dddc3

File tree

6 files changed

+18
-10
lines changed

6 files changed

+18
-10
lines changed

argilla-frontend/components/base/base-separator/BaseSeparator.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default {
88
</script>
99
<style lang="scss" scoped>
1010
.separator {
11-
border-bottom: 1px solid var(--bg-opacity-10);
11+
border-bottom: 1px solid var(--bg-opacity-6);
1212
width: 100%;
1313
}
1414
</style>

argilla-frontend/components/features/home/sidebar/DatasetBadge.vue

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ export default {
4646
hsl(from v-bind(color) h s l / 10%) 0%,
4747
hsl(from v-bind(color) h s l / 1%) 100%
4848
);
49+
& + .dataset-badge__text {
50+
padding: calc($base-space / 2) $base-space calc($base-space / 2)
51+
calc($base-space / 2);
52+
}
4953
}
5054
&__icon {
5155
fill: v-bind(color);
@@ -55,8 +59,7 @@ export default {
5559
&__text {
5660
font-weight: 400;
5761
color: var(--fg-secondary);
58-
padding: calc($base-space / 2) $base-space calc($base-space / 2)
59-
calc($base-space / 2);
62+
padding: calc($base-space / 2) $base-space;
6063
}
6164
}
6265
</style>

argilla-frontend/pages/_id.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ export default {
4444
display: flex;
4545
flex-direction: column;
4646
&__header-badge {
47-
background-color: hsl(from var(--color-brand) h 70% 60%);
47+
background-color: hsl(from var(--color-brand-secondary) h s l);
48+
color: var(--color-dark-grey);
4849
padding: calc($base-space / 2) $base-space;
4950
border-radius: $border-radius;
5051
margin: 0;

argilla-frontend/pages/index.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
/>
5151
<ImportFromPython v-if="!showImportDatasetInput" />
5252
</div>
53-
<BaseSeparator />
53+
<BaseSeparator class="home__sidebar__separator" />
5454
<div class="home__sidebar__content">
5555
<p
5656
class="home__sidebar__title"
@@ -183,6 +183,10 @@ export default {
183183
margin-top: $base-space * 4;
184184
color: var(--fg-secondary);
185185
}
186+
&__separator {
187+
max-width: 75%;
188+
margin: 0 auto;
189+
}
186190
}
187191
}
188192
</style>

argilla-frontend/translation/en.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -283,8 +283,8 @@ export default {
283283
optionsWithoutLabel: "Empty options are not allowed",
284284
},
285285
},
286-
atLeastOneQuestion: "At least one question is required",
287-
atLeastOneRequired: "At least one required question is required",
286+
atLeastOneQuestion: "At least one question is required.",
287+
atLeastOneRequired: "At least one required question is needed.",
288288
hasInvalidQuestions: "Some questions are invalid",
289289
createDataset: "Create the dataset in Argilla",
290290
datasetName: "Dataset name",
@@ -309,7 +309,7 @@ export default {
309309
cantLoadRepository: "Dataset not found or available on Hugging Face",
310310
none: "None",
311311
noWorkspaces:
312-
"Please, follow the <a target='_blank' href='https://docs.argilla.io/latest/how_to_guides/workspace/#create-a-new-workspace'>guide</a> to create a workspace",
312+
"Please, follow this <a target='_blank' href='https://docs.argilla.io/latest/how_to_guides/workspace/#create-a-new-workspace'>guide</a> to create a workspace",
313313
},
314314
config: {
315315
field: {

argilla-frontend/translation/es.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,8 +281,8 @@ export default {
281281
optionsWithoutLabel: "No se permiten opciones vacías",
282282
},
283283
},
284-
atLeastOneQuestion: "Se requiere al menos una pregunta",
285-
atLeastOneRequired: "Se requiere al menos una pregunta obligatoria",
284+
atLeastOneQuestion: "Se requiere al menos una pregunta.",
285+
atLeastOneRequired: "Se requiere al menos una pregunta obligatoria.",
286286
hasInvalidQuestions: "Algunas preguntas son inválidas",
287287
createDataset: "Crea el dataset en Argilla",
288288
datasetName: "Nombre del dataset",

0 commit comments

Comments
 (0)