SlideShare una empresa de Scribd logo
1 de 13
Theming with
   Skinr!
Presented by Jacine Rodriguez
Hello
 Jacine Rodriguez          Bala Bosch
   Jacine                    moonray
 http://drupal.org/user/   http://drupal.org/user/
 88931                     68275
 twitter.com/jacine        twitter.com/dasphere
Themer Pain Points

Lack of Mockups    =   No big picture planning

Lack of Time       =   Sloppy CSS

Crazy Selectors    =   Less Reusable Code

                       Not much flexibility,
After Completion   =   Low shelf life
You’re doing it wrong if...
 you’re not styling default Drupal elements
 you’re targeting ID’s in your CSS excessively
 you’re writing way too specific CSS
 you’re creating a new tpl file for every little change
 you’re not structuring markup in a way that is flexible
Skinr is a tool which...
 allows you create your own reusable style definitions
 (skins) in the theme layer
 lets you create your own CSS classes, and forget
 about Drupal
 makes your styles pointy clicky so that you can take a
 vacation
What can I do with Skinr?
 headings                   layout
 blocks/panes               fonts
 menus                      carousels
 lists                      sliders


As much or as little as you want to...
Where Skinr shines
Contributed themes
Projects where development is ongoing
Themes for clients that are very hands on
Code snippet sharing and reuse
Start by defining your Skins
in .info
skinr[my_nav][title] = Navigation Style
skinr[my_nav][description] = Here's a nav with 2 color options. Pick one.
skinr[my_nav][features][] = block_menu_block
skinr[my_nav][type] = select
skinr[my_nav][stylesheets][all][] = css/nav.css
skinr[my_nav][options][1][label] = Blue
skinr[my_nav][options][1][class] = nav nav-blue
skinr[my_nav][options][2][label] = Green
skinr[my_nav][options][2][class] = nav nav-green
Print $skinr in your templates
A Client example...
What we skinned...
Themes that support Skinr
Base themes
  Fusion, Adaptive Theme, Zen, Studio, Basic

General/Subthemes
  Acquia Prosper, Acquia Marina, AT Koda, Light Fantastic,
  Celadon, Newswire, Abstract, AT Panels Everywhere
More information
Project page: http://drupal.org/project/skinr
Documentation: Skinr provides full documentation
within the Skinr module via the Advanced Help module.

Más contenido relacionado

Similar a Theming with Skinr

BADCamp 2012 -Beginner Best Practices
BADCamp 2012 -Beginner Best PracticesBADCamp 2012 -Beginner Best Practices
BADCamp 2012 -Beginner Best Practices
meghsweet
 
1696773978931-CSS_Course_Presentation.pptx
1696773978931-CSS_Course_Presentation.pptx1696773978931-CSS_Course_Presentation.pptx
1696773978931-CSS_Course_Presentation.pptx
Gaurav917092
 
Object oriented css graeme blackwood
Object oriented css graeme blackwoodObject oriented css graeme blackwood
Object oriented css graeme blackwood
drupalconf
 
Object oriented css. Graeme Blackwood
Object oriented css. Graeme BlackwoodObject oriented css. Graeme Blackwood
Object oriented css. Graeme Blackwood
PVasili
 

Similar a Theming with Skinr (20)

Project 2 Idea Conceptualisation
Project 2 Idea ConceptualisationProject 2 Idea Conceptualisation
Project 2 Idea Conceptualisation
 
Visualizing Content with Display Suite
Visualizing Content with Display SuiteVisualizing Content with Display Suite
Visualizing Content with Display Suite
 
Advanced CSS Troubleshooting
Advanced CSS TroubleshootingAdvanced CSS Troubleshooting
Advanced CSS Troubleshooting
 
Fewd week2 slides
Fewd week2 slidesFewd week2 slides
Fewd week2 slides
 
Introduction to XMLUI and Mirage Theming for DSpace 3
Introduction to XMLUI and Mirage Theming for DSpace 3Introduction to XMLUI and Mirage Theming for DSpace 3
Introduction to XMLUI and Mirage Theming for DSpace 3
 
Don Stanley's Web Design 101 LSC 532 lecture 3
Don Stanley's Web Design 101 LSC 532 lecture 3Don Stanley's Web Design 101 LSC 532 lecture 3
Don Stanley's Web Design 101 LSC 532 lecture 3
 
SMACSS Workshop
SMACSS WorkshopSMACSS Workshop
SMACSS Workshop
 
