mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Change solution to make theme color brandable
This commit is contained in:
parent
ba0271a1a9
commit
54489956ff
@ -28,14 +28,6 @@ $color-yellow: rgb(245, 196, 0);
|
|||||||
$color-yellow-active: rgb(255, 206, 10);
|
$color-yellow-active: rgb(255, 206, 10);
|
||||||
$color-yellow-inverse: rgb(255, 252, 240);
|
$color-yellow-inverse: rgb(255, 252, 240);
|
||||||
|
|
||||||
/**
|
|
||||||
* @tokens Theme
|
|
||||||
* @presenter Color
|
|
||||||
*/
|
|
||||||
|
|
||||||
// main color in general. e.g. the color in the background of the app that is visible behind the transparent iPhone status bar to name one use case, or the current color of SVGs to name another use case
|
|
||||||
$theme-color: $color-primary;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @tokens Color Neutral
|
* @tokens Color Neutral
|
||||||
* @presenter Color
|
* @presenter Color
|
||||||
|
|||||||
@ -1,9 +1,10 @@
|
|||||||
import metadata from './metadata.js'
|
import metadata from './metadata.js'
|
||||||
const { APPLICATION_NAME, APPLICATION_SHORT_NAME, APPLICATION_DESCRIPTION } = metadata
|
const { APPLICATION_NAME, APPLICATION_SHORT_NAME, APPLICATION_DESCRIPTION, THEME_COLOR } = metadata
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: APPLICATION_NAME,
|
name: APPLICATION_NAME,
|
||||||
short_name: APPLICATION_SHORT_NAME,
|
short_name: APPLICATION_SHORT_NAME,
|
||||||
description: APPLICATION_DESCRIPTION,
|
description: APPLICATION_DESCRIPTION,
|
||||||
theme_color: '$theme-color',
|
theme_color: THEME_COLOR,
|
||||||
lang: 'en',
|
lang: 'en',
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,4 +6,5 @@ export default {
|
|||||||
COOKIE_NAME: 'ocelot-social-token',
|
COOKIE_NAME: 'ocelot-social-token',
|
||||||
ORGANIZATION_NAME: 'ocelot.social Community',
|
ORGANIZATION_NAME: 'ocelot.social Community',
|
||||||
ORGANIZATION_JURISDICTION: 'City of Angels',
|
ORGANIZATION_JURISDICTION: 'City of Angels',
|
||||||
|
THEME_COLOR: 'rgb(23, 181, 63)', // main color in general. e.g. the color in the background of the app that is visible behind the transparent iPhone status bar to name one use case, or the current color of SVGs to name another use case
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user