Skip to content

Commit

Permalink
Style changes
Browse files Browse the repository at this point in the history
  • Loading branch information
José Luis Pereira committed Aug 11, 2022
1 parent 15c5b6c commit 04bb9c2
Show file tree
Hide file tree
Showing 12 changed files with 21 additions and 21 deletions.
1 change: 1 addition & 0 deletions src/assets/css/main.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,400;0,500;0,900;1,100;1,400&display=swap');
@import '@/assets/css/tailwind.css';
@import 'leaflet/dist/leaflet.css';
@import '@/assets/css/leaflet.css';
Expand Down
12 changes: 6 additions & 6 deletions src/assets/css/tailwind.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
--color-secondary: 14, 165, 233;
--color-secondary-content: 255, 255, 255;

--color-base-0: 255, 255, 255;
--color-base-100: 245, 247, 251;
--color-base-foreground: 255, 255, 255;
--color-base-background: 245, 247, 251;
--color-base-200: 226, 232, 240;
--color-base-300: 203, 213, 225;
--color-base-content: 0, 0, 0;
Expand All @@ -24,8 +24,8 @@
--color-secondary: 14, 165, 233;
--color-secondary-content: 255, 255, 255;

--color-base-0: 17,24,39;
--color-base-100: 15, 23, 42;
--color-base-background: 17,24,39;
--color-base-foreground: 15, 23, 42;
--color-base-200: 30, 41, 59;
--color-base-300: 30, 41, 59;
--color-base-content: 255, 255, 255;
Expand All @@ -38,7 +38,7 @@
body {
@apply
font-main
bg-base-100
bg-base-background
dark:text-slate-400;
}

Expand All @@ -51,4 +51,4 @@
.dark {
color-scheme: dark;
}
}
}
2 changes: 1 addition & 1 deletion src/components/Button/ButtonExpand.global.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
type="button"
class="
button-expand
bg-base-0
bg-base-foreground
text-secondary-color
w-5
h-5"
Expand Down
2 changes: 1 addition & 1 deletion src/components/Card/VCard.global.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="border-1 card border-base-2 bg-base-0 print:shadow-none print:border-0 rounded">
<div class="border-1 card border-base-200 bg-base-foreground print:shadow-none print:border-0 rounded">
<slot />
</div>
</template>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Gallery/GalleryThumbnail.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div
class="bg-base-0 flex flex-col justify-center cursor-pointer w-24 max-h-20 h-20 border-base-200 rounded-md border-2"
class="bg-base-background flex flex-col justify-center cursor-pointer w-24 max-h-20 h-20 border-base-200 rounded-md border"
:title="title"
>
<img
Expand Down
2 changes: 1 addition & 1 deletion src/components/Gallery/GalleryThumbnailList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
>
<GalleryThumbnail
:image="image"
:class="{ 'border-2 border-secondary-color': current === index }"
:class="{ 'border border-secondary-color': current === index }"
:title="image.depictions.map(d => d.label).join(';')"
@click="emit('selectIndex', index)"
/>
Expand Down
2 changes: 1 addition & 1 deletion src/components/ImageViewer/ControlImageNext.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<button
type="button"
class="p-2 cursor-pointer opacity-50 bg-base-content text-base-0"
class="p-2 cursor-pointer opacity-50 bg-base-content text-base-background"
>
<IconArrowRight class="h-8 w-8" />
</button>
Expand Down
2 changes: 1 addition & 1 deletion src/components/ImageViewer/ControlImagePrevious.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<button
type="button"
class="p-2 cursor-pointer opacity-50 bg-base-content text-base-0"
class="p-2 cursor-pointer opacity-50 bg-base-content text-base-background"
>
<IconArrowLeft class="h-8 w-8" />
</button>
Expand Down
2 changes: 1 addition & 1 deletion src/components/ImageViewer/ImageViewer.global.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div
class="fixed z-[10000] h-full overflow-y-hidden overflow-x-hidden w-full top-0 left-0 flex flex-col items-center justify-center backdrop-blur-md bg-base-0"
class="fixed z-[10000] h-full overflow-y-hidden overflow-x-hidden w-full top-0 left-0 flex flex-col items-center justify-center backdrop-blur-md bg-base-foreground"
@click="emit('close')"
>
<div
Expand Down
3 changes: 1 addition & 2 deletions src/modules/otus/views/Index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
<div>
<div
class="
bg-base-0
bg-base-foreground
border-b
border-base-200
pl-4
Expand Down
6 changes: 3 additions & 3 deletions src/modules/otus/views/Overview.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div>
<div class="grid grid-cols-1 gap-4 md:grid-cols-2">
<div class="grid grid-cols-1 gap-4 auto-rows-min">
<div class="grid grid-cols-1 gap-3 md:grid-cols-2">
<div class="grid grid-cols-1 gap-3 auto-rows-min">
<template
v-for="({ component, available }) in componentsLayout.left"
:key="component"
Expand All @@ -14,7 +14,7 @@
/>
</template>
</div>
<div class="grid grid-cols-1 auto-rows-min gap-4">
<div class="grid grid-cols-1 auto-rows-min gap-3">
<template
v-for="({ component, available }) in componentsLayout.right"
:key="component"
Expand Down
6 changes: 3 additions & 3 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ module.exports = {
theme: {
extend: {
fontFamily: {
main: ['-apple-system','BlinkMacSystemFont','San Francisco','Segoe UI','Roboto','Helvetica Neue','sans-serif']
main: ['Roboto','sans-serif']
},
colors: {
base: {
0: withOpacity('--color-base-0'),
100: withOpacity('--color-base-100'),
background: withOpacity('--color-base-background'),
foreground: withOpacity('--color-base-foreground'),
200: withOpacity('--color-base-200'),
300: withOpacity('--color-base-300'),
content: withOpacity('--color-base-content')
Expand Down

0 comments on commit 04bb9c2

Please sign in to comment.