Object Oriented CSS for rapid, scalable and maintainable development
Object Oriented CSS for rapid, scalable and maintainable developmentObject Oriented CSS for rapid, scalable and maintainable development
Object Oriented CSS for rapid, scalable and maintainable development
 
Material design
Material designMaterial design
Material design
 
BADCamp 2012 -Beginner Best Practices
BADCamp 2012 -Beginner Best PracticesBADCamp 2012 -Beginner Best Practices
BADCamp 2012 -Beginner Best Practices
 
Open cms days 2013 - all dressed up_release
Open cms days 2013 - all dressed up_releaseOpen cms days 2013 - all dressed up_release
Open cms days 2013 - all dressed up_release
 
Workflow Essentials for Web Development
Workflow Essentials for Web DevelopmentWorkflow Essentials for Web Development
Workflow Essentials for Web Development
 
1696773978931-CSS_Course_Presentation.pptx
1696773978931-CSS_Course_Presentation.pptx1696773978931-CSS_Course_Presentation.pptx
1696773978931-CSS_Course_Presentation.pptx
 
Dominate The Theme Layer
Dominate The Theme LayerDominate The Theme Layer
Dominate The Theme Layer
 
OpenCms All Dressed Up with skinnDriva
OpenCms All Dressed Up with skinnDrivaOpenCms All Dressed Up with skinnDriva
OpenCms All Dressed Up with skinnDriva
 
Object oriented css graeme blackwood
Object oriented css graeme blackwoodObject oriented css graeme blackwood
Object oriented css graeme blackwood
 
Object oriented css. Graeme Blackwood
Object oriented css. Graeme BlackwoodObject oriented css. Graeme Blackwood
Object oriented css. Graeme Blackwood
 
Bootstrap Workout 2015
Bootstrap Workout 2015Bootstrap Workout 2015
Bootstrap Workout 2015
 
Css tutorial 2012
Css tutorial 2012Css tutorial 2012
Css tutorial 2012
 
Managing a Project the Drupal Way - Drupal Open Days Ireland
Managing a Project the Drupal Way - Drupal Open Days IrelandManaging a Project the Drupal Way - Drupal Open Days Ireland
Managing a Project the Drupal Way - Drupal Open Days Ireland
 

Último

Último (20)

Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 

Theming with Skinr

  • 1. Theming with Skinr! Presented by Jacine Rodriguez
  • 2. Hello Jacine Rodriguez Bala Bosch Jacine moonray http://drupal.org/user/ http://drupal.org/user/ 88931 68275 twitter.com/jacine twitter.com/dasphere
  • 3. Themer Pain Points Lack of Mockups = No big picture planning Lack of Time = Sloppy CSS Crazy Selectors = Less Reusable Code Not much flexibility, After Completion = Low shelf life
  • 4. You’re doing it wrong if... you’re not styling default Drupal elements you’re targeting ID’s in your CSS excessively you’re writing way too specific CSS you’re creating a new tpl file for every little change you’re not structuring markup in a way that is flexible
  • 5. Skinr is a tool which... allows you create your own reusable style definitions (skins) in the theme layer lets you create your own CSS classes, and forget about Drupal makes your styles pointy clicky so that you can take a vacation
  • 6. What can I do with Skinr? headings layout blocks/panes fonts menus carousels lists sliders As much or as little as you want to...
  • 7. Where Skinr shines Contributed themes Projects where development is ongoing Themes for clients that are very hands on Code snippet sharing and reuse
  • 8. Start by defining your Skins in .info skinr[my_nav][title] = Navigation Style skinr[my_nav][description] = Here's a nav with 2 color options. Pick one. skinr[my_nav][features][] = block_menu_block skinr[my_nav][type] = select skinr[my_nav][stylesheets][all][] = css/nav.css skinr[my_nav][options][1][label] = Blue skinr[my_nav][options][1][class] = nav nav-blue skinr[my_nav][options][2][label] = Green skinr[my_nav][options][2][class] = nav nav-green
  • 9. Print $skinr in your templates
  • 12. Themes that support Skinr Base themes Fusion, Adaptive Theme, Zen, Studio, Basic General/Subthemes Acquia Prosper, Acquia Marina, AT Koda, Light Fantastic, Celadon, Newswire, Abstract, AT Panels Everywhere
  • 13. More information Project page: http://drupal.org/project/skinr Documentation: Skinr provides full documentation within the Skinr module via the Advanced Help module.

Notas del editor