Skip to content

Commit d8e4a43

Browse files
committed
refactor(css): Use css by Aura Theme
1 parent 43602a3 commit d8e4a43

File tree

8 files changed

+15
-15
lines changed

8 files changed

+15
-15
lines changed

dev/App.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010

1111
html {
1212
height: 100%;
13-
font-size: 16px;
13+
font-size: 14px;
1414
}
1515

1616
a {
1717
text-decoration: none;
18-
color: var(--primary-color);
18+
color: var(--p-primary-color);
1919
}
2020

2121

dev/components/app/AppTopbar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,6 @@ const items = ref([
167167

168168
<style scoped lang='scss'>
169169
a {
170-
color: var(--primary-color);
170+
color: var(--p-primary-color);
171171
}
172172
</style>

dev/components/demo/PrimeInput.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ async function submitHandler() {
3333
<template>
3434
<div>
3535
<Toast position="bottom-right" />
36-
<h2 class="text-color-[var(--primary-color)] pb-2">
36+
<h2 class="text-color-[var(--p-primary-color)] pb-2">
3737
{{ header }}
3838
</h2>
3939
<slot />

dev/components/demo/PrimeOutput.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const formData = ref(props.data)
1818
<template>
1919
<div>
2020
<Toast position="bottom-right" />
21-
<h2 class="text-color-[var(--primary-color)] pb-2">
21+
<h2 class="text-color-[var(--p-primary-color)] pb-2">
2222
{{ header }}
2323
</h2>
2424
<slot />

dev/components/demo/PrimeSchemaEditor.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ function copyObject() {
5757
<template>
5858
<div>
5959
<Toast position="bottom-right" />
60-
<h2 class="text-color-[var(--primary-color)] pb-2">
60+
<h2 class="text-color-[var(--p-primary-color)] pb-2">
6161
{{ header }}
6262
</h2>
6363
<slot />

dev/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!DOCTYPE html>
2-
<html lang="en" style="font-size: 14px;" class="p-dark">
2+
<html lang="en" class="p-dark">
33
<head>
44
<meta charset="UTF-8" />
55
<link rel="icon" href="./assets/favicon.ico" />

dev/pages/samples/FormEditor.vue

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,17 +74,17 @@ const schemaResult = computed(() => editorDataToSchema(formData.value))
7474
<li v-for="formInput in formInputList" :key="formInput" class="mt-4">
7575
<div class="" style="box-sizing: border-box;">
7676
<div class="min-w-100 mr-4 flex gap-2">
77-
<span class="block p-drag-handle"><i class="pi pi-bars text-[color:var(--primary-color)]" /></span>
78-
<i class="pi pi-file-edit text-[color:var(--primary-color)] mb-2" @click="actionEdit(formInput)" />
79-
<i class="pi pi-copy text-[color:var(--primary-color)] mb-2" @click="actionCopy(formInput)" />
80-
<i class="pi pi-plus text-[color:var(--primary-color)] mb-2" @click="actionInsert(formInput)" />
81-
<i class="pi pi-trash text-[color:var(--primary-color)]" @click="actionDelete(formInput)" />
77+
<span class="block p-drag-handle"><i class="pi pi-bars text-[color:var(--p-primary-color)]" /></span>
78+
<i class="pi pi-file-edit text-[color:var(--p-primary-color)] mb-2" @click="actionEdit(formInput)" />
79+
<i class="pi pi-copy text-[color:var(--p-primary-color)] mb-2" @click="actionCopy(formInput)" />
80+
<i class="pi pi-plus text-[color:var(--p-primary-color)] mb-2" @click="actionInsert(formInput)" />
81+
<i class="pi pi-trash text-[color:var(--p-primary-color)]" @click="actionDelete(formInput)" />
8282
<span class="text-gray-700">|</span>
8383
<i
8484
v-if="formInput.if && formInput.if.length > 0" v-tooltip="`condition: ${formInput.if}`"
8585
class="pi pi-question-circle text-yellow-700"
8686
/>
87-
<span class="text-xs text-[color:var(--primary-color)]">{{ formInput.$formkit }}</span>
87+
<span class="text-xs text-[color:var(--p-primary-color)]">{{ formInput.$formkit }}</span>
8888
<span class="text-gray-700">|</span>
8989
<span class="text-xs text-yellow-500">{{ formInput.name }}</span>
9090
</div>

dev/pages/styling/Grid.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,14 @@ const data = { name: 'Hey Some Value', name2: 'Another value !', name3: 42 }
5757
</script>
5858

5959
<template>
60-
<h2 class="text-color-[var(--primary-color)]">
60+
<h2 class="text-color-[var(--p-primary-color)]">
6161
Grid in Data Edit
6262
</h2>
6363
<h4>12 Column Grid used</h4>
6464
<div class="w-1/3">
6565
<FormKitDataEdit :schema="schema" :data="data" :debug-schema="false" :debug-data="false" />
6666
</div>
67-
<h2 class="text-color-[var(--primary-color)]">
67+
<h2 class="text-color-[var(--p-primary-color)]">
6868
Grid in Data View
6969
</h2>
7070
<div class="w-1/3">

0 commit comments

Comments
 (0)