Skip to content
Next
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Minds Frontend
Project
Project
Details
Activity
Releases
Dependency List
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
841
Issues
841
List
Boards
Labels
Service Desk
Milestones
Merge Requests
43
Merge Requests
43
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
List
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Frontend
Compare Revisions
a5b314c71d373012dfa4cbb1bcc8ddd2a17d28f9...1da91eb33b04deeecc9e2223a43b9d0a653a94ef
Source
1da91eb33b04deeecc9e2223a43b9d0a653a94ef
Select Git revision
...
Target
a5b314c71d373012dfa4cbb1bcc8ddd2a17d28f9
Select Git revision
Compare
Commits (2)
(chore): Dark mode audit
· 97bc7af3
Olivia Madrid
authored
14 minutes ago
97bc7af3
Merge branch 'feat/dark-mode-audit-1553' into 'master'
· 1da91eb3
Mark Harding
authored
14 minutes ago
(chore): Dark mode audit Closes
#1553
See merge request
!468
1da91eb3
Hide whitespace changes
Inline
Side-by-side
Showing
27 changed files
with
198 additions
and
89 deletions
+198
-89
button.component.scss
...ponents/android-app-download-button/button.component.scss
+7
-5
register.component.scss
src/app/modules/auth/register.component.scss
+0
-1
list.component.scss
src/app/modules/channels/list.component.scss
+0
-1
module.component.scss
src/app/modules/channels/sorted/module.component.scss
+9
-3
register.scss
src/app/modules/forms/register/register.scss
+5
-3
list.component.scss
src/app/modules/groups/list.component.scss
+0
-1
homepage.component.scss
src/app/modules/homepage/homepage.component.scss
+0
-5
activity.component.scss
.../legacy/components/cards/activity/activity.component.scss
+1
-3
social-icons.scss
.../modules/legacy/components/social-icons/social-icons.scss
+12
-4
marketing.component.scss
src/app/modules/marketing/marketing.component.scss
+2
-3
list.component.scss
src/app/modules/media/videos/list.component.scss
+0
-1
conversation.component.scss
...odules/messenger/conversation/conversation.component.scss
+0
-1
modal.scss
src/app/modules/modals/modal.scss
+6
-3
link.component.scss
src/app/modules/monetization/affiliate/link.component.scss
+6
-2
tiles.component.scss
src/app/modules/newsfeed/feeds/tiles.component.scss
+13
-5
creator.component.scss
src/app/modules/report/creator/creator.component.scss
+12
-5
content.component.scss
...pp/modules/report/juryduty/session/content.component.scss
+3
-1
list.component.scss
src/app/modules/report/juryduty/session/list.component.scss
+5
-2
session.component.scss
...pp/modules/report/juryduty/session/session.component.scss
+9
-3
marketing.component.scss
src/app/modules/report/marketing/marketing.component.scss
+29
-11
search.component.scss
src/app/modules/search/search.component.scss
+0
-2
third-party-networks.scss
...pp/modules/third-party-networks/third-party-networks.scss
+1
-1
balance.component.scss
src/app/modules/wallet/balances/balance.component.scss
+6
-2
links.component.scss
...odules/wallet/tokens/referrals/links/links.component.scss
+12
-4
components.scss
src/stylesheets/components/components.scss
+1
-1
animations.scss
src/stylesheets/core/animations.scss
+26
-8
themes.scss
src/stylesheets/themes.scss
+33
-8
No files found.
src/app/common/components/android-app-download-button/button.component.scss
View file @
1da91eb3
.m-androidApp__download
{
box-sizing
:
border-box
;
border
:
2px
solid
rgba
(
255
,
255
,
255
,
0
.6
);
border-radius
:
8px
;
background
:
#111
;
@include
m-theme
(){
border
:
1px
solid
rgba
(
themed
(
$m-white-always
)
,
0
.7
);
background
:
themed
(
$m-black-always
);
}
display
:
block
;
position
:
relative
;
text-decoration
:
none
;
height
:
48px
;
padding
:
0
8px
;
padding
:
2px
8px
0
8px
;
margin
:
auto
;
cursor
:
pointer
;
...
...
@@ -32,13 +34,13 @@
-webkit-font-smoothing
:
antialiased
;
@include
m-theme
(){
color
:
themed
(
$m-white
);
color
:
themed
(
$m-white
-always
);
}
}
i
.material-icons
{
@include
m-theme
(){
color
:
themed
(
$m-white
);
color
:
themed
(
$m-white
-always
);
}
}
}
This diff is collapsed.
Click to expand it.
src/app/modules/auth/register.component.scss
View file @
1da91eb3
...
...
@@ -104,7 +104,6 @@
padding
:
0
;
}
.mdl-card__title
{
//color: #FFF !important;
display
:none
;
}
.m-login-box
input
{
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/channels/list.component.scss
View file @
1da91eb3
...
...
@@ -3,7 +3,6 @@
flex-direction
:
row
;
flex-wrap
:
row
;
flex-flow
:
row
wrap
;
//background: #FFF;
max-width
:
1280px
;
margin
:
auto
;
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/channels/sorted/module.component.scss
View file @
1da91eb3
...
...
@@ -42,9 +42,11 @@ m-channels--sorted-module {
width
:
100%
;
height
:
100%
;
display
:
inline-block
;
background-color
:
#333
;
background-position
:
center
center
;
background-size
:
cover
;
@include
m-theme
(){
background-color
:
themed
(
$m-grey-900
);
}
}
>
i
.material-icons
{
...
...
@@ -53,7 +55,9 @@ m-channels--sorted-module {
&
.m-mature-module-thumbnail
{
transform-style
:
preserve-3d
;
background-color
:
rgba
(
0
,
0
,
0
,
0
.65
);
@include
m-theme
(){
background-color
:
rgba
(
themed
(
$m-black
)
,
0
.65
);
}
>
.m-channels--sorted-module__TileImage
{
filter
:
blur
(
5px
)
grayscale
(
100%
);
...
...
@@ -68,7 +72,9 @@ m-channels--sorted-module {
left
:
50%
;
transform
:
translate
(
-50%
,
-50%
);
font-size
:
3em
;
color
:
#fff
;
@include
m-theme
(){
color
:
themed
(
$m-white
);
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/forms/register/register.scss
View file @
1da91eb3
...
...
@@ -22,7 +22,6 @@ minds-form-register{
//this is exactly the same as modal.scss
.m-fb-register-button
{
color
:
#3b5998
;
width
:
170px
;
border
:
0
;
cursor
:pointer
;
...
...
@@ -31,15 +30,18 @@ minds-form-register{
padding
:
0
;
margin
:
0
;
margin-left
:
8px
;
border
:
1px
solid
#3b5998
;
@include
m-theme
(){
background-color
:
themed
(
$m-white
);
color
:
themed
(
$m-facebook
);
border
:
1px
solid
themed
(
$m-facebook
);
}
.m-social-icons-icon-inline
{
fill
:
#3b5998
;
vertical-align
:
middle
;
display
:
inline-block
;
@include
m-theme
(){
fill
:
themed
(
$m-facebook
);
}
}
.m-signup-button-text
{
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/groups/list.component.scss
View file @
1da91eb3
...
...
@@ -3,7 +3,6 @@
flex-direction
:
row
;
flex-wrap
:
row
;
flex-flow
:
row
wrap
;
//background: #FFF;
max-width
:
1280px
;
margin
:
auto
;
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/homepage/homepage.component.scss
View file @
1da91eb3
...
...
@@ -92,8 +92,6 @@
font-weight
:
800
;
letter-spacing
:
1
.25px
;
line-height
:
1
;
//color: rgba(255,255,255,0.85);
//color: rgba(0,0,0,0.85);
@media
screen
and
(
max-width
:
720px
){
font-size
:
42px
;
...
...
@@ -102,7 +100,6 @@
h3
{
font-size
:
26px
;
//color: rgba(255, 255, 255, 0.8);
font-weight
:
400
;
letter-spacing
:
0
.25px
;
line-height
:
1
.25
;
...
...
@@ -131,7 +128,6 @@
padding
:
0
;
}
.mdl-card__title
{
//color: #FFF !important;
display
:none
;
}
.m-login-box
input
{
...
...
@@ -142,7 +138,6 @@
text-rendering
:
optimizeLegibility
;
font-family
:
'Roboto'
,
Helvetica
,
sans-serif
;
letter-spacing
:
1px
;
//box-shadow: 0 0 6px rgba(255,255,255,0.22);
@include
m-theme
(){
background
:rgba
(
themed
(
$
m-white
),
0
.9
)
;
color
:themed
(
$
m-grey-800
)
;
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/legacy/components/cards/activity/activity.component.scss
View file @
1da91eb3
...
...
@@ -3,7 +3,7 @@
}
.m-pin-button
{
overflow
:
visible
;
.m-tooltip--bubble
{
width
:
100px
;
}
...
...
@@ -93,11 +93,9 @@ minds-activity {
line-height
:
9px
;
border-radius
:
3px
;
vertical-align
:
middle
;
//text-align: center;
display
:
flex
;
justify-content
:
space-around
;
max-width
:
300px
;
//box-shadow: 0 0px 0px 0 rgba(0, 0, 0, 0.07), 0 4px 2px -2px rgba(0, 0, 0, 0.1), 0 1px 5px 0 rgba(0, 0, 0, 0.07);
@include
m-theme
(){
background-color
:
themed
(
$m-white
);
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/legacy/components/social-icons/social-icons.scss
View file @
1da91eb3
...
...
@@ -27,10 +27,14 @@
}
}
.m-social-icons-icon--facebook
.m-social-icons-icon-inline
{
background-color
:
#3067a3
!
important
;
@include
m-theme
(){
background-color
:
themed
(
$m-facebook
)
!
important
;
}
}
.m-social-icons-icon--twitter
.m-social-icons-icon-inline
{
background-color
:
#03b3ee
!
important
;
@include
m-theme
(){
background-color
:
themed
(
$m-twitter
)
!
important
;
}
}
.m-social-icons-icon--email
.m-social-icons-icon-inline
{
@include
m-theme
(){
...
...
@@ -38,10 +42,14 @@
}
}
.m-social-icons-icon--linkedin
.m-social-icons-icon-inline
{
background-color
:
#0071a1
!
important
;
@include
m-theme
(){
background-color
:
themed
(
$m-linkedin
)
!
important
;
}
}
.m-social-icons-icon--gplus
.m-social-icons-icon-inline
{
background-color
:
#e15440
!
important
;
@include
m-theme
(){
background-color
:
themed
(
$m-red
)
!
important
;
}
}
.m-social-icons-icon--embed
.m-social-icons-icon-inline
{
@include
m-theme
(){
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/marketing/marketing.component.scss
View file @
1da91eb3
...
...
@@ -27,7 +27,7 @@
.m-marketing--header-inner
,
.m-marketingHeader__inner
,
.m-marketing--hero-inner
,
.m-marketingHero__inner
,
.m-marketing--hero--inner
{
.m-marketing--hero--inner
{
display
:
flex
;
flex-direction
:
row
;
align-items
:
center
;
...
...
@@ -95,7 +95,6 @@
h3
{
font-size
:
26px
;
//color: rgba(255, 255, 255, 0.8);
font-weight
:
400
;
letter-spacing
:
0
.25px
;
line-height
:
1
.25
;
...
...
@@ -407,7 +406,7 @@
}
.m-marketing--section--subsection-image
{
img
{
img
{
max-width
:
100%
;
}
}
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/media/videos/list.component.scss
View file @
1da91eb3
...
...
@@ -3,7 +3,6 @@
flex-direction
:
row
;
flex-wrap
:
row
;
flex-flow
:
row
wrap
;
//background: #FFF;
max-width
:
1280px
;
margin
:
auto
;
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/messenger/conversation/conversation.component.scss
View file @
1da91eb3
...
...
@@ -46,7 +46,6 @@
&
.odd
{
text-align
:left
;
.m-messenger--conversation-message-bubble
{
//color:#FFF !important;
@include
m-theme
(){
background-color
:
themed
(
$m-blue-grey-100
)
!
important
;
}
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/modals/modal.scss
View file @
1da91eb3
...
...
@@ -20,7 +20,6 @@ m-modal-signup, m-modal-signup-on-action{
.mdl-card__title
{
flex-wrap
:
wrap
;
margin-bottom
:
0
;
//padding-bottom: 0;
img
{
width
:
168px
;
...
...
@@ -129,10 +128,14 @@ m-modal-share {
margin
:
0
4px
;
}
.m-social-share-twitter
{
background
:
#4099FF
!
important
;
@include
m-theme
(){
background
:
themed
(
$m-twitter
)
!
important
;
}
}
.m-social-share-fb
{
background
:
#335795
!
important
;
@include
m-theme
(){
background
:
themed
(
$m-facebook
)
!
important
;
}
}
.m-social-share-email
{
@include
m-theme
(){
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/monetization/affiliate/link.component.scss
View file @
1da91eb3
...
...
@@ -24,10 +24,14 @@
padding
:
24px
0
0
;
.m-affiliate--link-buttons-twitter
{
background
:
#4099FF
!
important
;
@include
m-theme
(){
background
:
themed
(
$m-twitter
)
!
important
;
}
}
.m-affiliate--link-buttons-fb
{
background
:
#335795
!
important
;
@include
m-theme
(){
background
:
themed
(
$m-facebook
)
!
important
;
}
}
.m-affiliate--link-buttons-email
{
@include
m-theme
(){
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/newsfeed/feeds/tiles.component.scss
View file @
1da91eb3
...
...
@@ -11,7 +11,9 @@ m-newsfeed__tiles {
margin
:
auto
;
&
.m-newsfeed__tiles--has-elements
{
background
:
#ffffff
;
@include
m-theme
(){
background
:
themed
(
$m-white
);
}
padding
:
8px
;
}
...
...
@@ -24,7 +26,9 @@ m-newsfeed__tiles {
margin
:
4px
;
overflow
:
hidden
;
transform-style
:
preserve-3d
;
background-color
:
rgba
(
0
,
0
,
0
,
0
.65
);
@include
m-theme
(){
background-color
:
rgba
(
themed
(
$m-black
)
,
0
.65
);
}
&
.m-newsfeed-tiles__Tile--is-mature
>
img
{
filter
:
blur
(
5px
)
grayscale
(
100%
);
...
...
@@ -45,9 +49,11 @@ m-newsfeed__tiles {
position
:
absolute
;
bottom
:
4px
;
right
:
4px
;
color
:
#fff
;
text-shadow
:
1px
1px
rgba
(
0
,
0
,
0
,
.35
);
pointer-events
:
none
;
@include
m-theme
(){
color
:
themed
(
$m-white
);
text-shadow
:
1px
1px
rgba
(
themed
(
$m-black
)
,
.35
);
}
}
i
.material-icons.mature-icon
{
...
...
@@ -57,7 +63,9 @@ m-newsfeed__tiles {
left
:
50%
;
transform
:
translate
(
-50%
,
-50%
);
font-size
:
3em
;
color
:
#fff
;
@include
m-theme
(){
color
:
themed
(
$m-white
);
}
}
}
}
This diff is collapsed.
Click to expand it.
src/app/modules/report/creator/creator.component.scss
View file @
1da91eb3
...
...
@@ -19,12 +19,15 @@
}
border-radius
:
24px
;
font-weight
:
600
;
/* background: #fafafa; */
&
.m-reportCreatorSubjects__subject--active
{
border-color
:
#4690D6
;
@include
m-theme
(){
border-color
:
themed
(
$m-blue
);
}
span
{
color
:
#4690D6
;
@include
m-theme
(){
color
:
themed
(
$m-blue
);
}
}
}
...
...
@@ -38,13 +41,17 @@
text-rendering
:
optimizeLegibility
;
font-size
:
16px
;
font-weight
:
500
;
color
:
#555
;
cursor
:
pointer
;
@include
m-theme
(){
color
:
themed
(
$m-grey-700
);
}
}
i
{
color
:
#888
;
display
:
none
;
@include
m-theme
(){
color
:
themed
(
$m-grey-400
);
}
}
//&:last-child{
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/report/juryduty/session/content.component.scss
View file @
1da91eb3
.m-juryDutySession__content
{
background
:
#FFF
;
padding
:
16px
;
@include
m-theme
(){
background
:
themed
(
$m-white
);
}
h3
{
margin
:
0
;
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/report/juryduty/session/list.component.scss
View file @
1da91eb3
...
...
@@ -4,13 +4,16 @@
padding
:
0
;
}
.m-juryDutySessionList__item
{
margin-bottom
:
16px
;
margin-bottom
:
16px
;
}
.m-juryDutySessionList__number
{
font-size
:
56px
;
font-weight
:
800
;
color
:
#444
;
padding
:
32px
;
display
:
block
;
@include
m-theme
(){
color
:
themed
(
$m-grey-800
);
}
}
This diff is collapsed.
Click to expand it.
src/app/modules/report/juryduty/session/session.component.scss
View file @
1da91eb3
.m-juryDutySession__hero
{
background
:
#132552
;
padding
:
42px
0
;
text-align
:
center
;
@include
m-theme
(){
background
:
themed
(
$m-blue-grey-800
);
}
i
{
font-size
:
112px
;
color
:
#FFF
;
@include
m-theme
(){
color
:
themed
(
$m-white
);
}
}
}
...
...
@@ -20,6 +24,8 @@
letter-spacing
:
2px
;
text-transform
:
uppercase
;
font-weight
:
600
;
color
:
#666
;
@include
m-theme
(){
color
:
themed
(
$m-grey-600
);
}
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/app/modules/report/marketing/marketing.component.scss
View file @
1da91eb3
.m-reports__marketing
{
.m-marketing__hero
{
background-color
:
#132552
!
important
;
padding-bottom
:
72px
;
@include
m-theme
(){
background-color
:
themed
(
$m-blue-grey-800
)
!
important
;
}
.m-marketingHero__inner
{
padding-top
:
0
;
...
...
@@ -12,18 +14,22 @@
}
.m-btn
{
color
:
#FFF
;
border-color
:
#FFF
;
margin-top
:
32px
;
@include
m-theme
(){
color
:
themed
(
$m-white
);
border-color
:
themed
(
$m-white
);
}
}
}
.m-marketingHero__actions
{
i
{
color
:
#FFF
;
font-size
:
170px
;
text-align
:
center
;
width
:
100%
;
@include
m-theme
(){
color
:
themed
(
$m-white
);
}
}
}
}
...
...
@@ -39,7 +45,9 @@
letter-spacing
:
2px
;
text-transform
:
uppercase
;
font-weight
:
600
;
color
:
#666
;
@include
m-theme
(){
color
:
themed
(
$m-grey-600
);
}
}
.m-layout__row
{
...
...
@@ -56,8 +64,10 @@
b
{
font-size
:
72px
;
line-height
:
1
;
color
:
#444
;
display
:
block
;
@include
m-theme
(){
color
:
themed
(
$m-grey-800
);
}
}
span
{
...
...
@@ -65,9 +75,11 @@
-webkit-font-smoothing
:
antialiased
;
text-rendering
:
optimizeLegibility
;
font-weight
:
500
;
color
:
#555
;
margin-top
:
16px
;
display
:
block
;
@include
m-theme
(){
color
:
themed
(
$m-grey-700
);
}
}
}
...
...
@@ -76,15 +88,19 @@
list-style
:
decimal
;
font-size
:
24px
;
font-weight
:
800
;
color
:
#aaa
;
@include
m-theme
(){
color
:
themed
(
$m-grey-200
);
}
li
{
padding
:
16px
;
p
{
font-size
:
24px
;
color
:
#555
;
font-weight
:
500
;
@include
m-theme
(){
color
:
themed
(
$m-grey-700
);
}
}
}
...
...
@@ -97,12 +113,14 @@
li
{
width
:
50%
;
color
:
#888
;
font-weight
:
400
;
font-size
:
16px
;
line-height
:
24px
;
cursor
:
default
;
padding
:
0
;
@include
m-theme
(){
color
:
themed
(
$m-grey-400
);
}
@media
screen
and
(
max-width
:
890px
)
{
width
:
100%
;
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/search/search.component.scss
View file @
1da91eb3
...
...
@@ -194,8 +194,6 @@ m-search--bar-suggestions{
m-search
{
display
:
block
;
min-height
:
100vh
;
//background-color: themed($m-white);
//background: rgba(252,252,252,1);
padding-top
:
42px
;
.m-toolbar
{
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/third-party-networks/third-party-networks.scss
View file @
1da91eb3
...
...
@@ -15,12 +15,12 @@
text-decoration
:none
;
}
background-color
:
#3067a3
!
important
;
padding
:
8px
;
font-weight
:bold
;
cursor
:pointer
;
@include
m-theme
(){
color
:
themed
(
$m-white
);
background-color
:
themed
(
$m-facebook
)
!
important
;
}
}
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/wallet/balances/balance.component.scss
View file @
1da91eb3
...
...
@@ -141,14 +141,18 @@ m-wallet--balance-money, m-wallet--balance-reward, m-wallet--balance-tokens {
.m-btn--slim
{
height
:
30px
;
margin
:
0
0
0
28px
;
color
:
#888
;
@include
m-theme
(){
color
:
themed
(
$m-grey-400
);
}
}
p
{
text-align
:
left
;
margin
:
0
;
padding
:
0
8px
;
color
:
#666
;
@include
m-theme
(){
color
:
themed
(
$m-grey-600
);
}
}
}
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/wallet/tokens/referrals/links/links.component.scss
View file @
1da91eb3
...
...
@@ -145,19 +145,27 @@
}
.m-referrals-links__shareButton--twitter
{
background-color
:
#03b3ee
;
@include
m-theme
(){
background-color
:
themed
(
$m-twitter
);
}
}
.m-referrals-links__shareButton--messenger
{
background-color
:
#0084ff
;
@include
m-theme
(){
background-color
:
themed
(
$m-messenger
);
}
}
.m-referrals-links__shareButton--facebook
{
background-color
:
#3b5998
;
@include
m-theme
(){
background-color
:
themed
(
$m-facebook
);
}
}
.m-referrals-links__shareButton--whatsapp
{
background-color
:
#25d366
;
@include
m-theme
(){
background-color
:
themed
(
$m-whatsapp
);
}
}
.m-referrals-links__shareButton--sms
,
...
...
This diff is collapsed.
Click to expand it.
src/stylesheets/components/components.scss
View file @
1da91eb3
...
...
@@ -660,10 +660,10 @@ m-translate {
svg
.m-facebook-icon
{
cursor
:pointer
;
background-color
:
#3067a3
!
important
;
margin
:auto
;
@include
m-theme
(){
fill
:
themed
(
$m-white
);
background-color
:
themed
(
$m-facebook
)
!
important
;
}
}
...
...
This diff is collapsed.
Click to expand it.
src/stylesheets/core/animations.scss
View file @
1da91eb3
@import
'themes'
;
.m-pulsating--small
{
box-shadow
:
0
0
0
red
;
animation
:
pulse--small
1
.5s
infinite
;
@include
m-theme
(){
box-shadow
:
0
0
0
themed
(
$m-red
);
}
}
.m-pulsating--big
{
box-shadow
:
0
0
0
red
;
animation
:
pulse--big
2s
infinite
;
@include
m-theme
(){
box-shadow
:
0
0
0
themed
(
$m-red
);
}
}
@keyframes
pulse--small
{
20
%
{
box-shadow
:
0
0
0
0
rgba
(
244
,
67
,
54
,
0
.6
);
@include
m-theme
(){
box-shadow
:
0
0
0
0
rgba
(
themed
(
$m-red
)
,
0
.6
);
}
}
99
%
{
box-shadow
:
0
0
0
7px
rgba
(
244
,
67
,
54
,
0
);
@include
m-theme
(){
box-shadow
:
0
0
0
7px
rgba
(
themed
(
$m-red
)
,
0
);
}
}
100
%
{
box-shadow
:
0
0
0
0
rgba
(
244
,
67
,
54
,
0
);
@include
m-theme
(){
box-shadow
:
0
0
0
0
rgba
(
themed
(
$m-red
)
,
0
);
}
}
}
@keyframes
pulse--big
{
0
%
{
box-shadow
:
0
0
0
0
rgba
(
244
,
67
,
54
,
0
.4
);
@include
m-theme
(){
box-shadow
:
0
0
0
0
rgba
(
themed
(
$m-red
)
,
0
.4
);
}
}
70
%
{
box-shadow
:
0
0
0
15px
rgba
(
244
,
67
,
54
,
0
);
@include
m-theme
(){
box-shadow
:
0
0
0
15px
rgba
(
themed
(
$m-red
)
,
0
);
}
}
100
%
{
box-shadow
:
0
0
0
0
rgba
(
244
,
67
,
54
,
0
);
@include
m-theme
(){
box-shadow
:
0
0
0
0
rgba
(
themed
(
$m-red
)
,
0
);
}
}
}
This diff is collapsed.
Click to expand it.
src/stylesheets/themes.scss
View file @
1da91eb3
...
...
@@ -65,7 +65,14 @@ $red-light: #e57373;
$black
:
#000
;
$white
:
#fff
;
$facebook
:
#3b5998
;
$messenger
:
#0084ff
;
$twitter
:
#03b3ee
;
$whatsapp
:
#25d366
;
$linkedin
:
#0071a1
;
// Theme maps
// e.g. m-grey-100 in light mode will become m-grey-900 in dark mode
$themes
:
(
light
:
(
m-grey-950
:
$grey-950
,
...
...
@@ -105,19 +112,25 @@ $themes: (
m-amber-light
:
$amber-light
,
m-red-dark
:
$red-dark
,
m-red
:
$red
,
m-red-light
:
$red-light
,
m-red-light
:
$red-light
,
m-black
:
$black
,
m-black-always
:
$black
,
m-white
:
$white
,
m-white-always
:
$white
,
m-white-always
:
$white
,
m-body-bg
:
#f8f8f8
,
m-warn-bg
:
$amber-light
,
m-warn-fg
:
$black
,
m-facebook
:
$facebook
,
m-messenger
:
$messenger
,
m-twitter
:
$twitter
,
m-whatsapp
:
$whatsapp
,
m-linkedin
:
$linkedin
,
)
,
dark
:
(
m-grey-950
:
lighten
(
$grey-50
,
$percent
)
,
m-grey-900
:
lighten
(
$grey-100
,
$percent
)
,
m-grey-800
:
lighten
(
$grey-200
,
$percent
)
,
...
...
@@ -143,16 +156,16 @@ $themes: (
m-blue-grey-200
:
lighten
(
$blue-grey-800
,
$percent
)
,
m-blue-grey-100
:
lighten
(
$blue-grey-900
,
$percent
)
,
m-blue-grey-50
:
lighten
(
$blue-grey-950
,
$percent
)
,
m-black
:
$white
,
m-black-always
:
$black
,
m-white
:
lighten
(
$grey-990
,
$percent
)
,
m-white-always
:
$white
,
m-body-bg
:
lighten
(
#080808
,
$percent
)
,
m-white-always
:
$white
,
m-body-bg
:
lighten
(
#080808
,
$percent
)
,
m-blue-dark
:
lighten
(
$blue-
dark
,
$percent
)
,
m-blue-dark
:
lighten
(
$blue-
bright
,
15%
)
,
m-blue
:
$blue-bright
,
m-blue-light
:
lighten
(
$blue-bright
,
10%
)
,
m-blue-light
:
$blue-dark
,
m-green-dark
:
lighten
(
$green-dark
,
$percent
)
,
m-green
:
lighten
(
$green
,
$percent
)
,
m-green-light
:
lighten
(
$green-light
,
$percent
)
,
...
...
@@ -165,6 +178,12 @@ $themes: (
m-warn-bg
:
$grey-900
,
m-warn-fg
:
$white
,
m-facebook
:
$facebook
,
m-messenger
:
$messenger
,
m-twitter
:
$twitter
,
m-whatsapp
:
$whatsapp
,
m-linkedin
:
$linkedin
,
)
,
);
...
...
@@ -218,3 +237,9 @@ $m-red-light: 'm-red-light';
$m-warn-bg
:
'm-warn-bg'
;
$m-warn-fg
:
'm-warn-fg'
;
$m-facebook
:
'm-facebook'
;
$m-messenger
:
'm-messenger'
;
$m-twitter
:
'm-twitter'
;
$m-whatsapp
:
'm-whatsapp'
;
$m-linkedin
:
'm-linkedin'
;
This diff is collapsed.
Click to expand it.