Almunawarah · Page colour guide · 10 / 15

Colour guide: Innovative solutions for Madinah's coffee shops

العربية

The colours this page uses, each as a token with its light and dark value and the class in the site code, then every component of the page with its states in both themes, and the page sections side by side.

How it works

1. The theme sits on <html>

One attribute sets the theme. Without it the device setting applies; once the visitor taps the moon / sun button the choice is saved. A link ending in ?theme=dark opens the page dark.

<html data-theme="dark">

2. Every colour comes from a token

No hex values inside components. Use the token and it resolves to the right value in each theme.

background: var(--muna-surface);

3. Fixed colours stay as they are

The dark green header and footer, brand green buttons and badges, photos and logos have one value in both themes.

--muna-fixed-003200: #003200; /* both */

Tokens

The colours of this page content (header and footer are in the general guide). Measured element by element in both themes.

TokenLightDarkUsed forClass in the code
Backgrounds
--muna-surface#ffffff#14251dcards and blocks, links (8)bg-white · .btn-primary
--muna-surface-2#efefef#1a2c23form fields, section backgrounds (3)bg-[#EFEFEF]
Text
--muna-text#000000
#303536
#e9eee9body text, links, section backgrounds (15)inherited
--muna-text-brand-2#155615#c0d9c6body text (4)inherited
--muna-text-brand#003200#9fc6a9body text (2)inherited
--muna-text-eaedea-a56#615f5a#eaedea8fbody text, links (2)inherited
Borders and lines
--muna-border-a80#d9d9d9cc#2c4136cccards and blocks (4)border-[#D9D9D9CC]
--muna-border-4f8f62#155615#4f8f62links (4).btn-primary
--muna-field-frame#155615#6b7f72form fields (2)border-input
Fixed in both themes
--muna-fixed-white#ffffffsamebody text, buttons (4).explore-text · .powermail-submit-button
--muna-fixed-black#000000samesection backgrounds (1).coverage-overlay
--muna-fixed-brand#155615samebuttons (1).powermail-submit-button

Components and states

Real crops of each component: light on the left, dark on the right, with the state under each one.

Heading · مقاهي المدينة بحلول مبتكرة

مقاهي المدينة بحلول مبتكرة · text-center
Light
مقاهي المدينة بحلول مبتكرة, Light theme
default
Dark
مقاهي المدينة بحلول مبتكرة, Dark theme
default
StatePartLightDark
defaulttext#ffffffsame

Heading · نحو تحديات تصنع الفرق

نحو تحديات تصنع الفرق · text-xl font-semibold text-center
Light
نحو تحديات تصنع الفرق, Light theme
default
Dark
نحو تحديات تصنع الفرق, Dark theme
default
StatePartLightDark
defaulttext#003200#9fc6a9

Heading · نشراتنا المتنوعة

نشراتنا المتنوعة · text-2xl font-semibold text-center
Light
نشراتنا المتنوعة, Light theme
default
Dark
نشراتنا المتنوعة, Dark theme
default
StatePartLightDark
defaulttext#003200#9fc6a9

Button · اعرف المزيد

نحو تحديات تصنع الفرق · btn btn-primary
Light
اعرف المزيد, Light theme
default
اعرف المزيد, Light theme · hover
hover
Dark
اعرف المزيد, Dark theme
default
اعرف المزيد, Dark theme · hover
hover
StatePartLightDark
defaultbackground#ffffff#14251d
defaulttext#155615#c0d9c6
defaultframe#155615#4f8f62
hovertext#033703#a4c9ad

Button · اشترك الآن

نشراتنا المتنوعة · powermail-submit-button
Light
اشترك الآن, Light theme
default
اشترك الآن, Light theme · hover
hover
Dark
اشترك الآن, Dark theme
default
اشترك الآن, Dark theme · hover
hover
StatePartLightDark
defaultbackground#155615same
defaulttext#ffffffsame
hoverbackground#003200same

Field · اسم

نشراتنا المتنوعة · file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w
Light
اسم, Light theme
default
اسم, Light theme · hover
hover
Dark
اسم, Dark theme
default
اسم, Dark theme · hover
hover
StatePartLightDark
defaultbackground#efefef#1a2c23
defaulttext#101828#e9eee9
defaultframe#155615#6b7f72

