-
+ |
{page.title}
|
-
+ |
{page.subtitle}
|
-
+ |
{page.url}
|
{getIcon('Pencil', 'fill-current w-6 h-6 mr-2')}
@@ -71,7 +71,7 @@ function DashboardPagesPresentation({
to={page.href}
target="_blank"
rel="noopener noreferrer"
- className="text-secondary hover:text-secondary-dark flex items-center"
+ className="text-scarlet-800 hover:text-scarlet-900 flex items-center"
>
{getIcon('Link', 'fill-current w-6 h-6 mr-2')}
diff --git a/src/components/DashboardReports/DashboardReportsData.js b/src/components/DashboardReports/DashboardReportsData.js
index 1fe2830c..a52f8b17 100644
--- a/src/components/DashboardReports/DashboardReportsData.js
+++ b/src/components/DashboardReports/DashboardReportsData.js
@@ -25,7 +25,7 @@ function DashboardReportsData() {
name: 'Build your own',
description: 'Use the advanced search filters to create your own report',
href: `/${site?.sitename}/dashboard/advanced-search?${TYPES}=${TYPE_DICTIONARY}`,
- iconColor: 'wordText',
+ iconColor: 'blumine-800',
auth: ASSISTANT,
},
]
@@ -36,7 +36,7 @@ function DashboardReportsData() {
name: 'Recently created',
description: 'New words and phrases at the top',
href: `/${site?.sitename}/dashboard/advanced-search?${TYPES}=${TYPE_DICTIONARY}&${SORT}=${SORT_CREATED_DESC}`,
- iconColor: 'story',
+ iconColor: 'ochre-600',
auth: ASSISTANT,
},
{
@@ -44,7 +44,7 @@ function DashboardReportsData() {
name: 'Recently modified',
description: 'Recently edited words and phrases at the top',
href: `/${site?.sitename}/dashboard/advanced-search?${TYPES}=${TYPE_DICTIONARY}&${SORT}=${SORT_MODIFIED_DESC}`,
- iconColor: 'word',
+ iconColor: 'jade-500',
auth: ASSISTANT,
},
{
@@ -52,7 +52,7 @@ function DashboardReportsData() {
name: 'No audio',
description: 'Words and phrases without audio files',
href: `/${site?.sitename}/dashboard/advanced-search?${TYPES}=${TYPE_DICTIONARY}&${HAS_AUDIO}=${FALSE}`,
- iconColor: 'song',
+ iconColor: 'scarlet-800',
auth: ASSISTANT,
},
{
@@ -60,7 +60,7 @@ function DashboardReportsData() {
name: 'No images',
description: 'Words and phrases without images',
href: `/${site?.sitename}/dashboard/advanced-search?${TYPES}=${TYPE_DICTIONARY}&${HAS_IMAGE}=${FALSE}`,
- iconColor: 'phrase',
+ iconColor: 'charcoal-500',
auth: ASSISTANT,
},
{
@@ -68,7 +68,7 @@ function DashboardReportsData() {
name: 'Team content',
description: 'Content only available to the language team',
href: `/${site?.sitename}/dashboard/advanced-search?${TYPES}=${TYPE_DICTIONARY}&${VISIBILITY}=${VISIBILITY_TEAM}`,
- iconColor: 'phraseText',
+ iconColor: 'scarlet-600',
auth: ASSISTANT,
},
{
@@ -76,7 +76,7 @@ function DashboardReportsData() {
name: 'Members only content',
description: 'Content only available to site members',
href: `/${site?.sitename}/dashboard/advanced-search?${TYPES}=${TYPE_DICTIONARY}&${VISIBILITY}=${VISIBILITY_MEMBERS}`,
- iconColor: 'tertiaryA',
+ iconColor: 'charcoal-500',
auth: ASSISTANT,
},
{
@@ -84,7 +84,7 @@ function DashboardReportsData() {
name: 'Public content',
description: 'Content available to the general public',
href: `/${site?.sitename}/dashboard/advanced-search?${TYPES}=${TYPE_DICTIONARY}&${VISIBILITY}=${VISIBILITY_PUBLIC}`,
- iconColor: 'tertiaryB',
+ iconColor: 'blumine-500',
auth: ASSISTANT,
},
]
diff --git a/src/components/DashboardSpeakers/DashboardSpeakersData.js b/src/components/DashboardSpeakers/DashboardSpeakersData.js
index ce47fd46..62827f13 100644
--- a/src/components/DashboardSpeakers/DashboardSpeakersData.js
+++ b/src/components/DashboardSpeakers/DashboardSpeakersData.js
@@ -27,7 +27,7 @@ function DashboardSpeakersData() {
name: 'Add a Speaker',
description: 'Add a new speaker to your site',
href: `/${sitename}/dashboard/create/speaker`,
- iconColor: 'wordText',
+ iconColor: 'blumine-800',
},
]
diff --git a/src/components/DashboardSpeakers/DashboardSpeakersPresentation.js b/src/components/DashboardSpeakers/DashboardSpeakersPresentation.js
index 3a593cab..b768e576 100644
--- a/src/components/DashboardSpeakers/DashboardSpeakersPresentation.js
+++ b/src/components/DashboardSpeakers/DashboardSpeakersPresentation.js
@@ -16,7 +16,7 @@ function DashboardSpeakersPresentation({
sitename,
}) {
const tableHeaderClass =
- 'px-6 py-3 text-left text-xs font-medium text-fv-charcoal uppercase tracking-wider'
+ 'px-6 py-3 text-left text-xs font-medium text-charcoal-900 uppercase tracking-wider'
return (
(
-
+ |
{speaker.name}
|
-
+ |
{speaker?.bio || '-'}
|
{getIcon('Pencil', 'fill-current w-6 h-6 mr-2')}
diff --git a/src/components/DashboardTable/DashboardTablePresentation.js b/src/components/DashboardTable/DashboardTablePresentation.js
index f8899013..c979ce72 100644
--- a/src/components/DashboardTable/DashboardTablePresentation.js
+++ b/src/components/DashboardTable/DashboardTablePresentation.js
@@ -21,7 +21,7 @@ function DashboardTablePresentation({
{title}
@@ -30,10 +30,10 @@ function DashboardTablePresentation({
-
-
- {tableHead}
-
+
+
+ {tableHead}
+
{tableBody}
diff --git a/src/components/DashboardTiles/DashboardTilesPresentation.js b/src/components/DashboardTiles/DashboardTilesPresentation.js
index 94909850..057e887d 100644
--- a/src/components/DashboardTiles/DashboardTilesPresentation.js
+++ b/src/components/DashboardTiles/DashboardTilesPresentation.js
@@ -17,7 +17,7 @@ function DashboardTilesPresentation({ tileContent }) {
const tileClass = (index) => {
const baseClass =
- 'relative group bg-white p-5 focus-within:ring-2 focus-within:ring-inset focus-within:ring-secondary'
+ 'relative group bg-white p-5 focus-within:ring-2 focus-within:ring-inset focus-within:ring-scarlet-800'
let tileStyle = baseClass
if (index === topLeft) {
@@ -38,8 +38,8 @@ function DashboardTilesPresentation({ tileContent }) {
const gridClass = () =>
tileCount === 1
- ? 'max-w-lg rounded-lg bg-gray-200 overflow-hidden shadow'
- : `divide-y divide-gray-200 divide-y-0 grid grid-cols-${rowSize} gap-px rounded-lg bg-gray-200 overflow-hidden shadow`
+ ? 'max-w-lg rounded-lg bg-charcoal-100 overflow-hidden shadow'
+ : `divide-y divide-charcoal-100 divide-y-0 grid grid-cols-${rowSize} gap-px rounded-lg bg-charcoal-100 overflow-hidden shadow`
return (
@@ -80,10 +80,12 @@ function DashboardTilesPresentation({ tileContent }) {
)}
- {tile.description}
+
+ {tile.description}
+
| |