mirror of
https://github.com/owncast/owncast.git
synced 2025-11-03 21:08:36 +08:00
Comment out the old ant overrides and try to make colors match design
This commit is contained in:
@ -88,13 +88,17 @@ export default function ContentComponent() {
|
|||||||
<div className={s.buttonsLogoTitleSection}>
|
<div className={s.buttonsLogoTitleSection}>
|
||||||
<ActionButtonRow>
|
<ActionButtonRow>
|
||||||
{externalActionButtons}
|
{externalActionButtons}
|
||||||
<Button icon={<HeartFilled />}>Follow</Button>
|
<Button type="primary" icon={<HeartFilled />}>
|
||||||
|
Follow
|
||||||
|
</Button>
|
||||||
<NotifyReminderPopup
|
<NotifyReminderPopup
|
||||||
visible
|
visible
|
||||||
notificationClicked={() => {}}
|
notificationClicked={() => {}}
|
||||||
notificationClosed={() => {}}
|
notificationClosed={() => {}}
|
||||||
>
|
>
|
||||||
<Button icon={<NotificationFilled />}>Notify</Button>
|
<Button type="primary" icon={<NotificationFilled />}>
|
||||||
|
Notify
|
||||||
|
</Button>
|
||||||
</NotifyReminderPopup>
|
</NotifyReminderPopup>
|
||||||
</ActionButtonRow>
|
</ActionButtonRow>
|
||||||
|
|
||||||
|
|||||||
@ -21,7 +21,7 @@ export default function OfflineBanner({ name, text }: Props) {
|
|||||||
<div>{text}</div>
|
<div>{text}</div>
|
||||||
|
|
||||||
<div className={s.footer}>
|
<div className={s.footer}>
|
||||||
<Button onClick={handleShowNotificationModal}>
|
<Button type="primary" onClick={handleShowNotificationModal}>
|
||||||
<NotificationFilled />
|
<NotificationFilled />
|
||||||
Notify when Live
|
Notify when Live
|
||||||
</Button>
|
</Button>
|
||||||
|
|||||||
@ -6,5 +6,5 @@
|
|||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background-color: black;
|
background-color: var(--theme-background-secondary);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,9 +1,12 @@
|
|||||||
|
// All these imports are almost exclusively for the Admin.
|
||||||
|
// We should not be loading them for the main frontend UI.
|
||||||
|
|
||||||
// order matters!
|
// order matters!
|
||||||
import '../styles/variables.css';
|
import '../styles/variables.css';
|
||||||
import '../styles/global.less';
|
import '../styles/global.less';
|
||||||
import '../styles/globals.scss';
|
import '../styles/globals.scss';
|
||||||
import '../styles/ant-overrides.scss';
|
// import '../styles/ant-overrides.scss';
|
||||||
import '../styles/markdown-editor.scss';
|
// import '../styles/markdown-editor.scss';
|
||||||
|
|
||||||
import '../styles/main-layout.scss';
|
import '../styles/main-layout.scss';
|
||||||
|
|
||||||
|
|||||||
@ -12,10 +12,12 @@ popover-background:
|
|||||||
value: '{color.owncast.purple.700.value}'
|
value: '{color.owncast.purple.700.value}'
|
||||||
background-color-light:
|
background-color-light:
|
||||||
value: 'var(--theme-background-secondary)'
|
value: 'var(--theme-background-secondary)'
|
||||||
|
layout-body-background:
|
||||||
|
value: 'var(--theme-background)'
|
||||||
|
|
||||||
# These values require explicit colors and cannot take css variables.
|
# These values require explicit colors and cannot take css variables.
|
||||||
primary-color:
|
primary-color:
|
||||||
value: '{color.owncast.purple.500.value}'
|
value: '{color.owncast.purple.700.value}'
|
||||||
info-color:
|
info-color:
|
||||||
value: '{color.owncast.gray.500.value}'
|
value: '{color.owncast.gray.500.value}'
|
||||||
success-color:
|
success-color:
|
||||||
|
|||||||
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
theme:
|
theme:
|
||||||
primary-color:
|
primary-color:
|
||||||
value: '{color.owncast.purple.500.value}'
|
value: '{color.owncast.purple.700.value}'
|
||||||
comment: 'The primary color of the application used for rendering controls.'
|
comment: 'The primary color of the application used for rendering controls.'
|
||||||
text-color:
|
text-color:
|
||||||
value: '{color.owncast.gray.300.value}'
|
value: '{color.owncast.gray.300.value}'
|
||||||
|
|||||||
@ -71,9 +71,9 @@ color:
|
|||||||
value: 'rgba(32, 134, 225, 1)'
|
value: 'rgba(32, 134, 225, 1)'
|
||||||
|
|
||||||
background:
|
background:
|
||||||
value: 'rgba(27, 26, 38, 1)'
|
value: 'rgba(32, 34, 50, 1.0)'
|
||||||
background-secondary:
|
background-secondary:
|
||||||
value: 'rgba(22, 21, 31, 1)'
|
value: '#282A30'
|
||||||
|
|
||||||
font:
|
font:
|
||||||
owncast:
|
owncast:
|
||||||
|
|||||||
@ -1,13 +1,14 @@
|
|||||||
|
|
||||||
// Do not edit directly
|
// Do not edit directly
|
||||||
// Generated on Wed, 18 May 2022 00:35:52 GMT
|
// Generated on Fri, 27 May 2022 05:16:28 GMT
|
||||||
|
|
||||||
@text-color: var(--theme-text-color);
|
@text-color: var(--theme-text-color);
|
||||||
@text-color-secondary: var(--theme-text-color-secondary);
|
@text-color-secondary: var(--theme-text-color-secondary);
|
||||||
@link-color: var(--theme-link-color);
|
@link-color: var(--theme-link-color);
|
||||||
@popover-background: #6941c6;
|
@popover-background: #6941c6;
|
||||||
@background-color-light: var(--theme-background-secondary);
|
@background-color-light: var(--theme-background-secondary);
|
||||||
@primary-color: #9e77ed;
|
@layout-body-background: var(--theme-background);
|
||||||
|
@primary-color: #6941c6;
|
||||||
@info-color: #667085;
|
@info-color: #667085;
|
||||||
@success-color: #12b76a;
|
@success-color: #12b76a;
|
||||||
@warning-color: #f79009;
|
@warning-color: #f79009;
|
||||||
@ -16,13 +17,13 @@
|
|||||||
@green-base: #12b76a;
|
@green-base: #12b76a;
|
||||||
@red-base: #f04438;
|
@red-base: #f04438;
|
||||||
@orange-base: #f79009;
|
@orange-base: #f79009;
|
||||||
@theme-primary-color: #9e77ed; // The primary color of the application used for rendering controls.
|
@theme-primary-color: #6941c6; // The primary color of the application used for rendering controls.
|
||||||
@theme-text-color: #d0d5dd; // The color of the text in the application.
|
@theme-text-color: #d0d5dd; // The color of the text in the application.
|
||||||
@theme-text-color-secondary: #667085;
|
@theme-text-color-secondary: #667085;
|
||||||
@theme-link-color: #9e77ed;
|
@theme-link-color: #9e77ed;
|
||||||
@theme-font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
|
@theme-font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
|
||||||
@theme-background: #1b1a26; // The main background color of the page.
|
@theme-background: #202232; // The main background color of the page.
|
||||||
@theme-background-secondary: #16151f; // A secondary background color used in sections and controls.
|
@theme-background-secondary: #282a30; // A secondary background color used in sections and controls.
|
||||||
@theme-rounded-corners: 5px; // The radius of rounded corners used in places.
|
@theme-rounded-corners: 5px; // The radius of rounded corners used in places.
|
||||||
@theme-success-color: #12b76a;
|
@theme-success-color: #12b76a;
|
||||||
@theme-info-color: #d6bbfb;
|
@theme-info-color: #d6bbfb;
|
||||||
@ -56,8 +57,8 @@
|
|||||||
@color-owncast-logo-purple: #7871ff;
|
@color-owncast-logo-purple: #7871ff;
|
||||||
@color-owncast-logo-pink: #c98bfe;
|
@color-owncast-logo-pink: #c98bfe;
|
||||||
@color-owncast-logo-blue: #2086e1;
|
@color-owncast-logo-blue: #2086e1;
|
||||||
@color-owncast-background: #1b1a26;
|
@color-owncast-background: #202232;
|
||||||
@color-owncast-background-secondary: #16151f;
|
@color-owncast-background-secondary: #282a30;
|
||||||
@font-owncast-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
|
@font-owncast-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
|
||||||
@owncast-purple: #7871ff;
|
@owncast-purple: #7871ff;
|
||||||
@owncast-purple-25: rgba(120, 113, 255, 0.25);
|
@owncast-purple-25: rgba(120, 113, 255, 0.25);
|
||||||
@ -70,5 +71,5 @@
|
|||||||
@white-88: #667085;
|
@white-88: #667085;
|
||||||
@purple-dark: #42307d;
|
@purple-dark: #42307d;
|
||||||
@default-link-color: #6941c6;
|
@default-link-color: #6941c6;
|
||||||
@default-bg-color: #1b1a26;
|
@default-bg-color: #202232;
|
||||||
@default-text-color: #f2f4f7;
|
@default-text-color: #f2f4f7;
|
||||||
@ -1,6 +1,6 @@
|
|||||||
/**
|
/**
|
||||||
* Do not edit directly
|
* Do not edit directly
|
||||||
* Generated on Wed, 18 May 2022 00:35:52 GMT
|
* Generated on Fri, 27 May 2022 05:16:28 GMT
|
||||||
*/
|
*/
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
@ -9,7 +9,8 @@
|
|||||||
--link-color: var(--theme-link-color);
|
--link-color: var(--theme-link-color);
|
||||||
--popover-background: #6941c6;
|
--popover-background: #6941c6;
|
||||||
--background-color-light: var(--theme-background-secondary);
|
--background-color-light: var(--theme-background-secondary);
|
||||||
--primary-color: #9e77ed;
|
--layout-body-background: var(--theme-background);
|
||||||
|
--primary-color: #6941c6;
|
||||||
--info-color: #667085;
|
--info-color: #667085;
|
||||||
--success-color: #12b76a;
|
--success-color: #12b76a;
|
||||||
--warning-color: #f79009;
|
--warning-color: #f79009;
|
||||||
@ -18,15 +19,15 @@
|
|||||||
--green-base: #12b76a;
|
--green-base: #12b76a;
|
||||||
--red-base: #f04438;
|
--red-base: #f04438;
|
||||||
--orange-base: #f79009;
|
--orange-base: #f79009;
|
||||||
--theme-primary-color: #9e77ed; /* The primary color of the application used for rendering controls. */
|
--theme-primary-color: #6941c6; /* The primary color of the application used for rendering controls. */
|
||||||
--theme-text-color: #d0d5dd; /* The color of the text in the application. */
|
--theme-text-color: #d0d5dd; /* The color of the text in the application. */
|
||||||
--theme-text-color-secondary: #667085;
|
--theme-text-color-secondary: #667085;
|
||||||
--theme-link-color: #9e77ed;
|
--theme-link-color: #9e77ed;
|
||||||
--theme-font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
|
--theme-font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
|
||||||
'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
|
'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
|
||||||
'Segoe UI Symbol', 'Noto Color Emoji';
|
'Segoe UI Symbol', 'Noto Color Emoji';
|
||||||
--theme-background: #1b1a26; /* The main background color of the page. */
|
--theme-background: #202232; /* The main background color of the page. */
|
||||||
--theme-background-secondary: #16151f; /* A secondary background color used in sections and controls. */
|
--theme-background-secondary: #282a30; /* A secondary background color used in sections and controls. */
|
||||||
--theme-rounded-corners: 5px; /* The radius of rounded corners used in places. */
|
--theme-rounded-corners: 5px; /* The radius of rounded corners used in places. */
|
||||||
--theme-success-color: #12b76a;
|
--theme-success-color: #12b76a;
|
||||||
--theme-info-color: #d6bbfb;
|
--theme-info-color: #d6bbfb;
|
||||||
@ -60,8 +61,8 @@
|
|||||||
--color-owncast-logo-purple: #7871ff;
|
--color-owncast-logo-purple: #7871ff;
|
||||||
--color-owncast-logo-pink: #c98bfe;
|
--color-owncast-logo-pink: #c98bfe;
|
||||||
--color-owncast-logo-blue: #2086e1;
|
--color-owncast-logo-blue: #2086e1;
|
||||||
--color-owncast-background: #1b1a26;
|
--color-owncast-background: #202232;
|
||||||
--color-owncast-background-secondary: #16151f;
|
--color-owncast-background-secondary: #282a30;
|
||||||
--font-owncast-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
|
--font-owncast-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
|
||||||
'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
|
'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
|
||||||
'Segoe UI Symbol', 'Noto Color Emoji';
|
'Segoe UI Symbol', 'Noto Color Emoji';
|
||||||
@ -76,6 +77,6 @@
|
|||||||
--white-88: #667085;
|
--white-88: #667085;
|
||||||
--purple-dark: #42307d;
|
--purple-dark: #42307d;
|
||||||
--default-link-color: #6941c6;
|
--default-link-color: #6941c6;
|
||||||
--default-bg-color: #1b1a26;
|
--default-bg-color: #202232;
|
||||||
--default-text-color: #f2f4f7;
|
--default-text-color: #f2f4f7;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user