Card · مسار المقاهي كوجهات تفاعلية تحدي ابتكار

نحو تحديات تصنع الفرق · navigation-ui-card relative flex flex-col items-start justify-start gap-8 xl:gap-12.5 overflow-hidden cursor-pointer border border-[#D9D9D9CC] transit
Light
مسار المقاهي كوجهات تفاعلية تحدي ابتكار قصص تفاعلي, Light theme
default
Dark
مسار المقاهي كوجهات تفاعلية تحدي ابتكار قصص تفاعلي, Dark theme
default
StatePartLightDark
defaultbackground#ffffff#14251d
defaulttext#000000#e9eee9
defaultframe#d9d9d9cc#2c4136cc

Card · مسار كفاءة التشغيل وسلاسل التوريد تحدي ا

نحو تحديات تصنع الفرق · navigation-ui-card relative flex flex-col items-start justify-start gap-8 xl:gap-12.5 overflow-hidden cursor-pointer border border-[#D9D9D9CC] transit
Light
مسار كفاءة التشغيل وسلاسل التوريد تحدي ابتكار صناد, Light theme
default
Dark
مسار كفاءة التشغيل وسلاسل التوريد تحدي ابتكار صناد, Dark theme
default
StatePartLightDark
defaultbackground#ffffff#14251d
defaulttext#000000#e9eee9
defaultframe#d9d9d9cc#2c4136cc

Card · مسار تجربة عميل أكثر سلاسة وذكاء تحدّي ا

نحو تحديات تصنع الفرق · navigation-ui-card relative flex flex-col items-start justify-start gap-8 xl:gap-12.5 overflow-hidden cursor-pointer border border-[#D9D9D9CC] transit
Light
مسار تجربة عميل أكثر سلاسة وذكاء تحدّي ابتكار باري, Light theme
default
Dark
مسار تجربة عميل أكثر سلاسة وذكاء تحدّي ابتكار باري, Dark theme
default
StatePartLightDark
defaultbackground#ffffff#14251d
defaulttext#000000#e9eee9
defaultframe#d9d9d9cc#2c4136cc

Icons

Light
Icons, Light theme
Icons, Light theme
Dark
Icons, Dark theme
Icons, Dark theme

Sections

Screenshots of the page itself, light then dark. The site content is in Arabic.

مقاهي المدينة بحلول مبتكرة

مقاهي المدينة بحلول مبتكرة, Light themeمقاهي المدينة بحلول مبتكرة, Dark theme

نحو تحديات تصنع الفرق

نحو تحديات تصنع الفرق, Light themeنحو تحديات تصنع الفرق, Dark theme

نشراتنا المتنوعة

نشراتنا المتنوعة, Light themeنشراتنا المتنوعة, Dark theme

Code

The tokens as CSS variables for both themes. They also work as Figma variables with two modes, Light and Dark.

/* Almunawarah · Innovative solutions for Madinah's coffee shops — colour tokens */
:root {
  --muna-surface:       #ffffff;
  --muna-surface-2:     #efefef;
  --muna-text:          #000000;  /* also #303536 */
  --muna-text-brand-2:  #155615;
  --muna-text-brand:    #003200;
  --muna-text-eaedea-a56: #615f5a;
  --muna-border-a80:    #d9d9d9cc;
  --muna-border-4f8f62: #155615;
  --muna-field-frame:   #155615;
  --muna-fixed-white:   #ffffff;
  --muna-fixed-black:   #000000;
  --muna-fixed-brand:   #155615;
}

:root[data-theme="dark"] {
  --muna-surface:       #14251d;
  --muna-surface-2:     #1a2c23;
  --muna-text:          #e9eee9;
  --muna-text-brand-2:  #c0d9c6;
  --muna-text-brand:    #9fc6a9;
  --muna-text-eaedea-a56: #eaedea8f;
  --muna-border-a80:    #2c4136cc;
  --muna-border-4f8f62: #4f8f62;
  --muna-field-frame:   #6b7f72;
}