customize app colors

This commit is contained in:
Julien Calixte
2023-04-16 01:48:20 +02:00
parent 670331dbc1
commit 960746c628
4 changed files with 15 additions and 10 deletions

View File

@@ -1,11 +1,6 @@
@charset "utf-8"; @charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Oxygen+Mono&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Oxygen+Mono&display=swap');
@import "variables";
$family-monospace: 'Oxygen Mono',
monospace;
$family-primary: $family-monospace;
@import '../../node_modules/bulma/bulma.sass'; @import '../../node_modules/bulma/bulma.sass';
*, *,

View File

@@ -0,0 +1,7 @@
$family-monospace: 'Oxygen Mono',
monospace;
$family-primary: $family-monospace;
$primary: #192a56;
$info: #40739e;
$link: #2f3640;

View File

@@ -89,7 +89,7 @@ whenever(logicAnd(notUsingInput, s), () => {
</script> </script>
<template> <template>
<div class="record-controls buttons"> <div class="record-controls buttons has-addons">
<template v-if="!record || !record.end"> <template v-if="!record || !record.end">
<button v-if="canStart" @click="startRecording" class="button is-primary"> <button v-if="canStart" @click="startRecording" class="button is-primary">
start start

View File

@@ -73,7 +73,10 @@ const isSuperiorToEstimation = computed(() => {
</template> </template>
<style scoped lang="scss"> <style scoped lang="scss">
@import '@/assets/variables';
$blob-size: 15px; $blob-size: 15px;
$blob-color: $link;
.step-record { .step-record {
.status { .status {
@@ -96,8 +99,8 @@ $blob-size: 15px;
border-radius: 50%; border-radius: 50%;
height: $blob-size; height: $blob-size;
width: $blob-size; width: $blob-size;
background: rgba(51, 217, 178, 1); background: $blob-color;
box-shadow: 0 0 0 0 rgba(51, 217, 178, 1); box-shadow: 0 0 0 0 $blob-color;
animation: pulse 2s infinite; animation: pulse 2s infinite;
} }
@@ -113,7 +116,7 @@ $blob-size: 15px;
@keyframes pulse { @keyframes pulse {
0% { 0% {
transform: scale(0.95); transform: scale(0.95);
box-shadow: 0 0 0 0 rgba(51, 217, 178, 0.7); box-shadow: 0 0 0 0 $blob-color;
} }
70% { 70% {