Skip to content

Commit

Permalink
chore: #1055 (cont) (title);
Browse files Browse the repository at this point in the history
  • Loading branch information
migbash committed Feb 28, 2023
1 parent ba2a23d commit ad12a13
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 15 deletions.
16 changes: 2 additions & 14 deletions src/lib/components/Widget-Title.svelte
Original file line number Diff line number Diff line change
@@ -1,14 +1,3 @@
<!--
====================
This is an example .svelte
component file, to give guidance on
the structure that is employed across the project
and how it should be layed-out.
====================
<COPY-THIS-FILE-INTO-YOUR-NEXT-COMPONENT>
====================
-->

<!-- ===============
COMPONENT JS (w/ TS)
=================-->
Expand Down Expand Up @@ -47,9 +36,8 @@ COMPONENT JS (w/ TS)
// COMPONENT VARIABLES
// ~~~~~~~~~~~~~~~~~~~~~
// -Variables Go Here
export let WIDGET_TITLE: string
export let OVERRIDE_COLOR: boolean = false;
//#endregion ➤ [VARIABLES]
Expand Down Expand Up @@ -96,7 +84,7 @@ NOTE: [HINT] use (CTRL+SPACE) to select a (class) (id) style
color-black-2
"
style="margin-top: 0px;"
class:color-white={$userBetarenaSettings.theme == 'Dark'}
class:color-white={$userBetarenaSettings.theme == 'Dark' || OVERRIDE_COLOR}
>
{WIDGET_TITLE}
</h2>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -312,12 +312,13 @@ NOTE: [HINT] use (CTRL+SPACE) to select a (class) (id) style
<div>
<WidgetTitle
{WIDGET_TITLE}
OVERRIDE_COLOR={true}
/>

<div
class="widget-component">

<LivescoresTopRow
<LivescoresTopRow
{numOfFixtures}
{numOfFixturesLive}
/>
Expand Down

0 comments on commit ad12a13

Please sign in to comment.